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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GrpcService.EnvoyGrpcgetEnvoyGrpc()Envoy's in-built gRPC client.GrpcService.EnvoyGrpcOrBuildergetEnvoyGrpcOrBuilder()Envoy's in-built gRPC client.GrpcService.GoogleGrpcgetGoogleGrpc()`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.GoogleGrpcOrBuildergetGoogleGrpcOrBuilder()`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.HeaderValuegetInitialMetadata(int index)Additional metadata to include in streams initiated to the GrpcService.intgetInitialMetadataCount()Additional metadata to include in streams initiated to the GrpcService.List<HeaderValue>getInitialMetadataList()Additional metadata to include in streams initiated to the GrpcService.HeaderValueOrBuildergetInitialMetadataOrBuilder(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.GrpcService.TargetSpecifierCasegetTargetSpecifierCase()com.google.protobuf.DurationgetTimeout()The timeout for the gRPC request.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()The timeout for the gRPC request.booleanhasEnvoyGrpc()Envoy's in-built gRPC client.booleanhasGoogleGrpc()`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.booleanhasTimeout()The timeout for the gRPC request.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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;
-
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
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;
-
getTargetSpecifierCase
GrpcService.TargetSpecifierCase getTargetSpecifierCase()
-
-