- 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 SettingMetadata.Builder extends GeneratedMessageV3.Builder<SettingMetadata.Builder> implements SettingMetadataOrBuilder
Metadata about a setting which is not editable by the end user.
Protobuf type google.cloud.resourcesettings.v1.SettingMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SettingMetadata.BuilderImplements
SettingMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SettingMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
build()
public SettingMetadata build()
Returns | |
---|---|
Type | Description |
SettingMetadata |
buildPartial()
public SettingMetadata buildPartial()
Returns | |
---|---|
Type | Description |
SettingMetadata |
clear()
public SettingMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
clearDataType()
public SettingMetadata.Builder clearDataType()
The data type for this setting.
.google.cloud.resourcesettings.v1.SettingMetadata.DataType data_type = 4;
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
clearDefaultValue()
public SettingMetadata.Builder clearDefaultValue()
The value provided by Setting.effective_value if no setting value is explicitly set. Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
clearDescription()
public SettingMetadata.Builder clearDescription()
A detailed description of what this setting does.
string description = 2;
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
clearDisplayName()
public SettingMetadata.Builder clearDisplayName()
The human readable name for this setting.
string display_name = 1;
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SettingMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SettingMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
clearReadOnly()
public SettingMetadata.Builder clearReadOnly()
A flag indicating that values of this setting cannot be modified (see documentation of the specific setting for updates and reasons).
bool read_only = 3;
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
clone()
public SettingMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
getDataType()
public SettingMetadata.DataType getDataType()
The data type for this setting.
.google.cloud.resourcesettings.v1.SettingMetadata.DataType data_type = 4;
Returns | |
---|---|
Type | Description |
SettingMetadata.DataType | The dataType. |
getDataTypeValue()
public int getDataTypeValue()
The data type for this setting.
.google.cloud.resourcesettings.v1.SettingMetadata.DataType data_type = 4;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for dataType. |
getDefaultInstanceForType()
public SettingMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SettingMetadata |
getDefaultValue()
public Value getDefaultValue()
The value provided by Setting.effective_value if no setting value is explicitly set. Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
Returns | |
---|---|
Type | Description |
Value | The defaultValue. |
getDefaultValueBuilder()
public Value.Builder getDefaultValueBuilder()
The value provided by Setting.effective_value if no setting value is explicitly set. Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
Returns | |
---|---|
Type | Description |
Value.Builder |
getDefaultValueOrBuilder()
public ValueOrBuilder getDefaultValueOrBuilder()
The value provided by Setting.effective_value if no setting value is explicitly set. Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
Returns | |
---|---|
Type | Description |
ValueOrBuilder |
getDescription()
public String getDescription()
A detailed description of what this setting does.
string description = 2;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
A detailed description of what this setting does.
string description = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The human readable name for this setting.
string display_name = 1;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The human readable name for this setting.
string display_name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getReadOnly()
public boolean getReadOnly()
A flag indicating that values of this setting cannot be modified (see documentation of the specific setting for updates and reasons).
bool read_only = 3;
Returns | |
---|---|
Type | Description |
boolean | The readOnly. |
hasDefaultValue()
public boolean hasDefaultValue()
The value provided by Setting.effective_value if no setting value is explicitly set. Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the defaultValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDefaultValue(Value value)
public SettingMetadata.Builder mergeDefaultValue(Value value)
The value provided by Setting.effective_value if no setting value is explicitly set. Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
Parameter | |
---|---|
Name | Description |
value | Value |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
mergeFrom(SettingMetadata other)
public SettingMetadata.Builder mergeFrom(SettingMetadata other)
Parameter | |
---|---|
Name | Description |
other | SettingMetadata |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SettingMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SettingMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SettingMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
setDataType(SettingMetadata.DataType value)
public SettingMetadata.Builder setDataType(SettingMetadata.DataType value)
The data type for this setting.
.google.cloud.resourcesettings.v1.SettingMetadata.DataType data_type = 4;
Parameter | |
---|---|
Name | Description |
value | SettingMetadata.DataType The dataType to set. |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
setDataTypeValue(int value)
public SettingMetadata.Builder setDataTypeValue(int value)
The data type for this setting.
.google.cloud.resourcesettings.v1.SettingMetadata.DataType data_type = 4;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for dataType to set. |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
setDefaultValue(Value value)
public SettingMetadata.Builder setDefaultValue(Value value)
The value provided by Setting.effective_value if no setting value is explicitly set. Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
Parameter | |
---|---|
Name | Description |
value | Value |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
setDefaultValue(Value.Builder builderForValue)
public SettingMetadata.Builder setDefaultValue(Value.Builder builderForValue)
The value provided by Setting.effective_value if no setting value is explicitly set. Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | Value.Builder |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
setDescription(String value)
public SettingMetadata.Builder setDescription(String value)
A detailed description of what this setting does.
string description = 2;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public SettingMetadata.Builder setDescriptionBytes(ByteString value)
A detailed description of what this setting does.
string description = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
setDisplayName(String value)
public SettingMetadata.Builder setDisplayName(String value)
The human readable name for this setting.
string display_name = 1;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public SettingMetadata.Builder setDisplayNameBytes(ByteString value)
The human readable name for this setting.
string display_name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SettingMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
setReadOnly(boolean value)
public SettingMetadata.Builder setReadOnly(boolean value)
A flag indicating that values of this setting cannot be modified (see documentation of the specific setting for updates and reasons).
bool read_only = 3;
Parameter | |
---|---|
Name | Description |
value | boolean The readOnly to set. |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SettingMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SettingMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SettingMetadata.Builder |