Class RetryPolicy.RetryBackOff.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.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.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
      • getDefaultInstanceForType

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

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

        public RetryPolicy.RetryBackOff buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public RetryPolicy.RetryBackOff.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
      • addRepeatedField

        public RetryPolicy.RetryBackOff.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
      • isInitialized

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

        public RetryPolicy.RetryBackOff.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws 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<RetryPolicy.RetryBackOff.Builder>
        Throws:
        IOException
      • hasBaseInterval

        public boolean hasBaseInterval()
         Specifies the base interval between retries. This parameter is required and must be greater
         than zero. Values less than 1 ms are rounded up to 1 ms.
         See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
         back-off algorithm.
         
        .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
        Specified by:
        hasBaseInterval in interface RetryPolicy.RetryBackOffOrBuilder
        Returns:
        Whether the baseInterval field is set.
      • getBaseInterval

        public com.google.protobuf.Duration getBaseInterval()
         Specifies the base interval between retries. This parameter is required and must be greater
         than zero. Values less than 1 ms are rounded up to 1 ms.
         See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
         back-off algorithm.
         
        .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
        Specified by:
        getBaseInterval in interface RetryPolicy.RetryBackOffOrBuilder
        Returns:
        The baseInterval.
      • setBaseInterval

        public RetryPolicy.RetryBackOff.Builder setBaseInterval​(com.google.protobuf.Duration value)
         Specifies the base interval between retries. This parameter is required and must be greater
         than zero. Values less than 1 ms are rounded up to 1 ms.
         See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
         back-off algorithm.
         
        .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      • setBaseInterval

        public RetryPolicy.RetryBackOff.Builder setBaseInterval​(com.google.protobuf.Duration.Builder builderForValue)
         Specifies the base interval between retries. This parameter is required and must be greater
         than zero. Values less than 1 ms are rounded up to 1 ms.
         See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
         back-off algorithm.
         
        .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      • mergeBaseInterval

        public RetryPolicy.RetryBackOff.Builder mergeBaseInterval​(com.google.protobuf.Duration value)
         Specifies the base interval between retries. This parameter is required and must be greater
         than zero. Values less than 1 ms are rounded up to 1 ms.
         See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
         back-off algorithm.
         
        .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      • clearBaseInterval

        public RetryPolicy.RetryBackOff.Builder clearBaseInterval()
         Specifies the base interval between retries. This parameter is required and must be greater
         than zero. Values less than 1 ms are rounded up to 1 ms.
         See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
         back-off algorithm.
         
        .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      • getBaseIntervalBuilder

        public com.google.protobuf.Duration.Builder getBaseIntervalBuilder()
         Specifies the base interval between retries. This parameter is required and must be greater
         than zero. Values less than 1 ms are rounded up to 1 ms.
         See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
         back-off algorithm.
         
        .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      • getBaseIntervalOrBuilder

        public com.google.protobuf.DurationOrBuilder getBaseIntervalOrBuilder()
         Specifies the base interval between retries. This parameter is required and must be greater
         than zero. Values less than 1 ms are rounded up to 1 ms.
         See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
         back-off algorithm.
         
        .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
        Specified by:
        getBaseIntervalOrBuilder in interface RetryPolicy.RetryBackOffOrBuilder
      • hasMaxInterval

        public boolean hasMaxInterval()
         Specifies the maximum interval between retries. This parameter is optional, but must be
         greater than or equal to the `base_interval` if set. The default is 10 times the
         `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
         of Envoy's back-off algorithm.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
        Specified by:
        hasMaxInterval in interface RetryPolicy.RetryBackOffOrBuilder
        Returns:
        Whether the maxInterval field is set.
      • getMaxInterval

        public com.google.protobuf.Duration getMaxInterval()
         Specifies the maximum interval between retries. This parameter is optional, but must be
         greater than or equal to the `base_interval` if set. The default is 10 times the
         `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
         of Envoy's back-off algorithm.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
        Specified by:
        getMaxInterval in interface RetryPolicy.RetryBackOffOrBuilder
        Returns:
        The maxInterval.
      • setMaxInterval

        public RetryPolicy.RetryBackOff.Builder setMaxInterval​(com.google.protobuf.Duration value)
         Specifies the maximum interval between retries. This parameter is optional, but must be
         greater than or equal to the `base_interval` if set. The default is 10 times the
         `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
         of Envoy's back-off algorithm.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
      • setMaxInterval

        public RetryPolicy.RetryBackOff.Builder setMaxInterval​(com.google.protobuf.Duration.Builder builderForValue)
         Specifies the maximum interval between retries. This parameter is optional, but must be
         greater than or equal to the `base_interval` if set. The default is 10 times the
         `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
         of Envoy's back-off algorithm.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
      • mergeMaxInterval

        public RetryPolicy.RetryBackOff.Builder mergeMaxInterval​(com.google.protobuf.Duration value)
         Specifies the maximum interval between retries. This parameter is optional, but must be
         greater than or equal to the `base_interval` if set. The default is 10 times the
         `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
         of Envoy's back-off algorithm.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
      • clearMaxInterval

        public RetryPolicy.RetryBackOff.Builder clearMaxInterval()
         Specifies the maximum interval between retries. This parameter is optional, but must be
         greater than or equal to the `base_interval` if set. The default is 10 times the
         `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
         of Envoy's back-off algorithm.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
      • getMaxIntervalBuilder

        public com.google.protobuf.Duration.Builder getMaxIntervalBuilder()
         Specifies the maximum interval between retries. This parameter is optional, but must be
         greater than or equal to the `base_interval` if set. The default is 10 times the
         `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
         of Envoy's back-off algorithm.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
      • getMaxIntervalOrBuilder

        public com.google.protobuf.DurationOrBuilder getMaxIntervalOrBuilder()
         Specifies the maximum interval between retries. This parameter is optional, but must be
         greater than or equal to the `base_interval` if set. The default is 10 times the
         `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
         of Envoy's back-off algorithm.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
        Specified by:
        getMaxIntervalOrBuilder in interface RetryPolicy.RetryBackOffOrBuilder
      • setUnknownFields

        public final RetryPolicy.RetryBackOff.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
      • mergeUnknownFields

        public final RetryPolicy.RetryBackOff.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>