java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.http.proto_message_extraction.v3.ProtoMessageExtractionConfig
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ProtoMessageExtractionConfigOrBuilder, Serializable

public final class ProtoMessageExtractionConfig extends com.google.protobuf.GeneratedMessageV3 implements ProtoMessageExtractionConfigOrBuilder
Protobuf type envoy.extensions.filters.http.proto_message_extraction.v3.ProtoMessageExtractionConfig
See Also:
  • Field Details

    • DATA_SOURCE_FIELD_NUMBER

      public static final int DATA_SOURCE_FIELD_NUMBER
      See Also:
    • PROTO_DESCRIPTOR_TYPED_METADATA_FIELD_NUMBER

      public static final int PROTO_DESCRIPTOR_TYPED_METADATA_FIELD_NUMBER
      See Also:
    • MODE_FIELD_NUMBER

      public static final int MODE_FIELD_NUMBER
      See Also:
    • EXTRACTION_BY_METHOD_FIELD_NUMBER

      public static final int EXTRACTION_BY_METHOD_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getDescriptorSetCase

      public ProtoMessageExtractionConfig.DescriptorSetCase getDescriptorSetCase()
      Specified by:
      getDescriptorSetCase in interface ProtoMessageExtractionConfigOrBuilder
    • hasDataSource

      public boolean hasDataSource()
       It could be passed by a local file through ``Datasource.filename`` or
       embedded in the ``Datasource.inline_bytes``.
       
      .envoy.config.core.v3.DataSource data_source = 1;
      Specified by:
      hasDataSource in interface ProtoMessageExtractionConfigOrBuilder
      Returns:
      Whether the dataSource field is set.
    • getDataSource

      public DataSource getDataSource()
       It could be passed by a local file through ``Datasource.filename`` or
       embedded in the ``Datasource.inline_bytes``.
       
      .envoy.config.core.v3.DataSource data_source = 1;
      Specified by:
      getDataSource in interface ProtoMessageExtractionConfigOrBuilder
      Returns:
      The dataSource.
    • getDataSourceOrBuilder

      public DataSourceOrBuilder getDataSourceOrBuilder()
       It could be passed by a local file through ``Datasource.filename`` or
       embedded in the ``Datasource.inline_bytes``.
       
      .envoy.config.core.v3.DataSource data_source = 1;
      Specified by:
      getDataSourceOrBuilder in interface ProtoMessageExtractionConfigOrBuilder
    • hasProtoDescriptorTypedMetadata

      public boolean hasProtoDescriptorTypedMetadata()
       Unimplemented, the key of proto descriptor TypedMetadata.
       Among filters depending on the proto descriptor, we can have a
       TypedMetadata for proto descriptors, so that these filters can share one
       copy of proto descriptor in memory.
       
      string proto_descriptor_typed_metadata = 2;
      Specified by:
      hasProtoDescriptorTypedMetadata in interface ProtoMessageExtractionConfigOrBuilder
      Returns:
      Whether the protoDescriptorTypedMetadata field is set.
    • getProtoDescriptorTypedMetadata

      public String getProtoDescriptorTypedMetadata()
       Unimplemented, the key of proto descriptor TypedMetadata.
       Among filters depending on the proto descriptor, we can have a
       TypedMetadata for proto descriptors, so that these filters can share one
       copy of proto descriptor in memory.
       
      string proto_descriptor_typed_metadata = 2;
      Specified by:
      getProtoDescriptorTypedMetadata in interface ProtoMessageExtractionConfigOrBuilder
      Returns:
      The protoDescriptorTypedMetadata.
    • getProtoDescriptorTypedMetadataBytes

      public com.google.protobuf.ByteString getProtoDescriptorTypedMetadataBytes()
       Unimplemented, the key of proto descriptor TypedMetadata.
       Among filters depending on the proto descriptor, we can have a
       TypedMetadata for proto descriptors, so that these filters can share one
       copy of proto descriptor in memory.
       
      string proto_descriptor_typed_metadata = 2;
      Specified by:
      getProtoDescriptorTypedMetadataBytes in interface ProtoMessageExtractionConfigOrBuilder
      Returns:
      The bytes for protoDescriptorTypedMetadata.
    • getModeValue

      public int getModeValue()
      .envoy.extensions.filters.http.proto_message_extraction.v3.ProtoMessageExtractionConfig.ExtractMode mode = 3;
      Specified by:
      getModeValue in interface ProtoMessageExtractionConfigOrBuilder
      Returns:
      The enum numeric value on the wire for mode.
    • getMode

      .envoy.extensions.filters.http.proto_message_extraction.v3.ProtoMessageExtractionConfig.ExtractMode mode = 3;
      Specified by:
      getMode in interface ProtoMessageExtractionConfigOrBuilder
      Returns:
      The mode.
    • getExtractionByMethodCount

      public int getExtractionByMethodCount()
      Description copied from interface: ProtoMessageExtractionConfigOrBuilder
       Specify the message extraction info.
       The key is the fully qualified gRPC method name.
       ``${package}.${Service}.${Method}``, like
       ``endpoints.examples.bookstore.BookStore.GetShelf``
      
       The value is the message extraction information for individual gRPC
       methods.
       
      map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction> extraction_by_method = 4;
      Specified by:
      getExtractionByMethodCount in interface ProtoMessageExtractionConfigOrBuilder
    • containsExtractionByMethod

      public boolean containsExtractionByMethod(String key)
       Specify the message extraction info.
       The key is the fully qualified gRPC method name.
       ``${package}.${Service}.${Method}``, like
       ``endpoints.examples.bookstore.BookStore.GetShelf``
      
       The value is the message extraction information for individual gRPC
       methods.
       
      map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction> extraction_by_method = 4;
      Specified by:
      containsExtractionByMethod in interface ProtoMessageExtractionConfigOrBuilder
    • getExtractionByMethod

      @Deprecated public Map<String,MethodExtraction> getExtractionByMethod()
      Deprecated.
      Specified by:
      getExtractionByMethod in interface ProtoMessageExtractionConfigOrBuilder
    • getExtractionByMethodMap

      public Map<String,MethodExtraction> getExtractionByMethodMap()
       Specify the message extraction info.
       The key is the fully qualified gRPC method name.
       ``${package}.${Service}.${Method}``, like
       ``endpoints.examples.bookstore.BookStore.GetShelf``
      
       The value is the message extraction information for individual gRPC
       methods.
       
      map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction> extraction_by_method = 4;
      Specified by:
      getExtractionByMethodMap in interface ProtoMessageExtractionConfigOrBuilder
    • getExtractionByMethodOrDefault

      public MethodExtraction getExtractionByMethodOrDefault(String key, MethodExtraction defaultValue)
       Specify the message extraction info.
       The key is the fully qualified gRPC method name.
       ``${package}.${Service}.${Method}``, like
       ``endpoints.examples.bookstore.BookStore.GetShelf``
      
       The value is the message extraction information for individual gRPC
       methods.
       
      map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction> extraction_by_method = 4;
      Specified by:
      getExtractionByMethodOrDefault in interface ProtoMessageExtractionConfigOrBuilder
    • getExtractionByMethodOrThrow

      public MethodExtraction getExtractionByMethodOrThrow(String key)
       Specify the message extraction info.
       The key is the fully qualified gRPC method name.
       ``${package}.${Service}.${Method}``, like
       ``endpoints.examples.bookstore.BookStore.GetShelf``
      
       The value is the message extraction information for individual gRPC
       methods.
       
      map<string, .envoy.extensions.filters.http.proto_message_extraction.v3.MethodExtraction> extraction_by_method = 4;
      Specified by:
      getExtractionByMethodOrThrow in interface ProtoMessageExtractionConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ProtoMessageExtractionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtoMessageExtractionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtoMessageExtractionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtoMessageExtractionConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtoMessageExtractionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtoMessageExtractionConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtoMessageExtractionConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProtoMessageExtractionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProtoMessageExtractionConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProtoMessageExtractionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProtoMessageExtractionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProtoMessageExtractionConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ProtoMessageExtractionConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ProtoMessageExtractionConfig.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ProtoMessageExtractionConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ProtoMessageExtractionConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ProtoMessageExtractionConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<ProtoMessageExtractionConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ProtoMessageExtractionConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder