public final class GrpcService extends com.google.protobuf.GeneratedMessageV3 implements GrpcServiceOrBuilder
gRPC service configuration. This is used by :ref:`ApiConfigSource <envoy_api_msg_core.ApiConfigSource>` and filter configurations. [#next-free-field: 6]Protobuf type
envoy.api.v2.core.GrpcService| Modifier and Type | Class and Description |
|---|---|
static class |
GrpcService.Builder
gRPC service configuration.
|
static class |
GrpcService.EnvoyGrpc
Protobuf type
envoy.api.v2.core.GrpcService.EnvoyGrpc |
static interface |
GrpcService.EnvoyGrpcOrBuilder |
static class |
GrpcService.GoogleGrpc
[#next-free-field: 7]
Protobuf type
envoy.api.v2.core.GrpcService.GoogleGrpc |
static interface |
GrpcService.GoogleGrpcOrBuilder |
static class |
GrpcService.TargetSpecifierCase |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENVOY_GRPC_FIELD_NUMBER |
static int |
GOOGLE_GRPC_FIELD_NUMBER |
static int |
INITIAL_METADATA_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GrpcService |
getDefaultInstance() |
GrpcService |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GrpcService.EnvoyGrpc |
getEnvoyGrpc()
Envoy's in-built gRPC client.
|
GrpcService.EnvoyGrpcOrBuilder |
getEnvoyGrpcOrBuilder()
Envoy's in-built gRPC client.
|
GrpcService.GoogleGrpc |
getGoogleGrpc()
`Google C++ gRPC client <https://github.com/grpc/grpc>`_
See the :ref:`gRPC services overview <arch_overview_grpc_services>`
documentation for discussion on gRPC client selection.
|
GrpcService.GoogleGrpcOrBuilder |
getGoogleGrpcOrBuilder()
`Google C++ gRPC client <https://github.com/grpc/grpc>`_
See the :ref:`gRPC services overview <arch_overview_grpc_services>`
documentation for discussion on gRPC client selection.
|
HeaderValue |
getInitialMetadata(int index)
Additional metadata to include in streams initiated to the GrpcService.
|
int |
getInitialMetadataCount()
Additional metadata to include in streams initiated to the GrpcService.
|
List<HeaderValue> |
getInitialMetadataList()
Additional metadata to include in streams initiated to the GrpcService.
|
HeaderValueOrBuilder |
getInitialMetadataOrBuilder(int index)
Additional metadata to include in streams initiated to the GrpcService.
|
List<? extends HeaderValueOrBuilder> |
getInitialMetadataOrBuilderList()
Additional metadata to include in streams initiated to the GrpcService.
|
com.google.protobuf.Parser<GrpcService> |
getParserForType() |
int |
getSerializedSize() |
GrpcService.TargetSpecifierCase |
getTargetSpecifierCase() |
com.google.protobuf.Duration |
getTimeout()
The timeout for the gRPC request.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
The timeout for the gRPC request.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEnvoyGrpc()
Envoy's in-built gRPC client.
|
boolean |
hasGoogleGrpc()
`Google C++ gRPC client <https://github.com/grpc/grpc>`_
See the :ref:`gRPC services overview <arch_overview_grpc_services>`
documentation for discussion on gRPC client selection.
|
int |
hashCode() |
boolean |
hasTimeout()
The timeout for the gRPC request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GrpcService.Builder |
newBuilder() |
static GrpcService.Builder |
newBuilder(GrpcService prototype) |
GrpcService.Builder |
newBuilderForType() |
protected GrpcService.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GrpcService |
parseDelimitedFrom(InputStream input) |
static GrpcService |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcService |
parseFrom(byte[] data) |
static GrpcService |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcService |
parseFrom(ByteBuffer data) |
static GrpcService |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcService |
parseFrom(com.google.protobuf.ByteString data) |
static GrpcService |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcService |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GrpcService |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcService |
parseFrom(InputStream input) |
static GrpcService |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GrpcService> |
parser() |
GrpcService.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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 ENVOY_GRPC_FIELD_NUMBER
public static final int GOOGLE_GRPC_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public static final int INITIAL_METADATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public 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 GrpcService.TargetSpecifierCase getTargetSpecifierCase()
getTargetSpecifierCase in interface GrpcServiceOrBuilderpublic boolean hasEnvoyGrpc()
Envoy's in-built gRPC client. See the :ref:`gRPC services overview <arch_overview_grpc_services>` documentation for discussion on gRPC client selection.
.envoy.api.v2.core.GrpcService.EnvoyGrpc envoy_grpc = 1;hasEnvoyGrpc in interface GrpcServiceOrBuilderpublic GrpcService.EnvoyGrpc getEnvoyGrpc()
Envoy's in-built gRPC client. See the :ref:`gRPC services overview <arch_overview_grpc_services>` documentation for discussion on gRPC client selection.
.envoy.api.v2.core.GrpcService.EnvoyGrpc envoy_grpc = 1;getEnvoyGrpc in interface GrpcServiceOrBuilderpublic GrpcService.EnvoyGrpcOrBuilder getEnvoyGrpcOrBuilder()
Envoy's in-built gRPC client. See the :ref:`gRPC services overview <arch_overview_grpc_services>` documentation for discussion on gRPC client selection.
.envoy.api.v2.core.GrpcService.EnvoyGrpc envoy_grpc = 1;getEnvoyGrpcOrBuilder in interface GrpcServiceOrBuilderpublic boolean hasGoogleGrpc()
`Google C++ gRPC client <https://github.com/grpc/grpc>`_ See the :ref:`gRPC services overview <arch_overview_grpc_services>` documentation for discussion on gRPC client selection.
.envoy.api.v2.core.GrpcService.GoogleGrpc google_grpc = 2;hasGoogleGrpc in interface GrpcServiceOrBuilderpublic GrpcService.GoogleGrpc getGoogleGrpc()
`Google C++ gRPC client <https://github.com/grpc/grpc>`_ See the :ref:`gRPC services overview <arch_overview_grpc_services>` documentation for discussion on gRPC client selection.
.envoy.api.v2.core.GrpcService.GoogleGrpc google_grpc = 2;getGoogleGrpc in interface GrpcServiceOrBuilderpublic GrpcService.GoogleGrpcOrBuilder getGoogleGrpcOrBuilder()
`Google C++ gRPC client <https://github.com/grpc/grpc>`_ See the :ref:`gRPC services overview <arch_overview_grpc_services>` documentation for discussion on gRPC client selection.
.envoy.api.v2.core.GrpcService.GoogleGrpc google_grpc = 2;getGoogleGrpcOrBuilder in interface GrpcServiceOrBuilderpublic boolean hasTimeout()
The timeout for the gRPC request. This is the timeout for a specific request.
.google.protobuf.Duration timeout = 3;hasTimeout in interface GrpcServiceOrBuilderpublic com.google.protobuf.Duration getTimeout()
The timeout for the gRPC request. This is the timeout for a specific request.
.google.protobuf.Duration timeout = 3;getTimeout in interface GrpcServiceOrBuilderpublic com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The timeout for the gRPC request. This is the timeout for a specific request.
.google.protobuf.Duration timeout = 3;getTimeoutOrBuilder in interface GrpcServiceOrBuilderpublic List<HeaderValue> getInitialMetadataList()
Additional metadata to include in streams initiated to the GrpcService. This can be used for scenarios in which additional ad hoc authorization headers (e.g. ``x-foo-bar: baz-key``) are to be injected.
repeated .envoy.api.v2.core.HeaderValue initial_metadata = 5;getInitialMetadataList in interface GrpcServiceOrBuilderpublic List<? extends HeaderValueOrBuilder> getInitialMetadataOrBuilderList()
Additional metadata to include in streams initiated to the GrpcService. This can be used for scenarios in which additional ad hoc authorization headers (e.g. ``x-foo-bar: baz-key``) are to be injected.
repeated .envoy.api.v2.core.HeaderValue initial_metadata = 5;getInitialMetadataOrBuilderList in interface GrpcServiceOrBuilderpublic int getInitialMetadataCount()
Additional metadata to include in streams initiated to the GrpcService. This can be used for scenarios in which additional ad hoc authorization headers (e.g. ``x-foo-bar: baz-key``) are to be injected.
repeated .envoy.api.v2.core.HeaderValue initial_metadata = 5;getInitialMetadataCount in interface GrpcServiceOrBuilderpublic HeaderValue getInitialMetadata(int index)
Additional metadata to include in streams initiated to the GrpcService. This can be used for scenarios in which additional ad hoc authorization headers (e.g. ``x-foo-bar: baz-key``) are to be injected.
repeated .envoy.api.v2.core.HeaderValue initial_metadata = 5;getInitialMetadata in interface GrpcServiceOrBuilderpublic HeaderValueOrBuilder getInitialMetadataOrBuilder(int index)
Additional metadata to include in streams initiated to the GrpcService. This can be used for scenarios in which additional ad hoc authorization headers (e.g. ``x-foo-bar: baz-key``) are to be injected.
repeated .envoy.api.v2.core.HeaderValue initial_metadata = 5;getInitialMetadataOrBuilder in interface GrpcServiceOrBuilderpublic 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 GrpcService parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService parseFrom(InputStream input) throws IOException
IOExceptionpublic static GrpcService parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GrpcService parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GrpcService parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GrpcService parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GrpcService parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GrpcService.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GrpcService.Builder newBuilder()
public static GrpcService.Builder newBuilder(GrpcService prototype)
public GrpcService.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GrpcService.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GrpcService getDefaultInstance()
public static com.google.protobuf.Parser<GrpcService> parser()
public com.google.protobuf.Parser<GrpcService> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GrpcService getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.