Class GrpcJsonReverseTranscoder.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
io.envoyproxy.envoy.extensions.filters.http.grpc_json_reverse_transcoder.v3.GrpcJsonReverseTranscoder.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GrpcJsonReverseTranscoderOrBuilder,Cloneable
- Enclosing class:
- GrpcJsonReverseTranscoder
public static final class GrpcJsonReverseTranscoder.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
implements GrpcJsonReverseTranscoderOrBuilder
[#next-free-field: 7] ``GrpcJsonReverseTranscoder`` is the filter configuration for the gRPC JSON reverse transcoder. The reverse transcoder acts as a bridge between a gRPC client and an HTTP/JSON server, converting the gRPC request into HTTP/JSON for the HTTP backend and the HTTP/JSON response back to gRPC for the gRPC client. This effectively reverses the behavior of the :ref:`grpc_json_transcoder filter <config_http_filters_grpc_json_transcoder>`, allowing a gRPC client to communicate with an HTTP/JSON server.Protobuf type
envoy.extensions.filters.http.grpc_json_reverse_transcoder.v3.GrpcJsonReverseTranscoder-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The name of the header field that has the API version of the request.Supplies the binary content of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services.Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The maximum size of a request body to be transcoded, in bytes.The maximum size of a response body to be transcoded, in bytes.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Control options for upstream request JSON.clone()The name of the header field that has the API version of the request.com.google.protobuf.ByteStringThe name of the header field that has the API version of the request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringSupplies the binary content of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services.com.google.protobuf.Descriptors.DescriptorSupplies the filename of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services.com.google.protobuf.ByteStringSupplies the filename of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services.com.google.protobuf.UInt32ValueThe maximum size of a request body to be transcoded, in bytes.com.google.protobuf.UInt32Value.BuilderThe maximum size of a request body to be transcoded, in bytes.com.google.protobuf.UInt32ValueOrBuilderThe maximum size of a request body to be transcoded, in bytes.com.google.protobuf.UInt32ValueThe maximum size of a response body to be transcoded, in bytes.com.google.protobuf.UInt32Value.BuilderThe maximum size of a response body to be transcoded, in bytes.com.google.protobuf.UInt32ValueOrBuilderThe maximum size of a response body to be transcoded, in bytes.Control options for upstream request JSON.Control options for upstream request JSON.Control options for upstream request JSON.booleanThe maximum size of a request body to be transcoded, in bytes.booleanThe maximum size of a response body to be transcoded, in bytes.booleanControl options for upstream request JSON.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMaxRequestBodySize(com.google.protobuf.UInt32Value value) The maximum size of a request body to be transcoded, in bytes.mergeMaxResponseBodySize(com.google.protobuf.UInt32Value value) The maximum size of a response body to be transcoded, in bytes.Control options for upstream request JSON.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setApiVersionHeader(String value) The name of the header field that has the API version of the request.setApiVersionHeaderBytes(com.google.protobuf.ByteString value) The name of the header field that has the API version of the request.setDescriptorBinary(com.google.protobuf.ByteString value) Supplies the binary content of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services.setDescriptorPath(String value) Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services.setDescriptorPathBytes(com.google.protobuf.ByteString value) Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services.setMaxRequestBodySize(com.google.protobuf.UInt32Value value) The maximum size of a request body to be transcoded, in bytes.setMaxRequestBodySize(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum size of a request body to be transcoded, in bytes.setMaxResponseBodySize(com.google.protobuf.UInt32Value value) The maximum size of a response body to be transcoded, in bytes.setMaxResponseBodySize(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum size of a response body to be transcoded, in bytes.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Control options for upstream request JSON.setRequestJsonPrintOptions(GrpcJsonReverseTranscoder.PrintOptions.Builder builderForValue) Control options for upstream request JSON.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
setField
public GrpcJsonReverseTranscoder.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
clearField
public GrpcJsonReverseTranscoder.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
clearOneof
public GrpcJsonReverseTranscoder.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
setRepeatedField
public GrpcJsonReverseTranscoder.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
addRepeatedField
public GrpcJsonReverseTranscoder.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcJsonReverseTranscoder.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
mergeFrom
public GrpcJsonReverseTranscoder.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcJsonReverseTranscoder.Builder>- Throws:
IOException
-
getDescriptorPath
Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services. If set, takes precedence over the ``descriptor_binary`` field.
string descriptor_path = 1;- Specified by:
getDescriptorPathin interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- The descriptorPath.
-
getDescriptorPathBytes
public com.google.protobuf.ByteString getDescriptorPathBytes()Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services. If set, takes precedence over the ``descriptor_binary`` field.
string descriptor_path = 1;- Specified by:
getDescriptorPathBytesin interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- The bytes for descriptorPath.
-
setDescriptorPath
Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services. If set, takes precedence over the ``descriptor_binary`` field.
string descriptor_path = 1;- Parameters:
value- The descriptorPath to set.- Returns:
- This builder for chaining.
-
clearDescriptorPath
Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services. If set, takes precedence over the ``descriptor_binary`` field.
string descriptor_path = 1;- Returns:
- This builder for chaining.
-
setDescriptorPathBytes
public GrpcJsonReverseTranscoder.Builder setDescriptorPathBytes(com.google.protobuf.ByteString value) Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services. If set, takes precedence over the ``descriptor_binary`` field.
string descriptor_path = 1;- Parameters:
value- The bytes for descriptorPath to set.- Returns:
- This builder for chaining.
-
getDescriptorBinary
public com.google.protobuf.ByteString getDescriptorBinary()Supplies the binary content of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services. If ``descriptor_path`` is set, this field is not used.
bytes descriptor_binary = 2;- Specified by:
getDescriptorBinaryin interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- The descriptorBinary.
-
setDescriptorBinary
Supplies the binary content of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services. If ``descriptor_path`` is set, this field is not used.
bytes descriptor_binary = 2;- Parameters:
value- The descriptorBinary to set.- Returns:
- This builder for chaining.
-
clearDescriptorBinary
Supplies the binary content of :ref:`the proto descriptor set <config_grpc_json_reverse_transcoder_generate_proto_descriptor_set>` for the gRPC services. If ``descriptor_path`` is set, this field is not used.
bytes descriptor_binary = 2;- Returns:
- This builder for chaining.
-
hasMaxRequestBodySize
public boolean hasMaxRequestBodySize()The maximum size of a request body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: ResourceExhausted`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_request_body_size = 3 [(.validate.rules) = { ... }- Specified by:
hasMaxRequestBodySizein interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- Whether the maxRequestBodySize field is set.
-
getMaxRequestBodySize
public com.google.protobuf.UInt32Value getMaxRequestBodySize()The maximum size of a request body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: ResourceExhausted`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_request_body_size = 3 [(.validate.rules) = { ... }- Specified by:
getMaxRequestBodySizein interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- The maxRequestBodySize.
-
setMaxRequestBodySize
public GrpcJsonReverseTranscoder.Builder setMaxRequestBodySize(com.google.protobuf.UInt32Value value) The maximum size of a request body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: ResourceExhausted`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_request_body_size = 3 [(.validate.rules) = { ... } -
setMaxRequestBodySize
public GrpcJsonReverseTranscoder.Builder setMaxRequestBodySize(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum size of a request body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: ResourceExhausted`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_request_body_size = 3 [(.validate.rules) = { ... } -
mergeMaxRequestBodySize
public GrpcJsonReverseTranscoder.Builder mergeMaxRequestBodySize(com.google.protobuf.UInt32Value value) The maximum size of a request body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: ResourceExhausted`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_request_body_size = 3 [(.validate.rules) = { ... } -
clearMaxRequestBodySize
The maximum size of a request body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: ResourceExhausted`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_request_body_size = 3 [(.validate.rules) = { ... } -
getMaxRequestBodySizeBuilder
public com.google.protobuf.UInt32Value.Builder getMaxRequestBodySizeBuilder()The maximum size of a request body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: ResourceExhausted`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_request_body_size = 3 [(.validate.rules) = { ... } -
getMaxRequestBodySizeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxRequestBodySizeOrBuilder()The maximum size of a request body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: ResourceExhausted`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_request_body_size = 3 [(.validate.rules) = { ... }- Specified by:
getMaxRequestBodySizeOrBuilderin interfaceGrpcJsonReverseTranscoderOrBuilder
-
hasMaxResponseBodySize
public boolean hasMaxResponseBodySize()The maximum size of a response body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: Internal`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_response_body_size = 4 [(.validate.rules) = { ... }- Specified by:
hasMaxResponseBodySizein interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- Whether the maxResponseBodySize field is set.
-
getMaxResponseBodySize
public com.google.protobuf.UInt32Value getMaxResponseBodySize()The maximum size of a response body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: Internal`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_response_body_size = 4 [(.validate.rules) = { ... }- Specified by:
getMaxResponseBodySizein interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- The maxResponseBodySize.
-
setMaxResponseBodySize
public GrpcJsonReverseTranscoder.Builder setMaxResponseBodySize(com.google.protobuf.UInt32Value value) The maximum size of a response body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: Internal`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_response_body_size = 4 [(.validate.rules) = { ... } -
setMaxResponseBodySize
public GrpcJsonReverseTranscoder.Builder setMaxResponseBodySize(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum size of a response body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: Internal`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_response_body_size = 4 [(.validate.rules) = { ... } -
mergeMaxResponseBodySize
public GrpcJsonReverseTranscoder.Builder mergeMaxResponseBodySize(com.google.protobuf.UInt32Value value) The maximum size of a response body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: Internal`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_response_body_size = 4 [(.validate.rules) = { ... } -
clearMaxResponseBodySize
The maximum size of a response body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: Internal`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_response_body_size = 4 [(.validate.rules) = { ... } -
getMaxResponseBodySizeBuilder
public com.google.protobuf.UInt32Value.Builder getMaxResponseBodySizeBuilder()The maximum size of a response body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: Internal`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_response_body_size = 4 [(.validate.rules) = { ... } -
getMaxResponseBodySizeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxResponseBodySizeOrBuilder()The maximum size of a response body to be transcoded, in bytes. A body exceeding this size will provoke a ``gRPC status: Internal`` response. Large values may cause envoy to use a lot of memory if there are many concurrent requests. If unset, the current stream buffer size is used.
.google.protobuf.UInt32Value max_response_body_size = 4 [(.validate.rules) = { ... }- Specified by:
getMaxResponseBodySizeOrBuilderin interfaceGrpcJsonReverseTranscoderOrBuilder
-
getApiVersionHeader
The name of the header field that has the API version of the request.
string api_version_header = 5;- Specified by:
getApiVersionHeaderin interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- The apiVersionHeader.
-
getApiVersionHeaderBytes
public com.google.protobuf.ByteString getApiVersionHeaderBytes()The name of the header field that has the API version of the request.
string api_version_header = 5;- Specified by:
getApiVersionHeaderBytesin interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- The bytes for apiVersionHeader.
-
setApiVersionHeader
The name of the header field that has the API version of the request.
string api_version_header = 5;- Parameters:
value- The apiVersionHeader to set.- Returns:
- This builder for chaining.
-
clearApiVersionHeader
The name of the header field that has the API version of the request.
string api_version_header = 5;- Returns:
- This builder for chaining.
-
setApiVersionHeaderBytes
public GrpcJsonReverseTranscoder.Builder setApiVersionHeaderBytes(com.google.protobuf.ByteString value) The name of the header field that has the API version of the request.
string api_version_header = 5;- Parameters:
value- The bytes for apiVersionHeader to set.- Returns:
- This builder for chaining.
-
hasRequestJsonPrintOptions
public boolean hasRequestJsonPrintOptions()Control options for upstream request JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.extensions.filters.http.grpc_json_reverse_transcoder.v3.GrpcJsonReverseTranscoder.PrintOptions request_json_print_options = 6;- Specified by:
hasRequestJsonPrintOptionsin interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- Whether the requestJsonPrintOptions field is set.
-
getRequestJsonPrintOptions
Control options for upstream request JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.extensions.filters.http.grpc_json_reverse_transcoder.v3.GrpcJsonReverseTranscoder.PrintOptions request_json_print_options = 6;- Specified by:
getRequestJsonPrintOptionsin interfaceGrpcJsonReverseTranscoderOrBuilder- Returns:
- The requestJsonPrintOptions.
-
setRequestJsonPrintOptions
public GrpcJsonReverseTranscoder.Builder setRequestJsonPrintOptions(GrpcJsonReverseTranscoder.PrintOptions value) Control options for upstream request JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.extensions.filters.http.grpc_json_reverse_transcoder.v3.GrpcJsonReverseTranscoder.PrintOptions request_json_print_options = 6; -
setRequestJsonPrintOptions
public GrpcJsonReverseTranscoder.Builder setRequestJsonPrintOptions(GrpcJsonReverseTranscoder.PrintOptions.Builder builderForValue) Control options for upstream request JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.extensions.filters.http.grpc_json_reverse_transcoder.v3.GrpcJsonReverseTranscoder.PrintOptions request_json_print_options = 6; -
mergeRequestJsonPrintOptions
public GrpcJsonReverseTranscoder.Builder mergeRequestJsonPrintOptions(GrpcJsonReverseTranscoder.PrintOptions value) Control options for upstream request JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.extensions.filters.http.grpc_json_reverse_transcoder.v3.GrpcJsonReverseTranscoder.PrintOptions request_json_print_options = 6; -
clearRequestJsonPrintOptions
Control options for upstream request JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.extensions.filters.http.grpc_json_reverse_transcoder.v3.GrpcJsonReverseTranscoder.PrintOptions request_json_print_options = 6; -
getRequestJsonPrintOptionsBuilder
Control options for upstream request JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.extensions.filters.http.grpc_json_reverse_transcoder.v3.GrpcJsonReverseTranscoder.PrintOptions request_json_print_options = 6; -
getRequestJsonPrintOptionsOrBuilder
Control options for upstream request JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.extensions.filters.http.grpc_json_reverse_transcoder.v3.GrpcJsonReverseTranscoder.PrintOptions request_json_print_options = 6;- Specified by:
getRequestJsonPrintOptionsOrBuilderin interfaceGrpcJsonReverseTranscoderOrBuilder
-
setUnknownFields
public final GrpcJsonReverseTranscoder.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-
mergeUnknownFields
public final GrpcJsonReverseTranscoder.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcJsonReverseTranscoder.Builder>
-