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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSettingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateSettingRequest build()
Returns
buildPartial()
public UpdateSettingRequest buildPartial()
Returns
clear()
public UpdateSettingRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSettingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSettingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateSettingRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateSettingRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateSettingRequest other)
public UpdateSettingRequest.Builder mergeFrom(UpdateSettingRequest other)
Parameter
Returns
public UpdateSettingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateSettingRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSettingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSettingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSettingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSettingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides