Class PrivateCloud.ManagementCluster

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster
All Implemented Interfaces:
PrivateCloud.ManagementClusterOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
PrivateCloud

public static final class PrivateCloud.ManagementCluster extends com.google.protobuf.GeneratedMessage implements PrivateCloud.ManagementClusterOrBuilder
 Management cluster configuration.
 
Protobuf type google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster
See Also:
  • Field Details

    • CLUSTER_ID_FIELD_NUMBER

      public static final int CLUSTER_ID_FIELD_NUMBER
      See Also:
    • NODE_TYPE_CONFIGS_FIELD_NUMBER

      public static final int NODE_TYPE_CONFIGS_FIELD_NUMBER
      See Also:
    • STRETCHED_CLUSTER_CONFIG_FIELD_NUMBER

      public static final int STRETCHED_CLUSTER_CONFIG_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getClusterId

      public String getClusterId()
       Required. The user-provided identifier of the new `Cluster`.
       The identifier must meet the following requirements:
      
       * Only contains 1-63 alphanumeric characters and hyphens
       * Begins with an alphabetical character
       * Ends with a non-hyphen character
       * Not formatted as a UUID
       * Complies with [RFC
       1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
       
      string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getClusterId in interface PrivateCloud.ManagementClusterOrBuilder
      Returns:
      The clusterId.
    • getClusterIdBytes

      public com.google.protobuf.ByteString getClusterIdBytes()
       Required. The user-provided identifier of the new `Cluster`.
       The identifier must meet the following requirements:
      
       * Only contains 1-63 alphanumeric characters and hyphens
       * Begins with an alphabetical character
       * Ends with a non-hyphen character
       * Not formatted as a UUID
       * Complies with [RFC
       1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
       
      string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getClusterIdBytes in interface PrivateCloud.ManagementClusterOrBuilder
      Returns:
      The bytes for clusterId.
    • getNodeTypeConfigsCount

      public int getNodeTypeConfigsCount()
      Description copied from interface: PrivateCloud.ManagementClusterOrBuilder
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeTypeConfigsCount in interface PrivateCloud.ManagementClusterOrBuilder
    • containsNodeTypeConfigs

      public boolean containsNodeTypeConfigs(String key)
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      containsNodeTypeConfigs in interface PrivateCloud.ManagementClusterOrBuilder
    • getNodeTypeConfigs

      @Deprecated public Map<String,NodeTypeConfig> getNodeTypeConfigs()
      Deprecated.
      Specified by:
      getNodeTypeConfigs in interface PrivateCloud.ManagementClusterOrBuilder
    • getNodeTypeConfigsMap

      public Map<String,NodeTypeConfig> getNodeTypeConfigsMap()
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeTypeConfigsMap in interface PrivateCloud.ManagementClusterOrBuilder
    • getNodeTypeConfigsOrDefault

      public NodeTypeConfig getNodeTypeConfigsOrDefault(String key, NodeTypeConfig defaultValue)
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeTypeConfigsOrDefault in interface PrivateCloud.ManagementClusterOrBuilder
    • getNodeTypeConfigsOrThrow

      public NodeTypeConfig getNodeTypeConfigsOrThrow(String key)
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeTypeConfigsOrThrow in interface PrivateCloud.ManagementClusterOrBuilder
    • hasStretchedClusterConfig

      public boolean hasStretchedClusterConfig()
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasStretchedClusterConfig in interface PrivateCloud.ManagementClusterOrBuilder
      Returns:
      Whether the stretchedClusterConfig field is set.
    • getStretchedClusterConfig

      public StretchedClusterConfig getStretchedClusterConfig()
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStretchedClusterConfig in interface PrivateCloud.ManagementClusterOrBuilder
      Returns:
      The stretchedClusterConfig.
    • getStretchedClusterConfigOrBuilder

      public StretchedClusterConfigOrBuilder getStretchedClusterConfigOrBuilder()
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStretchedClusterConfigOrBuilder in interface PrivateCloud.ManagementClusterOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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.ManagementCluster parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static PrivateCloud.ManagementCluster 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.ManagementCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static PrivateCloud.ManagementCluster parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PrivateCloud.ManagementCluster parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PrivateCloud.ManagementCluster parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PrivateCloud.ManagementCluster parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PrivateCloud.ManagementCluster parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static PrivateCloud.ManagementCluster.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PrivateCloud.ManagementCluster.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PrivateCloud.ManagementCluster getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<PrivateCloud.ManagementCluster> 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.GeneratedMessage
    • getDefaultInstanceForType

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