public static final class Transcoder.GrpcJsonTranscoder extends com.google.protobuf.GeneratedMessageV3 implements Transcoder.GrpcJsonTranscoderOrBuilder
envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder| Modifier and Type | Class and Description |
|---|---|
static class |
Transcoder.GrpcJsonTranscoder.Builder
Protobuf type
envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder |
static class |
Transcoder.GrpcJsonTranscoder.DescriptorSetCase |
static class |
Transcoder.GrpcJsonTranscoder.PrintOptions
Protobuf type
envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions |
static interface |
Transcoder.GrpcJsonTranscoder.PrintOptionsOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
MATCH_INCOMING_REQUEST_ROUTE_FIELD_NUMBER |
static int |
PRINT_OPTIONS_FIELD_NUMBER |
static int |
PROTO_DESCRIPTOR_BIN_FIELD_NUMBER |
static int |
PROTO_DESCRIPTOR_FIELD_NUMBER |
static int |
SERVICES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Transcoder.GrpcJsonTranscoder |
getDefaultInstance() |
Transcoder.GrpcJsonTranscoder |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Transcoder.GrpcJsonTranscoder> |
getParserForType() |
Transcoder.GrpcJsonTranscoder.PrintOptions |
getPrintOptions()
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.
|
int |
getSerializedSize() |
String |
getServices(int index)
A list of strings that supplies the service names that the
transcoder will translate.
|
com.google.protobuf.ByteString |
getServicesBytes(int index)
A list of strings that supplies the service names that the
transcoder will translate.
|
int |
getServicesCount()
A list of strings that supplies the service names that the
transcoder will translate.
|
com.google.protobuf.ProtocolStringList |
getServicesList()
A list of strings that supplies the service names that the
transcoder will translate.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPrintOptions()
Control options for response JSON.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Transcoder.GrpcJsonTranscoder.Builder |
newBuilder() |
static Transcoder.GrpcJsonTranscoder.Builder |
newBuilder(Transcoder.GrpcJsonTranscoder prototype) |
Transcoder.GrpcJsonTranscoder.Builder |
newBuilderForType() |
protected Transcoder.GrpcJsonTranscoder.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Transcoder.GrpcJsonTranscoder |
parseDelimitedFrom(InputStream input) |
static Transcoder.GrpcJsonTranscoder |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transcoder.GrpcJsonTranscoder |
parseFrom(byte[] data) |
static Transcoder.GrpcJsonTranscoder |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transcoder.GrpcJsonTranscoder |
parseFrom(ByteBuffer data) |
static Transcoder.GrpcJsonTranscoder |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transcoder.GrpcJsonTranscoder |
parseFrom(com.google.protobuf.ByteString data) |
static Transcoder.GrpcJsonTranscoder |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transcoder.GrpcJsonTranscoder |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Transcoder.GrpcJsonTranscoder |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transcoder.GrpcJsonTranscoder |
parseFrom(InputStream input) |
static Transcoder.GrpcJsonTranscoder |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Transcoder.GrpcJsonTranscoder> |
parser() |
Transcoder.GrpcJsonTranscoder.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PROTO_DESCRIPTOR_FIELD_NUMBER
public static final int PROTO_DESCRIPTOR_BIN_FIELD_NUMBER
public static final int SERVICES_FIELD_NUMBER
public static final int PRINT_OPTIONS_FIELD_NUMBER
public static final int MATCH_INCOMING_REQUEST_ROUTE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Transcoder.GrpcJsonTranscoder.DescriptorSetCase getDescriptorSetCase()
getDescriptorSetCase in interface Transcoder.GrpcJsonTranscoderOrBuilderpublic 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 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 com.google.protobuf.ProtocolStringList getServicesList()
A list of strings that supplies the service names 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 service names 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 service names 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 service names 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 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.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Transcoder.GrpcJsonTranscoder parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder parseFrom(InputStream input) throws IOException
IOExceptionpublic static Transcoder.GrpcJsonTranscoder parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Transcoder.GrpcJsonTranscoder parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Transcoder.GrpcJsonTranscoder parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Transcoder.GrpcJsonTranscoder parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Transcoder.GrpcJsonTranscoder parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Transcoder.GrpcJsonTranscoder.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Transcoder.GrpcJsonTranscoder.Builder newBuilder()
public static Transcoder.GrpcJsonTranscoder.Builder newBuilder(Transcoder.GrpcJsonTranscoder prototype)
public Transcoder.GrpcJsonTranscoder.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Transcoder.GrpcJsonTranscoder.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Transcoder.GrpcJsonTranscoder getDefaultInstance()
public static com.google.protobuf.Parser<Transcoder.GrpcJsonTranscoder> parser()
public com.google.protobuf.Parser<Transcoder.GrpcJsonTranscoder> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Transcoder.GrpcJsonTranscoder getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.