Class PayloadToMetadata.Rule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
- io.envoyproxy.envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.Rule.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PayloadToMetadata.RuleOrBuilder,Cloneable
- Enclosing class:
- PayloadToMetadata.Rule
public static final class PayloadToMetadata.Rule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder> implements PayloadToMetadata.RuleOrBuilder
A Rule defines what metadata to apply when a field is present or missing. [#next-free-field: 6]
Protobuf typeenvoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.Rule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PayloadToMetadata.Rule.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PayloadToMetadata.Rulebuild()PayloadToMetadata.RulebuildPartial()PayloadToMetadata.Rule.Builderclear()PayloadToMetadata.Rule.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PayloadToMetadata.Rule.BuilderclearFieldSelector()Specifies that a match will be performed on the value of a field.PayloadToMetadata.Rule.BuilderclearMatchSpecifier()PayloadToMetadata.Rule.BuilderclearMethodName()If specified, the route must exactly match the request method name.PayloadToMetadata.Rule.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PayloadToMetadata.Rule.BuilderclearOnMissing()If the field is missing, apply this metadata KeyValuePair.PayloadToMetadata.Rule.BuilderclearOnPresent()If the field is present, apply this metadata KeyValuePair.PayloadToMetadata.Rule.BuilderclearServiceName()If specified, the route must have the service name as the request method name prefix.PayloadToMetadata.Rule.Builderclone()PayloadToMetadata.RulegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()PayloadToMetadata.FieldSelectorgetFieldSelector()Specifies that a match will be performed on the value of a field.PayloadToMetadata.FieldSelector.BuildergetFieldSelectorBuilder()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.KeyValuePair.BuildergetOnMissingBuilder()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.KeyValuePair.BuildergetOnPresentBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PayloadToMetadata.Rule.BuildermergeFieldSelector(PayloadToMetadata.FieldSelector value)Specifies that a match will be performed on the value of a field.PayloadToMetadata.Rule.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PayloadToMetadata.Rule.BuildermergeFrom(com.google.protobuf.Message other)PayloadToMetadata.Rule.BuildermergeFrom(PayloadToMetadata.Rule other)PayloadToMetadata.Rule.BuildermergeOnMissing(PayloadToMetadata.KeyValuePair value)If the field is missing, apply this metadata KeyValuePair.PayloadToMetadata.Rule.BuildermergeOnPresent(PayloadToMetadata.KeyValuePair value)If the field is present, apply this metadata KeyValuePair.PayloadToMetadata.Rule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PayloadToMetadata.Rule.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PayloadToMetadata.Rule.BuildersetFieldSelector(PayloadToMetadata.FieldSelector value)Specifies that a match will be performed on the value of a field.PayloadToMetadata.Rule.BuildersetFieldSelector(PayloadToMetadata.FieldSelector.Builder builderForValue)Specifies that a match will be performed on the value of a field.PayloadToMetadata.Rule.BuildersetMethodName(String value)If specified, the route must exactly match the request method name.PayloadToMetadata.Rule.BuildersetMethodNameBytes(com.google.protobuf.ByteString value)If specified, the route must exactly match the request method name.PayloadToMetadata.Rule.BuildersetOnMissing(PayloadToMetadata.KeyValuePair value)If the field is missing, apply this metadata KeyValuePair.PayloadToMetadata.Rule.BuildersetOnMissing(PayloadToMetadata.KeyValuePair.Builder builderForValue)If the field is missing, apply this metadata KeyValuePair.PayloadToMetadata.Rule.BuildersetOnPresent(PayloadToMetadata.KeyValuePair value)If the field is present, apply this metadata KeyValuePair.PayloadToMetadata.Rule.BuildersetOnPresent(PayloadToMetadata.KeyValuePair.Builder builderForValue)If the field is present, apply this metadata KeyValuePair.PayloadToMetadata.Rule.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PayloadToMetadata.Rule.BuildersetServiceName(String value)If specified, the route must have the service name as the request method name prefix.PayloadToMetadata.Rule.BuildersetServiceNameBytes(com.google.protobuf.ByteString value)If specified, the route must have the service name as the request method name prefix.PayloadToMetadata.Rule.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
clear
public PayloadToMetadata.Rule.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
getDefaultInstanceForType
public PayloadToMetadata.Rule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PayloadToMetadata.Rule build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PayloadToMetadata.Rule buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PayloadToMetadata.Rule.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
setField
public PayloadToMetadata.Rule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
clearField
public PayloadToMetadata.Rule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
clearOneof
public PayloadToMetadata.Rule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
setRepeatedField
public PayloadToMetadata.Rule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
addRepeatedField
public PayloadToMetadata.Rule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
mergeFrom
public PayloadToMetadata.Rule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PayloadToMetadata.Rule.Builder>
-
mergeFrom
public PayloadToMetadata.Rule.Builder mergeFrom(PayloadToMetadata.Rule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
mergeFrom
public PayloadToMetadata.Rule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PayloadToMetadata.Rule.Builder>- Throws:
IOException
-
getMatchSpecifierCase
public PayloadToMetadata.Rule.MatchSpecifierCase getMatchSpecifierCase()
- Specified by:
getMatchSpecifierCasein interfacePayloadToMetadata.RuleOrBuilder
-
clearMatchSpecifier
public PayloadToMetadata.Rule.Builder clearMatchSpecifier()
-
hasMethodName
public 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;- Specified by:
hasMethodNamein interfacePayloadToMetadata.RuleOrBuilder- Returns:
- Whether the methodName field is set.
-
getMethodName
public 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;- Specified by:
getMethodNamein interfacePayloadToMetadata.RuleOrBuilder- Returns:
- The methodName.
-
getMethodNameBytes
public 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;- Specified by:
getMethodNameBytesin interfacePayloadToMetadata.RuleOrBuilder- Returns:
- The bytes for methodName.
-
setMethodName
public PayloadToMetadata.Rule.Builder setMethodName(String value)
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;- Parameters:
value- The methodName to set.- Returns:
- This builder for chaining.
-
clearMethodName
public PayloadToMetadata.Rule.Builder clearMethodName()
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:
- This builder for chaining.
-
setMethodNameBytes
public PayloadToMetadata.Rule.Builder setMethodNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for methodName to set.- Returns:
- This builder for chaining.
-
hasServiceName
public 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;- Specified by:
hasServiceNamein interfacePayloadToMetadata.RuleOrBuilder- Returns:
- Whether the serviceName field is set.
-
getServiceName
public 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;- Specified by:
getServiceNamein interfacePayloadToMetadata.RuleOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public 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;- Specified by:
getServiceNameBytesin interfacePayloadToMetadata.RuleOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
public PayloadToMetadata.Rule.Builder setServiceName(String value)
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;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
public PayloadToMetadata.Rule.Builder clearServiceName()
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:
- This builder for chaining.
-
setServiceNameBytes
public PayloadToMetadata.Rule.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
hasFieldSelector
public 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) = { ... }- Specified by:
hasFieldSelectorin interfacePayloadToMetadata.RuleOrBuilder- Returns:
- Whether the fieldSelector field is set.
-
getFieldSelector
public 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) = { ... }- Specified by:
getFieldSelectorin interfacePayloadToMetadata.RuleOrBuilder- Returns:
- The fieldSelector.
-
setFieldSelector
public PayloadToMetadata.Rule.Builder setFieldSelector(PayloadToMetadata.FieldSelector value)
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) = { ... }
-
setFieldSelector
public PayloadToMetadata.Rule.Builder setFieldSelector(PayloadToMetadata.FieldSelector.Builder builderForValue)
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) = { ... }
-
mergeFieldSelector
public PayloadToMetadata.Rule.Builder mergeFieldSelector(PayloadToMetadata.FieldSelector value)
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) = { ... }
-
clearFieldSelector
public PayloadToMetadata.Rule.Builder clearFieldSelector()
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) = { ... }
-
getFieldSelectorBuilder
public PayloadToMetadata.FieldSelector.Builder getFieldSelectorBuilder()
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) = { ... }
-
getFieldSelectorOrBuilder
public 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) = { ... }- Specified by:
getFieldSelectorOrBuilderin interfacePayloadToMetadata.RuleOrBuilder
-
hasOnPresent
public 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;- Specified by:
hasOnPresentin interfacePayloadToMetadata.RuleOrBuilder- Returns:
- Whether the onPresent field is set.
-
getOnPresent
public 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;- Specified by:
getOnPresentin interfacePayloadToMetadata.RuleOrBuilder- Returns:
- The onPresent.
-
setOnPresent
public PayloadToMetadata.Rule.Builder setOnPresent(PayloadToMetadata.KeyValuePair value)
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;
-
setOnPresent
public PayloadToMetadata.Rule.Builder setOnPresent(PayloadToMetadata.KeyValuePair.Builder builderForValue)
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;
-
mergeOnPresent
public PayloadToMetadata.Rule.Builder mergeOnPresent(PayloadToMetadata.KeyValuePair value)
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;
-
clearOnPresent
public PayloadToMetadata.Rule.Builder clearOnPresent()
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;
-
getOnPresentBuilder
public PayloadToMetadata.KeyValuePair.Builder getOnPresentBuilder()
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;
-
getOnPresentOrBuilder
public 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;- Specified by:
getOnPresentOrBuilderin interfacePayloadToMetadata.RuleOrBuilder
-
hasOnMissing
public 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;- Specified by:
hasOnMissingin interfacePayloadToMetadata.RuleOrBuilder- Returns:
- Whether the onMissing field is set.
-
getOnMissing
public 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;- Specified by:
getOnMissingin interfacePayloadToMetadata.RuleOrBuilder- Returns:
- The onMissing.
-
setOnMissing
public PayloadToMetadata.Rule.Builder setOnMissing(PayloadToMetadata.KeyValuePair value)
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;
-
setOnMissing
public PayloadToMetadata.Rule.Builder setOnMissing(PayloadToMetadata.KeyValuePair.Builder builderForValue)
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;
-
mergeOnMissing
public PayloadToMetadata.Rule.Builder mergeOnMissing(PayloadToMetadata.KeyValuePair value)
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;
-
clearOnMissing
public PayloadToMetadata.Rule.Builder clearOnMissing()
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;
-
getOnMissingBuilder
public PayloadToMetadata.KeyValuePair.Builder getOnMissingBuilder()
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;
-
getOnMissingOrBuilder
public 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;- Specified by:
getOnMissingOrBuilderin interfacePayloadToMetadata.RuleOrBuilder
-
setUnknownFields
public final PayloadToMetadata.Rule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
mergeUnknownFields
public final PayloadToMetadata.Rule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PayloadToMetadata.Rule.Builder>
-
-