Documentation

WellKnownType
in package

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

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

Table of Contents

Constants

ANY  = 1
Well-known protobuf.Any type.
DURATION  = 3
Well-known protobuf.Duration type, internally referenced as `duration`.
TIMESTAMP  = 2
Well-known protobuf.Timestamp type, internally referenced as `timestamp`.
WELL_KNOWN_TYPE_UNSPECIFIED  = 0
Unspecified type.

Properties

$valueToName  : mixed

Methods

name()  : mixed
value()  : mixed

Constants

ANY

Well-known protobuf.Any type.

public mixed ANY = 1

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;

DURATION

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

public mixed DURATION = 3

Generated from protobuf enum DURATION = 3;

TIMESTAMP

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

public mixed TIMESTAMP = 2

Generated from protobuf enum TIMESTAMP = 2;

WELL_KNOWN_TYPE_UNSPECIFIED

Unspecified type.

public mixed WELL_KNOWN_TYPE_UNSPECIFIED = 0

Generated from protobuf enum WELL_KNOWN_TYPE_UNSPECIFIED = 0;

Properties

$valueToName

private static mixed $valueToName = [self::WELL_KNOWN_TYPE_UNSPECIFIED => 'WELL_KNOWN_TYPE_UNSPECIFIED', self::ANY => 'ANY', self::TIMESTAMP => 'TIMESTAMP', self::DURATION => 'DURATION']

Methods

name()

public static name(mixed $value) : mixed
Parameters
$value : mixed

value()

public static value(mixed $name) : mixed
Parameters
$name : mixed

        
On this page

Search results