Class NodePool.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
- com.google.cloud.edgecontainer.v1.NodePool.Builder
-
- All Implemented Interfaces:
NodePoolOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- NodePool
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 typegoogle.cloud.edgecontainer.v1.NodePool
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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(NodePool other)
NodePool.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NodePool.Builder
mergeFrom(com.google.protobuf.Message 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 value)
Output only.NodePool.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.NodePool.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NodePool.Builder
setLocalDiskEncryption(NodePool.LocalDiskEncryption value)
Optional.NodePool.Builder
setLocalDiskEncryption(NodePool.LocalDiskEncryption.Builder builderForValue)
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 value)
Output only.NodePool.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
clear
public NodePool.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
getDefaultInstanceForType
public NodePool getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodePool build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodePool buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NodePool.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
setField
public NodePool.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
clearField
public NodePool.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
clearOneof
public NodePool.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
setRepeatedField
public NodePool.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
addRepeatedField
public NodePool.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
mergeFrom
public NodePool.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NodePool.Builder>
-
mergeFrom
public NodePool.Builder mergeFrom(NodePool other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
mergeFrom
public NodePool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NodePool.Builder>
- Throws:
IOException
-
getName
public String getName()
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getName
in interfaceNodePoolOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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) = { ... }
- Specified by:
getNameBytes
in interfaceNodePoolOrBuilder
- Returns:
- The bytes for name.
-
setName
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) = { ... }
- Parameters:
value
- The name to set.- Returns:
- 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) = { ... }
- Returns:
- This builder for chaining.
-
setNameBytes
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) = { ... }
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
hasCreateTime
in interfaceNodePoolOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];
- Specified by:
getCreateTime
in interfaceNodePoolOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public 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];
-
setCreateTime
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];
-
mergeCreateTime
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];
-
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];
-
getCreateTimeBuilder
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];
-
getCreateTimeOrBuilder
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];
- Specified by:
getCreateTimeOrBuilder
in interfaceNodePoolOrBuilder
-
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];
- Specified by:
hasUpdateTime
in interfaceNodePoolOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];
- Specified by:
getUpdateTime
in interfaceNodePoolOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public 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];
-
setUpdateTime
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];
-
mergeUpdateTime
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];
-
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];
-
getUpdateTimeBuilder
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];
-
getUpdateTimeOrBuilder
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];
- Specified by:
getUpdateTimeOrBuilder
in interfaceNodePoolOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:NodePoolOrBuilder
Labels associated with this resource.
map<string, string> labels = 4;
- Specified by:
getLabelsCount
in interfaceNodePoolOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
- Specified by:
containsLabels
in interfaceNodePoolOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceNodePoolOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;
- Specified by:
getLabelsMap
in interfaceNodePoolOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;
- Specified by:
getLabelsOrDefault
in interfaceNodePoolOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;
- Specified by:
getLabelsOrThrow
in interfaceNodePoolOrBuilder
-
clearLabels
public NodePool.Builder clearLabels()
-
removeLabels
public NodePool.Builder removeLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public NodePool.Builder putLabels(String key, String value)
Labels associated with this resource.
map<string, string> labels = 4;
-
putAllLabels
public NodePool.Builder putAllLabels(Map<String,String> values)
Labels associated with this resource.
map<string, string> labels = 4;
-
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;
- Specified by:
getNodeLocation
in interfaceNodePoolOrBuilder
- Returns:
- The nodeLocation.
-
getNodeLocationBytes
public 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;
- Specified by:
getNodeLocationBytes
in interfaceNodePoolOrBuilder
- Returns:
- The bytes for nodeLocation.
-
setNodeLocation
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;
- Parameters:
value
- The nodeLocation to set.- Returns:
- 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;
- Returns:
- This builder for chaining.
-
setNodeLocationBytes
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;
- Parameters:
value
- The bytes for nodeLocation to set.- Returns:
- This builder for chaining.
-
getNodeCount
public int getNodeCount()
Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getNodeCount
in interfaceNodePoolOrBuilder
- Returns:
- The nodeCount.
-
setNodeCount
public NodePool.Builder setNodeCount(int value)
Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The nodeCount to set.- Returns:
- 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];
- Returns:
- This builder for chaining.
-
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](https://google.aip.dev/160).
string machine_filter = 7;
- Specified by:
getMachineFilter
in interfaceNodePoolOrBuilder
- Returns:
- The machineFilter.
-
getMachineFilterBytes
public 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;
- Specified by:
getMachineFilterBytes
in interfaceNodePoolOrBuilder
- Returns:
- The bytes for machineFilter.
-
setMachineFilter
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](https://google.aip.dev/160).
string machine_filter = 7;
- Parameters:
value
- The machineFilter to set.- Returns:
- This builder for chaining.
-
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](https://google.aip.dev/160).
string machine_filter = 7;
- Returns:
- This builder for chaining.
-
setMachineFilterBytes
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;
- Parameters:
value
- The bytes for machineFilter to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
hasLocalDiskEncryption
in interfaceNodePoolOrBuilder
- Returns:
- Whether the localDiskEncryption field is set.
-
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];
- Specified by:
getLocalDiskEncryption
in interfaceNodePoolOrBuilder
- Returns:
- The localDiskEncryption.
-
setLocalDiskEncryption
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];
-
setLocalDiskEncryption
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];
-
mergeLocalDiskEncryption
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];
-
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];
-
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];
-
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];
- Specified by:
getLocalDiskEncryptionOrBuilder
in interfaceNodePoolOrBuilder
-
setUnknownFields
public final NodePool.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
mergeUnknownFields
public final NodePool.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
-