Class GrpcFieldExtractionConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcFieldExtractionConfig.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcFieldExtractionConfig.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcFieldExtractionConfig.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<GrpcFieldExtractionConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public GrpcFieldExtractionConfig.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<GrpcFieldExtractionConfig.Builder>
      • isInitialized

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

        public GrpcFieldExtractionConfig.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<GrpcFieldExtractionConfig.Builder>
        Throws:
        IOException
      • 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:
        hasDescriptorSet in interface GrpcFieldExtractionConfigOrBuilder
        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:
        getDescriptorSet in interface GrpcFieldExtractionConfigOrBuilder
        Returns:
        The descriptorSet.
      • setDescriptorSet

        public GrpcFieldExtractionConfig.Builder setDescriptorSet​(DataSource value)
         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) = { ... }
      • setDescriptorSet

        public GrpcFieldExtractionConfig.Builder setDescriptorSet​(DataSource.Builder builderForValue)
         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) = { ... }
      • mergeDescriptorSet

        public GrpcFieldExtractionConfig.Builder mergeDescriptorSet​(DataSource value)
         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) = { ... }
      • clearDescriptorSet

        public GrpcFieldExtractionConfig.Builder clearDescriptorSet()
         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) = { ... }
      • getDescriptorSetBuilder

        public DataSource.Builder getDescriptorSetBuilder()
         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) = { ... }
      • 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:
        getDescriptorSetOrBuilder in interface GrpcFieldExtractionConfigOrBuilder
      • getExtractionsByMethodCount

        public int getExtractionsByMethodCount()
        Description copied from interface: GrpcFieldExtractionConfigOrBuilder
         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:
        getExtractionsByMethodCount in interface GrpcFieldExtractionConfigOrBuilder
      • 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:
        containsExtractionsByMethod in interface GrpcFieldExtractionConfigOrBuilder
      • 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:
        getExtractionsByMethodMap in interface GrpcFieldExtractionConfigOrBuilder
      • 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:
        getExtractionsByMethodOrDefault in interface GrpcFieldExtractionConfigOrBuilder
      • 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:
        getExtractionsByMethodOrThrow in interface GrpcFieldExtractionConfigOrBuilder
      • removeExtractionsByMethod

        public GrpcFieldExtractionConfig.Builder removeExtractionsByMethod​(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;
      • putExtractionsByMethod

        public GrpcFieldExtractionConfig.Builder putExtractionsByMethod​(String key,
                                                                        FieldExtractions value)
         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;
      • putAllExtractionsByMethod

        public GrpcFieldExtractionConfig.Builder putAllExtractionsByMethod​(Map<String,​FieldExtractions> values)
         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;
      • setUnknownFields

        public final GrpcFieldExtractionConfig.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<GrpcFieldExtractionConfig.Builder>
      • mergeUnknownFields

        public final GrpcFieldExtractionConfig.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<GrpcFieldExtractionConfig.Builder>