- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class NodePool.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodePool.BuilderImplements
NodePoolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NodePool.Builder |
build()
public NodePool build()
Type | Description |
NodePool |
buildPartial()
public NodePool buildPartial()
Type | Description |
NodePool |
clear()
public NodePool.Builder clear()
Type | Description |
NodePool.Builder |
clearCreateTime()
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];
Type | Description |
NodePool.Builder |
clearField(Descriptors.FieldDescriptor field)
public NodePool.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NodePool.Builder |
clearLabels()
public NodePool.Builder clearLabels()
Type | Description |
NodePool.Builder |
clearLocalDiskEncryption()
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];
Type | Description |
NodePool.Builder |
clearMachineFilter()
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.
string machine_filter = 7;
Type | Description |
NodePool.Builder | This builder for chaining. |
clearName()
public NodePool.Builder clearName()
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
NodePool.Builder | This builder for chaining. |
clearNodeCount()
public NodePool.Builder clearNodeCount()
Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
NodePool.Builder | This builder for chaining. |
clearNodeLocation()
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;
Type | Description |
NodePool.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NodePool.Builder |
clearUpdateTime()
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];
Type | Description |
NodePool.Builder |
clone()
public NodePool.Builder clone()
Type | Description |
NodePool.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public 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];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public NodePool getDefaultInstanceForType()
Type | Description |
NodePool |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels associated with this resource.
map<string, string> labels = 4;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
String |
getLocalDiskEncryption()
public 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];
Type | Description |
NodePool.LocalDiskEncryption | The localDiskEncryption. |
getLocalDiskEncryptionBuilder()
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];
Type | Description |
NodePool.LocalDiskEncryption.Builder |
getLocalDiskEncryptionOrBuilder()
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];
Type | Description |
NodePool.LocalDiskEncryptionOrBuilder |
getMachineFilter()
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.
string machine_filter = 7;
Type | Description |
String | The machineFilter. |
getMachineFilterBytes()
public 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.
string machine_filter = 7;
Type | Description |
ByteString | The bytes for machineFilter. |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
getNodeCount()
public int getNodeCount()
Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The nodeCount. |
getNodeLocation()
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;
Type | Description |
String | The nodeLocation. |
getNodeLocationBytes()
public 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;
Type | Description |
ByteString | The bytes for nodeLocation. |
getUpdateTime()
public 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];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public 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];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
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];
Type | Description |
boolean | Whether the createTime field is set. |
hasLocalDiskEncryption()
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];
Type | Description |
boolean | Whether the localDiskEncryption field is set. |
hasUpdateTime()
public 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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public NodePool.Builder mergeCreateTime(Timestamp value)
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
NodePool.Builder |
mergeFrom(NodePool other)
public NodePool.Builder mergeFrom(NodePool other)
Name | Description |
other | NodePool |
Type | Description |
NodePool.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NodePool.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NodePool.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NodePool.Builder |
mergeLocalDiskEncryption(NodePool.LocalDiskEncryption value)
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];
Name | Description |
value | NodePool.LocalDiskEncryption |
Type | Description |
NodePool.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NodePool.Builder |
mergeUpdateTime(Timestamp value)
public NodePool.Builder mergeUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
NodePool.Builder |
putAllLabels(Map<String,String> values)
public NodePool.Builder putAllLabels(Map<String,String> values)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
values | Map<String,String> |
Type | Description |
NodePool.Builder |
putLabels(String key, String value)
public NodePool.Builder putLabels(String key, String value)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
key | String |
value | String |
Type | Description |
NodePool.Builder |
removeLabels(String key)
public NodePool.Builder removeLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
NodePool.Builder |
setCreateTime(Timestamp value)
public NodePool.Builder setCreateTime(Timestamp value)
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
NodePool.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public NodePool.Builder setCreateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
NodePool.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NodePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NodePool.Builder |
setLocalDiskEncryption(NodePool.LocalDiskEncryption value)
public 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];
Name | Description |
value | NodePool.LocalDiskEncryption |
Type | Description |
NodePool.Builder |
setLocalDiskEncryption(NodePool.LocalDiskEncryption.Builder builderForValue)
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];
Name | Description |
builderForValue | NodePool.LocalDiskEncryption.Builder |
Type | Description |
NodePool.Builder |
setMachineFilter(String value)
public 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.
string machine_filter = 7;
Name | Description |
value | String The machineFilter to set. |
Type | Description |
NodePool.Builder | This builder for chaining. |
setMachineFilterBytes(ByteString value)
public NodePool.Builder setMachineFilterBytes(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.
string machine_filter = 7;
Name | Description |
value | ByteString The bytes for machineFilter to set. |
Type | Description |
NodePool.Builder | This builder for chaining. |
setName(String value)
public 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) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
NodePool.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public NodePool.Builder setNameBytes(ByteString value)
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
NodePool.Builder | This builder for chaining. |
setNodeCount(int value)
public NodePool.Builder setNodeCount(int value)
Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The nodeCount to set. |
Type | Description |
NodePool.Builder | This builder for chaining. |
setNodeLocation(String value)
public 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;
Name | Description |
value | String The nodeLocation to set. |
Type | Description |
NodePool.Builder | This builder for chaining. |
setNodeLocationBytes(ByteString value)
public NodePool.Builder setNodeLocationBytes(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;
Name | Description |
value | ByteString The bytes for nodeLocation to set. |
Type | Description |
NodePool.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodePool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NodePool.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NodePool.Builder |
setUpdateTime(Timestamp value)
public NodePool.Builder setUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
NodePool.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public NodePool.Builder setUpdateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
NodePool.Builder |