Class UpdateSettingRequest.Builder (1.46.0)

public static final class UpdateSettingRequest.Builder extends GeneratedMessageV3.Builder<UpdateSettingRequest.Builder> implements UpdateSettingRequestOrBuilder

The request for UpdateSetting.

Protobuf type google.cloud.resourcesettings.v1.UpdateSettingRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateSettingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateSettingRequest.Builder
Overrides

build()

public UpdateSettingRequest build()
Returns
Type Description
UpdateSettingRequest

buildPartial()

public UpdateSettingRequest buildPartial()
Returns
Type Description
UpdateSettingRequest

clear()

public UpdateSettingRequest.Builder clear()
Returns
Type Description
UpdateSettingRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateSettingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateSettingRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateSettingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateSettingRequest.Builder
Overrides

clearSetting()

public UpdateSettingRequest.Builder clearSetting()

Required. The setting to update. See Setting for field requirements.

.google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSettingRequest.Builder

clone()

public UpdateSettingRequest.Builder clone()
Returns
Type Description
UpdateSettingRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateSettingRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSettingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSetting()

public Setting getSetting()

Required. The setting to update. See Setting for field requirements.

.google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Setting

The setting.

getSettingBuilder()

public Setting.Builder getSettingBuilder()

Required. The setting to update. See Setting for field requirements.

.google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Setting.Builder

getSettingOrBuilder()

public SettingOrBuilder getSettingOrBuilder()

Required. The setting to update. See Setting for field requirements.

.google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SettingOrBuilder

hasSetting()

public boolean hasSetting()

Required. The setting to update. See Setting for field requirements.

.google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the setting field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateSettingRequest other)

public UpdateSettingRequest.Builder mergeFrom(UpdateSettingRequest other)
Parameter
Name Description
other UpdateSettingRequest
Returns
Type Description
UpdateSettingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateSettingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSettingRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateSettingRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateSettingRequest.Builder
Overrides

mergeSetting(Setting value)

public UpdateSettingRequest.Builder mergeSetting(Setting value)

Required. The setting to update. See Setting for field requirements.

.google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Setting
Returns
Type Description
UpdateSettingRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSettingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateSettingRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateSettingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateSettingRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateSettingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateSettingRequest.Builder
Overrides

setSetting(Setting value)

public UpdateSettingRequest.Builder setSetting(Setting value)

Required. The setting to update. See Setting for field requirements.

.google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Setting
Returns
Type Description
UpdateSettingRequest.Builder

setSetting(Setting.Builder builderForValue)

public UpdateSettingRequest.Builder setSetting(Setting.Builder builderForValue)

Required. The setting to update. See Setting for field requirements.

.google.cloud.resourcesettings.v1.Setting setting = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Setting.Builder
Returns
Type Description
UpdateSettingRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSettingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateSettingRequest.Builder
Overrides