Interface RuntimePercentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RuntimePercent,RuntimePercent.Builder
public interface RuntimePercentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PercentgetDefaultValue()Default value if runtime value is not available.PercentOrBuildergetDefaultValueOrBuilder()Default value if runtime value is not available.StringgetRuntimeKey()Runtime key to get value for comparison.com.google.protobuf.ByteStringgetRuntimeKeyBytes()Runtime key to get value for comparison.booleanhasDefaultValue()Default value if runtime value is not available.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDefaultValue
boolean hasDefaultValue()
Default value if runtime value is not available.
.envoy.type.v3.Percent default_value = 1;- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
Percent getDefaultValue()
Default value if runtime value is not available.
.envoy.type.v3.Percent default_value = 1;- Returns:
- The defaultValue.
-
getDefaultValueOrBuilder
PercentOrBuilder getDefaultValueOrBuilder()
Default value if runtime value is not available.
.envoy.type.v3.Percent default_value = 1;
-
getRuntimeKey
String getRuntimeKey()
Runtime key to get value for comparison. This value is used if defined.
string runtime_key = 2 [(.validate.rules) = { ... }- Returns:
- The runtimeKey.
-
getRuntimeKeyBytes
com.google.protobuf.ByteString getRuntimeKeyBytes()
Runtime key to get value for comparison. This value is used if defined.
string runtime_key = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for runtimeKey.
-
-