Class Cluster.RefreshRate.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Cluster.RefreshRate.Builder>
com.google.protobuf.GeneratedMessage.Builder<Cluster.RefreshRate.Builder>
io.envoyproxy.envoy.config.cluster.v3.Cluster.RefreshRate.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cluster.RefreshRateOrBuilder, Cloneable
Enclosing class:
Cluster.RefreshRate

public static final class Cluster.RefreshRate.Builder extends com.google.protobuf.GeneratedMessage.Builder<Cluster.RefreshRate.Builder> implements Cluster.RefreshRateOrBuilder
Protobuf type envoy.config.cluster.v3.Cluster.RefreshRate
  • Method Details

    • 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<Cluster.RefreshRate.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<Cluster.RefreshRate.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<Cluster.RefreshRate.Builder>
    • getDefaultInstanceForType

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

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

      public Cluster.RefreshRate buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Cluster.RefreshRate.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<Cluster.RefreshRate.Builder>
    • mergeFrom

    • isInitialized

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

      public Cluster.RefreshRate.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<Cluster.RefreshRate.Builder>
      Throws:
      IOException
    • hasBaseInterval

      public boolean hasBaseInterval()
      Specifies the base interval between refreshes. This parameter is required and must be greater
      than zero and less than
      :ref:`max_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.max_interval>`.
      
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      Specified by:
      hasBaseInterval in interface Cluster.RefreshRateOrBuilder
      Returns:
      Whether the baseInterval field is set.
    • getBaseInterval

      public com.google.protobuf.Duration getBaseInterval()
      Specifies the base interval between refreshes. This parameter is required and must be greater
      than zero and less than
      :ref:`max_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.max_interval>`.
      
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      Specified by:
      getBaseInterval in interface Cluster.RefreshRateOrBuilder
      Returns:
      The baseInterval.
    • setBaseInterval

      public Cluster.RefreshRate.Builder setBaseInterval(com.google.protobuf.Duration value)
      Specifies the base interval between refreshes. This parameter is required and must be greater
      than zero and less than
      :ref:`max_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.max_interval>`.
      
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
    • setBaseInterval

      public Cluster.RefreshRate.Builder setBaseInterval(com.google.protobuf.Duration.Builder builderForValue)
      Specifies the base interval between refreshes. This parameter is required and must be greater
      than zero and less than
      :ref:`max_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.max_interval>`.
      
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
    • mergeBaseInterval

      public Cluster.RefreshRate.Builder mergeBaseInterval(com.google.protobuf.Duration value)
      Specifies the base interval between refreshes. This parameter is required and must be greater
      than zero and less than
      :ref:`max_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.max_interval>`.
      
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
    • clearBaseInterval

      public Cluster.RefreshRate.Builder clearBaseInterval()
      Specifies the base interval between refreshes. This parameter is required and must be greater
      than zero and less than
      :ref:`max_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.max_interval>`.
      
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
    • getBaseIntervalBuilder

      public com.google.protobuf.Duration.Builder getBaseIntervalBuilder()
      Specifies the base interval between refreshes. This parameter is required and must be greater
      than zero and less than
      :ref:`max_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.max_interval>`.
      
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
    • getBaseIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getBaseIntervalOrBuilder()
      Specifies the base interval between refreshes. This parameter is required and must be greater
      than zero and less than
      :ref:`max_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.max_interval>`.
      
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      Specified by:
      getBaseIntervalOrBuilder in interface Cluster.RefreshRateOrBuilder
    • hasMaxInterval

      public boolean hasMaxInterval()
      Specifies the maximum interval between refreshes. This parameter is optional, but must be
      greater than or equal to the
      :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`  if set. The default
      is 10 times the :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`.
      
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
      Specified by:
      hasMaxInterval in interface Cluster.RefreshRateOrBuilder
      Returns:
      Whether the maxInterval field is set.
    • getMaxInterval

      public com.google.protobuf.Duration getMaxInterval()
      Specifies the maximum interval between refreshes. This parameter is optional, but must be
      greater than or equal to the
      :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`  if set. The default
      is 10 times the :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`.
      
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
      Specified by:
      getMaxInterval in interface Cluster.RefreshRateOrBuilder
      Returns:
      The maxInterval.
    • setMaxInterval

      public Cluster.RefreshRate.Builder setMaxInterval(com.google.protobuf.Duration value)
      Specifies the maximum interval between refreshes. This parameter is optional, but must be
      greater than or equal to the
      :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`  if set. The default
      is 10 times the :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`.
      
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
    • setMaxInterval

      public Cluster.RefreshRate.Builder setMaxInterval(com.google.protobuf.Duration.Builder builderForValue)
      Specifies the maximum interval between refreshes. This parameter is optional, but must be
      greater than or equal to the
      :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`  if set. The default
      is 10 times the :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`.
      
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
    • mergeMaxInterval

      public Cluster.RefreshRate.Builder mergeMaxInterval(com.google.protobuf.Duration value)
      Specifies the maximum interval between refreshes. This parameter is optional, but must be
      greater than or equal to the
      :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`  if set. The default
      is 10 times the :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`.
      
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
    • clearMaxInterval

      public Cluster.RefreshRate.Builder clearMaxInterval()
      Specifies the maximum interval between refreshes. This parameter is optional, but must be
      greater than or equal to the
      :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`  if set. The default
      is 10 times the :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`.
      
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
    • getMaxIntervalBuilder

      public com.google.protobuf.Duration.Builder getMaxIntervalBuilder()
      Specifies the maximum interval between refreshes. This parameter is optional, but must be
      greater than or equal to the
      :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`  if set. The default
      is 10 times the :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`.
      
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
    • getMaxIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getMaxIntervalOrBuilder()
      Specifies the maximum interval between refreshes. This parameter is optional, but must be
      greater than or equal to the
      :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`  if set. The default
      is 10 times the :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`.
      
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
      Specified by:
      getMaxIntervalOrBuilder in interface Cluster.RefreshRateOrBuilder