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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private com.google.protobuf.Duration
     
    private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
     
    private int
     
    private com.google.protobuf.Duration
     
    private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
    private
    Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    private void
     
     
    Specifies the base interval between refreshes.
    Specifies the maximum interval between refreshes.
    com.google.protobuf.Duration
    Specifies the base interval between refreshes.
    com.google.protobuf.Duration.Builder
    Specifies the base interval between refreshes.
    private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
    Specifies the base interval between refreshes.
    com.google.protobuf.DurationOrBuilder
    Specifies the base interval between refreshes.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Duration
    Specifies the maximum interval between refreshes.
    com.google.protobuf.Duration.Builder
    Specifies the maximum interval between refreshes.
    private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
    Specifies the maximum interval between refreshes.
    com.google.protobuf.DurationOrBuilder
    Specifies the maximum interval between refreshes.
    boolean
    Specifies the base interval between refreshes.
    boolean
    Specifies the maximum interval between refreshes.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    private void
     
    mergeBaseInterval(com.google.protobuf.Duration value)
    Specifies the base interval between refreshes.
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeMaxInterval(com.google.protobuf.Duration value)
    Specifies the maximum interval between refreshes.
    setBaseInterval(com.google.protobuf.Duration value)
    Specifies the base interval between refreshes.
    setBaseInterval(com.google.protobuf.Duration.Builder builderForValue)
    Specifies the base interval between refreshes.
    setMaxInterval(com.google.protobuf.Duration value)
    Specifies the maximum interval between refreshes.
    setMaxInterval(com.google.protobuf.Duration.Builder builderForValue)
    Specifies the maximum interval between refreshes.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • bitField0_

      private int bitField0_
    • baseInterval_

      private com.google.protobuf.Duration baseInterval_
    • baseIntervalBuilder_

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> baseIntervalBuilder_
    • maxInterval_

      private com.google.protobuf.Duration maxInterval_
    • maxIntervalBuilder_

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> maxIntervalBuilder_
  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • 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>
    • maybeForceBuilderInitialization

      private void maybeForceBuilderInitialization()
    • 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
    • buildPartial0

      private void buildPartial0(Cluster.RefreshRate result)
    • 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
    • getBaseIntervalFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> getBaseIntervalFieldBuilder()
       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) = { ... }
    • 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
    • getMaxIntervalFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> getMaxIntervalFieldBuilder()
       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) = { ... }