Class UpdateSettingRequest (1.51.0)

public final class UpdateSettingRequest extends GeneratedMessageV3 implements UpdateSettingRequestOrBuilder

The request for UpdateSetting.

Protobuf type google.cloud.resourcesettings.v1.UpdateSettingRequest

Static Fields

SETTING_FIELD_NUMBER

public static final int SETTING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateSettingRequest getDefaultInstance()
Returns
Type Description
UpdateSettingRequest

getDescriptor()

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

newBuilder()

public static UpdateSettingRequest.Builder newBuilder()
Returns
Type Description
UpdateSettingRequest.Builder

newBuilder(UpdateSettingRequest prototype)

public static UpdateSettingRequest.Builder newBuilder(UpdateSettingRequest prototype)
Parameter
Name Description
prototype UpdateSettingRequest
Returns
Type Description
UpdateSettingRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateSettingRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSettingRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateSettingRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateSettingRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateSettingRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateSettingRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateSettingRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSettingRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateSettingRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSettingRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateSettingRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateSettingRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSettingRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateSettingRequest> parser()
Returns
Type Description
Parser<UpdateSettingRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateSettingRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSettingRequest

getParserForType()

public Parser<UpdateSettingRequest> getParserForType()
Returns
Type Description
Parser<UpdateSettingRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateSettingRequest.Builder newBuilderForType()
Returns
Type Description
UpdateSettingRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateSettingRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateSettingRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateSettingRequest.Builder toBuilder()
Returns
Type Description
UpdateSettingRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException