Class PrivateCloud (0.41.0)

public final class PrivateCloud extends GeneratedMessageV3 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 Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DELETE_TIME_FIELD_NUMBER

public static final int DELETE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

EXPIRE_TIME_FIELD_NUMBER

public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
Type Description
int

HCX_FIELD_NUMBER

public static final int HCX_FIELD_NUMBER
Field Value
Type Description
int

MANAGEMENT_CLUSTER_FIELD_NUMBER

public static final int MANAGEMENT_CLUSTER_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_CONFIG_FIELD_NUMBER

public static final int NETWORK_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

NSX_FIELD_NUMBER

public static final int NSX_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

UID_FIELD_NUMBER

public static final int UID_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

VCENTER_FIELD_NUMBER

public static final int VCENTER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PrivateCloud getDefaultInstance()
Returns
Type Description
PrivateCloud

getDescriptor()

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

newBuilder()

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

newBuilder(PrivateCloud prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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.

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.

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.

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.

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.

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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivateCloud.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PrivateCloud.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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