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 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;