public static final class CreateCloudVmClusterRequest.Builder extends GeneratedMessageV3.Builder<CreateCloudVmClusterRequest.Builder> implements CreateCloudVmClusterRequestOrBuilder
The request for CloudVmCluster.Create
.
Protobuf type google.cloud.oracledatabase.v1.CreateCloudVmClusterRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateCloudVmClusterRequest.BuilderImplements
CreateCloudVmClusterRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateCloudVmClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
build()
public CreateCloudVmClusterRequest build()
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest |
buildPartial()
public CreateCloudVmClusterRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest |
clear()
public CreateCloudVmClusterRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
clearCloudVmCluster()
public CreateCloudVmClusterRequest.Builder clearCloudVmCluster()
Required. The resource being created
.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
clearCloudVmClusterId()
public CreateCloudVmClusterRequest.Builder clearCloudVmClusterId()
Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
string cloud_vm_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateCloudVmClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateCloudVmClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
clearParent()
public CreateCloudVmClusterRequest.Builder clearParent()
Required. The name of the parent in the following format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateCloudVmClusterRequest.Builder clearRequestId()
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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
This builder for chaining. |
clone()
public CreateCloudVmClusterRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
getCloudVmCluster()
public CloudVmCluster getCloudVmCluster()
Required. The resource being created
.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CloudVmCluster |
The cloudVmCluster. |
getCloudVmClusterBuilder()
public CloudVmCluster.Builder getCloudVmClusterBuilder()
Required. The resource being created
.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CloudVmCluster.Builder |
getCloudVmClusterId()
public String getCloudVmClusterId()
Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
string cloud_vm_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The cloudVmClusterId. |
getCloudVmClusterIdBytes()
public ByteString getCloudVmClusterIdBytes()
Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
string cloud_vm_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cloudVmClusterId. |
getCloudVmClusterOrBuilder()
public CloudVmClusterOrBuilder getCloudVmClusterOrBuilder()
Required. The resource being created
.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CloudVmClusterOrBuilder |
getDefaultInstanceForType()
public CreateCloudVmClusterRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The name of the parent in the following format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The name of the parent in the following format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestId. |
hasCloudVmCluster()
public boolean hasCloudVmCluster()
Required. The resource being created
.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the cloudVmCluster field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCloudVmCluster(CloudVmCluster value)
public CreateCloudVmClusterRequest.Builder mergeCloudVmCluster(CloudVmCluster value)
Required. The resource being created
.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
CloudVmCluster |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
mergeFrom(CreateCloudVmClusterRequest other)
public CreateCloudVmClusterRequest.Builder mergeFrom(CreateCloudVmClusterRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateCloudVmClusterRequest |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateCloudVmClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateCloudVmClusterRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateCloudVmClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
setCloudVmCluster(CloudVmCluster value)
public CreateCloudVmClusterRequest.Builder setCloudVmCluster(CloudVmCluster value)
Required. The resource being created
.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
CloudVmCluster |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
setCloudVmCluster(CloudVmCluster.Builder builderForValue)
public CreateCloudVmClusterRequest.Builder setCloudVmCluster(CloudVmCluster.Builder builderForValue)
Required. The resource being created
.google.cloud.oracledatabase.v1.CloudVmCluster cloud_vm_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
CloudVmCluster.Builder |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
setCloudVmClusterId(String value)
public CreateCloudVmClusterRequest.Builder setCloudVmClusterId(String value)
Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
string cloud_vm_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The cloudVmClusterId to set. |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
This builder for chaining. |
setCloudVmClusterIdBytes(ByteString value)
public CreateCloudVmClusterRequest.Builder setCloudVmClusterIdBytes(ByteString value)
Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
string cloud_vm_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cloudVmClusterId to set. |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateCloudVmClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
setParent(String value)
public CreateCloudVmClusterRequest.Builder setParent(String value)
Required. The name of the parent in the following format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateCloudVmClusterRequest.Builder setParentBytes(ByteString value)
Required. The name of the parent in the following format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateCloudVmClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
setRequestId(String value)
public CreateCloudVmClusterRequest.Builder setRequestId(String value)
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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateCloudVmClusterRequest.Builder setRequestIdBytes(ByteString value)
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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateCloudVmClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateCloudVmClusterRequest.Builder |