Class PrivateCloud.Builder (0.40.0)

public static final class PrivateCloud.Builder extends GeneratedMessageV3.Builder<PrivateCloud.Builder> implements PrivateCloudOrBuilder

Represents a private cloud resource. Private clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED private clouds are regional.

Protobuf type google.cloud.vmwareengine.v1.PrivateCloud

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PrivateCloud build()
Returns
Type Description
PrivateCloud

buildPartial()

public PrivateCloud buildPartial()
Returns
Type Description
PrivateCloud

clear()

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

clearCreateTime()

public PrivateCloud.Builder clearCreateTime()

Output only. Creation time of this resource.

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

Returns
Type Description
PrivateCloud.Builder

clearDeleteTime()

public PrivateCloud.Builder clearDeleteTime()

Output only. Time when the resource was scheduled for deletion.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateCloud.Builder

clearDescription()

public PrivateCloud.Builder clearDescription()

User-provided description for this private cloud.

string description = 11;

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

clearExpireTime()

public PrivateCloud.Builder clearExpireTime()

Output only. Time when the resource will be irreversibly deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateCloud.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearHcx()

public PrivateCloud.Builder clearHcx()

Output only. HCX appliance.

.google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateCloud.Builder

clearManagementCluster()

public PrivateCloud.Builder clearManagementCluster()

Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster.

The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrivateCloud.Builder

clearName()

public PrivateCloud.Builder clearName()

Output only. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

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

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

clearNetworkConfig()

public PrivateCloud.Builder clearNetworkConfig()

Required. Network configuration of the private cloud.

.google.cloud.vmwareengine.v1.NetworkConfig network_config = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrivateCloud.Builder

clearNsx()

public PrivateCloud.Builder clearNsx()

Output only. NSX appliance.

.google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateCloud.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public PrivateCloud.Builder clearState()

Output only. State of the resource. New values may be added to this enum when appropriate.

.google.cloud.vmwareengine.v1.PrivateCloud.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

clearType()

public PrivateCloud.Builder clearType()

Optional. Type of the private cloud. Defaults to STANDARD.

.google.cloud.vmwareengine.v1.PrivateCloud.Type type = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

clearUid()

public PrivateCloud.Builder clearUid()

Output only. System-generated unique identifier for the resource.

string uid = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

clearUpdateTime()

public PrivateCloud.Builder clearUpdateTime()

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateCloud.Builder

clearVcenter()

public PrivateCloud.Builder clearVcenter()

Output only. Vcenter appliance.

.google.cloud.vmwareengine.v1.Vcenter vcenter = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateCloud.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Output only. Creation time of this resource.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Creation time of this resource.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation time of this resource.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public PrivateCloud getDefaultInstanceForType()
Returns
Type Description
PrivateCloud

getDeleteTime()

public Timestamp getDeleteTime()

Output only. Time when the resource was scheduled for deletion.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The deleteTime.

getDeleteTimeBuilder()

public Timestamp.Builder getDeleteTimeBuilder()

Output only. Time when the resource was scheduled for deletion.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getDeleteTimeOrBuilder()

public TimestampOrBuilder getDeleteTimeOrBuilder()

Output only. Time when the resource was scheduled for deletion.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescription()

public String getDescription()

User-provided description for this private cloud.

string description = 11;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User-provided description for this private cloud.

string description = 11;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getExpireTime()

public Timestamp getExpireTime()

Output only. Time when the resource will be irreversibly deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

Output only. Time when the resource will be irreversibly deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

Output only. Time when the resource will be irreversibly deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getHcx()

public Hcx getHcx()

Output only. HCX appliance.

.google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Hcx

The hcx.

getHcxBuilder()

public Hcx.Builder getHcxBuilder()

Output only. HCX appliance.

.google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Hcx.Builder

getHcxOrBuilder()

public HcxOrBuilder getHcxOrBuilder()

Output only. HCX appliance.

.google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
HcxOrBuilder

getManagementCluster()

public PrivateCloud.ManagementCluster getManagementCluster()

Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster.

The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrivateCloud.ManagementCluster

The managementCluster.

getManagementClusterBuilder()

public PrivateCloud.ManagementCluster.Builder getManagementClusterBuilder()

Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster.

The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrivateCloud.ManagementCluster.Builder

getManagementClusterOrBuilder()

public PrivateCloud.ManagementClusterOrBuilder getManagementClusterOrBuilder()

Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster.

The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrivateCloud.ManagementClusterOrBuilder

getName()

public String getName()

Output only. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

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

Returns
Type Description
ByteString

The bytes for name.

getNetworkConfig()

public NetworkConfig getNetworkConfig()

Required. Network configuration of the private cloud.

.google.cloud.vmwareengine.v1.NetworkConfig network_config = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NetworkConfig

The networkConfig.

getNetworkConfigBuilder()

public NetworkConfig.Builder getNetworkConfigBuilder()

Required. Network configuration of the private cloud.

.google.cloud.vmwareengine.v1.NetworkConfig network_config = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NetworkConfig.Builder

getNetworkConfigOrBuilder()

public NetworkConfigOrBuilder getNetworkConfigOrBuilder()

Required. Network configuration of the private cloud.

.google.cloud.vmwareengine.v1.NetworkConfig network_config = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NetworkConfigOrBuilder

getNsx()

public Nsx getNsx()

Output only. NSX appliance.

.google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Nsx

The nsx.

getNsxBuilder()

public Nsx.Builder getNsxBuilder()

Output only. NSX appliance.

.google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Nsx.Builder

getNsxOrBuilder()

public NsxOrBuilder getNsxOrBuilder()

Output only. NSX appliance.

.google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NsxOrBuilder

getState()

public PrivateCloud.State getState()

Output only. State of the resource. New values may be added to this enum when appropriate.

.google.cloud.vmwareengine.v1.PrivateCloud.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateCloud.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the resource. New values may be added to this enum when appropriate.

.google.cloud.vmwareengine.v1.PrivateCloud.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public PrivateCloud.Type getType()

Optional. Type of the private cloud. Defaults to STANDARD.

.google.cloud.vmwareengine.v1.PrivateCloud.Type type = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateCloud.Type

The type.

getTypeValue()

public int getTypeValue()

Optional. Type of the private cloud. Defaults to STANDARD.

.google.cloud.vmwareengine.v1.PrivateCloud.Type type = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUid()

public String getUid()

Output only. System-generated unique identifier for the resource.

string uid = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. System-generated unique identifier for the resource.

string uid = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVcenter()

public Vcenter getVcenter()

Output only. Vcenter appliance.

.google.cloud.vmwareengine.v1.Vcenter vcenter = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Vcenter

The vcenter.

getVcenterBuilder()

public Vcenter.Builder getVcenterBuilder()

Output only. Vcenter appliance.

.google.cloud.vmwareengine.v1.Vcenter vcenter = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Vcenter.Builder

getVcenterOrBuilder()

public VcenterOrBuilder getVcenterOrBuilder()

Output only. Vcenter appliance.

.google.cloud.vmwareengine.v1.Vcenter vcenter = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VcenterOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Creation time of this resource.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasDeleteTime()

public boolean hasDeleteTime()

Output only. Time when the resource was scheduled for deletion.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deleteTime field is set.

hasExpireTime()

public boolean hasExpireTime()

Output only. Time when the resource will be irreversibly deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.

hasHcx()

public boolean hasHcx()

Output only. HCX appliance.

.google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the hcx field is set.

hasManagementCluster()

public boolean hasManagementCluster()

Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster.

The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the managementCluster field is set.

hasNetworkConfig()

public boolean hasNetworkConfig()

Required. Network configuration of the private cloud.

.google.cloud.vmwareengine.v1.NetworkConfig network_config = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the networkConfig field is set.

hasNsx()

public boolean hasNsx()

Output only. NSX appliance.

.google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the nsx field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasVcenter()

public boolean hasVcenter()

Output only. Vcenter appliance.

.google.cloud.vmwareengine.v1.Vcenter vcenter = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the vcenter field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public PrivateCloud.Builder mergeCreateTime(Timestamp value)

Output only. Creation time of this resource.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateCloud.Builder

mergeDeleteTime(Timestamp value)

public PrivateCloud.Builder mergeDeleteTime(Timestamp value)

Output only. Time when the resource was scheduled for deletion.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateCloud.Builder

mergeExpireTime(Timestamp value)

public PrivateCloud.Builder mergeExpireTime(Timestamp value)

Output only. Time when the resource will be irreversibly deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateCloud.Builder

mergeFrom(PrivateCloud other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeHcx(Hcx value)

public PrivateCloud.Builder mergeHcx(Hcx value)

Output only. HCX appliance.

.google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Hcx
Returns
Type Description
PrivateCloud.Builder

mergeManagementCluster(PrivateCloud.ManagementCluster value)

public PrivateCloud.Builder mergeManagementCluster(PrivateCloud.ManagementCluster value)

Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster.

The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PrivateCloud.ManagementCluster
Returns
Type Description
PrivateCloud.Builder

mergeNetworkConfig(NetworkConfig value)

public PrivateCloud.Builder mergeNetworkConfig(NetworkConfig value)

Required. Network configuration of the private cloud.

.google.cloud.vmwareengine.v1.NetworkConfig network_config = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NetworkConfig
Returns
Type Description
PrivateCloud.Builder

mergeNsx(Nsx value)

public PrivateCloud.Builder mergeNsx(Nsx value)

Output only. NSX appliance.

.google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Nsx
Returns
Type Description
PrivateCloud.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public PrivateCloud.Builder mergeUpdateTime(Timestamp value)

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateCloud.Builder

mergeVcenter(Vcenter value)

public PrivateCloud.Builder mergeVcenter(Vcenter value)

Output only. Vcenter appliance.

.google.cloud.vmwareengine.v1.Vcenter vcenter = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Vcenter
Returns
Type Description
PrivateCloud.Builder

setCreateTime(Timestamp value)

public PrivateCloud.Builder setCreateTime(Timestamp value)

Output only. Creation time of this resource.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateCloud.Builder

setCreateTime(Timestamp.Builder builderForValue)

public PrivateCloud.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Creation time of this resource.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PrivateCloud.Builder

setDeleteTime(Timestamp value)

public PrivateCloud.Builder setDeleteTime(Timestamp value)

Output only. Time when the resource was scheduled for deletion.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateCloud.Builder

setDeleteTime(Timestamp.Builder builderForValue)

public PrivateCloud.Builder setDeleteTime(Timestamp.Builder builderForValue)

Output only. Time when the resource was scheduled for deletion.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PrivateCloud.Builder

setDescription(String value)

public PrivateCloud.Builder setDescription(String value)

User-provided description for this private cloud.

string description = 11;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public PrivateCloud.Builder setDescriptionBytes(ByteString value)

User-provided description for this private cloud.

string description = 11;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

setExpireTime(Timestamp value)

public PrivateCloud.Builder setExpireTime(Timestamp value)

Output only. Time when the resource will be irreversibly deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateCloud.Builder

setExpireTime(Timestamp.Builder builderForValue)

public PrivateCloud.Builder setExpireTime(Timestamp.Builder builderForValue)

Output only. Time when the resource will be irreversibly deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PrivateCloud.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHcx(Hcx value)

public PrivateCloud.Builder setHcx(Hcx value)

Output only. HCX appliance.

.google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Hcx
Returns
Type Description
PrivateCloud.Builder

setHcx(Hcx.Builder builderForValue)

public PrivateCloud.Builder setHcx(Hcx.Builder builderForValue)

Output only. HCX appliance.

.google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Hcx.Builder
Returns
Type Description
PrivateCloud.Builder

setManagementCluster(PrivateCloud.ManagementCluster value)

public PrivateCloud.Builder setManagementCluster(PrivateCloud.ManagementCluster value)

Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster.

The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PrivateCloud.ManagementCluster
Returns
Type Description
PrivateCloud.Builder

setManagementCluster(PrivateCloud.ManagementCluster.Builder builderForValue)

public PrivateCloud.Builder setManagementCluster(PrivateCloud.ManagementCluster.Builder builderForValue)

Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster.

The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PrivateCloud.ManagementCluster.Builder
Returns
Type Description
PrivateCloud.Builder

setName(String value)

public PrivateCloud.Builder setName(String value)

Output only. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PrivateCloud.Builder setNameBytes(ByteString value)

Output only. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

setNetworkConfig(NetworkConfig value)

public PrivateCloud.Builder setNetworkConfig(NetworkConfig value)

Required. Network configuration of the private cloud.

.google.cloud.vmwareengine.v1.NetworkConfig network_config = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NetworkConfig
Returns
Type Description
PrivateCloud.Builder

setNetworkConfig(NetworkConfig.Builder builderForValue)

public PrivateCloud.Builder setNetworkConfig(NetworkConfig.Builder builderForValue)

Required. Network configuration of the private cloud.

.google.cloud.vmwareengine.v1.NetworkConfig network_config = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NetworkConfig.Builder
Returns
Type Description
PrivateCloud.Builder

setNsx(Nsx value)

public PrivateCloud.Builder setNsx(Nsx value)

Output only. NSX appliance.

.google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Nsx
Returns
Type Description
PrivateCloud.Builder

setNsx(Nsx.Builder builderForValue)

public PrivateCloud.Builder setNsx(Nsx.Builder builderForValue)

Output only. NSX appliance.

.google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Nsx.Builder
Returns
Type Description
PrivateCloud.Builder

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

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

setState(PrivateCloud.State value)

public PrivateCloud.Builder setState(PrivateCloud.State value)

Output only. State of the resource. New values may be added to this enum when appropriate.

.google.cloud.vmwareengine.v1.PrivateCloud.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PrivateCloud.State

The state to set.

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

setStateValue(int value)

public PrivateCloud.Builder setStateValue(int value)

Output only. State of the resource. New values may be added to this enum when appropriate.

.google.cloud.vmwareengine.v1.PrivateCloud.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

setType(PrivateCloud.Type value)

public PrivateCloud.Builder setType(PrivateCloud.Type value)

Optional. Type of the private cloud. Defaults to STANDARD.

.google.cloud.vmwareengine.v1.PrivateCloud.Type type = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PrivateCloud.Type

The type to set.

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

setTypeValue(int value)

public PrivateCloud.Builder setTypeValue(int value)

Optional. Type of the private cloud. Defaults to STANDARD.

.google.cloud.vmwareengine.v1.PrivateCloud.Type type = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

setUid(String value)

public PrivateCloud.Builder setUid(String value)

Output only. System-generated unique identifier for the resource.

string uid = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

setUidBytes(ByteString value)

public PrivateCloud.Builder setUidBytes(ByteString value)

Output only. System-generated unique identifier for the resource.

string uid = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
PrivateCloud.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public PrivateCloud.Builder setUpdateTime(Timestamp value)

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateCloud.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public PrivateCloud.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PrivateCloud.Builder

setVcenter(Vcenter value)

public PrivateCloud.Builder setVcenter(Vcenter value)

Output only. Vcenter appliance.

.google.cloud.vmwareengine.v1.Vcenter vcenter = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Vcenter
Returns
Type Description
PrivateCloud.Builder

setVcenter(Vcenter.Builder builderForValue)

public PrivateCloud.Builder setVcenter(Vcenter.Builder builderForValue)

Output only. Vcenter appliance.

.google.cloud.vmwareengine.v1.Vcenter vcenter = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Vcenter.Builder
Returns
Type Description
PrivateCloud.Builder