Class MethodExtraction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MethodExtraction.Builder>
io.envoyproxy.envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MethodExtractionOrBuilder,Cloneable
- Enclosing class:
- MethodExtraction
public static final class MethodExtraction.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MethodExtraction.Builder>
implements MethodExtractionOrBuilder
This message can be used to support per route config approach later even though the Istio doesn't support that so far.Protobuf type
envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()booleanThe mapping of field path to its ExtractDirective for request messagesbooleanThe mapping of field path to its ExtractDirective for response messagesstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.intThe mapping of field path to its ExtractDirective for request messagesThe mapping of field path to its ExtractDirective for request messagesgetRequestExtractionByFieldOrDefault(String key, MethodExtraction.ExtractDirective defaultValue) The mapping of field path to its ExtractDirective for request messagesThe mapping of field path to its ExtractDirective for request messagesDeprecated.The mapping of field path to its ExtractDirective for request messagesintgetRequestExtractionByFieldValueOrDefault(String key, int defaultValue) The mapping of field path to its ExtractDirective for request messagesintThe mapping of field path to its ExtractDirective for request messagesDeprecated.intThe mapping of field path to its ExtractDirective for response messagesThe mapping of field path to its ExtractDirective for response messagesgetResponseExtractionByFieldOrDefault(String key, MethodExtraction.ExtractDirective defaultValue) The mapping of field path to its ExtractDirective for response messagesThe mapping of field path to its ExtractDirective for response messagesDeprecated.The mapping of field path to its ExtractDirective for response messagesintgetResponseExtractionByFieldValueOrDefault(String key, int defaultValue) The mapping of field path to its ExtractDirective for response messagesintThe mapping of field path to its ExtractDirective for response messagesprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(MethodExtraction other) final MethodExtraction.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The mapping of field path to its ExtractDirective for request messagesThe mapping of field path to its ExtractDirective for request messagesThe mapping of field path to its ExtractDirective for response messagesThe mapping of field path to its ExtractDirective for response messagesThe mapping of field path to its ExtractDirective for request messagesputRequestExtractionByFieldValue(String key, int value) The mapping of field path to its ExtractDirective for request messagesThe mapping of field path to its ExtractDirective for response messagesputResponseExtractionByFieldValue(String key, int value) The mapping of field path to its ExtractDirective for response messagesThe mapping of field path to its ExtractDirective for request messagesThe mapping of field path to its ExtractDirective for response messagessetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final MethodExtraction.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodExtraction.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodExtraction.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MethodExtraction.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<MethodExtraction.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<MethodExtraction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<MethodExtraction.Builder>
-
setField
public MethodExtraction.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<MethodExtraction.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodExtraction.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodExtraction.Builder>
-
setRepeatedField
public MethodExtraction.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<MethodExtraction.Builder>
-
addRepeatedField
public MethodExtraction.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<MethodExtraction.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MethodExtraction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodExtraction.Builder>
-
mergeFrom
public MethodExtraction.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<MethodExtraction.Builder>- Throws:
IOException
-
getRequestExtractionByFieldCount
public int getRequestExtractionByFieldCount()Description copied from interface:MethodExtractionOrBuilderThe mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2;- Specified by:
getRequestExtractionByFieldCountin interfaceMethodExtractionOrBuilder
-
containsRequestExtractionByField
The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2;- Specified by:
containsRequestExtractionByFieldin interfaceMethodExtractionOrBuilder
-
getRequestExtractionByField
Deprecated.UsegetRequestExtractionByFieldMap()instead.- Specified by:
getRequestExtractionByFieldin interfaceMethodExtractionOrBuilder
-
getRequestExtractionByFieldMap
The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2;- Specified by:
getRequestExtractionByFieldMapin interfaceMethodExtractionOrBuilder
-
getRequestExtractionByFieldOrDefault
public MethodExtraction.ExtractDirective getRequestExtractionByFieldOrDefault(String key, MethodExtraction.ExtractDirective defaultValue) The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2;- Specified by:
getRequestExtractionByFieldOrDefaultin interfaceMethodExtractionOrBuilder
-
getRequestExtractionByFieldOrThrow
The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2;- Specified by:
getRequestExtractionByFieldOrThrowin interfaceMethodExtractionOrBuilder
-
getRequestExtractionByFieldValue
Deprecated.UsegetRequestExtractionByFieldValueMap()instead.- Specified by:
getRequestExtractionByFieldValuein interfaceMethodExtractionOrBuilder
-
getRequestExtractionByFieldValueMap
The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2;- Specified by:
getRequestExtractionByFieldValueMapin interfaceMethodExtractionOrBuilder
-
getRequestExtractionByFieldValueOrDefault
The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2;- Specified by:
getRequestExtractionByFieldValueOrDefaultin interfaceMethodExtractionOrBuilder
-
getRequestExtractionByFieldValueOrThrow
The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2;- Specified by:
getRequestExtractionByFieldValueOrThrowin interfaceMethodExtractionOrBuilder
-
clearRequestExtractionByField
-
removeRequestExtractionByField
The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2; -
getMutableRequestExtractionByField
@Deprecated public Map<String,MethodExtraction.ExtractDirective> getMutableRequestExtractionByField()Deprecated.Use alternate mutation accessors instead. -
putRequestExtractionByField
public MethodExtraction.Builder putRequestExtractionByField(String key, MethodExtraction.ExtractDirective value) The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2; -
putAllRequestExtractionByField
public MethodExtraction.Builder putAllRequestExtractionByField(Map<String, MethodExtraction.ExtractDirective> values) The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2; -
getMutableRequestExtractionByFieldValue
Deprecated.Use alternate mutation accessors instead. -
putRequestExtractionByFieldValue
The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2; -
putAllRequestExtractionByFieldValue
The mapping of field path to its ExtractDirective for request messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> request_extraction_by_field = 2; -
getResponseExtractionByFieldCount
public int getResponseExtractionByFieldCount()Description copied from interface:MethodExtractionOrBuilderThe mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3;- Specified by:
getResponseExtractionByFieldCountin interfaceMethodExtractionOrBuilder
-
containsResponseExtractionByField
The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3;- Specified by:
containsResponseExtractionByFieldin interfaceMethodExtractionOrBuilder
-
getResponseExtractionByField
Deprecated.UsegetResponseExtractionByFieldMap()instead.- Specified by:
getResponseExtractionByFieldin interfaceMethodExtractionOrBuilder
-
getResponseExtractionByFieldMap
The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3;- Specified by:
getResponseExtractionByFieldMapin interfaceMethodExtractionOrBuilder
-
getResponseExtractionByFieldOrDefault
public MethodExtraction.ExtractDirective getResponseExtractionByFieldOrDefault(String key, MethodExtraction.ExtractDirective defaultValue) The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3;- Specified by:
getResponseExtractionByFieldOrDefaultin interfaceMethodExtractionOrBuilder
-
getResponseExtractionByFieldOrThrow
The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3;- Specified by:
getResponseExtractionByFieldOrThrowin interfaceMethodExtractionOrBuilder
-
getResponseExtractionByFieldValue
Deprecated.UsegetResponseExtractionByFieldValueMap()instead.- Specified by:
getResponseExtractionByFieldValuein interfaceMethodExtractionOrBuilder
-
getResponseExtractionByFieldValueMap
The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3;- Specified by:
getResponseExtractionByFieldValueMapin interfaceMethodExtractionOrBuilder
-
getResponseExtractionByFieldValueOrDefault
The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3;- Specified by:
getResponseExtractionByFieldValueOrDefaultin interfaceMethodExtractionOrBuilder
-
getResponseExtractionByFieldValueOrThrow
The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3;- Specified by:
getResponseExtractionByFieldValueOrThrowin interfaceMethodExtractionOrBuilder
-
clearResponseExtractionByField
-
removeResponseExtractionByField
The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3; -
getMutableResponseExtractionByField
@Deprecated public Map<String,MethodExtraction.ExtractDirective> getMutableResponseExtractionByField()Deprecated.Use alternate mutation accessors instead. -
putResponseExtractionByField
public MethodExtraction.Builder putResponseExtractionByField(String key, MethodExtraction.ExtractDirective value) The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3; -
putAllResponseExtractionByField
public MethodExtraction.Builder putAllResponseExtractionByField(Map<String, MethodExtraction.ExtractDirective> values) The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3; -
getMutableResponseExtractionByFieldValue
Deprecated.Use alternate mutation accessors instead. -
putResponseExtractionByFieldValue
The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3; -
putAllResponseExtractionByFieldValue
The mapping of field path to its ExtractDirective for response messages
map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction.ExtractDirective> response_extraction_by_field = 3; -
setUnknownFields
public final MethodExtraction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodExtraction.Builder>
-
mergeUnknownFields
public final MethodExtraction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodExtraction.Builder>
-