Interface NodePoolOrBuilder (0.39.0)

public interface NodePoolOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time when the node pool was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the node pool was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels associated with this resource.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels associated with this resource.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels associated with this resource.

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getLocalDiskEncryption()

public abstract 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];

Returns
Type Description
NodePool.LocalDiskEncryption

The localDiskEncryption.

getLocalDiskEncryptionOrBuilder()

public abstract 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];

Returns
Type Description
NodePool.LocalDiskEncryptionOrBuilder

getMachineFilter()

public abstract 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;

Returns
Type Description
String

The machineFilter.

getMachineFilterBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for machineFilter.

getName()

public abstract String getName()

Required. The resource name of the node pool.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the node pool.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getNodeConfig()

public abstract NodePool.NodeConfig getNodeConfig()

Optional. Configuration for each node in the NodePool

.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodePool.NodeConfig

The nodeConfig.

getNodeConfigOrBuilder()

public abstract NodePool.NodeConfigOrBuilder getNodeConfigOrBuilder()

Optional. Configuration for each node in the NodePool

.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodePool.NodeConfigOrBuilder

getNodeCount()

public abstract int getNodeCount()

Required. The number of nodes in the pool.

int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The nodeCount.

getNodeLocation()

public abstract 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;

Returns
Type Description
String

The nodeLocation.

getNodeLocationBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for nodeLocation.

getNodeVersion()

public abstract String getNodeVersion()

Output only. The lowest release version among all worker nodes.

string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nodeVersion.

getNodeVersionBytes()

public abstract ByteString getNodeVersionBytes()

Output only. The lowest release version among all worker nodes.

string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nodeVersion.

getUpdateTime()

public abstract 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];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time when the node pool was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasLocalDiskEncryption()

public abstract 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];

Returns
Type Description
boolean

Whether the localDiskEncryption field is set.

hasNodeConfig()

public abstract boolean hasNodeConfig()

Optional. Configuration for each node in the NodePool

.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the nodeConfig field is set.

hasUpdateTime()

public abstract 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];

Returns
Type Description
boolean

Whether the updateTime field is set.