Class GrpcFieldExtractionConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.extensions.filters.http.grpc_field_extraction.v3.GrpcFieldExtractionConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GrpcFieldExtractionConfigOrBuilder,Serializable
public final class GrpcFieldExtractionConfig extends com.google.protobuf.GeneratedMessageV3 implements GrpcFieldExtractionConfigOrBuilder
Protobuf typeenvoy.extensions.filters.http.grpc_field_extraction.v3.GrpcFieldExtractionConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGrpcFieldExtractionConfig.BuilderProtobuf typeenvoy.extensions.filters.http.grpc_field_extraction.v3.GrpcFieldExtractionConfig-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDESCRIPTOR_SET_FIELD_NUMBERstatic intEXTRACTIONS_BY_METHOD_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsExtractionsByMethod(String key)Specify the extraction info.booleanequals(Object obj)static GrpcFieldExtractionConfiggetDefaultInstance()GrpcFieldExtractionConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DataSourcegetDescriptorSet()The proto descriptor set binary for the gRPC services.DataSourceOrBuildergetDescriptorSetOrBuilder()The proto descriptor set binary for the gRPC services.Map<String,FieldExtractions>getExtractionsByMethod()Deprecated.intgetExtractionsByMethodCount()Specify the extraction info.Map<String,FieldExtractions>getExtractionsByMethodMap()Specify the extraction info.FieldExtractionsgetExtractionsByMethodOrDefault(String key, FieldExtractions defaultValue)Specify the extraction info.FieldExtractionsgetExtractionsByMethodOrThrow(String key)Specify the extraction info.com.google.protobuf.Parser<GrpcFieldExtractionConfig>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDescriptorSet()The proto descriptor set binary for the gRPC services.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static GrpcFieldExtractionConfig.BuildernewBuilder()static GrpcFieldExtractionConfig.BuildernewBuilder(GrpcFieldExtractionConfig prototype)GrpcFieldExtractionConfig.BuildernewBuilderForType()protected GrpcFieldExtractionConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GrpcFieldExtractionConfigparseDelimitedFrom(InputStream input)static GrpcFieldExtractionConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GrpcFieldExtractionConfigparseFrom(byte[] data)static GrpcFieldExtractionConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GrpcFieldExtractionConfigparseFrom(com.google.protobuf.ByteString data)static GrpcFieldExtractionConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GrpcFieldExtractionConfigparseFrom(com.google.protobuf.CodedInputStream input)static GrpcFieldExtractionConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GrpcFieldExtractionConfigparseFrom(InputStream input)static GrpcFieldExtractionConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GrpcFieldExtractionConfigparseFrom(ByteBuffer data)static GrpcFieldExtractionConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GrpcFieldExtractionConfig>parser()GrpcFieldExtractionConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DESCRIPTOR_SET_FIELD_NUMBER
public static final int DESCRIPTOR_SET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTRACTIONS_BY_METHOD_FIELD_NUMBER
public static final int EXTRACTIONS_BY_METHOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasDescriptorSet
public boolean hasDescriptorSet()
The proto descriptor set binary for the gRPC services. It could be passed by a local file through ``Datasource.filename`` or embedded in the ``Datasource.inline_bytes``.
.envoy.config.core.v3.DataSource descriptor_set = 1 [(.validate.rules) = { ... }- Specified by:
hasDescriptorSetin interfaceGrpcFieldExtractionConfigOrBuilder- Returns:
- Whether the descriptorSet field is set.
-
getDescriptorSet
public DataSource getDescriptorSet()
The proto descriptor set binary for the gRPC services. It could be passed by a local file through ``Datasource.filename`` or embedded in the ``Datasource.inline_bytes``.
.envoy.config.core.v3.DataSource descriptor_set = 1 [(.validate.rules) = { ... }- Specified by:
getDescriptorSetin interfaceGrpcFieldExtractionConfigOrBuilder- Returns:
- The descriptorSet.
-
getDescriptorSetOrBuilder
public DataSourceOrBuilder getDescriptorSetOrBuilder()
The proto descriptor set binary for the gRPC services. It could be passed by a local file through ``Datasource.filename`` or embedded in the ``Datasource.inline_bytes``.
.envoy.config.core.v3.DataSource descriptor_set = 1 [(.validate.rules) = { ... }- Specified by:
getDescriptorSetOrBuilderin interfaceGrpcFieldExtractionConfigOrBuilder
-
getExtractionsByMethodCount
public int getExtractionsByMethodCount()
Description copied from interface:GrpcFieldExtractionConfigOrBuilderSpecify the extraction info. The key is the fully qualified gRPC method name. ``${package}.${Service}.${Method}``, like ``endpoints.examples.bookstore.BookStore.GetShelf`` The value is the field extractions for individual gRPC method.map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.FieldExtractions> extractions_by_method = 2;- Specified by:
getExtractionsByMethodCountin interfaceGrpcFieldExtractionConfigOrBuilder
-
containsExtractionsByMethod
public boolean containsExtractionsByMethod(String key)
Specify the extraction info. The key is the fully qualified gRPC method name. ``${package}.${Service}.${Method}``, like ``endpoints.examples.bookstore.BookStore.GetShelf`` The value is the field extractions for individual gRPC method.map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.FieldExtractions> extractions_by_method = 2;- Specified by:
containsExtractionsByMethodin interfaceGrpcFieldExtractionConfigOrBuilder
-
getExtractionsByMethod
@Deprecated public Map<String,FieldExtractions> getExtractionsByMethod()
Deprecated.UsegetExtractionsByMethodMap()instead.- Specified by:
getExtractionsByMethodin interfaceGrpcFieldExtractionConfigOrBuilder
-
getExtractionsByMethodMap
public Map<String,FieldExtractions> getExtractionsByMethodMap()
Specify the extraction info. The key is the fully qualified gRPC method name. ``${package}.${Service}.${Method}``, like ``endpoints.examples.bookstore.BookStore.GetShelf`` The value is the field extractions for individual gRPC method.map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.FieldExtractions> extractions_by_method = 2;- Specified by:
getExtractionsByMethodMapin interfaceGrpcFieldExtractionConfigOrBuilder
-
getExtractionsByMethodOrDefault
public FieldExtractions getExtractionsByMethodOrDefault(String key, FieldExtractions defaultValue)
Specify the extraction info. The key is the fully qualified gRPC method name. ``${package}.${Service}.${Method}``, like ``endpoints.examples.bookstore.BookStore.GetShelf`` The value is the field extractions for individual gRPC method.map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.FieldExtractions> extractions_by_method = 2;- Specified by:
getExtractionsByMethodOrDefaultin interfaceGrpcFieldExtractionConfigOrBuilder
-
getExtractionsByMethodOrThrow
public FieldExtractions getExtractionsByMethodOrThrow(String key)
Specify the extraction info. The key is the fully qualified gRPC method name. ``${package}.${Service}.${Method}``, like ``endpoints.examples.bookstore.BookStore.GetShelf`` The value is the field extractions for individual gRPC method.map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.FieldExtractions> extractions_by_method = 2;- Specified by:
getExtractionsByMethodOrThrowin interfaceGrpcFieldExtractionConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GrpcFieldExtractionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcFieldExtractionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcFieldExtractionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcFieldExtractionConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcFieldExtractionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcFieldExtractionConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GrpcFieldExtractionConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GrpcFieldExtractionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GrpcFieldExtractionConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GrpcFieldExtractionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GrpcFieldExtractionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GrpcFieldExtractionConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GrpcFieldExtractionConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GrpcFieldExtractionConfig.Builder newBuilder()
-
newBuilder
public static GrpcFieldExtractionConfig.Builder newBuilder(GrpcFieldExtractionConfig prototype)
-
toBuilder
public GrpcFieldExtractionConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GrpcFieldExtractionConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GrpcFieldExtractionConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GrpcFieldExtractionConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<GrpcFieldExtractionConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GrpcFieldExtractionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-