Package io.envoyproxy.envoy.api.v2.core
Interface GrpcServiceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GrpcService,GrpcService.Builder
public interface GrpcServiceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionEnvoy's in-built gRPC client.Envoy's in-built gRPC client.`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.`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.getInitialMetadata(int index) Additional metadata to include in streams initiated to the GrpcService.intAdditional metadata to include in streams initiated to the GrpcService.Additional metadata to include in streams initiated to the GrpcService.getInitialMetadataOrBuilder(int index) Additional metadata to include in streams initiated to the GrpcService.List<? extends HeaderValueOrBuilder>Additional metadata to include in streams initiated to the GrpcService.com.google.protobuf.DurationThe timeout for the gRPC request.com.google.protobuf.DurationOrBuilderThe timeout for the gRPC request.booleanEnvoy's in-built gRPC client.boolean`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.booleanThe timeout for the gRPC request.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
-
hasEnvoyGrpc
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;- Returns:
- Whether the envoyGrpc field is set.
-
getEnvoyGrpc
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;- Returns:
- The envoyGrpc.
-
getEnvoyGrpcOrBuilder
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; -
hasGoogleGrpc
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;- Returns:
- Whether the googleGrpc field is set.
-
getGoogleGrpc
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;- Returns:
- The googleGrpc.
-
getGoogleGrpcOrBuilder
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; -
hasTimeout
boolean hasTimeout()The timeout for the gRPC request. This is the timeout for a specific request.
.google.protobuf.Duration timeout = 3;- Returns:
- Whether the timeout field is set.
-
getTimeout
com.google.protobuf.Duration getTimeout()The timeout for the gRPC request. This is the timeout for a specific request.
.google.protobuf.Duration timeout = 3;- Returns:
- The timeout.
-
getTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()The timeout for the gRPC request. This is the timeout for a specific request.
.google.protobuf.Duration timeout = 3; -
getInitialMetadataList
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; -
getInitialMetadata
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
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; -
getInitialMetadataOrBuilderList
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; -
getInitialMetadataOrBuilder
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; -
getTargetSpecifierCase
GrpcService.TargetSpecifierCase getTargetSpecifierCase()
-