- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.1
- 1.1.9
public static final class Value.Builder extends GeneratedMessageV3.Builder<Value.Builder> implements ValueOrBuilder
The data in a setting value.
Protobuf type google.cloud.resourcesettings.v1.Value
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Value.BuilderImplements
ValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Value.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Value.Builder |
build()
public Value build()
Returns | |
---|---|
Type | Description |
Value |
buildPartial()
public Value buildPartial()
Returns | |
---|---|
Type | Description |
Value |
clear()
public Value.Builder clear()
Returns | |
---|---|
Type | Description |
Value.Builder |
clearBooleanValue()
public Value.Builder clearBooleanValue()
Defines this value as being a boolean value.
bool boolean_value = 1;
Returns | |
---|---|
Type | Description |
Value.Builder |
This builder for chaining. |
clearEnumValue()
public Value.Builder clearEnumValue()
Defines this value as being a Enum.
.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;
Returns | |
---|---|
Type | Description |
Value.Builder |
clearField(Descriptors.FieldDescriptor field)
public Value.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Value.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Value.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Value.Builder |
clearStringSetValue()
public Value.Builder clearStringSetValue()
Defines this value as being a StringSet.
.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;
Returns | |
---|---|
Type | Description |
Value.Builder |
clearStringValue()
public Value.Builder clearStringValue()
Defines this value as being a string value.
string string_value = 2;
Returns | |
---|---|
Type | Description |
Value.Builder |
This builder for chaining. |
clearValue()
public Value.Builder clearValue()
Returns | |
---|---|
Type | Description |
Value.Builder |
clone()
public Value.Builder clone()
Returns | |
---|---|
Type | Description |
Value.Builder |
getBooleanValue()
public boolean getBooleanValue()
Defines this value as being a boolean value.
bool boolean_value = 1;
Returns | |
---|---|
Type | Description |
boolean |
The booleanValue. |
getDefaultInstanceForType()
public Value getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Value |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnumValue()
public Value.EnumValue getEnumValue()
Defines this value as being a Enum.
.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;
Returns | |
---|---|
Type | Description |
Value.EnumValue |
The enumValue. |
getEnumValueBuilder()
public Value.EnumValue.Builder getEnumValueBuilder()
Defines this value as being a Enum.
.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;
Returns | |
---|---|
Type | Description |
Value.EnumValue.Builder |
getEnumValueOrBuilder()
public Value.EnumValueOrBuilder getEnumValueOrBuilder()
Defines this value as being a Enum.
.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;
Returns | |
---|---|
Type | Description |
Value.EnumValueOrBuilder |
getStringSetValue()
public Value.StringSet getStringSetValue()
Defines this value as being a StringSet.
.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;
Returns | |
---|---|
Type | Description |
Value.StringSet |
The stringSetValue. |
getStringSetValueBuilder()
public Value.StringSet.Builder getStringSetValueBuilder()
Defines this value as being a StringSet.
.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;
Returns | |
---|---|
Type | Description |
Value.StringSet.Builder |
getStringSetValueOrBuilder()
public Value.StringSetOrBuilder getStringSetValueOrBuilder()
Defines this value as being a StringSet.
.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;
Returns | |
---|---|
Type | Description |
Value.StringSetOrBuilder |
getStringValue()
public String getStringValue()
Defines this value as being a string value.
string string_value = 2;
Returns | |
---|---|
Type | Description |
String |
The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()
Defines this value as being a string value.
string string_value = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for stringValue. |
getValueCase()
public Value.ValueCase getValueCase()
Returns | |
---|---|
Type | Description |
Value.ValueCase |
hasBooleanValue()
public boolean hasBooleanValue()
Defines this value as being a boolean value.
bool boolean_value = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the booleanValue field is set. |
hasEnumValue()
public boolean hasEnumValue()
Defines this value as being a Enum.
.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the enumValue field is set. |
hasStringSetValue()
public boolean hasStringSetValue()
Defines this value as being a StringSet.
.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the stringSetValue field is set. |
hasStringValue()
public boolean hasStringValue()
Defines this value as being a string value.
string string_value = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the stringValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEnumValue(Value.EnumValue value)
public Value.Builder mergeEnumValue(Value.EnumValue value)
Defines this value as being a Enum.
.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;
Parameter | |
---|---|
Name | Description |
value |
Value.EnumValue |
Returns | |
---|---|
Type | Description |
Value.Builder |
mergeFrom(Value other)
public Value.Builder mergeFrom(Value other)
Parameter | |
---|---|
Name | Description |
other |
Value |
Returns | |
---|---|
Type | Description |
Value.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Value.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Value.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Value.Builder |
mergeStringSetValue(Value.StringSet value)
public Value.Builder mergeStringSetValue(Value.StringSet value)
Defines this value as being a StringSet.
.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;
Parameter | |
---|---|
Name | Description |
value |
Value.StringSet |
Returns | |
---|---|
Type | Description |
Value.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Value.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Value.Builder |
setBooleanValue(boolean value)
public Value.Builder setBooleanValue(boolean value)
Defines this value as being a boolean value.
bool boolean_value = 1;
Parameter | |
---|---|
Name | Description |
value |
boolean The booleanValue to set. |
Returns | |
---|---|
Type | Description |
Value.Builder |
This builder for chaining. |
setEnumValue(Value.EnumValue value)
public Value.Builder setEnumValue(Value.EnumValue value)
Defines this value as being a Enum.
.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;
Parameter | |
---|---|
Name | Description |
value |
Value.EnumValue |
Returns | |
---|---|
Type | Description |
Value.Builder |
setEnumValue(Value.EnumValue.Builder builderForValue)
public Value.Builder setEnumValue(Value.EnumValue.Builder builderForValue)
Defines this value as being a Enum.
.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Value.EnumValue.Builder |
Returns | |
---|---|
Type | Description |
Value.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Value.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Value.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Value.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Value.Builder |
setStringSetValue(Value.StringSet value)
public Value.Builder setStringSetValue(Value.StringSet value)
Defines this value as being a StringSet.
.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;
Parameter | |
---|---|
Name | Description |
value |
Value.StringSet |
Returns | |
---|---|
Type | Description |
Value.Builder |
setStringSetValue(Value.StringSet.Builder builderForValue)
public Value.Builder setStringSetValue(Value.StringSet.Builder builderForValue)
Defines this value as being a StringSet.
.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Value.StringSet.Builder |
Returns | |
---|---|
Type | Description |
Value.Builder |
setStringValue(String value)
public Value.Builder setStringValue(String value)
Defines this value as being a string value.
string string_value = 2;
Parameter | |
---|---|
Name | Description |
value |
String The stringValue to set. |
Returns | |
---|---|
Type | Description |
Value.Builder |
This builder for chaining. |
setStringValueBytes(ByteString value)
public Value.Builder setStringValueBytes(ByteString value)
Defines this value as being a string value.
string string_value = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for stringValue to set. |
Returns | |
---|---|
Type | Description |
Value.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Value.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Value.Builder |