public static final class Flag.Builder extends com.google.protobuf.GeneratedMessage.Builder<Flag.Builder> implements FlagOrBuilder
Feature flag available to the identity.Protobuf type
satori.api.Flag| Modifier and Type | Method and Description |
|---|---|
Flag |
build() |
Flag |
buildPartial() |
Flag.Builder |
clear() |
Flag.Builder |
clearConditionChanged()
Whether the value for this flag has conditionally changed from the default state.
|
Flag.Builder |
clearName()
Flag name
|
Flag.Builder |
clearValue()
Value associated with this flag.
|
boolean |
getConditionChanged()
Whether the value for this flag has conditionally changed from the default state.
|
Flag |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getName()
Flag name
|
com.google.protobuf.ByteString |
getNameBytes()
Flag name
|
java.lang.String |
getValue()
Value associated with this flag.
|
com.google.protobuf.ByteString |
getValueBytes()
Value associated with this flag.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Flag.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Flag.Builder |
mergeFrom(Flag other) |
Flag.Builder |
mergeFrom(com.google.protobuf.Message other) |
Flag.Builder |
setConditionChanged(boolean value)
Whether the value for this flag has conditionally changed from the default state.
|
Flag.Builder |
setName(java.lang.String value)
Flag name
|
Flag.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Flag name
|
Flag.Builder |
setValue(java.lang.String value)
Value associated with this flag.
|
Flag.Builder |
setValueBytes(com.google.protobuf.ByteString value)
Value associated with this flag.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Flag.Builder>public Flag.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Flag.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.GeneratedMessage.Builder<Flag.Builder>public Flag getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Flag build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Flag buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Flag.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flag.Builder>public Flag.Builder mergeFrom(Flag other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Flag.Builder>public Flag.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flag.Builder>java.io.IOExceptionpublic java.lang.String getName()
Flag name
string name = 1 [json_name = "name"];getName in interface FlagOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Flag name
string name = 1 [json_name = "name"];getNameBytes in interface FlagOrBuilderpublic Flag.Builder setName(java.lang.String value)
Flag name
string name = 1 [json_name = "name"];value - The name to set.public Flag.Builder clearName()
Flag name
string name = 1 [json_name = "name"];public Flag.Builder setNameBytes(com.google.protobuf.ByteString value)
Flag name
string name = 1 [json_name = "name"];value - The bytes for name to set.public java.lang.String getValue()
Value associated with this flag.
string value = 2 [json_name = "value"];getValue in interface FlagOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
Value associated with this flag.
string value = 2 [json_name = "value"];getValueBytes in interface FlagOrBuilderpublic Flag.Builder setValue(java.lang.String value)
Value associated with this flag.
string value = 2 [json_name = "value"];value - The value to set.public Flag.Builder clearValue()
Value associated with this flag.
string value = 2 [json_name = "value"];public Flag.Builder setValueBytes(com.google.protobuf.ByteString value)
Value associated with this flag.
string value = 2 [json_name = "value"];value - The bytes for value to set.public boolean getConditionChanged()
Whether the value for this flag has conditionally changed from the default state.
bool condition_changed = 3 [json_name = "conditionChanged"];getConditionChanged in interface FlagOrBuilderpublic Flag.Builder setConditionChanged(boolean value)
Whether the value for this flag has conditionally changed from the default state.
bool condition_changed = 3 [json_name = "conditionChanged"];value - The conditionChanged to set.public Flag.Builder clearConditionChanged()
Whether the value for this flag has conditionally changed from the default state.
bool condition_changed = 3 [json_name = "conditionChanged"];