public static final class PrivateCloud.ManagementCluster.Builder extends GeneratedMessageV3.Builder<PrivateCloud.ManagementCluster.Builder> implements PrivateCloud.ManagementClusterOrBuilder
Management cluster configuration.
Protobuf type google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivateCloud.ManagementCluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PrivateCloud.ManagementCluster build()
buildPartial()
public PrivateCloud.ManagementCluster buildPartial()
clear()
public PrivateCloud.ManagementCluster.Builder clear()
Overrides
clearClusterId()
public PrivateCloud.ManagementCluster.Builder clearClusterId()
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];
clearField(Descriptors.FieldDescriptor field)
public PrivateCloud.ManagementCluster.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNodeTypeConfigs()
public PrivateCloud.ManagementCluster.Builder clearNodeTypeConfigs()
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivateCloud.ManagementCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStretchedClusterConfig()
public PrivateCloud.ManagementCluster.Builder clearStretchedClusterConfig()
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];
clone()
public PrivateCloud.ManagementCluster.Builder clone()
Overrides
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableNodeTypeConfigs() (deprecated)
public Map<String,NodeTypeConfig> getMutableNodeTypeConfigs()
Use alternate mutation accessors instead.
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
|
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];
getStretchedClusterConfigBuilder()
public StretchedClusterConfig.Builder getStretchedClusterConfigBuilder()
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.
|
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.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PrivateCloud.ManagementCluster other)
public PrivateCloud.ManagementCluster.Builder mergeFrom(PrivateCloud.ManagementCluster other)
public PrivateCloud.ManagementCluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivateCloud.ManagementCluster.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeStretchedClusterConfig(StretchedClusterConfig value)
public PrivateCloud.ManagementCluster.Builder mergeStretchedClusterConfig(StretchedClusterConfig value)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivateCloud.ManagementCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllNodeTypeConfigs(Map<String,NodeTypeConfig> values)
public PrivateCloud.ManagementCluster.Builder putAllNodeTypeConfigs(Map<String,NodeTypeConfig> values)
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];
putNodeTypeConfigs(String key, NodeTypeConfig value)
public PrivateCloud.ManagementCluster.Builder putNodeTypeConfigs(String key, NodeTypeConfig value)
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];
putNodeTypeConfigsBuilderIfAbsent(String key)
public NodeTypeConfig.Builder putNodeTypeConfigsBuilderIfAbsent(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
|
removeNodeTypeConfigs(String key)
public PrivateCloud.ManagementCluster.Builder removeNodeTypeConfigs(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
|
setClusterId(String value)
public PrivateCloud.ManagementCluster.Builder setClusterId(String value)
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];
Parameter |
---|
Name | Description |
value | String
The clusterId to set.
|
setClusterIdBytes(ByteString value)
public PrivateCloud.ManagementCluster.Builder setClusterIdBytes(ByteString value)
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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for clusterId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PrivateCloud.ManagementCluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivateCloud.ManagementCluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStretchedClusterConfig(StretchedClusterConfig value)
public PrivateCloud.ManagementCluster.Builder setStretchedClusterConfig(StretchedClusterConfig value)
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];
setStretchedClusterConfig(StretchedClusterConfig.Builder builderForValue)
public PrivateCloud.ManagementCluster.Builder setStretchedClusterConfig(StretchedClusterConfig.Builder builderForValue)
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivateCloud.ManagementCluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides