public static final class RuntimeFractionalPercent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder> implements RuntimeFractionalPercentOrBuilder
Runtime derived FractionalPercent with defaults for when the numerator or denominator is not specified via a runtime key. .. note:: Parsing of the runtime key's data is implemented such that it may be represented as a :ref:`FractionalPercent <envoy_api_msg_type.FractionalPercent>` proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED.Protobuf type
envoy.api.v2.core.RuntimeFractionalPercent| Modifier and Type | Method and Description |
|---|---|
RuntimeFractionalPercent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RuntimeFractionalPercent |
build() |
RuntimeFractionalPercent |
buildPartial() |
RuntimeFractionalPercent.Builder |
clear() |
RuntimeFractionalPercent.Builder |
clearDefaultValue()
Default value if the runtime value's for the numerator/denominator keys are not available.
|
RuntimeFractionalPercent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RuntimeFractionalPercent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RuntimeFractionalPercent.Builder |
clearRuntimeKey()
Runtime key for a YAML representation of a FractionalPercent.
|
RuntimeFractionalPercent.Builder |
clone() |
RuntimeFractionalPercent |
getDefaultInstanceForType() |
FractionalPercent |
getDefaultValue()
Default value if the runtime value's for the numerator/denominator keys are not available.
|
FractionalPercent.Builder |
getDefaultValueBuilder()
Default value if the runtime value's for the numerator/denominator keys are not available.
|
FractionalPercentOrBuilder |
getDefaultValueOrBuilder()
Default value if the runtime value's for the numerator/denominator keys are not available.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getRuntimeKey()
Runtime key for a YAML representation of a FractionalPercent.
|
com.google.protobuf.ByteString |
getRuntimeKeyBytes()
Runtime key for a YAML representation of a FractionalPercent.
|
boolean |
hasDefaultValue()
Default value if the runtime value's for the numerator/denominator keys are not available.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RuntimeFractionalPercent.Builder |
mergeDefaultValue(FractionalPercent value)
Default value if the runtime value's for the numerator/denominator keys are not available.
|
RuntimeFractionalPercent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RuntimeFractionalPercent.Builder |
mergeFrom(com.google.protobuf.Message other) |
RuntimeFractionalPercent.Builder |
mergeFrom(RuntimeFractionalPercent other) |
RuntimeFractionalPercent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RuntimeFractionalPercent.Builder |
setDefaultValue(FractionalPercent.Builder builderForValue)
Default value if the runtime value's for the numerator/denominator keys are not available.
|
RuntimeFractionalPercent.Builder |
setDefaultValue(FractionalPercent value)
Default value if the runtime value's for the numerator/denominator keys are not available.
|
RuntimeFractionalPercent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RuntimeFractionalPercent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RuntimeFractionalPercent.Builder |
setRuntimeKey(String value)
Runtime key for a YAML representation of a FractionalPercent.
|
RuntimeFractionalPercent.Builder |
setRuntimeKeyBytes(com.google.protobuf.ByteString value)
Runtime key for a YAML representation of a FractionalPercent.
|
RuntimeFractionalPercent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public RuntimeFractionalPercent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public RuntimeFractionalPercent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RuntimeFractionalPercent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RuntimeFractionalPercent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RuntimeFractionalPercent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public RuntimeFractionalPercent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public RuntimeFractionalPercent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public RuntimeFractionalPercent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public RuntimeFractionalPercent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public RuntimeFractionalPercent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public RuntimeFractionalPercent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RuntimeFractionalPercent.Builder>public RuntimeFractionalPercent.Builder mergeFrom(RuntimeFractionalPercent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public RuntimeFractionalPercent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RuntimeFractionalPercent.Builder>IOExceptionpublic boolean hasDefaultValue()
Default value if the runtime value's for the numerator/denominator keys are not available.
.envoy.type.FractionalPercent default_value = 1 [(.validate.rules) = { ... }hasDefaultValue in interface RuntimeFractionalPercentOrBuilderpublic FractionalPercent getDefaultValue()
Default value if the runtime value's for the numerator/denominator keys are not available.
.envoy.type.FractionalPercent default_value = 1 [(.validate.rules) = { ... }getDefaultValue in interface RuntimeFractionalPercentOrBuilderpublic RuntimeFractionalPercent.Builder setDefaultValue(FractionalPercent value)
Default value if the runtime value's for the numerator/denominator keys are not available.
.envoy.type.FractionalPercent default_value = 1 [(.validate.rules) = { ... }public RuntimeFractionalPercent.Builder setDefaultValue(FractionalPercent.Builder builderForValue)
Default value if the runtime value's for the numerator/denominator keys are not available.
.envoy.type.FractionalPercent default_value = 1 [(.validate.rules) = { ... }public RuntimeFractionalPercent.Builder mergeDefaultValue(FractionalPercent value)
Default value if the runtime value's for the numerator/denominator keys are not available.
.envoy.type.FractionalPercent default_value = 1 [(.validate.rules) = { ... }public RuntimeFractionalPercent.Builder clearDefaultValue()
Default value if the runtime value's for the numerator/denominator keys are not available.
.envoy.type.FractionalPercent default_value = 1 [(.validate.rules) = { ... }public FractionalPercent.Builder getDefaultValueBuilder()
Default value if the runtime value's for the numerator/denominator keys are not available.
.envoy.type.FractionalPercent default_value = 1 [(.validate.rules) = { ... }public FractionalPercentOrBuilder getDefaultValueOrBuilder()
Default value if the runtime value's for the numerator/denominator keys are not available.
.envoy.type.FractionalPercent default_value = 1 [(.validate.rules) = { ... }getDefaultValueOrBuilder in interface RuntimeFractionalPercentOrBuilderpublic String getRuntimeKey()
Runtime key for a YAML representation of a FractionalPercent.
string runtime_key = 2;getRuntimeKey in interface RuntimeFractionalPercentOrBuilderpublic com.google.protobuf.ByteString getRuntimeKeyBytes()
Runtime key for a YAML representation of a FractionalPercent.
string runtime_key = 2;getRuntimeKeyBytes in interface RuntimeFractionalPercentOrBuilderpublic RuntimeFractionalPercent.Builder setRuntimeKey(String value)
Runtime key for a YAML representation of a FractionalPercent.
string runtime_key = 2;public RuntimeFractionalPercent.Builder clearRuntimeKey()
Runtime key for a YAML representation of a FractionalPercent.
string runtime_key = 2;public RuntimeFractionalPercent.Builder setRuntimeKeyBytes(com.google.protobuf.ByteString value)
Runtime key for a YAML representation of a FractionalPercent.
string runtime_key = 2;public final RuntimeFractionalPercent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>public final RuntimeFractionalPercent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeFractionalPercent.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.