Class Cluster.RefreshRate.Builder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private com.google.protobuf.Duration baseInterval_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> baseIntervalBuilder_  
      private int bitField0_  
      private com.google.protobuf.Duration maxInterval_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> maxIntervalBuilder_  
    • Constructor Summary

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Cluster.RefreshRate build()  
      Cluster.RefreshRate buildPartial()  
      private void buildPartial0​(Cluster.RefreshRate result)  
      Cluster.RefreshRate.Builder clear()  
      Cluster.RefreshRate.Builder clearBaseInterval()
      Specifies the base interval between refreshes.
      Cluster.RefreshRate.Builder clearMaxInterval()
      Specifies the maximum interval between refreshes.
      com.google.protobuf.Duration getBaseInterval()
      Specifies the base interval between refreshes.
      com.google.protobuf.Duration.Builder getBaseIntervalBuilder()
      Specifies the base interval between refreshes.
      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.
      com.google.protobuf.DurationOrBuilder getBaseIntervalOrBuilder()
      Specifies the base interval between refreshes.
      Cluster.RefreshRate getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      com.google.protobuf.Duration getMaxInterval()
      Specifies the maximum interval between refreshes.
      com.google.protobuf.Duration.Builder getMaxIntervalBuilder()
      Specifies the maximum interval between refreshes.
      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.
      com.google.protobuf.DurationOrBuilder getMaxIntervalOrBuilder()
      Specifies the maximum interval between refreshes.
      boolean hasBaseInterval()
      Specifies the base interval between refreshes.
      boolean hasMaxInterval()
      Specifies the maximum interval between refreshes.
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      private void maybeForceBuilderInitialization()  
      Cluster.RefreshRate.Builder mergeBaseInterval​(com.google.protobuf.Duration value)
      Specifies the base interval between refreshes.
      Cluster.RefreshRate.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Cluster.RefreshRate.Builder mergeFrom​(com.google.protobuf.Message other)  
      Cluster.RefreshRate.Builder mergeFrom​(Cluster.RefreshRate other)  
      Cluster.RefreshRate.Builder mergeMaxInterval​(com.google.protobuf.Duration value)
      Specifies the maximum interval between refreshes.
      Cluster.RefreshRate.Builder setBaseInterval​(com.google.protobuf.Duration value)
      Specifies the base interval between refreshes.
      Cluster.RefreshRate.Builder setBaseInterval​(com.google.protobuf.Duration.Builder builderForValue)
      Specifies the base interval between refreshes.
      Cluster.RefreshRate.Builder setMaxInterval​(com.google.protobuf.Duration value)
      Specifies the maximum interval between refreshes.
      Cluster.RefreshRate.Builder 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 Detail

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

        private void maybeForceBuilderInitialization()
      • clear

        public 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>
      • 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 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<Cluster.RefreshRate.Builder>
        Throws:
        java.io.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) = { ... }