Class PrivateCloud.Builder (0.16.0)

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

Represents a private cloud resource. Private clouds are zonal resources.

Protobuf type google.cloud.vmwareengine.v1.PrivateCloud

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivateCloud.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PrivateCloud.Builder
Overrides

build()

public PrivateCloud build()
Returns
TypeDescription
PrivateCloud

buildPartial()

public PrivateCloud buildPartial()
Returns
TypeDescription
PrivateCloud

clear()

public PrivateCloud.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PrivateCloud.Builder

clearDescription()

public PrivateCloud.Builder clearDescription()

User-provided description for this private cloud.

string description = 11;

Returns
TypeDescription
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
TypeDescription
PrivateCloud.Builder

clearField(Descriptors.FieldDescriptor field)

public PrivateCloud.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PrivateCloud.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivateCloud.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PrivateCloud.Builder

clone()

public PrivateCloud.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public PrivateCloud getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDescription()

public String getDescription()

User-provided description for this private cloud.

string description = 11;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User-provided description for this private cloud.

string description = 11;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getHcx()

public Hcx getHcx()

Output only. HCX appliance.

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

Returns
TypeDescription
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
TypeDescription
Hcx.Builder

getHcxOrBuilder()

public HcxOrBuilder getHcxOrBuilder()

Output only. HCX appliance.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
NetworkConfigOrBuilder

getNsx()

public Nsx getNsx()

Output only. NSX appliance.

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

Returns
TypeDescription
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
TypeDescription
Nsx.Builder

getNsxOrBuilder()

public NsxOrBuilder getNsxOrBuilder()

Output only. NSX appliance.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getVcenter()

public Vcenter getVcenter()

Output only. Vcenter appliance.

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

Returns
TypeDescription
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
TypeDescription
Vcenter.Builder

getVcenterOrBuilder()

public VcenterOrBuilder getVcenterOrBuilder()

Output only. Vcenter appliance.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the vcenter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
PrivateCloud.Builder

mergeFrom(PrivateCloud other)

public PrivateCloud.Builder mergeFrom(PrivateCloud other)
Parameter
NameDescription
otherPrivateCloud
Returns
TypeDescription
PrivateCloud.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivateCloud.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateCloud.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PrivateCloud.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueHcx
Returns
TypeDescription
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
NameDescription
valuePrivateCloud.ManagementCluster
Returns
TypeDescription
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
NameDescription
valueNetworkConfig
Returns
TypeDescription
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
NameDescription
valueNsx
Returns
TypeDescription
PrivateCloud.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivateCloud.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueVcenter
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
PrivateCloud.Builder

setDescription(String value)

public PrivateCloud.Builder setDescription(String value)

User-provided description for this private cloud.

string description = 11;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
PrivateCloud.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PrivateCloud.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueHcx
Returns
TypeDescription
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
NameDescription
builderForValueHcx.Builder
Returns
TypeDescription
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
NameDescription
valuePrivateCloud.ManagementCluster
Returns
TypeDescription
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
NameDescription
builderForValuePrivateCloud.ManagementCluster.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueNetworkConfig
Returns
TypeDescription
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
NameDescription
builderForValueNetworkConfig.Builder
Returns
TypeDescription
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
NameDescription
valueNsx
Returns
TypeDescription
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
NameDescription
builderForValueNsx.Builder
Returns
TypeDescription
PrivateCloud.Builder

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

public PrivateCloud.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuePrivateCloud.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valuePrivateCloud.Type

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The uid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
PrivateCloud.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivateCloud.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueVcenter
Returns
TypeDescription
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
NameDescription
builderForValueVcenter.Builder
Returns
TypeDescription
PrivateCloud.Builder