Class UpdateCloudVmClusterRequest (0.52.0)

public final class UpdateCloudVmClusterRequest extends GeneratedMessage implements UpdateCloudVmClusterRequestOrBuilder

The request for CloudVmCluster.Update.

Protobuf type google.cloud.oracledatabase.v1.UpdateCloudVmClusterRequest

Static Fields

CLOUD_VM_CLUSTER_FIELD_NUMBER

public static final int CLOUD_VM_CLUSTER_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateCloudVmClusterRequest getDefaultInstance()
Returns
Type Description
UpdateCloudVmClusterRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateCloudVmClusterRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCloudVmCluster()

public CloudVmCluster getCloudVmCluster()

Required. The resource being updated. Note only labels can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudVmCluster

The cloudVmCluster.

getCloudVmClusterOrBuilder()

public CloudVmClusterOrBuilder getCloudVmClusterOrBuilder()

Required. The resource being updated. Note only labels can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudVmClusterOrBuilder

getDefaultInstanceForType()

public UpdateCloudVmClusterRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCloudVmClusterRequest

getParserForType()

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

getRequestId()

public String getRequestId()

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. A mask specifying which fields in the VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. A mask specifying which fields in the VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasCloudVmCluster()

public boolean hasCloudVmCluster()

Required. The resource being updated. Note only labels can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the cloudVmCluster field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. A mask specifying which fields in the VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdateCloudVmClusterRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateCloudVmClusterRequest.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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