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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Flag.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Flag.Builder>
public Flag getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Flag build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Flag buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Flag.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Flag.Builder>
java.io.IOException
public java.lang.String getName()
Flag name
string name = 1 [json_name = "name"];
getName
in interface FlagOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Flag name
string name = 1 [json_name = "name"];
getNameBytes
in interface FlagOrBuilder
public 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 FlagOrBuilder
public com.google.protobuf.ByteString getValueBytes()
Value associated with this flag.
string value = 2 [json_name = "value"];
getValueBytes
in interface FlagOrBuilder
public 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 FlagOrBuilder
public 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"];