public static final class NodePool.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder> implements NodePoolOrBuilder
A set of Kubernetes nodes in a cluster with common configuration and specification.Protobuf type
google.cloud.edgecontainer.v1.NodePool| Modifier and Type | Method and Description |
|---|---|
NodePool.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NodePool |
build() |
NodePool |
buildPartial() |
NodePool.Builder |
clear() |
NodePool.Builder |
clearCreateTime()
Output only.
|
NodePool.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NodePool.Builder |
clearLabels() |
NodePool.Builder |
clearLocalDiskEncryption()
Optional.
|
NodePool.Builder |
clearMachineFilter()
Only machines matching this filter will be allowed to join the node pool.
|
NodePool.Builder |
clearName()
Required.
|
NodePool.Builder |
clearNodeCount()
Required.
|
NodePool.Builder |
clearNodeLocation()
Name of the Google Distributed Cloud Edge zone where this node pool will be
created.
|
NodePool.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NodePool.Builder |
clearUpdateTime()
Output only.
|
NodePool.Builder |
clone() |
boolean |
containsLabels(String key)
Labels associated with this resource.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
NodePool |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this resource.
|
Map<String,String> |
getLabelsMap()
Labels associated with this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this resource.
|
String |
getLabelsOrThrow(String key)
Labels associated with this resource.
|
NodePool.LocalDiskEncryption |
getLocalDiskEncryption()
Optional.
|
NodePool.LocalDiskEncryption.Builder |
getLocalDiskEncryptionBuilder()
Optional.
|
NodePool.LocalDiskEncryptionOrBuilder |
getLocalDiskEncryptionOrBuilder()
Optional.
|
String |
getMachineFilter()
Only machines matching this filter will be allowed to join the node pool.
|
com.google.protobuf.ByteString |
getMachineFilterBytes()
Only machines matching this filter will be allowed to join the node pool.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
int |
getNodeCount()
Required.
|
String |
getNodeLocation()
Name of the Google Distributed Cloud Edge zone where this node pool will be
created.
|
com.google.protobuf.ByteString |
getNodeLocationBytes()
Name of the Google Distributed Cloud Edge zone where this node pool will be
created.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasLocalDiskEncryption()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
NodePool.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
NodePool.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodePool.Builder |
mergeFrom(com.google.protobuf.Message other) |
NodePool.Builder |
mergeFrom(NodePool other) |
NodePool.Builder |
mergeLocalDiskEncryption(NodePool.LocalDiskEncryption value)
Optional.
|
NodePool.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NodePool.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
NodePool.Builder |
putAllLabels(Map<String,String> values)
Labels associated with this resource.
|
NodePool.Builder |
putLabels(String key,
String value)
Labels associated with this resource.
|
NodePool.Builder |
removeLabels(String key)
Labels associated with this resource.
|
NodePool.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
NodePool.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
NodePool.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NodePool.Builder |
setLocalDiskEncryption(NodePool.LocalDiskEncryption.Builder builderForValue)
Optional.
|
NodePool.Builder |
setLocalDiskEncryption(NodePool.LocalDiskEncryption value)
Optional.
|
NodePool.Builder |
setMachineFilter(String value)
Only machines matching this filter will be allowed to join the node pool.
|
NodePool.Builder |
setMachineFilterBytes(com.google.protobuf.ByteString value)
Only machines matching this filter will be allowed to join the node pool.
|
NodePool.Builder |
setName(String value)
Required.
|
NodePool.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
NodePool.Builder |
setNodeCount(int value)
Required.
|
NodePool.Builder |
setNodeLocation(String value)
Name of the Google Distributed Cloud Edge zone where this node pool will be
created.
|
NodePool.Builder |
setNodeLocationBytes(com.google.protobuf.ByteString value)
Name of the Google Distributed Cloud Edge zone where this node pool will be
created.
|
NodePool.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NodePool.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NodePool.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
NodePool.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public NodePool.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public NodePool getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NodePool build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NodePool buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NodePool.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public NodePool.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public NodePool.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public NodePool.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public NodePool.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public NodePool.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public NodePool.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodePool.Builder>public NodePool.Builder mergeFrom(NodePool other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public NodePool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodePool.Builder>IOExceptionpublic String getName()
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface NodePoolOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface NodePoolOrBuilderpublic NodePool.Builder setName(String value)
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public NodePool.Builder clearName()
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public NodePool.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public boolean hasCreateTime()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface NodePoolOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface NodePoolOrBuilderpublic NodePool.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodePool.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodePool.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodePool.Builder clearCreateTime()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface NodePoolOrBuilderpublic boolean hasUpdateTime()
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface NodePoolOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface NodePoolOrBuilderpublic NodePool.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodePool.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodePool.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodePool.Builder clearUpdateTime()
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface NodePoolOrBuilderpublic int getLabelsCount()
NodePoolOrBuilderLabels associated with this resource.
map<string, string> labels = 4;getLabelsCount in interface NodePoolOrBuilderpublic boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;containsLabels in interface NodePoolOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface NodePoolOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;getLabelsMap in interface NodePoolOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrDefault in interface NodePoolOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrThrow in interface NodePoolOrBuilderpublic NodePool.Builder clearLabels()
public NodePool.Builder removeLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;@Deprecated public Map<String,String> getMutableLabels()
public NodePool.Builder putLabels(String key, String value)
Labels associated with this resource.
map<string, string> labels = 4;public NodePool.Builder putAllLabels(Map<String,String> values)
Labels associated with this resource.
map<string, string> labels = 4;public String getNodeLocation()
Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.
string node_location = 8;getNodeLocation in interface NodePoolOrBuilderpublic com.google.protobuf.ByteString getNodeLocationBytes()
Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.
string node_location = 8;getNodeLocationBytes in interface NodePoolOrBuilderpublic NodePool.Builder setNodeLocation(String value)
Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.
string node_location = 8;value - The nodeLocation to set.public NodePool.Builder clearNodeLocation()
Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.
string node_location = 8;public NodePool.Builder setNodeLocationBytes(com.google.protobuf.ByteString value)
Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.
string node_location = 8;value - The bytes for nodeLocation to set.public int getNodeCount()
Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];getNodeCount in interface NodePoolOrBuilderpublic NodePool.Builder setNodeCount(int value)
Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];value - The nodeCount to set.public NodePool.Builder clearNodeCount()
Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];public String getMachineFilter()
Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
string machine_filter = 7;getMachineFilter in interface NodePoolOrBuilderpublic com.google.protobuf.ByteString getMachineFilterBytes()
Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
string machine_filter = 7;getMachineFilterBytes in interface NodePoolOrBuilderpublic NodePool.Builder setMachineFilter(String value)
Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
string machine_filter = 7;value - The machineFilter to set.public NodePool.Builder clearMachineFilter()
Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
string machine_filter = 7;public NodePool.Builder setMachineFilterBytes(com.google.protobuf.ByteString value)
Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
string machine_filter = 7;value - The bytes for machineFilter to set.public boolean hasLocalDiskEncryption()
Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL];
hasLocalDiskEncryption in interface NodePoolOrBuilderpublic NodePool.LocalDiskEncryption getLocalDiskEncryption()
Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL];
getLocalDiskEncryption in interface NodePoolOrBuilderpublic NodePool.Builder setLocalDiskEncryption(NodePool.LocalDiskEncryption value)
Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL];
public NodePool.Builder setLocalDiskEncryption(NodePool.LocalDiskEncryption.Builder builderForValue)
Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL];
public NodePool.Builder mergeLocalDiskEncryption(NodePool.LocalDiskEncryption value)
Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL];
public NodePool.Builder clearLocalDiskEncryption()
Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL];
public NodePool.LocalDiskEncryption.Builder getLocalDiskEncryptionBuilder()
Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL];
public NodePool.LocalDiskEncryptionOrBuilder getLocalDiskEncryptionOrBuilder()
Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL];
getLocalDiskEncryptionOrBuilder in interface NodePoolOrBuilderpublic final NodePool.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>public final NodePool.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>Copyright © 2024 Google LLC. All rights reserved.