Class PrivateCloud

  • All Implemented Interfaces:
    PrivateCloudOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class PrivateCloud
    extends com.google.protobuf.GeneratedMessageV3
    implements PrivateCloudOrBuilder
     Represents a private cloud resource. Private clouds are zonal resources.
     
    Protobuf type google.cloud.vmwareengine.v1.PrivateCloud
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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];
        Specified by:
        getName in interface PrivateCloudOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.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];
        Specified by:
        getNameBytes in interface PrivateCloudOrBuilder
        Returns:
        The bytes for name.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Creation time of this resource.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface PrivateCloudOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Creation time of this resource.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface PrivateCloudOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Creation time of this resource.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface PrivateCloudOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Last update time of this resource.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface PrivateCloudOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Last update time of this resource.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface PrivateCloudOrBuilder
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Last update time of this resource.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface PrivateCloudOrBuilder
      • 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];
        Specified by:
        hasDeleteTime in interface PrivateCloudOrBuilder
        Returns:
        Whether the deleteTime field is set.
      • getDeleteTime

        public com.google.protobuf.Timestamp getDeleteTime()
         Output only. Time when the resource was scheduled for deletion.
         
        .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTime in interface PrivateCloudOrBuilder
        Returns:
        The deleteTime.
      • getDeleteTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
         Output only. Time when the resource was scheduled for deletion.
         
        .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTimeOrBuilder in interface PrivateCloudOrBuilder
      • 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];
        Specified by:
        hasExpireTime in interface PrivateCloudOrBuilder
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        public com.google.protobuf.Timestamp getExpireTime()
         Output only. Time when the resource will be irreversibly deleted.
         
        .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTime in interface PrivateCloudOrBuilder
        Returns:
        The expireTime.
      • getExpireTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         Output only. Time when the resource will be irreversibly deleted.
         
        .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTimeOrBuilder in interface PrivateCloudOrBuilder
      • 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];
        Specified by:
        getStateValue in interface PrivateCloudOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • 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];
        Specified by:
        getState in interface PrivateCloudOrBuilder
        Returns:
        The state.
      • hasNetworkConfig

        public boolean hasNetworkConfig()
         Required. Network configuration of the private cloud.
         
        .google.cloud.vmwareengine.v1.NetworkConfig network_config = 9 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasNetworkConfig in interface PrivateCloudOrBuilder
        Returns:
        Whether the networkConfig field is set.
      • getNetworkConfig

        public NetworkConfig getNetworkConfig()
         Required. Network configuration of the private cloud.
         
        .google.cloud.vmwareengine.v1.NetworkConfig network_config = 9 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNetworkConfig in interface PrivateCloudOrBuilder
        Returns:
        The networkConfig.
      • 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];
        Specified by:
        hasManagementCluster in interface PrivateCloudOrBuilder
        Returns:
        Whether the managementCluster field is set.
      • 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];
        Specified by:
        getManagementCluster in interface PrivateCloudOrBuilder
        Returns:
        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];
        Specified by:
        getManagementClusterOrBuilder in interface PrivateCloudOrBuilder
      • getDescription

        public String getDescription()
         User-provided description for this private cloud.
         
        string description = 11;
        Specified by:
        getDescription in interface PrivateCloudOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         User-provided description for this private cloud.
         
        string description = 11;
        Specified by:
        getDescriptionBytes in interface PrivateCloudOrBuilder
        Returns:
        The bytes for description.
      • hasHcx

        public boolean hasHcx()
         Output only. HCX appliance.
         
        .google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasHcx in interface PrivateCloudOrBuilder
        Returns:
        Whether the hcx field is set.
      • getHcx

        public Hcx getHcx()
         Output only. HCX appliance.
         
        .google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHcx in interface PrivateCloudOrBuilder
        Returns:
        The hcx.
      • getHcxOrBuilder

        public HcxOrBuilder getHcxOrBuilder()
         Output only. HCX appliance.
         
        .google.cloud.vmwareengine.v1.Hcx hcx = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHcxOrBuilder in interface PrivateCloudOrBuilder
      • hasNsx

        public boolean hasNsx()
         Output only. NSX appliance.
         
        .google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasNsx in interface PrivateCloudOrBuilder
        Returns:
        Whether the nsx field is set.
      • getNsx

        public Nsx getNsx()
         Output only. NSX appliance.
         
        .google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNsx in interface PrivateCloudOrBuilder
        Returns:
        The nsx.
      • getNsxOrBuilder

        public NsxOrBuilder getNsxOrBuilder()
         Output only. NSX appliance.
         
        .google.cloud.vmwareengine.v1.Nsx nsx = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNsxOrBuilder in interface PrivateCloudOrBuilder
      • hasVcenter

        public boolean hasVcenter()
         Output only. Vcenter appliance.
         
        .google.cloud.vmwareengine.v1.Vcenter vcenter = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasVcenter in interface PrivateCloudOrBuilder
        Returns:
        Whether the vcenter field is set.
      • getVcenter

        public Vcenter getVcenter()
         Output only. Vcenter appliance.
         
        .google.cloud.vmwareengine.v1.Vcenter vcenter = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVcenter in interface PrivateCloudOrBuilder
        Returns:
        The vcenter.
      • getUid

        public String getUid()
         Output only. System-generated unique identifier for the resource.
         
        string uid = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUid in interface PrivateCloudOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         Output only. System-generated unique identifier for the resource.
         
        string uid = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface PrivateCloudOrBuilder
        Returns:
        The bytes for uid.
      • 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];
        Specified by:
        getTypeValue in interface PrivateCloudOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • 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];
        Specified by:
        getType in interface PrivateCloudOrBuilder
        Returns:
        The type.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static PrivateCloud parseFrom​(ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivateCloud parseFrom​(ByteBuffer data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivateCloud parseFrom​(com.google.protobuf.ByteString data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivateCloud parseFrom​(com.google.protobuf.ByteString data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivateCloud parseFrom​(byte[] data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivateCloud parseFrom​(byte[] data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PrivateCloud parseFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Throws:
        IOException
      • newBuilderForType

        public PrivateCloud.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public PrivateCloud.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected PrivateCloud.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static PrivateCloud getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<PrivateCloud> parser()
      • getParserForType

        public com.google.protobuf.Parser<PrivateCloud> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public PrivateCloud getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder