package xds.type.v3

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message CelExpression

cel.proto:26

Either parsed or checked representation of the `Common Expression Language <https://github.com/google/cel-spec>`_ (CEL) program.

Used in: envoy.extensions.tracers.opentelemetry.samplers.v3.CELSamplerConfig, matcher.v3.CelMatcher, CelExtractString

message CelExtractString

cel.proto:62

Extracts a string by evaluating a `Common Expression Language <https://github.com/google/cel-spec>`_ (CEL) expression against the standardized set of :ref:`HTTP attributes <arch_overview_attributes>`. .. attention:: Besides CEL evaluation raising an error explicitly, CEL program returning a type other than the ``string``, or not returning anything, are considered an error as well. [#comment:TODO(sergiitk): When implemented, add the extension tag.]

message DoubleRange

range.proto:34

Specifies the double start and end of the range using half-open interval semantics [start, end).

Used in: matcher.v3.DoubleRangeMatcher.RangeMatcher

message Int32Range

range.proto:24

Specifies the int32 start and end of the range using half-open interval semantics [start, end).

Used in: matcher.v3.Int32RangeMatcher.RangeMatcher

message Int64Range

range.proto:14

Specifies the int64 start and end of the range using half-open interval semantics [start, end).

Used in: matcher.v3.Int64RangeMatcher.RangeMatcher

message TypedStruct

typed_struct.proto:36

A TypedStruct contains an arbitrary JSON serialized protocol buffer message with a URL that describes the type of the serialized message. This is very similar to google.protobuf.Any, instead of having protocol buffer binary, this employs google.protobuf.Struct as value. This message is intended to be embedded inside Any, so it shouldn't be directly referred from other UDPA messages. When packing an opaque extension config, packing the expected type into Any is preferred wherever possible for its efficiency. TypedStruct should be used only if a proto descriptor is not available, for example if: - A control plane sends opaque message that is originally from external source in human readable format such as JSON or YAML. - The control plane doesn't have the knowledge of the protocol buffer schema hence it cannot serialize the message in protocol buffer binary format. - The DPLB doesn't have have the knowledge of the protocol buffer schema its plugin or extension uses. This has to be indicated in the DPLB capability negotiation. When a DPLB receives a TypedStruct in Any, it should: - Check if the type_url of the TypedStruct matches the type the extension expects. - Convert value to the type described in type_url and perform validation. TODO(lizan): Figure out how TypeStruct should be used with DPLB extensions that doesn't link protobuf descriptor with DPLB itself, (e.g. gRPC LB Plugin, Envoy WASM extensions).