Interface NodeGroupOrBuilder (1.43.0)

public interface NodeGroupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoscalingPolicy()

public abstract NodeGroupAutoscalingPolicy getAutoscalingPolicy()

Specifies how autoscaling should behave.

optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;

Returns
TypeDescription
NodeGroupAutoscalingPolicy

The autoscalingPolicy.

getAutoscalingPolicyOrBuilder()

public abstract NodeGroupAutoscalingPolicyOrBuilder getAutoscalingPolicyOrBuilder()

Specifies how autoscaling should behave.

optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;

Returns
TypeDescription
NodeGroupAutoscalingPolicyOrBuilder

getCreationTimestamp()

public abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
ByteString

The bytes for creationTimestamp.

getDescription()

public abstract String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getFingerprint()

public abstract String getFingerprint()

optional string fingerprint = 234678500;

Returns
TypeDescription
String

The fingerprint.

getFingerprintBytes()

public abstract ByteString getFingerprintBytes()

optional string fingerprint = 234678500;

Returns
TypeDescription
ByteString

The bytes for fingerprint.

getId()

public abstract long getId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
TypeDescription
long

The id.

getKind()

public abstract String getKind()

[Output Only] The type of the resource. Always compute#nodeGroup for node group.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] The type of the resource. Always compute#nodeGroup for node group.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getLocationHint()

public abstract String getLocationHint()

An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.

optional string location_hint = 350519505;

Returns
TypeDescription
String

The locationHint.

getLocationHintBytes()

public abstract ByteString getLocationHintBytes()

An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.

optional string location_hint = 350519505;

Returns
TypeDescription
ByteString

The bytes for locationHint.

getMaintenancePolicy()

public abstract String getMaintenancePolicy()

Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. Check the MaintenancePolicy enum for the list of possible values.

optional string maintenance_policy = 528327646;

Returns
TypeDescription
String

The maintenancePolicy.

getMaintenancePolicyBytes()

public abstract ByteString getMaintenancePolicyBytes()

Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. Check the MaintenancePolicy enum for the list of possible values.

optional string maintenance_policy = 528327646;

Returns
TypeDescription
ByteString

The bytes for maintenancePolicy.

getMaintenanceWindow()

public abstract NodeGroupMaintenanceWindow getMaintenanceWindow()

optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;

Returns
TypeDescription
NodeGroupMaintenanceWindow

The maintenanceWindow.

getMaintenanceWindowOrBuilder()

public abstract NodeGroupMaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder()

optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;

Returns
TypeDescription
NodeGroupMaintenanceWindowOrBuilder

getName()

public abstract String getName()

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getNodeTemplate()

public abstract String getNodeTemplate()

URL of the node template to create the node group from.

optional string node_template = 323154455;

Returns
TypeDescription
String

The nodeTemplate.

getNodeTemplateBytes()

public abstract ByteString getNodeTemplateBytes()

URL of the node template to create the node group from.

optional string node_template = 323154455;

Returns
TypeDescription
ByteString

The bytes for nodeTemplate.

public abstract String getSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
ByteString

The bytes for selfLink.

getShareSettings()

public abstract ShareSettings getShareSettings()

Share-settings for the node group

optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;

Returns
TypeDescription
ShareSettings

The shareSettings.

getShareSettingsOrBuilder()

public abstract ShareSettingsOrBuilder getShareSettingsOrBuilder()

Share-settings for the node group

optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;

Returns
TypeDescription
ShareSettingsOrBuilder

getSize()

public abstract int getSize()

[Output Only] The total number of nodes in the node group.

optional int32 size = 3530753;

Returns
TypeDescription
int

The size.

getStatus()

public abstract String getStatus()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
String

The status.

getStatusBytes()

public abstract ByteString getStatusBytes()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

getZone()

public abstract String getZone()

[Output Only] The name of the zone where the node group resides, such as us-central1-a.

optional string zone = 3744684;

Returns
TypeDescription
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

[Output Only] The name of the zone where the node group resides, such as us-central1-a.

optional string zone = 3744684;

Returns
TypeDescription
ByteString

The bytes for zone.

hasAutoscalingPolicy()

public abstract boolean hasAutoscalingPolicy()

Specifies how autoscaling should behave.

optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;

Returns
TypeDescription
boolean

Whether the autoscalingPolicy field is set.

hasCreationTimestamp()

public abstract boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
boolean

Whether the creationTimestamp field is set.

hasDescription()

public abstract boolean hasDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

hasFingerprint()

public abstract boolean hasFingerprint()

optional string fingerprint = 234678500;

Returns
TypeDescription
boolean

Whether the fingerprint field is set.

hasId()

public abstract boolean hasId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
TypeDescription
boolean

Whether the id field is set.

hasKind()

public abstract boolean hasKind()

[Output Only] The type of the resource. Always compute#nodeGroup for node group.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasLocationHint()

public abstract boolean hasLocationHint()

An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.

optional string location_hint = 350519505;

Returns
TypeDescription
boolean

Whether the locationHint field is set.

hasMaintenancePolicy()

public abstract boolean hasMaintenancePolicy()

Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. Check the MaintenancePolicy enum for the list of possible values.

optional string maintenance_policy = 528327646;

Returns
TypeDescription
boolean

Whether the maintenancePolicy field is set.

hasMaintenanceWindow()

public abstract boolean hasMaintenanceWindow()

optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;

Returns
TypeDescription
boolean

Whether the maintenanceWindow field is set.

hasName()

public abstract boolean hasName()

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasNodeTemplate()

public abstract boolean hasNodeTemplate()

URL of the node template to create the node group from.

optional string node_template = 323154455;

Returns
TypeDescription
boolean

Whether the nodeTemplate field is set.

public abstract boolean hasSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
boolean

Whether the selfLink field is set.

hasShareSettings()

public abstract boolean hasShareSettings()

Share-settings for the node group

optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;

Returns
TypeDescription
boolean

Whether the shareSettings field is set.

hasSize()

public abstract boolean hasSize()

[Output Only] The total number of nodes in the node group.

optional int32 size = 3530753;

Returns
TypeDescription
boolean

Whether the size field is set.

hasStatus()

public abstract boolean hasStatus()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
boolean

Whether the status field is set.

hasZone()

public abstract boolean hasZone()

[Output Only] The name of the zone where the node group resides, such as us-central1-a.

optional string zone = 3744684;

Returns
TypeDescription
boolean

Whether the zone field is set.