Class CloudVmCluster.Builder (0.29.0)

public static final class CloudVmCluster.Builder extends GeneratedMessageV3.Builder<CloudVmCluster.Builder> implements CloudVmClusterOrBuilder

Details of the Cloud VM Cluster resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudVmCluster/

Protobuf type google.cloud.oracledatabase.v1.CloudVmCluster

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudVmCluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudVmCluster.Builder
Overrides

build()

public CloudVmCluster build()
Returns
Type Description
CloudVmCluster

buildPartial()

public CloudVmCluster buildPartial()
Returns
Type Description
CloudVmCluster

clear()

public CloudVmCluster.Builder clear()
Returns
Type Description
CloudVmCluster.Builder
Overrides

clearBackupOdbSubnet()

public CloudVmCluster.Builder clearBackupOdbSubnet()

Optional. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string backup_odb_subnet = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

clearBackupSubnetCidr()

public CloudVmCluster.Builder clearBackupSubnetCidr()

Optional. CIDR range of the backup subnet.

string backup_subnet_cidr = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

clearCidr()

public CloudVmCluster.Builder clearCidr()

Optional. Network settings. CIDR to use for cluster IP allocation.

string cidr = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

clearCreateTime()

public CloudVmCluster.Builder clearCreateTime()

Output only. The date and time that the VM cluster was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudVmCluster.Builder

clearDisplayName()

public CloudVmCluster.Builder clearDisplayName()

Optional. User friendly name for this resource.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

clearExadataInfrastructure()

public CloudVmCluster.Builder clearExadataInfrastructure()

Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}

string exadata_infrastructure = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudVmCluster.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudVmCluster.Builder
Overrides

clearGcpOracleZone()

public CloudVmCluster.Builder clearGcpOracleZone()

Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. Example: us-east4-b-r2.

string gcp_oracle_zone = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

clearIdentityConnector()

public CloudVmCluster.Builder clearIdentityConnector()

Output only. The identity connector details which will allow OCI to securely access the resources in the customer project.

.google.cloud.oracledatabase.v1.IdentityConnector identity_connector = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudVmCluster.Builder

clearLabels()

public CloudVmCluster.Builder clearLabels()
Returns
Type Description
CloudVmCluster.Builder

clearName()

public CloudVmCluster.Builder clearName()

Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

clearNetwork()

public CloudVmCluster.Builder clearNetwork()

Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network}

string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

clearOdbNetwork()

public CloudVmCluster.Builder clearOdbNetwork()

Optional. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet.

string odb_network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

clearOdbSubnet()

public CloudVmCluster.Builder clearOdbSubnet()

Optional. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudVmCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudVmCluster.Builder
Overrides

clearProperties()

public CloudVmCluster.Builder clearProperties()

Optional. Various properties of the VM Cluster.

.google.cloud.oracledatabase.v1.CloudVmClusterProperties properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudVmCluster.Builder

clone()

public CloudVmCluster.Builder clone()
Returns
Type Description
CloudVmCluster.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Labels or tags associated with the VM Cluster.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getBackupOdbSubnet()

public String getBackupOdbSubnet()

Optional. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string backup_odb_subnet = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The backupOdbSubnet.

getBackupOdbSubnetBytes()

public ByteString getBackupOdbSubnetBytes()

Optional. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string backup_odb_subnet = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for backupOdbSubnet.

getBackupSubnetCidr()

public String getBackupSubnetCidr()

Optional. CIDR range of the backup subnet.

string backup_subnet_cidr = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The backupSubnetCidr.

getBackupSubnetCidrBytes()

public ByteString getBackupSubnetCidrBytes()

Optional. CIDR range of the backup subnet.

string backup_subnet_cidr = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for backupSubnetCidr.

getCidr()

public String getCidr()

Optional. Network settings. CIDR to use for cluster IP allocation.

string cidr = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The cidr.

getCidrBytes()

public ByteString getCidrBytes()

Optional. Network settings. CIDR to use for cluster IP allocation.

string cidr = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for cidr.

getCreateTime()

public Timestamp getCreateTime()

Output only. The date and time that the VM cluster was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The date and time that the VM cluster was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The date and time that the VM cluster was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CloudVmCluster getDefaultInstanceForType()
Returns
Type Description
CloudVmCluster

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Optional. User friendly name for this resource.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. User friendly name for this resource.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getExadataInfrastructure()

public String getExadataInfrastructure()

Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}

string exadata_infrastructure = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The exadataInfrastructure.

getExadataInfrastructureBytes()

public ByteString getExadataInfrastructureBytes()

Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}

string exadata_infrastructure = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for exadataInfrastructure.

getGcpOracleZone()

public String getGcpOracleZone()

Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. Example: us-east4-b-r2.

string gcp_oracle_zone = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The gcpOracleZone.

getGcpOracleZoneBytes()

public ByteString getGcpOracleZoneBytes()

Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. Example: us-east4-b-r2.

string gcp_oracle_zone = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for gcpOracleZone.

getIdentityConnector()

public IdentityConnector getIdentityConnector()

Output only. The identity connector details which will allow OCI to securely access the resources in the customer project.

.google.cloud.oracledatabase.v1.IdentityConnector identity_connector = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IdentityConnector

The identityConnector.

getIdentityConnectorBuilder()

public IdentityConnector.Builder getIdentityConnectorBuilder()

Output only. The identity connector details which will allow OCI to securely access the resources in the customer project.

.google.cloud.oracledatabase.v1.IdentityConnector identity_connector = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IdentityConnector.Builder

getIdentityConnectorOrBuilder()

public IdentityConnectorOrBuilder getIdentityConnectorOrBuilder()

Output only. The identity connector details which will allow OCI to securely access the resources in the customer project.

.google.cloud.oracledatabase.v1.IdentityConnector identity_connector = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IdentityConnectorOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Labels or tags associated with the VM Cluster.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Labels or tags associated with the VM Cluster.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels or tags associated with the VM Cluster.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Labels or tags associated with the VM Cluster.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNetwork()

public String getNetwork()

Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network}

string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network}

string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getOdbNetwork()

public String getOdbNetwork()

Optional. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet.

string odb_network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The odbNetwork.

getOdbNetworkBytes()

public ByteString getOdbNetworkBytes()

Optional. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet.

string odb_network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for odbNetwork.

getOdbSubnet()

public String getOdbSubnet()

Optional. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The odbSubnet.

getOdbSubnetBytes()

public ByteString getOdbSubnetBytes()

Optional. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for odbSubnet.

getProperties()

public CloudVmClusterProperties getProperties()

Optional. Various properties of the VM Cluster.

.google.cloud.oracledatabase.v1.CloudVmClusterProperties properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudVmClusterProperties

The properties.

getPropertiesBuilder()

public CloudVmClusterProperties.Builder getPropertiesBuilder()

Optional. Various properties of the VM Cluster.

.google.cloud.oracledatabase.v1.CloudVmClusterProperties properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudVmClusterProperties.Builder

getPropertiesOrBuilder()

public CloudVmClusterPropertiesOrBuilder getPropertiesOrBuilder()

Optional. Various properties of the VM Cluster.

.google.cloud.oracledatabase.v1.CloudVmClusterProperties properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudVmClusterPropertiesOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The date and time that the VM cluster was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasIdentityConnector()

public boolean hasIdentityConnector()

Output only. The identity connector details which will allow OCI to securely access the resources in the customer project.

.google.cloud.oracledatabase.v1.IdentityConnector identity_connector = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the identityConnector field is set.

hasProperties()

public boolean hasProperties()

Optional. Various properties of the VM Cluster.

.google.cloud.oracledatabase.v1.CloudVmClusterProperties properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public CloudVmCluster.Builder mergeCreateTime(Timestamp value)

Output only. The date and time that the VM cluster was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CloudVmCluster.Builder

mergeFrom(CloudVmCluster other)

public CloudVmCluster.Builder mergeFrom(CloudVmCluster other)
Parameter
Name Description
other CloudVmCluster
Returns
Type Description
CloudVmCluster.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudVmCluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudVmCluster.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudVmCluster.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudVmCluster.Builder
Overrides

mergeIdentityConnector(IdentityConnector value)

public CloudVmCluster.Builder mergeIdentityConnector(IdentityConnector value)

Output only. The identity connector details which will allow OCI to securely access the resources in the customer project.

.google.cloud.oracledatabase.v1.IdentityConnector identity_connector = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IdentityConnector
Returns
Type Description
CloudVmCluster.Builder

mergeProperties(CloudVmClusterProperties value)

public CloudVmCluster.Builder mergeProperties(CloudVmClusterProperties value)

Optional. Various properties of the VM Cluster.

.google.cloud.oracledatabase.v1.CloudVmClusterProperties properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CloudVmClusterProperties
Returns
Type Description
CloudVmCluster.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudVmCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudVmCluster.Builder
Overrides

putAllLabels(Map<String,String> values)

public CloudVmCluster.Builder putAllLabels(Map<String,String> values)

Optional. Labels or tags associated with the VM Cluster.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
CloudVmCluster.Builder

putLabels(String key, String value)

public CloudVmCluster.Builder putLabels(String key, String value)

Optional. Labels or tags associated with the VM Cluster.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
CloudVmCluster.Builder

removeLabels(String key)

public CloudVmCluster.Builder removeLabels(String key)

Optional. Labels or tags associated with the VM Cluster.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
CloudVmCluster.Builder

setBackupOdbSubnet(String value)

public CloudVmCluster.Builder setBackupOdbSubnet(String value)

Optional. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string backup_odb_subnet = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The backupOdbSubnet to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setBackupOdbSubnetBytes(ByteString value)

public CloudVmCluster.Builder setBackupOdbSubnetBytes(ByteString value)

Optional. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string backup_odb_subnet = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for backupOdbSubnet to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setBackupSubnetCidr(String value)

public CloudVmCluster.Builder setBackupSubnetCidr(String value)

Optional. CIDR range of the backup subnet.

string backup_subnet_cidr = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The backupSubnetCidr to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setBackupSubnetCidrBytes(ByteString value)

public CloudVmCluster.Builder setBackupSubnetCidrBytes(ByteString value)

Optional. CIDR range of the backup subnet.

string backup_subnet_cidr = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for backupSubnetCidr to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setCidr(String value)

public CloudVmCluster.Builder setCidr(String value)

Optional. Network settings. CIDR to use for cluster IP allocation.

string cidr = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The cidr to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setCidrBytes(ByteString value)

public CloudVmCluster.Builder setCidrBytes(ByteString value)

Optional. Network settings. CIDR to use for cluster IP allocation.

string cidr = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for cidr to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public CloudVmCluster.Builder setCreateTime(Timestamp value)

Output only. The date and time that the VM cluster was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CloudVmCluster.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CloudVmCluster.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The date and time that the VM cluster was created.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CloudVmCluster.Builder

setDisplayName(String value)

public CloudVmCluster.Builder setDisplayName(String value)

Optional. User friendly name for this resource.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public CloudVmCluster.Builder setDisplayNameBytes(ByteString value)

Optional. User friendly name for this resource.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setExadataInfrastructure(String value)

public CloudVmCluster.Builder setExadataInfrastructure(String value)

Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}

string exadata_infrastructure = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The exadataInfrastructure to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setExadataInfrastructureBytes(ByteString value)

public CloudVmCluster.Builder setExadataInfrastructureBytes(ByteString value)

Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}

string exadata_infrastructure = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for exadataInfrastructure to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudVmCluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudVmCluster.Builder
Overrides

setGcpOracleZone(String value)

public CloudVmCluster.Builder setGcpOracleZone(String value)

Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. Example: us-east4-b-r2.

string gcp_oracle_zone = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The gcpOracleZone to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setGcpOracleZoneBytes(ByteString value)

public CloudVmCluster.Builder setGcpOracleZoneBytes(ByteString value)

Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. Example: us-east4-b-r2.

string gcp_oracle_zone = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for gcpOracleZone to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setIdentityConnector(IdentityConnector value)

public CloudVmCluster.Builder setIdentityConnector(IdentityConnector value)

Output only. The identity connector details which will allow OCI to securely access the resources in the customer project.

.google.cloud.oracledatabase.v1.IdentityConnector identity_connector = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IdentityConnector
Returns
Type Description
CloudVmCluster.Builder

setIdentityConnector(IdentityConnector.Builder builderForValue)

public CloudVmCluster.Builder setIdentityConnector(IdentityConnector.Builder builderForValue)

Output only. The identity connector details which will allow OCI to securely access the resources in the customer project.

.google.cloud.oracledatabase.v1.IdentityConnector identity_connector = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue IdentityConnector.Builder
Returns
Type Description
CloudVmCluster.Builder

setName(String value)

public CloudVmCluster.Builder setName(String value)

Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CloudVmCluster.Builder setNameBytes(ByteString value)

Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setNetwork(String value)

public CloudVmCluster.Builder setNetwork(String value)

Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network}

string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The network to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public CloudVmCluster.Builder setNetworkBytes(ByteString value)

Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network}

string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setOdbNetwork(String value)

public CloudVmCluster.Builder setOdbNetwork(String value)

Optional. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet.

string odb_network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The odbNetwork to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setOdbNetworkBytes(ByteString value)

public CloudVmCluster.Builder setOdbNetworkBytes(ByteString value)

Optional. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet.

string odb_network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for odbNetwork to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setOdbSubnet(String value)

public CloudVmCluster.Builder setOdbSubnet(String value)

Optional. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The odbSubnet to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setOdbSubnetBytes(ByteString value)

public CloudVmCluster.Builder setOdbSubnetBytes(ByteString value)

Optional. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for odbSubnet to set.

Returns
Type Description
CloudVmCluster.Builder

This builder for chaining.

setProperties(CloudVmClusterProperties value)

public CloudVmCluster.Builder setProperties(CloudVmClusterProperties value)

Optional. Various properties of the VM Cluster.

.google.cloud.oracledatabase.v1.CloudVmClusterProperties properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CloudVmClusterProperties
Returns
Type Description
CloudVmCluster.Builder

setProperties(CloudVmClusterProperties.Builder builderForValue)

public CloudVmCluster.Builder setProperties(CloudVmClusterProperties.Builder builderForValue)

Optional. Various properties of the VM Cluster.

.google.cloud.oracledatabase.v1.CloudVmClusterProperties properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CloudVmClusterProperties.Builder
Returns
Type Description
CloudVmCluster.Builder

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

public CloudVmCluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudVmCluster.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudVmCluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudVmCluster.Builder
Overrides