Package io.envoyproxy.envoy.api.v2
Interface Cluster.RefreshRateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster.RefreshRate,Cluster.RefreshRate.Builder
- Enclosing class:
- Cluster
public static interface Cluster.RefreshRateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.DurationgetBaseInterval()Specifies the base interval between refreshes.com.google.protobuf.DurationOrBuildergetBaseIntervalOrBuilder()Specifies the base interval between refreshes.com.google.protobuf.DurationgetMaxInterval()Specifies the maximum interval between refreshes.com.google.protobuf.DurationOrBuildergetMaxIntervalOrBuilder()Specifies the maximum interval between refreshes.booleanhasBaseInterval()Specifies the base interval between refreshes.booleanhasMaxInterval()Specifies the maximum interval between refreshes.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBaseInterval
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_api_field_Cluster.RefreshRate.max_interval>`.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }- Returns:
- Whether the baseInterval field is set.
-
getBaseInterval
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_api_field_Cluster.RefreshRate.max_interval>`.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }- Returns:
- The baseInterval.
-
getBaseIntervalOrBuilder
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_api_field_Cluster.RefreshRate.max_interval>`.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
-
hasMaxInterval
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_api_field_Cluster.RefreshRate.base_interval>` if set. The default is 10 times the :ref:`base_interval <envoy_api_field_Cluster.RefreshRate.base_interval>`.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }- Returns:
- Whether the maxInterval field is set.
-
getMaxInterval
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_api_field_Cluster.RefreshRate.base_interval>` if set. The default is 10 times the :ref:`base_interval <envoy_api_field_Cluster.RefreshRate.base_interval>`.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }- Returns:
- The maxInterval.
-
getMaxIntervalOrBuilder
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_api_field_Cluster.RefreshRate.base_interval>` if set. The default is 10 times the :ref:`base_interval <envoy_api_field_Cluster.RefreshRate.base_interval>`.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
-
-