public static final class PrivateCloud.ManagementCluster extends GeneratedMessageV3 implements PrivateCloud.ManagementClusterOrBuilder
Management cluster configuration.
Protobuf type google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PrivateCloud.ManagementCluster.Builder newBuilder()
newBuilder(PrivateCloud.ManagementCluster prototype)
public static PrivateCloud.ManagementCluster.Builder newBuilder(PrivateCloud.ManagementCluster prototype)
public static PrivateCloud.ManagementCluster parseDelimitedFrom(InputStream input)
public static PrivateCloud.ManagementCluster parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PrivateCloud.ManagementCluster parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivateCloud.ManagementCluster parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PrivateCloud.ManagementCluster parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivateCloud.ManagementCluster parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivateCloud.ManagementCluster parseFrom(CodedInputStream input)
public static PrivateCloud.ManagementCluster parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivateCloud.ManagementCluster parseFrom(InputStream input)
public static PrivateCloud.ManagementCluster parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PrivateCloud.ManagementCluster parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrivateCloud.ManagementCluster parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PrivateCloud.ManagementCluster> parser()
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getNodeTypeConfigs() (deprecated)
public Map<String,NodeTypeConfig> getNodeTypeConfigs()
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];
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];
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
|
getParserForType()
public Parser<PrivateCloud.ManagementCluster> getParserForType()
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];
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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()
Overrides
newBuilderForType()
public PrivateCloud.ManagementCluster.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PrivateCloud.ManagementCluster.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PrivateCloud.ManagementCluster.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides