Package com.google.cloud.vmwareengine.v1
Class PrivateCloud.ManagementCluster.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PrivateCloud.ManagementCluster.Builder>
com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster.Builder
- All Implemented Interfaces:
PrivateCloud.ManagementClusterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PrivateCloud.ManagementCluster
public static final class PrivateCloud.ManagementCluster.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PrivateCloud.ManagementCluster.Builder>
implements PrivateCloud.ManagementClusterOrBuilder
Management cluster configuration.Protobuf type
google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Optional.booleanRequired.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.Deprecated.intRequired.Required.getNodeTypeConfigsOrDefault(String key, NodeTypeConfig defaultValue) Required.Required.Optional.Optional.Optional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.putAllNodeTypeConfigs(Map<String, NodeTypeConfig> values) Required.putNodeTypeConfigs(String key, NodeTypeConfig value) Required.Required.Required.setClusterId(String value) Required.setClusterIdBytes(com.google.protobuf.ByteString value) Required.Optional.setStretchedClusterConfig(StretchedClusterConfig.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<PrivateCloud.ManagementCluster.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<PrivateCloud.ManagementCluster.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PrivateCloud.ManagementCluster.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PrivateCloud.ManagementCluster.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PrivateCloud.ManagementCluster.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivateCloud.ManagementCluster.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PrivateCloud.ManagementCluster.Builder>
-
mergeFrom
public PrivateCloud.ManagementCluster.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivateCloud.ManagementCluster.Builder>- Throws:
IOException
-
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:
getClusterIdin interfacePrivateCloud.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:
getClusterIdBytesin interfacePrivateCloud.ManagementClusterOrBuilder- Returns:
- The bytes for clusterId.
-
setClusterId
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];- Parameters:
value- The clusterId to set.- Returns:
- This builder for chaining.
-
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](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setClusterIdBytes
public PrivateCloud.ManagementCluster.Builder setClusterIdBytes(com.google.protobuf.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](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for clusterId to set.- Returns:
- This builder for chaining.
-
getNodeTypeConfigsCount
public int getNodeTypeConfigsCount()Description copied from interface:PrivateCloud.ManagementClusterOrBuilderRequired. 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:
getNodeTypeConfigsCountin interfacePrivateCloud.ManagementClusterOrBuilder
-
containsNodeTypeConfigs
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:
containsNodeTypeConfigsin interfacePrivateCloud.ManagementClusterOrBuilder
-
getNodeTypeConfigs
Deprecated.UsegetNodeTypeConfigsMap()instead.- Specified by:
getNodeTypeConfigsin interfacePrivateCloud.ManagementClusterOrBuilder
-
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:
getNodeTypeConfigsMapin interfacePrivateCloud.ManagementClusterOrBuilder
-
getNodeTypeConfigsOrDefault
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:
getNodeTypeConfigsOrDefaultin interfacePrivateCloud.ManagementClusterOrBuilder
-
getNodeTypeConfigsOrThrow
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:
getNodeTypeConfigsOrThrowin interfacePrivateCloud.ManagementClusterOrBuilder
-
clearNodeTypeConfigs
-
removeNodeTypeConfigs
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]; -
getMutableNodeTypeConfigs
Deprecated.Use alternate mutation accessors instead. -
putNodeTypeConfigs
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]; -
putAllNodeTypeConfigs
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]; -
putNodeTypeConfigsBuilderIfAbsent
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]; -
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:
hasStretchedClusterConfigin interfacePrivateCloud.ManagementClusterOrBuilder- Returns:
- Whether the stretchedClusterConfig field is set.
-
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:
getStretchedClusterConfigin interfacePrivateCloud.ManagementClusterOrBuilder- Returns:
- The stretchedClusterConfig.
-
setStretchedClusterConfig
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
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]; -
mergeStretchedClusterConfig
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]; -
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]; -
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
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:
getStretchedClusterConfigOrBuilderin interfacePrivateCloud.ManagementClusterOrBuilder
-