Package com.google.cloud.compute.v1
Interface NodeGroupOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodeGroup
,NodeGroup.Builder
public interface NodeGroupOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeGroupAutoscalingPolicy
getAutoscalingPolicy()
Specifies how autoscaling should behave.NodeGroupAutoscalingPolicyOrBuilder
getAutoscalingPolicyOrBuilder()
Specifies how autoscaling should behave.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.String
getFingerprint()
optional string fingerprint = 234678500;
com.google.protobuf.ByteString
getFingerprintBytes()
optional string fingerprint = 234678500;
long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output Only] The type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] The type of the resource.String
getLocationHint()
An opaque location hint used to place the Node close to other resources.com.google.protobuf.ByteString
getLocationHintBytes()
An opaque location hint used to place the Node close to other resources.String
getMaintenancePolicy()
Specifies how to handle instances when a node in the group undergoes maintenance.com.google.protobuf.ByteString
getMaintenancePolicyBytes()
Specifies how to handle instances when a node in the group undergoes maintenance.NodeGroupMaintenanceWindow
getMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
NodeGroupMaintenanceWindowOrBuilder
getMaintenanceWindowOrBuilder()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
String
getName()
The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteString
getNameBytes()
The name of the resource, provided by the client when initially creating the resource.String
getNodeTemplate()
URL of the node template to create the node group from.com.google.protobuf.ByteString
getNodeTemplateBytes()
URL of the node template to create the node group from.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.ShareSettings
getShareSettings()
Share-settings for the node groupShareSettingsOrBuilder
getShareSettingsOrBuilder()
Share-settings for the node groupint
getSize()
[Output Only] The total number of nodes in the node group.String
getStatus()
Check the Status enum for the list of possible values.com.google.protobuf.ByteString
getStatusBytes()
Check the Status enum for the list of possible values.String
getZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.com.google.protobuf.ByteString
getZoneBytes()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.boolean
hasAutoscalingPolicy()
Specifies how autoscaling should behave.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasFingerprint()
optional string fingerprint = 234678500;
boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] The type of the resource.boolean
hasLocationHint()
An opaque location hint used to place the Node close to other resources.boolean
hasMaintenancePolicy()
Specifies how to handle instances when a node in the group undergoes maintenance.boolean
hasMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
boolean
hasName()
The name of the resource, provided by the client when initially creating the resource.boolean
hasNodeTemplate()
URL of the node template to create the node group from.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.boolean
hasShareSettings()
Share-settings for the node groupboolean
hasSize()
[Output Only] The total number of nodes in the node group.boolean
hasStatus()
Check the Status enum for the list of possible values.boolean
hasZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAutoscalingPolicy
boolean hasAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
- Returns:
- Whether the autoscalingPolicy field is set.
-
getAutoscalingPolicy
NodeGroupAutoscalingPolicy getAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
- Returns:
- The autoscalingPolicy.
-
getAutoscalingPolicyOrBuilder
NodeGroupAutoscalingPolicyOrBuilder getAutoscalingPolicyOrBuilder()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- The bytes for description.
-
hasFingerprint
boolean hasFingerprint()
optional string fingerprint = 234678500;
- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
String getFingerprint()
optional string fingerprint = 234678500;
- Returns:
- The fingerprint.
-
getFingerprintBytes
com.google.protobuf.ByteString getFingerprintBytes()
optional string fingerprint = 234678500;
- Returns:
- The bytes for fingerprint.
-
hasId
boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- The id.
-
hasKind
boolean hasKind()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;
- Returns:
- The bytes for kind.
-
hasLocationHint
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:
- Whether the locationHint field is set.
-
getLocationHint
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:
- The locationHint.
-
getLocationHintBytes
com.google.protobuf.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:
- The bytes for locationHint.
-
hasMaintenancePolicy
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:
- Whether the maintenancePolicy field is set.
-
getMaintenancePolicy
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:
- The maintenancePolicy.
-
getMaintenancePolicyBytes
com.google.protobuf.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:
- The bytes for maintenancePolicy.
-
hasMaintenanceWindow
boolean hasMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
- Returns:
- Whether the maintenanceWindow field is set.
-
getMaintenanceWindow
NodeGroupMaintenanceWindow getMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
- Returns:
- The maintenanceWindow.
-
getMaintenanceWindowOrBuilder
NodeGroupMaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
-
hasName
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]([-a-z0-9]*[a-z0-9])?` 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:
- Whether the name field is set.
-
getName
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]([-a-z0-9]*[a-z0-9])?` 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:
- The name.
-
getNameBytes
com.google.protobuf.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]([-a-z0-9]*[a-z0-9])?` 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:
- The bytes for name.
-
hasNodeTemplate
boolean hasNodeTemplate()
URL of the node template to create the node group from.
optional string node_template = 323154455;
- Returns:
- Whether the nodeTemplate field is set.
-
getNodeTemplate
String getNodeTemplate()
URL of the node template to create the node group from.
optional string node_template = 323154455;
- Returns:
- The nodeTemplate.
-
getNodeTemplateBytes
com.google.protobuf.ByteString getNodeTemplateBytes()
URL of the node template to create the node group from.
optional string node_template = 323154455;
- Returns:
- The bytes for nodeTemplate.
-
hasSelfLink
boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The bytes for selfLink.
-
hasShareSettings
boolean hasShareSettings()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
- Returns:
- Whether the shareSettings field is set.
-
getShareSettings
ShareSettings getShareSettings()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
- Returns:
- The shareSettings.
-
getShareSettingsOrBuilder
ShareSettingsOrBuilder getShareSettingsOrBuilder()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
-
hasSize
boolean hasSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;
- Returns:
- Whether the size field is set.
-
getSize
int getSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;
- Returns:
- The size.
-
hasStatus
boolean hasStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;
- Returns:
- Whether the status field is set.
-
getStatus
String getStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;
- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.ByteString getStatusBytes()
Check the Status enum for the list of possible values.
optional string status = 181260274;
- Returns:
- The bytes for status.
-
hasZone
boolean hasZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;
- Returns:
- Whether the zone field is set.
-
getZone
String getZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;
- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;
- Returns:
- The bytes for zone.
-
-