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
@Generated
public interface NodeGroupOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies how autoscaling should behave.Specifies how autoscaling should behave.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.optional string fingerprint = 234678500;com.google.protobuf.ByteStringoptional string fingerprint = 234678500;longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.An opaque location hint used to place the Node close to other resources.com.google.protobuf.ByteStringAn opaque location hint used to place the Node close to other resources.Specifies the frequency of planned maintenance events.com.google.protobuf.ByteStringSpecifies the frequency of planned maintenance events.Specifies how to handle instances when a node in the group undergoes maintenance.com.google.protobuf.ByteStringSpecifies how to handle instances when a node in the group undergoes maintenance.optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;getName()The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteStringThe name of the resource, provided by the client when initially creating the resource.URL of the node template to create the node group from.com.google.protobuf.ByteStringURL of the node template to create the node group from.Output only.com.google.protobuf.ByteStringOutput only.Share-settings for the node groupShare-settings for the node groupintgetSize()Output only.Check the Status enum for the list of possible values.com.google.protobuf.ByteStringCheck the Status enum for the list of possible values.getZone()Output only.com.google.protobuf.ByteStringOutput only.booleanSpecifies how autoscaling should behave.booleanOutput only.booleanAn optional description of this resource.booleanoptional string fingerprint = 234678500;booleanhasId()Output only.booleanhasKind()Output only.booleanAn opaque location hint used to place the Node close to other resources.booleanSpecifies the frequency of planned maintenance events.booleanSpecifies how to handle instances when a node in the group undergoes maintenance.booleanoptional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanURL of the node template to create the node group from.booleanOutput only.booleanShare-settings for the node groupbooleanhasSize()Output only.booleanCheck the Status enum for the list of possible values.booleanhasZone()Output only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 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. [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. [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. [Output Only] The type of the resource. Alwayscompute#nodeGroup for node group.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] The type of the resource. Alwayscompute#nodeGroup for node group.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] The type of the resource. Alwayscompute#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.
-
hasMaintenanceInterval
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:
- Whether the maintenanceInterval field is set.
-
getMaintenanceInterval
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:
- The maintenanceInterval.
-
getMaintenanceIntervalBytes
com.google.protobuf.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:
- The bytes for maintenanceInterval.
-
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 withRFC1035. 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 withRFC1035. 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 withRFC1035. 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. [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. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasSize
boolean hasSize()Output only. [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. [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. [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. [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. [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.
-