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 NodeGroupAutoscalingPolicygetAutoscalingPolicy()Specifies how autoscaling should behave.NodeGroupAutoscalingPolicyOrBuildergetAutoscalingPolicyOrBuilder()Specifies how autoscaling should behave.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.StringgetFingerprint()optional string fingerprint = 234678500;com.google.protobuf.ByteStringgetFingerprintBytes()optional string fingerprint = 234678500;longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output Only] The type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] The type of the resource.StringgetLocationHint()An opaque location hint used to place the Node close to other resources.com.google.protobuf.ByteStringgetLocationHintBytes()An opaque location hint used to place the Node close to other resources.StringgetMaintenancePolicy()Specifies how to handle instances when a node in the group undergoes maintenance.com.google.protobuf.ByteStringgetMaintenancePolicyBytes()Specifies how to handle instances when a node in the group undergoes maintenance.NodeGroupMaintenanceWindowgetMaintenanceWindow()optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;NodeGroupMaintenanceWindowOrBuildergetMaintenanceWindowOrBuilder()optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;StringgetName()The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteStringgetNameBytes()The name of the resource, provided by the client when initially creating the resource.StringgetNodeTemplate()URL of the node template to create the node group from.com.google.protobuf.ByteStringgetNodeTemplateBytes()URL of the node template to create the node group from.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.ShareSettingsgetShareSettings()Share-settings for the node groupShareSettingsOrBuildergetShareSettingsOrBuilder()Share-settings for the node groupintgetSize()[Output Only] The total number of nodes in the node group.StringgetStatus()Check the Status enum for the list of possible values.com.google.protobuf.ByteStringgetStatusBytes()Check the Status enum for the list of possible values.StringgetZone()[Output Only] The name of the zone where the node group resides, such as us-central1-a.com.google.protobuf.ByteStringgetZoneBytes()[Output Only] The name of the zone where the node group resides, such as us-central1-a.booleanhasAutoscalingPolicy()Specifies how autoscaling should behave.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasFingerprint()optional string fingerprint = 234678500;booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] The type of the resource.booleanhasLocationHint()An opaque location hint used to place the Node close to other resources.booleanhasMaintenancePolicy()Specifies how to handle instances when a node in the group undergoes maintenance.booleanhasMaintenanceWindow()optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanhasNodeTemplate()URL of the node template to create the node group from.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasShareSettings()Share-settings for the node groupbooleanhasSize()[Output Only] The total number of nodes in the node group.booleanhasStatus()Check the Status enum for the list of possible values.booleanhasZone()[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.
-
-