class WellKnownType

Well-known protobuf types treated with first-class support in CEL.

Protobuf type google.api.expr.v1alpha1.Type.WellKnownType

Constants

WELL_KNOWN_TYPE_UNSPECIFIED

Unspecified type.

Generated from protobuf enum WELL_KNOWN_TYPE_UNSPECIFIED = 0;

ANY

Well-known protobuf.Any type.

Any types are a polymorphic message type. During type-checking they are treated like DYN types, but at runtime they are resolved to a specific message type specified at evaluation time.

Generated from protobuf enum ANY = 1;

TIMESTAMP

Well-known protobuf.Timestamp type, internally referenced as timestamp.

Generated from protobuf enum TIMESTAMP = 2;

DURATION

Well-known protobuf.Duration type, internally referenced as duration.

Generated from protobuf enum DURATION = 3;

Methods

static 
name($value)

No description

static 
value($name)

No description

Details

at line 51
static name($value)

Parameters

$value

at line 61
static value($name)

Parameters

$name