Interface PayloadToMetadata.RuleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PayloadToMetadata.Rule,PayloadToMetadata.Rule.Builder
- Enclosing class:
- PayloadToMetadata
public static interface PayloadToMetadata.RuleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PayloadToMetadata.FieldSelectorgetFieldSelector()Specifies that a match will be performed on the value of a field.PayloadToMetadata.FieldSelectorOrBuildergetFieldSelectorOrBuilder()Specifies that a match will be performed on the value of a field.PayloadToMetadata.Rule.MatchSpecifierCasegetMatchSpecifierCase()StringgetMethodName()If specified, the route must exactly match the request method name.com.google.protobuf.ByteStringgetMethodNameBytes()If specified, the route must exactly match the request method name.PayloadToMetadata.KeyValuePairgetOnMissing()If the field is missing, apply this metadata KeyValuePair.PayloadToMetadata.KeyValuePairOrBuildergetOnMissingOrBuilder()If the field is missing, apply this metadata KeyValuePair.PayloadToMetadata.KeyValuePairgetOnPresent()If the field is present, apply this metadata KeyValuePair.PayloadToMetadata.KeyValuePairOrBuildergetOnPresentOrBuilder()If the field is present, apply this metadata KeyValuePair.StringgetServiceName()If specified, the route must have the service name as the request method name prefix.com.google.protobuf.ByteStringgetServiceNameBytes()If specified, the route must have the service name as the request method name prefix.booleanhasFieldSelector()Specifies that a match will be performed on the value of a field.booleanhasMethodName()If specified, the route must exactly match the request method name.booleanhasOnMissing()If the field is missing, apply this metadata KeyValuePair.booleanhasOnPresent()If the field is present, apply this metadata KeyValuePair.booleanhasServiceName()If specified, the route must have the service name as the request method name prefix.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMethodName
boolean hasMethodName()
If specified, the route must exactly match the request method name. As a special case, an empty string matches any request method name.
string method_name = 1;- Returns:
- Whether the methodName field is set.
-
getMethodName
String getMethodName()
If specified, the route must exactly match the request method name. As a special case, an empty string matches any request method name.
string method_name = 1;- Returns:
- The methodName.
-
getMethodNameBytes
com.google.protobuf.ByteString getMethodNameBytes()
If specified, the route must exactly match the request method name. As a special case, an empty string matches any request method name.
string method_name = 1;- Returns:
- The bytes for methodName.
-
hasServiceName
boolean hasServiceName()
If specified, the route must have the service name as the request method name prefix. As a special case, an empty string matches any service name. Only relevant when service multiplexing.
string service_name = 2;- Returns:
- Whether the serviceName field is set.
-
getServiceName
String getServiceName()
If specified, the route must have the service name as the request method name prefix. As a special case, an empty string matches any service name. Only relevant when service multiplexing.
string service_name = 2;- Returns:
- The serviceName.
-
getServiceNameBytes
com.google.protobuf.ByteString getServiceNameBytes()
If specified, the route must have the service name as the request method name prefix. As a special case, an empty string matches any service name. Only relevant when service multiplexing.
string service_name = 2;- Returns:
- The bytes for serviceName.
-
hasFieldSelector
boolean hasFieldSelector()
Specifies that a match will be performed on the value of a field.
.envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.FieldSelector field_selector = 3 [(.validate.rules) = { ... }- Returns:
- Whether the fieldSelector field is set.
-
getFieldSelector
PayloadToMetadata.FieldSelector getFieldSelector()
Specifies that a match will be performed on the value of a field.
.envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.FieldSelector field_selector = 3 [(.validate.rules) = { ... }- Returns:
- The fieldSelector.
-
getFieldSelectorOrBuilder
PayloadToMetadata.FieldSelectorOrBuilder getFieldSelectorOrBuilder()
Specifies that a match will be performed on the value of a field.
.envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.FieldSelector field_selector = 3 [(.validate.rules) = { ... }
-
hasOnPresent
boolean hasOnPresent()
If the field is present, apply this metadata KeyValuePair.
.envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_present = 4;- Returns:
- Whether the onPresent field is set.
-
getOnPresent
PayloadToMetadata.KeyValuePair getOnPresent()
If the field is present, apply this metadata KeyValuePair.
.envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_present = 4;- Returns:
- The onPresent.
-
getOnPresentOrBuilder
PayloadToMetadata.KeyValuePairOrBuilder getOnPresentOrBuilder()
If the field is present, apply this metadata KeyValuePair.
.envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_present = 4;
-
hasOnMissing
boolean hasOnMissing()
If the field is missing, apply this metadata KeyValuePair. The value in the KeyValuePair must be set, since it'll be used in lieu of the missing field value.
.envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_missing = 5;- Returns:
- Whether the onMissing field is set.
-
getOnMissing
PayloadToMetadata.KeyValuePair getOnMissing()
If the field is missing, apply this metadata KeyValuePair. The value in the KeyValuePair must be set, since it'll be used in lieu of the missing field value.
.envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_missing = 5;- Returns:
- The onMissing.
-
getOnMissingOrBuilder
PayloadToMetadata.KeyValuePairOrBuilder getOnMissingOrBuilder()
If the field is missing, apply this metadata KeyValuePair. The value in the KeyValuePair must be set, since it'll be used in lieu of the missing field value.
.envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_missing = 5;
-
getMatchSpecifierCase
PayloadToMetadata.Rule.MatchSpecifierCase getMatchSpecifierCase()
-
-