public static final class Transcoder.GrpcJsonTranscoder.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder> implements Transcoder.GrpcJsonTranscoderOrBuilder
envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder| Modifier and Type | Method and Description |
|---|---|
Transcoder.GrpcJsonTranscoder.Builder |
addAllServices(Iterable<String> values)
A list of strings that
supplies the fully qualified service names (i.e.
|
Transcoder.GrpcJsonTranscoder.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Transcoder.GrpcJsonTranscoder.Builder |
addServices(String value)
A list of strings that
supplies the fully qualified service names (i.e.
|
Transcoder.GrpcJsonTranscoder.Builder |
addServicesBytes(com.google.protobuf.ByteString value)
A list of strings that
supplies the fully qualified service names (i.e.
|
Transcoder.GrpcJsonTranscoder |
build() |
Transcoder.GrpcJsonTranscoder |
buildPartial() |
Transcoder.GrpcJsonTranscoder.Builder |
clear() |
Transcoder.GrpcJsonTranscoder.Builder |
clearDescriptorSet() |
Transcoder.GrpcJsonTranscoder.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Transcoder.GrpcJsonTranscoder.Builder |
clearMatchIncomingRequestRoute()
Whether to keep the incoming request route after the outgoing headers have been transformed to
the match the upstream gRPC service.
|
Transcoder.GrpcJsonTranscoder.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Transcoder.GrpcJsonTranscoder.Builder |
clearPrintOptions()
Control options for response JSON.
|
Transcoder.GrpcJsonTranscoder.Builder |
clearProtoDescriptor()
Supplies the filename of
:ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC
services.
|
Transcoder.GrpcJsonTranscoder.Builder |
clearProtoDescriptorBin()
Supplies the binary content of
:ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC
services.
|
Transcoder.GrpcJsonTranscoder.Builder |
clearServices()
A list of strings that
supplies the fully qualified service names (i.e.
|
Transcoder.GrpcJsonTranscoder.Builder |
clone() |
Transcoder.GrpcJsonTranscoder |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Transcoder.GrpcJsonTranscoder.DescriptorSetCase |
getDescriptorSetCase() |
boolean |
getMatchIncomingRequestRoute()
Whether to keep the incoming request route after the outgoing headers have been transformed to
the match the upstream gRPC service.
|
Transcoder.GrpcJsonTranscoder.PrintOptions |
getPrintOptions()
Control options for response JSON.
|
Transcoder.GrpcJsonTranscoder.PrintOptions.Builder |
getPrintOptionsBuilder()
Control options for response JSON.
|
Transcoder.GrpcJsonTranscoder.PrintOptionsOrBuilder |
getPrintOptionsOrBuilder()
Control options for response JSON.
|
String |
getProtoDescriptor()
Supplies the filename of
:ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC
services.
|
com.google.protobuf.ByteString |
getProtoDescriptorBin()
Supplies the binary content of
:ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC
services.
|
com.google.protobuf.ByteString |
getProtoDescriptorBytes()
Supplies the filename of
:ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC
services.
|
String |
getServices(int index)
A list of strings that
supplies the fully qualified service names (i.e.
|
com.google.protobuf.ByteString |
getServicesBytes(int index)
A list of strings that
supplies the fully qualified service names (i.e.
|
int |
getServicesCount()
A list of strings that
supplies the fully qualified service names (i.e.
|
com.google.protobuf.ProtocolStringList |
getServicesList()
A list of strings that
supplies the fully qualified service names (i.e.
|
boolean |
hasPrintOptions()
Control options for response JSON.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Transcoder.GrpcJsonTranscoder.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Transcoder.GrpcJsonTranscoder.Builder |
mergeFrom(com.google.protobuf.Message other) |
Transcoder.GrpcJsonTranscoder.Builder |
mergeFrom(Transcoder.GrpcJsonTranscoder other) |
Transcoder.GrpcJsonTranscoder.Builder |
mergePrintOptions(Transcoder.GrpcJsonTranscoder.PrintOptions value)
Control options for response JSON.
|
Transcoder.GrpcJsonTranscoder.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Transcoder.GrpcJsonTranscoder.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Transcoder.GrpcJsonTranscoder.Builder |
setMatchIncomingRequestRoute(boolean value)
Whether to keep the incoming request route after the outgoing headers have been transformed to
the match the upstream gRPC service.
|
Transcoder.GrpcJsonTranscoder.Builder |
setPrintOptions(Transcoder.GrpcJsonTranscoder.PrintOptions.Builder builderForValue)
Control options for response JSON.
|
Transcoder.GrpcJsonTranscoder.Builder |
setPrintOptions(Transcoder.GrpcJsonTranscoder.PrintOptions value)
Control options for response JSON.
|
Transcoder.GrpcJsonTranscoder.Builder |
setProtoDescriptor(String value)
Supplies the filename of
:ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC
services.
|
Transcoder.GrpcJsonTranscoder.Builder |
setProtoDescriptorBin(com.google.protobuf.ByteString value)
Supplies the binary content of
:ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC
services.
|
Transcoder.GrpcJsonTranscoder.Builder |
setProtoDescriptorBytes(com.google.protobuf.ByteString value)
Supplies the filename of
:ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC
services.
|
Transcoder.GrpcJsonTranscoder.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Transcoder.GrpcJsonTranscoder.Builder |
setServices(int index,
String value)
A list of strings that
supplies the fully qualified service names (i.e.
|
Transcoder.GrpcJsonTranscoder.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public Transcoder.GrpcJsonTranscoder.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public Transcoder.GrpcJsonTranscoder getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Transcoder.GrpcJsonTranscoder build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Transcoder.GrpcJsonTranscoder buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Transcoder.GrpcJsonTranscoder.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public Transcoder.GrpcJsonTranscoder.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public Transcoder.GrpcJsonTranscoder.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public Transcoder.GrpcJsonTranscoder.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public Transcoder.GrpcJsonTranscoder.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public Transcoder.GrpcJsonTranscoder.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public Transcoder.GrpcJsonTranscoder.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Transcoder.GrpcJsonTranscoder.Builder>public Transcoder.GrpcJsonTranscoder.Builder mergeFrom(Transcoder.GrpcJsonTranscoder other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public Transcoder.GrpcJsonTranscoder.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Transcoder.GrpcJsonTranscoder.Builder>IOExceptionpublic Transcoder.GrpcJsonTranscoder.DescriptorSetCase getDescriptorSetCase()
getDescriptorSetCase in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic Transcoder.GrpcJsonTranscoder.Builder clearDescriptorSet()
public String getProtoDescriptor()
Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC services.
string proto_descriptor = 1;getProtoDescriptor in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic com.google.protobuf.ByteString getProtoDescriptorBytes()
Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC services.
string proto_descriptor = 1;getProtoDescriptorBytes in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic Transcoder.GrpcJsonTranscoder.Builder setProtoDescriptor(String value)
Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC services.
string proto_descriptor = 1;public Transcoder.GrpcJsonTranscoder.Builder clearProtoDescriptor()
Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC services.
string proto_descriptor = 1;public Transcoder.GrpcJsonTranscoder.Builder setProtoDescriptorBytes(com.google.protobuf.ByteString value)
Supplies the filename of :ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC services.
string proto_descriptor = 1;public com.google.protobuf.ByteString getProtoDescriptorBin()
Supplies the binary content of :ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC services.
bytes proto_descriptor_bin = 4;getProtoDescriptorBin in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic Transcoder.GrpcJsonTranscoder.Builder setProtoDescriptorBin(com.google.protobuf.ByteString value)
Supplies the binary content of :ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC services.
bytes proto_descriptor_bin = 4;public Transcoder.GrpcJsonTranscoder.Builder clearProtoDescriptorBin()
Supplies the binary content of :ref:`the proto descriptor set <config_grpc_json_generate_proto_descriptor_set>` for the gRPC services.
bytes proto_descriptor_bin = 4;public com.google.protobuf.ProtocolStringList getServicesList()
A list of strings that supplies the fully qualified service names (i.e. "package_name.service_name") that the transcoder will translate. If the service name doesn't exist in ``proto_descriptor``, Envoy will fail at startup. The ``proto_descriptor`` may contain more services than the service names specified here, but they won't be translated.
repeated string services = 2 [(.validate.rules) = { ... }getServicesList in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic int getServicesCount()
A list of strings that supplies the fully qualified service names (i.e. "package_name.service_name") that the transcoder will translate. If the service name doesn't exist in ``proto_descriptor``, Envoy will fail at startup. The ``proto_descriptor`` may contain more services than the service names specified here, but they won't be translated.
repeated string services = 2 [(.validate.rules) = { ... }getServicesCount in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic String getServices(int index)
A list of strings that supplies the fully qualified service names (i.e. "package_name.service_name") that the transcoder will translate. If the service name doesn't exist in ``proto_descriptor``, Envoy will fail at startup. The ``proto_descriptor`` may contain more services than the service names specified here, but they won't be translated.
repeated string services = 2 [(.validate.rules) = { ... }getServices in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic com.google.protobuf.ByteString getServicesBytes(int index)
A list of strings that supplies the fully qualified service names (i.e. "package_name.service_name") that the transcoder will translate. If the service name doesn't exist in ``proto_descriptor``, Envoy will fail at startup. The ``proto_descriptor`` may contain more services than the service names specified here, but they won't be translated.
repeated string services = 2 [(.validate.rules) = { ... }getServicesBytes in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic Transcoder.GrpcJsonTranscoder.Builder setServices(int index, String value)
A list of strings that supplies the fully qualified service names (i.e. "package_name.service_name") that the transcoder will translate. If the service name doesn't exist in ``proto_descriptor``, Envoy will fail at startup. The ``proto_descriptor`` may contain more services than the service names specified here, but they won't be translated.
repeated string services = 2 [(.validate.rules) = { ... }public Transcoder.GrpcJsonTranscoder.Builder addServices(String value)
A list of strings that supplies the fully qualified service names (i.e. "package_name.service_name") that the transcoder will translate. If the service name doesn't exist in ``proto_descriptor``, Envoy will fail at startup. The ``proto_descriptor`` may contain more services than the service names specified here, but they won't be translated.
repeated string services = 2 [(.validate.rules) = { ... }public Transcoder.GrpcJsonTranscoder.Builder addAllServices(Iterable<String> values)
A list of strings that supplies the fully qualified service names (i.e. "package_name.service_name") that the transcoder will translate. If the service name doesn't exist in ``proto_descriptor``, Envoy will fail at startup. The ``proto_descriptor`` may contain more services than the service names specified here, but they won't be translated.
repeated string services = 2 [(.validate.rules) = { ... }public Transcoder.GrpcJsonTranscoder.Builder clearServices()
A list of strings that supplies the fully qualified service names (i.e. "package_name.service_name") that the transcoder will translate. If the service name doesn't exist in ``proto_descriptor``, Envoy will fail at startup. The ``proto_descriptor`` may contain more services than the service names specified here, but they won't be translated.
repeated string services = 2 [(.validate.rules) = { ... }public Transcoder.GrpcJsonTranscoder.Builder addServicesBytes(com.google.protobuf.ByteString value)
A list of strings that supplies the fully qualified service names (i.e. "package_name.service_name") that the transcoder will translate. If the service name doesn't exist in ``proto_descriptor``, Envoy will fail at startup. The ``proto_descriptor`` may contain more services than the service names specified here, but they won't be translated.
repeated string services = 2 [(.validate.rules) = { ... }public boolean hasPrintOptions()
Control options for response JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions print_options = 3;hasPrintOptions in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic Transcoder.GrpcJsonTranscoder.PrintOptions getPrintOptions()
Control options for response JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions print_options = 3;getPrintOptions in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic Transcoder.GrpcJsonTranscoder.Builder setPrintOptions(Transcoder.GrpcJsonTranscoder.PrintOptions value)
Control options for response JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions print_options = 3;public Transcoder.GrpcJsonTranscoder.Builder setPrintOptions(Transcoder.GrpcJsonTranscoder.PrintOptions.Builder builderForValue)
Control options for response JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions print_options = 3;public Transcoder.GrpcJsonTranscoder.Builder mergePrintOptions(Transcoder.GrpcJsonTranscoder.PrintOptions value)
Control options for response JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions print_options = 3;public Transcoder.GrpcJsonTranscoder.Builder clearPrintOptions()
Control options for response JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions print_options = 3;public Transcoder.GrpcJsonTranscoder.PrintOptions.Builder getPrintOptionsBuilder()
Control options for response JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions print_options = 3;public Transcoder.GrpcJsonTranscoder.PrintOptionsOrBuilder getPrintOptionsOrBuilder()
Control options for response JSON. These options are passed directly to `JsonPrintOptions <https://developers.google.com/protocol-buffers/docs/reference/cpp/ google.protobuf.util.json_util#JsonPrintOptions>`_.
.envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions print_options = 3;getPrintOptionsOrBuilder in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic boolean getMatchIncomingRequestRoute()
Whether to keep the incoming request route after the outgoing headers have been transformed to the match the upstream gRPC service. Note: This means that routes for gRPC services that are not transcoded cannot be used in combination with *match_incoming_request_route*.
bool match_incoming_request_route = 5;getMatchIncomingRequestRoute in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic Transcoder.GrpcJsonTranscoder.Builder setMatchIncomingRequestRoute(boolean value)
Whether to keep the incoming request route after the outgoing headers have been transformed to the match the upstream gRPC service. Note: This means that routes for gRPC services that are not transcoded cannot be used in combination with *match_incoming_request_route*.
bool match_incoming_request_route = 5;public Transcoder.GrpcJsonTranscoder.Builder clearMatchIncomingRequestRoute()
Whether to keep the incoming request route after the outgoing headers have been transformed to the match the upstream gRPC service. Note: This means that routes for gRPC services that are not transcoded cannot be used in combination with *match_incoming_request_route*.
bool match_incoming_request_route = 5;public final Transcoder.GrpcJsonTranscoder.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>public final Transcoder.GrpcJsonTranscoder.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Transcoder.GrpcJsonTranscoder.Builder>Copyright © 2018 The Envoy Project. All rights reserved.