Interface ClusterOrBuilder (0.31.0)

public interface ClusterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsNodeTypeConfigs(String key)

public abstract 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 = 16 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public abstract 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.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation time of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getManagement()

public abstract boolean getManagement()

Output only. True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.

bool management = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The management.

getName()

public abstract String getName()

Output only. The resource name of this cluster. 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/clusters/my-cluster

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name of this cluster. 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/clusters/my-cluster

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getNodeTypeConfigs() (deprecated)

public abstract Map<String,NodeTypeConfig> getNodeTypeConfigs()
Returns
TypeDescription
Map<String,NodeTypeConfig>

getNodeTypeConfigsCount()

public abstract 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 = 16 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getNodeTypeConfigsMap()

public abstract 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 = 16 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Map<String,NodeTypeConfig>

getNodeTypeConfigsOrDefault(String key, NodeTypeConfig defaultValue)

public abstract 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 = 16 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
keyString
defaultValueNodeTypeConfig
Returns
TypeDescription
NodeTypeConfig

getNodeTypeConfigsOrThrow(String key)

public abstract 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 = 16 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
keyString
Returns
TypeDescription
NodeTypeConfig

getState()

public abstract Cluster.State getState()

Output only. State of the resource.

.google.cloud.vmwareengine.v1.Cluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Cluster.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the resource.

.google.cloud.vmwareengine.v1.Cluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getStretchedClusterConfig()

public abstract StretchedClusterConfig getStretchedClusterConfig()

Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.

.google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
StretchedClusterConfig

The stretchedClusterConfig.

getStretchedClusterConfigOrBuilder()

public abstract StretchedClusterConfigOrBuilder getStretchedClusterConfigOrBuilder()

Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.

.google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
StretchedClusterConfigOrBuilder

getUid()

public abstract String getUid()

Output only. System-generated unique identifier for the resource.

string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uid.

getUidBytes()

public abstract ByteString getUidBytes()

Output only. System-generated unique identifier for the resource.

string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uid.

getUpdateTime()

public abstract 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.

getUpdateTimeOrBuilder()

public abstract 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

hasCreateTime()

public abstract 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.

hasStretchedClusterConfig()

public abstract boolean hasStretchedClusterConfig()

Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.

.google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the stretchedClusterConfig field is set.

hasUpdateTime()

public abstract 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.