Class UpdateSettingRequest.Builder (1.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateSettingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateSettingRequest.Builder
Overrides

build()

public UpdateSettingRequest build()
Returns
TypeDescription
UpdateSettingRequest

buildPartial()

public UpdateSettingRequest buildPartial()
Returns
TypeDescription
UpdateSettingRequest

clear()

public UpdateSettingRequest.Builder clear()
Returns
TypeDescription
UpdateSettingRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateSettingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateSettingRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateSettingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateSettingRequest.Builder

clone()

public UpdateSettingRequest.Builder clone()
Returns
TypeDescription
UpdateSettingRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateSettingRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateSettingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the setting field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateSettingRequest other)

public UpdateSettingRequest.Builder mergeFrom(UpdateSettingRequest other)
Parameter
NameDescription
otherUpdateSettingRequest
Returns
TypeDescription
UpdateSettingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateSettingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateSettingRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateSettingRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSetting
Returns
TypeDescription
UpdateSettingRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSettingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateSettingRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateSettingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateSettingRequest.Builder
Overrides

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

public UpdateSettingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSetting
Returns
TypeDescription
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
NameDescription
builderForValueSetting.Builder
Returns
TypeDescription
UpdateSettingRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSettingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateSettingRequest.Builder
Overrides