- 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 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Setting.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Setting.Builder |
build()
public Setting build()
Returns | |
---|---|
Type | Description |
Setting |
buildPartial()
public Setting buildPartial()
Returns | |
---|---|
Type | Description |
Setting |
clear()
public Setting.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Setting.Builder |
clearEtag()
public Setting.Builder clearEtag()
A fingerprint used for optimistic concurrency. See UpdateSetting for more details.
string etag = 10;
Returns | |
---|---|
Type | Description |
Setting.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Setting.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Setting.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Setting.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Setting.Builder |
clone()
public Setting.Builder clone()
Returns | |
---|---|
Type | Description |
Setting.Builder |
getDefaultInstanceForType()
public Setting getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Setting |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ValueOrBuilder |
getEtag()
public String getEtag()
A fingerprint used for optimistic concurrency. See UpdateSetting for more details.
string etag = 10;
Returns | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()
A fingerprint used for optimistic concurrency. See UpdateSetting for more details.
string etag = 10;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Value |
Returns | |
---|---|
Type | Description |
Setting.Builder |
mergeFrom(Setting other)
public Setting.Builder mergeFrom(Setting other)
Parameter | |
---|---|
Name | Description |
other |
Setting |
Returns | |
---|---|
Type | Description |
Setting.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Setting.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Setting.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Setting.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Value |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
SettingMetadata |
Returns | |
---|---|
Type | Description |
Setting.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Setting.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Value |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Value.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The etag to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
Setting.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Setting.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Value |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Value.Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
SettingMetadata |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
SettingMetadata.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Setting.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Setting.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Setting.Builder |