Interface ProtoMessageExtractionConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProtoMessageExtractionConfig,ProtoMessageExtractionConfig.Builder
public interface ProtoMessageExtractionConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecify the message extraction info.It could be passed by a local file through ``Datasource.filename`` or embedded in the ``Datasource.inline_bytes``.It could be passed by a local file through ``Datasource.filename`` or embedded in the ``Datasource.inline_bytes``.Deprecated.intSpecify the message extraction info.Specify the message extraction info.getExtractionByMethodOrDefault(String key, MethodExtraction defaultValue) Specify the message extraction info.Specify the message extraction info.getMode().envoy.extensions.filters.http.proto_message_extraction.v3.ProtoMessageExtractionConfig.ExtractMode mode = 3;int.envoy.extensions.filters.http.proto_message_extraction.v3.ProtoMessageExtractionConfig.ExtractMode mode = 3;Unimplemented, the key of proto descriptor TypedMetadata.com.google.protobuf.ByteStringUnimplemented, the key of proto descriptor TypedMetadata.booleanIt could be passed by a local file through ``Datasource.filename`` or embedded in the ``Datasource.inline_bytes``.booleanUnimplemented, the key of proto descriptor TypedMetadata.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDataSource
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;- Returns:
- Whether the dataSource field is set.
-
getDataSource
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;- Returns:
- The dataSource.
-
getDataSourceOrBuilder
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; -
hasProtoDescriptorTypedMetadata
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;- Returns:
- Whether the protoDescriptorTypedMetadata field is set.
-
getProtoDescriptorTypedMetadata
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;- Returns:
- The protoDescriptorTypedMetadata.
-
getProtoDescriptorTypedMetadataBytes
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;- Returns:
- The bytes for protoDescriptorTypedMetadata.
-
getModeValue
int getModeValue().envoy.extensions.filters.http.proto_message_extraction.v3.ProtoMessageExtractionConfig.ExtractMode mode = 3;- Returns:
- The enum numeric value on the wire for mode.
-
getMode
ProtoMessageExtractionConfig.ExtractMode getMode().envoy.extensions.filters.http.proto_message_extraction.v3.ProtoMessageExtractionConfig.ExtractMode mode = 3;- Returns:
- The mode.
-
getExtractionByMethodCount
int getExtractionByMethodCount()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; -
containsExtractionByMethod
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; -
getExtractionByMethod
Deprecated.UsegetExtractionByMethodMap()instead. -
getExtractionByMethodMap
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; -
getExtractionByMethodOrDefault
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; -
getExtractionByMethodOrThrow
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; -
getDescriptorSetCase
ProtoMessageExtractionConfig.DescriptorSetCase getDescriptorSetCase()
-