Class GrpcService.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GrpcServiceOrBuilder, java.lang.Cloneable
    Enclosing class:
    GrpcService

    public static final class GrpcService.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<GrpcService.Builder>
    implements GrpcServiceOrBuilder
     gRPC service configuration. This is used by :ref:`ApiConfigSource
     <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` and filter configurations.
     [#next-free-field: 7]
     
    Protobuf type envoy.config.core.v3.GrpcService
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GrpcService.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

        public GrpcService.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<GrpcService.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GrpcService.Builder>
      • getDefaultInstanceForType

        public GrpcService getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public GrpcService build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GrpcService buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • buildPartialRepeatedFields

        private void buildPartialRepeatedFields​(GrpcService result)
      • buildPartial0

        private void buildPartial0​(GrpcService result)
      • buildPartialOneofs

        private void buildPartialOneofs​(GrpcService result)
      • mergeFrom

        public GrpcService.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GrpcService.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GrpcService.Builder>
      • mergeFrom

        public GrpcService.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GrpcService.Builder>
        Throws:
        java.io.IOException
      • hasEnvoyGrpc

        public 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.config.core.v3.GrpcService.EnvoyGrpc envoy_grpc = 1;
        Specified by:
        hasEnvoyGrpc in interface GrpcServiceOrBuilder
        Returns:
        Whether the envoyGrpc field is set.
      • getEnvoyGrpc

        public 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.config.core.v3.GrpcService.EnvoyGrpc envoy_grpc = 1;
        Specified by:
        getEnvoyGrpc in interface GrpcServiceOrBuilder
        Returns:
        The envoyGrpc.
      • setEnvoyGrpc

        public GrpcService.Builder setEnvoyGrpc​(GrpcService.EnvoyGrpc value)
         Envoy's in-built gRPC client.
         See the :ref:`gRPC services overview <arch_overview_grpc_services>`
         documentation for discussion on gRPC client selection.
         
        .envoy.config.core.v3.GrpcService.EnvoyGrpc envoy_grpc = 1;
      • setEnvoyGrpc

        public GrpcService.Builder setEnvoyGrpc​(GrpcService.EnvoyGrpc.Builder builderForValue)
         Envoy's in-built gRPC client.
         See the :ref:`gRPC services overview <arch_overview_grpc_services>`
         documentation for discussion on gRPC client selection.
         
        .envoy.config.core.v3.GrpcService.EnvoyGrpc envoy_grpc = 1;
      • mergeEnvoyGrpc

        public GrpcService.Builder mergeEnvoyGrpc​(GrpcService.EnvoyGrpc value)
         Envoy's in-built gRPC client.
         See the :ref:`gRPC services overview <arch_overview_grpc_services>`
         documentation for discussion on gRPC client selection.
         
        .envoy.config.core.v3.GrpcService.EnvoyGrpc envoy_grpc = 1;
      • clearEnvoyGrpc

        public GrpcService.Builder clearEnvoyGrpc()
         Envoy's in-built gRPC client.
         See the :ref:`gRPC services overview <arch_overview_grpc_services>`
         documentation for discussion on gRPC client selection.
         
        .envoy.config.core.v3.GrpcService.EnvoyGrpc envoy_grpc = 1;
      • getEnvoyGrpcBuilder

        public GrpcService.EnvoyGrpc.Builder getEnvoyGrpcBuilder()
         Envoy's in-built gRPC client.
         See the :ref:`gRPC services overview <arch_overview_grpc_services>`
         documentation for discussion on gRPC client selection.
         
        .envoy.config.core.v3.GrpcService.EnvoyGrpc envoy_grpc = 1;
      • getEnvoyGrpcOrBuilder

        public 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.config.core.v3.GrpcService.EnvoyGrpc envoy_grpc = 1;
        Specified by:
        getEnvoyGrpcOrBuilder in interface GrpcServiceOrBuilder
      • getEnvoyGrpcFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<GrpcService.EnvoyGrpc,​GrpcService.EnvoyGrpc.Builder,​GrpcService.EnvoyGrpcOrBuilder> getEnvoyGrpcFieldBuilder()
         Envoy's in-built gRPC client.
         See the :ref:`gRPC services overview <arch_overview_grpc_services>`
         documentation for discussion on gRPC client selection.
         
        .envoy.config.core.v3.GrpcService.EnvoyGrpc envoy_grpc = 1;
      • hasGoogleGrpc

        public 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.config.core.v3.GrpcService.GoogleGrpc google_grpc = 2;
        Specified by:
        hasGoogleGrpc in interface GrpcServiceOrBuilder
        Returns:
        Whether the googleGrpc field is set.
      • getGoogleGrpc

        public 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.config.core.v3.GrpcService.GoogleGrpc google_grpc = 2;
        Specified by:
        getGoogleGrpc in interface GrpcServiceOrBuilder
        Returns:
        The googleGrpc.
      • setGoogleGrpc

        public GrpcService.Builder setGoogleGrpc​(GrpcService.GoogleGrpc value)
         `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.config.core.v3.GrpcService.GoogleGrpc google_grpc = 2;
      • setGoogleGrpc

        public GrpcService.Builder setGoogleGrpc​(GrpcService.GoogleGrpc.Builder builderForValue)
         `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.config.core.v3.GrpcService.GoogleGrpc google_grpc = 2;
      • mergeGoogleGrpc

        public GrpcService.Builder mergeGoogleGrpc​(GrpcService.GoogleGrpc value)
         `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.config.core.v3.GrpcService.GoogleGrpc google_grpc = 2;
      • clearGoogleGrpc

        public GrpcService.Builder clearGoogleGrpc()
         `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.config.core.v3.GrpcService.GoogleGrpc google_grpc = 2;
      • getGoogleGrpcBuilder

        public GrpcService.GoogleGrpc.Builder getGoogleGrpcBuilder()
         `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.config.core.v3.GrpcService.GoogleGrpc google_grpc = 2;
      • getGoogleGrpcOrBuilder

        public 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.config.core.v3.GrpcService.GoogleGrpc google_grpc = 2;
        Specified by:
        getGoogleGrpcOrBuilder in interface GrpcServiceOrBuilder
      • getGoogleGrpcFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<GrpcService.GoogleGrpc,​GrpcService.GoogleGrpc.Builder,​GrpcService.GoogleGrpcOrBuilder> getGoogleGrpcFieldBuilder()
         `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.config.core.v3.GrpcService.GoogleGrpc google_grpc = 2;
      • hasTimeout

        public boolean hasTimeout()
         The timeout for the gRPC request. This is the timeout for a specific
         request.
         
        .google.protobuf.Duration timeout = 3;
        Specified by:
        hasTimeout in interface GrpcServiceOrBuilder
        Returns:
        Whether the timeout field is set.
      • getTimeout

        public com.google.protobuf.Duration getTimeout()
         The timeout for the gRPC request. This is the timeout for a specific
         request.
         
        .google.protobuf.Duration timeout = 3;
        Specified by:
        getTimeout in interface GrpcServiceOrBuilder
        Returns:
        The timeout.
      • setTimeout

        public GrpcService.Builder setTimeout​(com.google.protobuf.Duration value)
         The timeout for the gRPC request. This is the timeout for a specific
         request.
         
        .google.protobuf.Duration timeout = 3;
      • setTimeout

        public GrpcService.Builder setTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         The timeout for the gRPC request. This is the timeout for a specific
         request.
         
        .google.protobuf.Duration timeout = 3;
      • mergeTimeout

        public GrpcService.Builder mergeTimeout​(com.google.protobuf.Duration value)
         The timeout for the gRPC request. This is the timeout for a specific
         request.
         
        .google.protobuf.Duration timeout = 3;
      • clearTimeout

        public GrpcService.Builder clearTimeout()
         The timeout for the gRPC request. This is the timeout for a specific
         request.
         
        .google.protobuf.Duration timeout = 3;
      • getTimeoutBuilder

        public com.google.protobuf.Duration.Builder getTimeoutBuilder()
         The timeout for the gRPC request. This is the timeout for a specific
         request.
         
        .google.protobuf.Duration timeout = 3;
      • getTimeoutOrBuilder

        public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
         The timeout for the gRPC request. This is the timeout for a specific
         request.
         
        .google.protobuf.Duration timeout = 3;
        Specified by:
        getTimeoutOrBuilder in interface GrpcServiceOrBuilder
      • getTimeoutFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getTimeoutFieldBuilder()
         The timeout for the gRPC request. This is the timeout for a specific
         request.
         
        .google.protobuf.Duration timeout = 3;
      • ensureInitialMetadataIsMutable

        private void ensureInitialMetadataIsMutable()
      • getInitialMetadataList

        public java.util.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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
        Specified by:
        getInitialMetadataList in interface GrpcServiceOrBuilder
      • getInitialMetadataCount

        public 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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
        Specified by:
        getInitialMetadataCount in interface GrpcServiceOrBuilder
      • getInitialMetadata

        public 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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
        Specified by:
        getInitialMetadata in interface GrpcServiceOrBuilder
      • setInitialMetadata

        public GrpcService.Builder setInitialMetadata​(int index,
                                                      HeaderValue value)
         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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • setInitialMetadata

        public GrpcService.Builder setInitialMetadata​(int index,
                                                      HeaderValue.Builder builderForValue)
         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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • addInitialMetadata

        public GrpcService.Builder addInitialMetadata​(HeaderValue value)
         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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • addInitialMetadata

        public GrpcService.Builder addInitialMetadata​(int index,
                                                      HeaderValue value)
         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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • addInitialMetadata

        public GrpcService.Builder addInitialMetadata​(HeaderValue.Builder builderForValue)
         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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • addInitialMetadata

        public GrpcService.Builder addInitialMetadata​(int index,
                                                      HeaderValue.Builder builderForValue)
         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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • addAllInitialMetadata

        public GrpcService.Builder addAllInitialMetadata​(java.lang.Iterable<? extends HeaderValue> values)
         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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • clearInitialMetadata

        public GrpcService.Builder clearInitialMetadata()
         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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • removeInitialMetadata

        public GrpcService.Builder removeInitialMetadata​(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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • getInitialMetadataBuilder

        public HeaderValue.Builder getInitialMetadataBuilder​(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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • getInitialMetadataOrBuilder

        public 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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
        Specified by:
        getInitialMetadataOrBuilder in interface GrpcServiceOrBuilder
      • getInitialMetadataOrBuilderList

        public java.util.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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
        Specified by:
        getInitialMetadataOrBuilderList in interface GrpcServiceOrBuilder
      • addInitialMetadataBuilder

        public HeaderValue.Builder addInitialMetadataBuilder()
         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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • addInitialMetadataBuilder

        public HeaderValue.Builder addInitialMetadataBuilder​(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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • getInitialMetadataBuilderList

        public java.util.List<HeaderValue.Builder> getInitialMetadataBuilderList()
         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. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValue initial_metadata = 5;
      • hasRetryPolicy

        public boolean hasRetryPolicy()
         Optional default retry policy for streams toward the service.
         If an async stream doesn't have retry policy configured in its stream options, this retry policy is used.
         
        .envoy.config.core.v3.RetryPolicy retry_policy = 6;
        Specified by:
        hasRetryPolicy in interface GrpcServiceOrBuilder
        Returns:
        Whether the retryPolicy field is set.
      • getRetryPolicy

        public RetryPolicy getRetryPolicy()
         Optional default retry policy for streams toward the service.
         If an async stream doesn't have retry policy configured in its stream options, this retry policy is used.
         
        .envoy.config.core.v3.RetryPolicy retry_policy = 6;
        Specified by:
        getRetryPolicy in interface GrpcServiceOrBuilder
        Returns:
        The retryPolicy.
      • setRetryPolicy

        public GrpcService.Builder setRetryPolicy​(RetryPolicy value)
         Optional default retry policy for streams toward the service.
         If an async stream doesn't have retry policy configured in its stream options, this retry policy is used.
         
        .envoy.config.core.v3.RetryPolicy retry_policy = 6;
      • setRetryPolicy

        public GrpcService.Builder setRetryPolicy​(RetryPolicy.Builder builderForValue)
         Optional default retry policy for streams toward the service.
         If an async stream doesn't have retry policy configured in its stream options, this retry policy is used.
         
        .envoy.config.core.v3.RetryPolicy retry_policy = 6;
      • mergeRetryPolicy

        public GrpcService.Builder mergeRetryPolicy​(RetryPolicy value)
         Optional default retry policy for streams toward the service.
         If an async stream doesn't have retry policy configured in its stream options, this retry policy is used.
         
        .envoy.config.core.v3.RetryPolicy retry_policy = 6;
      • clearRetryPolicy

        public GrpcService.Builder clearRetryPolicy()
         Optional default retry policy for streams toward the service.
         If an async stream doesn't have retry policy configured in its stream options, this retry policy is used.
         
        .envoy.config.core.v3.RetryPolicy retry_policy = 6;
      • getRetryPolicyBuilder

        public RetryPolicy.Builder getRetryPolicyBuilder()
         Optional default retry policy for streams toward the service.
         If an async stream doesn't have retry policy configured in its stream options, this retry policy is used.
         
        .envoy.config.core.v3.RetryPolicy retry_policy = 6;
      • getRetryPolicyOrBuilder

        public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
         Optional default retry policy for streams toward the service.
         If an async stream doesn't have retry policy configured in its stream options, this retry policy is used.
         
        .envoy.config.core.v3.RetryPolicy retry_policy = 6;
        Specified by:
        getRetryPolicyOrBuilder in interface GrpcServiceOrBuilder
      • getRetryPolicyFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<RetryPolicy,​RetryPolicy.Builder,​RetryPolicyOrBuilder> getRetryPolicyFieldBuilder()
         Optional default retry policy for streams toward the service.
         If an async stream doesn't have retry policy configured in its stream options, this retry policy is used.
         
        .envoy.config.core.v3.RetryPolicy retry_policy = 6;