Class PrivateCloud.ManagementCluster (0.48.0)

public static final class PrivateCloud.ManagementCluster extends GeneratedMessageV3 implements PrivateCloud.ManagementClusterOrBuilder

Management cluster configuration.

Protobuf type google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PrivateCloud.ManagementCluster

Static Fields

CLUSTER_ID_FIELD_NUMBER

public static final int CLUSTER_ID_FIELD_NUMBER
Field Value
Type Description
int

NODE_TYPE_CONFIGS_FIELD_NUMBER

public static final int NODE_TYPE_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

STRETCHED_CLUSTER_CONFIG_FIELD_NUMBER

public static final int STRETCHED_CLUSTER_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PrivateCloud.ManagementCluster getDefaultInstance()
Returns
Type Description
PrivateCloud.ManagementCluster

getDescriptor()

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

newBuilder()

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

newBuilder(PrivateCloud.ManagementCluster prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsNodeTypeConfigs(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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 (section 3.5)

string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The clusterId.

getClusterIdBytes()

public 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 (section 3.5)

string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for clusterId.

getDefaultInstanceForType()

public PrivateCloud.ManagementCluster getDefaultInstanceForType()
Returns
Type Description
PrivateCloud.ManagementCluster

getNodeTypeConfigs() (deprecated)

public Map<String,NodeTypeConfig> getNodeTypeConfigs()
Returns
Type Description
Map<String,NodeTypeConfig>

getNodeTypeConfigsCount()

public int getNodeTypeConfigsCount()

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];

Returns
Type Description
int

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];

Returns
Type Description
Map<String,NodeTypeConfig>

getNodeTypeConfigsOrDefault(String key, NodeTypeConfig defaultValue)

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];

Parameters
Name Description
key String
defaultValue NodeTypeConfig
Returns
Type Description
NodeTypeConfig

getNodeTypeConfigsOrThrow(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
NodeTypeConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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];

Returns
Type Description
StretchedClusterConfig

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];

Returns
Type Description
StretchedClusterConfigOrBuilder

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];

Returns
Type Description
boolean

Whether the stretchedClusterConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivateCloud.ManagementCluster.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PrivateCloud.ManagementCluster.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.ManagementCluster.Builder toBuilder()
Returns
Type Description
PrivateCloud.ManagementCluster.Builder

writeTo(CodedOutputStream output)

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