java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
io.envoyproxy.envoy.extensions.filters.http.grpc_field_extraction.v3.FieldExtractions.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FieldExtractionsOrBuilder, Cloneable
Enclosing class:
FieldExtractions

public static final class FieldExtractions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder> implements FieldExtractionsOrBuilder
 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.grpc_field_extraction.v3.FieldExtractions
  • Method Details

    • 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.Builder<FieldExtractions.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • clear

      public FieldExtractions.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • getDefaultInstanceForType

      public FieldExtractions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FieldExtractions build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FieldExtractions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public FieldExtractions.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • setField

      public FieldExtractions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • clearField

      public FieldExtractions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • clearOneof

      public FieldExtractions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • setRepeatedField

      public FieldExtractions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • addRepeatedField

      public FieldExtractions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • mergeFrom

      public FieldExtractions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FieldExtractions.Builder>
    • mergeFrom

      public FieldExtractions.Builder mergeFrom(FieldExtractions other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • mergeFrom

      public FieldExtractions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FieldExtractions.Builder>
      Throws:
      IOException
    • getRequestFieldExtractionsCount

      public int getRequestFieldExtractionsCount()
      Description copied from interface: FieldExtractionsOrBuilder
       The field extractions for requests.
       The key is the field path within the grpc request.
       For example, we can define ``foo.bar.name`` if we want to extract
       ``Request.foo.bar.name``.
      
       .. code-block:: proto
      
        message Request {
          Foo foo = 1;
        }
      
        message Foo {
          Bar bar = 1;
        }
      
        message Bar {
          string name = 1;
        }
       
      map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.RequestFieldValueDisposition> request_field_extractions = 1;
      Specified by:
      getRequestFieldExtractionsCount in interface FieldExtractionsOrBuilder
    • containsRequestFieldExtractions

      public boolean containsRequestFieldExtractions(String key)
       The field extractions for requests.
       The key is the field path within the grpc request.
       For example, we can define ``foo.bar.name`` if we want to extract
       ``Request.foo.bar.name``.
      
       .. code-block:: proto
      
        message Request {
          Foo foo = 1;
        }
      
        message Foo {
          Bar bar = 1;
        }
      
        message Bar {
          string name = 1;
        }
       
      map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.RequestFieldValueDisposition> request_field_extractions = 1;
      Specified by:
      containsRequestFieldExtractions in interface FieldExtractionsOrBuilder
    • getRequestFieldExtractions

      @Deprecated public Map<String,RequestFieldValueDisposition> getRequestFieldExtractions()
      Deprecated.
      Specified by:
      getRequestFieldExtractions in interface FieldExtractionsOrBuilder
    • getRequestFieldExtractionsMap

      public Map<String,RequestFieldValueDisposition> getRequestFieldExtractionsMap()
       The field extractions for requests.
       The key is the field path within the grpc request.
       For example, we can define ``foo.bar.name`` if we want to extract
       ``Request.foo.bar.name``.
      
       .. code-block:: proto
      
        message Request {
          Foo foo = 1;
        }
      
        message Foo {
          Bar bar = 1;
        }
      
        message Bar {
          string name = 1;
        }
       
      map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.RequestFieldValueDisposition> request_field_extractions = 1;
      Specified by:
      getRequestFieldExtractionsMap in interface FieldExtractionsOrBuilder
    • getRequestFieldExtractionsOrDefault

      public RequestFieldValueDisposition getRequestFieldExtractionsOrDefault(String key, RequestFieldValueDisposition defaultValue)
       The field extractions for requests.
       The key is the field path within the grpc request.
       For example, we can define ``foo.bar.name`` if we want to extract
       ``Request.foo.bar.name``.
      
       .. code-block:: proto
      
        message Request {
          Foo foo = 1;
        }
      
        message Foo {
          Bar bar = 1;
        }
      
        message Bar {
          string name = 1;
        }
       
      map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.RequestFieldValueDisposition> request_field_extractions = 1;
      Specified by:
      getRequestFieldExtractionsOrDefault in interface FieldExtractionsOrBuilder
    • getRequestFieldExtractionsOrThrow

      public RequestFieldValueDisposition getRequestFieldExtractionsOrThrow(String key)
       The field extractions for requests.
       The key is the field path within the grpc request.
       For example, we can define ``foo.bar.name`` if we want to extract
       ``Request.foo.bar.name``.
      
       .. code-block:: proto
      
        message Request {
          Foo foo = 1;
        }
      
        message Foo {
          Bar bar = 1;
        }
      
        message Bar {
          string name = 1;
        }
       
      map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.RequestFieldValueDisposition> request_field_extractions = 1;
      Specified by:
      getRequestFieldExtractionsOrThrow in interface FieldExtractionsOrBuilder
    • clearRequestFieldExtractions

      public FieldExtractions.Builder clearRequestFieldExtractions()
    • removeRequestFieldExtractions

      public FieldExtractions.Builder removeRequestFieldExtractions(String key)
       The field extractions for requests.
       The key is the field path within the grpc request.
       For example, we can define ``foo.bar.name`` if we want to extract
       ``Request.foo.bar.name``.
      
       .. code-block:: proto
      
        message Request {
          Foo foo = 1;
        }
      
        message Foo {
          Bar bar = 1;
        }
      
        message Bar {
          string name = 1;
        }
       
      map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.RequestFieldValueDisposition> request_field_extractions = 1;
    • getMutableRequestFieldExtractions

      @Deprecated public Map<String,RequestFieldValueDisposition> getMutableRequestFieldExtractions()
      Deprecated.
      Use alternate mutation accessors instead.
    • putRequestFieldExtractions

      public FieldExtractions.Builder putRequestFieldExtractions(String key, RequestFieldValueDisposition value)
       The field extractions for requests.
       The key is the field path within the grpc request.
       For example, we can define ``foo.bar.name`` if we want to extract
       ``Request.foo.bar.name``.
      
       .. code-block:: proto
      
        message Request {
          Foo foo = 1;
        }
      
        message Foo {
          Bar bar = 1;
        }
      
        message Bar {
          string name = 1;
        }
       
      map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.RequestFieldValueDisposition> request_field_extractions = 1;
    • putAllRequestFieldExtractions

      public FieldExtractions.Builder putAllRequestFieldExtractions(Map<String,RequestFieldValueDisposition> values)
       The field extractions for requests.
       The key is the field path within the grpc request.
       For example, we can define ``foo.bar.name`` if we want to extract
       ``Request.foo.bar.name``.
      
       .. code-block:: proto
      
        message Request {
          Foo foo = 1;
        }
      
        message Foo {
          Bar bar = 1;
        }
      
        message Bar {
          string name = 1;
        }
       
      map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.RequestFieldValueDisposition> request_field_extractions = 1;
    • putRequestFieldExtractionsBuilderIfAbsent

      public RequestFieldValueDisposition.Builder putRequestFieldExtractionsBuilderIfAbsent(String key)
       The field extractions for requests.
       The key is the field path within the grpc request.
       For example, we can define ``foo.bar.name`` if we want to extract
       ``Request.foo.bar.name``.
      
       .. code-block:: proto
      
        message Request {
          Foo foo = 1;
        }
      
        message Foo {
          Bar bar = 1;
        }
      
        message Bar {
          string name = 1;
        }
       
      map<string, .envoy.extensions.filters.http.grpc_field_extraction.v3.RequestFieldValueDisposition> request_field_extractions = 1;
    • setUnknownFields

      public final FieldExtractions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>
    • mergeUnknownFields

      public final FieldExtractions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FieldExtractions.Builder>