Interface NodeGroupOrBuilder (1.64.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
Type Description
NodeGroupAutoscalingPolicy

The autoscalingPolicy.

getAutoscalingPolicyOrBuilder()

public abstract NodeGroupAutoscalingPolicyOrBuilder getAutoscalingPolicyOrBuilder()

Specifies how autoscaling should behave.

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

Returns
Type Description
NodeGroupAutoscalingPolicyOrBuilder

getCreationTimestamp()

public abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for description.

getFingerprint()

public abstract String getFingerprint()

optional string fingerprint = 234678500;

Returns
Type Description
String

The fingerprint.

getFingerprintBytes()

public abstract ByteString getFingerprintBytes()

optional string fingerprint = 234678500;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for locationHint.

getMaintenanceInterval()

public abstract String getMaintenanceInterval()

Specifies the frequency of planned maintenance events. The accepted values are: AS_NEEDED and RECURRENT. Check the MaintenanceInterval enum for the list of possible values.

optional string maintenance_interval = 403368049;

Returns
Type Description
String

The maintenanceInterval.

getMaintenanceIntervalBytes()

public abstract ByteString getMaintenanceIntervalBytes()

Specifies the frequency of planned maintenance events. The accepted values are: AS_NEEDED and RECURRENT. Check the MaintenanceInterval enum for the list of possible values.

optional string maintenance_interval = 403368049;

Returns
Type Description
ByteString

The bytes for maintenanceInterval.

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
Type Description
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
Type Description
ByteString

The bytes for maintenancePolicy.

getMaintenanceWindow()

public abstract NodeGroupMaintenanceWindow getMaintenanceWindow()

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

Returns
Type Description
NodeGroupMaintenanceWindow

The maintenanceWindow.

getMaintenanceWindowOrBuilder()

public abstract NodeGroupMaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder()

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nodeTemplate.

public abstract String getSelfLink()

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

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

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

optional string self_link = 456214797;

Returns
Type Description
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
Type Description
ShareSettings

The shareSettings.

getShareSettingsOrBuilder()

public abstract ShareSettingsOrBuilder getShareSettingsOrBuilder()

Share-settings for the node group

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

Returns
Type Description
ShareSettingsOrBuilder

getSize()

public abstract int getSize()

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

optional int32 size = 3530753;

Returns
Type Description
int

The size.

getStatus()

public abstract String getStatus()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
String

The status.

getStatusBytes()

public abstract ByteString getStatusBytes()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the description field is set.

hasFingerprint()

public abstract boolean hasFingerprint()

optional string fingerprint = 234678500;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the locationHint field is set.

hasMaintenanceInterval()

public abstract boolean hasMaintenanceInterval()

Specifies the frequency of planned maintenance events. The accepted values are: AS_NEEDED and RECURRENT. Check the MaintenanceInterval enum for the list of possible values.

optional string maintenance_interval = 403368049;

Returns
Type Description
boolean

Whether the maintenanceInterval 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
Type Description
boolean

Whether the maintenancePolicy field is set.

hasMaintenanceWindow()

public abstract boolean hasMaintenanceWindow()

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the zone field is set.