- 1.54.0 (latest)
- 1.53.0
- 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 Setting.Builder extends GeneratedMessageV3.Builder<Setting.Builder> implements SettingOrBuilder
The schema for settings.
Protobuf type google.cloud.resourcesettings.v1.Setting
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Setting.BuilderImplements
SettingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Setting.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Setting.Builder |
build()
public Setting build()
Type | Description |
Setting |
buildPartial()
public Setting buildPartial()
Type | Description |
Setting |
clear()
public Setting.Builder clear()
Type | Description |
Setting.Builder |
clearEffectiveValue()
public Setting.Builder clearEffectiveValue()
Output only. The computed effective value of the setting at the given parent resource (based on the resource hierarchy). The effective value evaluates to one of the following options in the given order (the next option is used if the previous one does not exist):
- the local setting value on the given resource: Setting.local_value
- if one of the given resource's ancestors have a local setting value, the local value at the nearest such ancestor
- the setting's default value: SettingMetadata.default_value
- an empty value (defined as a
Value
with all fields unset) The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Setting.Builder |
clearEtag()
public Setting.Builder clearEtag()
A fingerprint used for optimistic concurrency. See UpdateSetting for more details.
string etag = 10;
Type | Description |
Setting.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Setting.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Setting.Builder |
clearLocalValue()
public Setting.Builder clearLocalValue()
The configured value of the setting at the given parent resource (ignoring the resource hierarchy). The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value local_value = 8;
Type | Description |
Setting.Builder |
clearMetadata()
public Setting.Builder clearMetadata()
Output only. Metadata about a setting which is not editable by the end user.
.google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Setting.Builder |
clearName()
public Setting.Builder clearName()
The resource name of the setting. Must be in one of the following forms:
projects/{project_number}/settings/{setting_name}
folders/{folder_id}/settings/{setting_name}
organizations/{organization_id}/settings/{setting_name}
For example, "/projects/123/settings/gcp-enableMyFeature"
string name = 1;
Type | Description |
Setting.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Setting.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Setting.Builder |
clone()
public Setting.Builder clone()
Type | Description |
Setting.Builder |
getDefaultInstanceForType()
public Setting getDefaultInstanceForType()
Type | Description |
Setting |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEffectiveValue()
public Value getEffectiveValue()
Output only. The computed effective value of the setting at the given parent resource (based on the resource hierarchy). The effective value evaluates to one of the following options in the given order (the next option is used if the previous one does not exist):
- the local setting value on the given resource: Setting.local_value
- if one of the given resource's ancestors have a local setting value, the local value at the nearest such ancestor
- the setting's default value: SettingMetadata.default_value
- an empty value (defined as a
Value
with all fields unset) The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Value | The effectiveValue. |
getEffectiveValueBuilder()
public Value.Builder getEffectiveValueBuilder()
Output only. The computed effective value of the setting at the given parent resource (based on the resource hierarchy). The effective value evaluates to one of the following options in the given order (the next option is used if the previous one does not exist):
- the local setting value on the given resource: Setting.local_value
- if one of the given resource's ancestors have a local setting value, the local value at the nearest such ancestor
- the setting's default value: SettingMetadata.default_value
- an empty value (defined as a
Value
with all fields unset) The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Value.Builder |
getEffectiveValueOrBuilder()
public ValueOrBuilder getEffectiveValueOrBuilder()
Output only. The computed effective value of the setting at the given parent resource (based on the resource hierarchy). The effective value evaluates to one of the following options in the given order (the next option is used if the previous one does not exist):
- the local setting value on the given resource: Setting.local_value
- if one of the given resource's ancestors have a local setting value, the local value at the nearest such ancestor
- the setting's default value: SettingMetadata.default_value
- an empty value (defined as a
Value
with all fields unset) The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ValueOrBuilder |
getEtag()
public String getEtag()
A fingerprint used for optimistic concurrency. See UpdateSetting for more details.
string etag = 10;
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
A fingerprint used for optimistic concurrency. See UpdateSetting for more details.
string etag = 10;
Type | Description |
ByteString | The bytes for etag. |
getLocalValue()
public Value getLocalValue()
The configured value of the setting at the given parent resource (ignoring the resource hierarchy). The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value local_value = 8;
Type | Description |
Value | The localValue. |
getLocalValueBuilder()
public Value.Builder getLocalValueBuilder()
The configured value of the setting at the given parent resource (ignoring the resource hierarchy). The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value local_value = 8;
Type | Description |
Value.Builder |
getLocalValueOrBuilder()
public ValueOrBuilder getLocalValueOrBuilder()
The configured value of the setting at the given parent resource (ignoring the resource hierarchy). The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value local_value = 8;
Type | Description |
ValueOrBuilder |
getMetadata()
public SettingMetadata getMetadata()
Output only. Metadata about a setting which is not editable by the end user.
.google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SettingMetadata | The metadata. |
getMetadataBuilder()
public SettingMetadata.Builder getMetadataBuilder()
Output only. Metadata about a setting which is not editable by the end user.
.google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SettingMetadata.Builder |
getMetadataOrBuilder()
public SettingMetadataOrBuilder getMetadataOrBuilder()
Output only. Metadata about a setting which is not editable by the end user.
.google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SettingMetadataOrBuilder |
getName()
public String getName()
The resource name of the setting. Must be in one of the following forms:
projects/{project_number}/settings/{setting_name}
folders/{folder_id}/settings/{setting_name}
organizations/{organization_id}/settings/{setting_name}
For example, "/projects/123/settings/gcp-enableMyFeature"
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the setting. Must be in one of the following forms:
projects/{project_number}/settings/{setting_name}
folders/{folder_id}/settings/{setting_name}
organizations/{organization_id}/settings/{setting_name}
For example, "/projects/123/settings/gcp-enableMyFeature"
string name = 1;
Type | Description |
ByteString | The bytes for name. |
hasEffectiveValue()
public boolean hasEffectiveValue()
Output only. The computed effective value of the setting at the given parent resource (based on the resource hierarchy). The effective value evaluates to one of the following options in the given order (the next option is used if the previous one does not exist):
- the local setting value on the given resource: Setting.local_value
- if one of the given resource's ancestors have a local setting value, the local value at the nearest such ancestor
- the setting's default value: SettingMetadata.default_value
- an empty value (defined as a
Value
with all fields unset) The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the effectiveValue field is set. |
hasLocalValue()
public boolean hasLocalValue()
The configured value of the setting at the given parent resource (ignoring the resource hierarchy). The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value local_value = 8;
Type | Description |
boolean | Whether the localValue field is set. |
hasMetadata()
public boolean hasMetadata()
Output only. Metadata about a setting which is not editable by the end user.
.google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEffectiveValue(Value value)
public Setting.Builder mergeEffectiveValue(Value value)
Output only. The computed effective value of the setting at the given parent resource (based on the resource hierarchy). The effective value evaluates to one of the following options in the given order (the next option is used if the previous one does not exist):
- the local setting value on the given resource: Setting.local_value
- if one of the given resource's ancestors have a local setting value, the local value at the nearest such ancestor
- the setting's default value: SettingMetadata.default_value
- an empty value (defined as a
Value
with all fields unset) The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Value |
Type | Description |
Setting.Builder |
mergeFrom(Setting other)
public Setting.Builder mergeFrom(Setting other)
Name | Description |
other | Setting |
Type | Description |
Setting.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Setting.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Setting.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Setting.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Setting.Builder |
mergeLocalValue(Value value)
public Setting.Builder mergeLocalValue(Value value)
The configured value of the setting at the given parent resource (ignoring the resource hierarchy). The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value local_value = 8;
Name | Description |
value | Value |
Type | Description |
Setting.Builder |
mergeMetadata(SettingMetadata value)
public Setting.Builder mergeMetadata(SettingMetadata value)
Output only. Metadata about a setting which is not editable by the end user.
.google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | SettingMetadata |
Type | Description |
Setting.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Setting.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Setting.Builder |
setEffectiveValue(Value value)
public Setting.Builder setEffectiveValue(Value value)
Output only. The computed effective value of the setting at the given parent resource (based on the resource hierarchy). The effective value evaluates to one of the following options in the given order (the next option is used if the previous one does not exist):
- the local setting value on the given resource: Setting.local_value
- if one of the given resource's ancestors have a local setting value, the local value at the nearest such ancestor
- the setting's default value: SettingMetadata.default_value
- an empty value (defined as a
Value
with all fields unset) The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Value |
Type | Description |
Setting.Builder |
setEffectiveValue(Value.Builder builderForValue)
public Setting.Builder setEffectiveValue(Value.Builder builderForValue)
Output only. The computed effective value of the setting at the given parent resource (based on the resource hierarchy). The effective value evaluates to one of the following options in the given order (the next option is used if the previous one does not exist):
- the local setting value on the given resource: Setting.local_value
- if one of the given resource's ancestors have a local setting value, the local value at the nearest such ancestor
- the setting's default value: SettingMetadata.default_value
- an empty value (defined as a
Value
with all fields unset) The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value effective_value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Value.Builder |
Type | Description |
Setting.Builder |
setEtag(String value)
public Setting.Builder setEtag(String value)
A fingerprint used for optimistic concurrency. See UpdateSetting for more details.
string etag = 10;
Name | Description |
value | String The etag to set. |
Type | Description |
Setting.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public Setting.Builder setEtagBytes(ByteString value)
A fingerprint used for optimistic concurrency. See UpdateSetting for more details.
string etag = 10;
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
Setting.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Setting.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Setting.Builder |
setLocalValue(Value value)
public Setting.Builder setLocalValue(Value value)
The configured value of the setting at the given parent resource (ignoring the resource hierarchy). The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value local_value = 8;
Name | Description |
value | Value |
Type | Description |
Setting.Builder |
setLocalValue(Value.Builder builderForValue)
public Setting.Builder setLocalValue(Value.Builder builderForValue)
The configured value of the setting at the given parent resource (ignoring the resource hierarchy). The data type of Value must always be consistent with the data type defined in Setting.metadata.
.google.cloud.resourcesettings.v1.Value local_value = 8;
Name | Description |
builderForValue | Value.Builder |
Type | Description |
Setting.Builder |
setMetadata(SettingMetadata value)
public Setting.Builder setMetadata(SettingMetadata value)
Output only. Metadata about a setting which is not editable by the end user.
.google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | SettingMetadata |
Type | Description |
Setting.Builder |
setMetadata(SettingMetadata.Builder builderForValue)
public Setting.Builder setMetadata(SettingMetadata.Builder builderForValue)
Output only. Metadata about a setting which is not editable by the end user.
.google.cloud.resourcesettings.v1.SettingMetadata metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | SettingMetadata.Builder |
Type | Description |
Setting.Builder |
setName(String value)
public Setting.Builder setName(String value)
The resource name of the setting. Must be in one of the following forms:
projects/{project_number}/settings/{setting_name}
folders/{folder_id}/settings/{setting_name}
organizations/{organization_id}/settings/{setting_name}
For example, "/projects/123/settings/gcp-enableMyFeature"
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Setting.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Setting.Builder setNameBytes(ByteString value)
The resource name of the setting. Must be in one of the following forms:
projects/{project_number}/settings/{setting_name}
folders/{folder_id}/settings/{setting_name}
organizations/{organization_id}/settings/{setting_name}
For example, "/projects/123/settings/gcp-enableMyFeature"
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Setting.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Setting.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Setting.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Setting.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Setting.Builder |