public static final class NodeGroup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder> implements NodeGroupOrBuilder
Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes.Protobuf type
google.cloud.compute.v1.NodeGroup| Modifier and Type | Method and Description |
|---|---|
NodeGroup.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NodeGroup |
build() |
NodeGroup |
buildPartial() |
NodeGroup.Builder |
clear() |
NodeGroup.Builder |
clearAutoscalingPolicy()
Specifies how autoscaling should behave.
|
NodeGroup.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
NodeGroup.Builder |
clearDescription()
An optional description of this resource.
|
NodeGroup.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NodeGroup.Builder |
clearFingerprint()
optional string fingerprint = 234678500; |
NodeGroup.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
NodeGroup.Builder |
clearKind()
[Output Only] The type of the resource.
|
NodeGroup.Builder |
clearLocationHint()
An opaque location hint used to place the Node close to other resources.
|
NodeGroup.Builder |
clearMaintenancePolicy()
Specifies how to handle instances when a node in the group undergoes maintenance.
|
NodeGroup.Builder |
clearMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
|
NodeGroup.Builder |
clearName()
The name of the resource, provided by the client when initially creating the resource.
|
NodeGroup.Builder |
clearNodeTemplate()
URL of the node template to create the node group from.
|
NodeGroup.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NodeGroup.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
NodeGroup.Builder |
clearShareSettings()
Share-settings for the node group
|
NodeGroup.Builder |
clearSize()
[Output Only] The total number of nodes in the node group.
|
NodeGroup.Builder |
clearStatus()
Check the Status enum for the list of possible values.
|
NodeGroup.Builder |
clearZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
|
NodeGroup.Builder |
clone() |
NodeGroupAutoscalingPolicy |
getAutoscalingPolicy()
Specifies how autoscaling should behave.
|
NodeGroupAutoscalingPolicy.Builder |
getAutoscalingPolicyBuilder()
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.
|
NodeGroup |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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;
|
NodeGroupMaintenanceWindow.Builder |
getMaintenanceWindowBuilder()
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 group
|
ShareSettings.Builder |
getShareSettingsBuilder()
Share-settings for the node group
|
ShareSettingsOrBuilder |
getShareSettingsOrBuilder()
Share-settings for the node group
|
int |
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 group
|
boolean |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NodeGroup.Builder |
mergeAutoscalingPolicy(NodeGroupAutoscalingPolicy value)
Specifies how autoscaling should behave.
|
NodeGroup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodeGroup.Builder |
mergeFrom(com.google.protobuf.Message other) |
NodeGroup.Builder |
mergeFrom(NodeGroup other) |
NodeGroup.Builder |
mergeMaintenanceWindow(NodeGroupMaintenanceWindow value)
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
|
NodeGroup.Builder |
mergeShareSettings(ShareSettings value)
Share-settings for the node group
|
NodeGroup.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NodeGroup.Builder |
setAutoscalingPolicy(NodeGroupAutoscalingPolicy.Builder builderForValue)
Specifies how autoscaling should behave.
|
NodeGroup.Builder |
setAutoscalingPolicy(NodeGroupAutoscalingPolicy value)
Specifies how autoscaling should behave.
|
NodeGroup.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
NodeGroup.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
NodeGroup.Builder |
setDescription(String value)
An optional description of this resource.
|
NodeGroup.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
NodeGroup.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NodeGroup.Builder |
setFingerprint(String value)
optional string fingerprint = 234678500; |
NodeGroup.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
optional string fingerprint = 234678500; |
NodeGroup.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
NodeGroup.Builder |
setKind(String value)
[Output Only] The type of the resource.
|
NodeGroup.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] The type of the resource.
|
NodeGroup.Builder |
setLocationHint(String value)
An opaque location hint used to place the Node close to other resources.
|
NodeGroup.Builder |
setLocationHintBytes(com.google.protobuf.ByteString value)
An opaque location hint used to place the Node close to other resources.
|
NodeGroup.Builder |
setMaintenancePolicy(String value)
Specifies how to handle instances when a node in the group undergoes maintenance.
|
NodeGroup.Builder |
setMaintenancePolicyBytes(com.google.protobuf.ByteString value)
Specifies how to handle instances when a node in the group undergoes maintenance.
|
NodeGroup.Builder |
setMaintenanceWindow(NodeGroupMaintenanceWindow.Builder builderForValue)
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
|
NodeGroup.Builder |
setMaintenanceWindow(NodeGroupMaintenanceWindow value)
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
|
NodeGroup.Builder |
setName(String value)
The name of the resource, provided by the client when initially creating the resource.
|
NodeGroup.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the resource, provided by the client when initially creating the resource.
|
NodeGroup.Builder |
setNodeTemplate(String value)
URL of the node template to create the node group from.
|
NodeGroup.Builder |
setNodeTemplateBytes(com.google.protobuf.ByteString value)
URL of the node template to create the node group from.
|
NodeGroup.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NodeGroup.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
NodeGroup.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
NodeGroup.Builder |
setShareSettings(ShareSettings.Builder builderForValue)
Share-settings for the node group
|
NodeGroup.Builder |
setShareSettings(ShareSettings value)
Share-settings for the node group
|
NodeGroup.Builder |
setSize(int value)
[Output Only] The total number of nodes in the node group.
|
NodeGroup.Builder |
setStatus(String value)
Check the Status enum for the list of possible values.
|
NodeGroup.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
Check the Status enum for the list of possible values.
|
NodeGroup.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NodeGroup.Builder |
setZone(String value)
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
|
NodeGroup.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public NodeGroup.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public NodeGroup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NodeGroup build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NodeGroup buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NodeGroup.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public NodeGroup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public NodeGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public NodeGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public NodeGroup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public NodeGroup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public NodeGroup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodeGroup.Builder>public NodeGroup.Builder mergeFrom(NodeGroup other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public NodeGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodeGroup.Builder>IOExceptionpublic boolean hasAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
hasAutoscalingPolicy in interface NodeGroupOrBuilderpublic NodeGroupAutoscalingPolicy getAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
getAutoscalingPolicy in interface NodeGroupOrBuilderpublic NodeGroup.Builder setAutoscalingPolicy(NodeGroupAutoscalingPolicy value)
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
public NodeGroup.Builder setAutoscalingPolicy(NodeGroupAutoscalingPolicy.Builder builderForValue)
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
public NodeGroup.Builder mergeAutoscalingPolicy(NodeGroupAutoscalingPolicy value)
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
public NodeGroup.Builder clearAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
public NodeGroupAutoscalingPolicy.Builder getAutoscalingPolicyBuilder()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
public NodeGroupAutoscalingPolicyOrBuilder getAutoscalingPolicyOrBuilder()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
getAutoscalingPolicyOrBuilder in interface NodeGroupOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface NodeGroupOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface NodeGroupOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public NodeGroup.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public NodeGroup.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface NodeGroupOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface NodeGroupOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public NodeGroup.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public NodeGroup.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasFingerprint()
optional string fingerprint = 234678500;hasFingerprint in interface NodeGroupOrBuilderpublic String getFingerprint()
optional string fingerprint = 234678500;getFingerprint in interface NodeGroupOrBuilderpublic com.google.protobuf.ByteString getFingerprintBytes()
optional string fingerprint = 234678500;getFingerprintBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setFingerprint(String value)
optional string fingerprint = 234678500;value - The fingerprint to set.public NodeGroup.Builder clearFingerprint()
optional string fingerprint = 234678500;public NodeGroup.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
optional string fingerprint = 234678500;value - The bytes for fingerprint to set.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface NodeGroupOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface NodeGroupOrBuilderpublic NodeGroup.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public NodeGroup.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasKind()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;hasKind in interface NodeGroupOrBuilderpublic String getKind()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;getKind in interface NodeGroupOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;getKindBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setKind(String value)
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;value - The kind to set.public NodeGroup.Builder clearKind()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;public NodeGroup.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;value - The bytes for kind to set.public 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;hasLocationHint in interface NodeGroupOrBuilderpublic 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;getLocationHint in interface NodeGroupOrBuilderpublic 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;getLocationHintBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setLocationHint(String value)
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;value - The locationHint to set.public NodeGroup.Builder clearLocationHint()
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;public NodeGroup.Builder setLocationHintBytes(com.google.protobuf.ByteString value)
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;value - The bytes for locationHint to set.public 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;hasMaintenancePolicy in interface NodeGroupOrBuilderpublic 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;getMaintenancePolicy in interface NodeGroupOrBuilderpublic 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;getMaintenancePolicyBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setMaintenancePolicy(String value)
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;value - The maintenancePolicy to set.public NodeGroup.Builder clearMaintenancePolicy()
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;public NodeGroup.Builder setMaintenancePolicyBytes(com.google.protobuf.ByteString value)
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;value - The bytes for maintenancePolicy to set.public boolean hasMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
hasMaintenanceWindow in interface NodeGroupOrBuilderpublic NodeGroupMaintenanceWindow getMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
getMaintenanceWindow in interface NodeGroupOrBuilderpublic NodeGroup.Builder setMaintenanceWindow(NodeGroupMaintenanceWindow value)
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
public NodeGroup.Builder setMaintenanceWindow(NodeGroupMaintenanceWindow.Builder builderForValue)
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
public NodeGroup.Builder mergeMaintenanceWindow(NodeGroupMaintenanceWindow value)
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
public NodeGroup.Builder clearMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
public NodeGroupMaintenanceWindow.Builder getMaintenanceWindowBuilder()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
public NodeGroupMaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
getMaintenanceWindowOrBuilder in interface NodeGroupOrBuilderpublic 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;hasName in interface NodeGroupOrBuilderpublic 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;getName in interface NodeGroupOrBuilderpublic 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;getNameBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setName(String value)
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;value - The name to set.public NodeGroup.Builder clearName()
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;public NodeGroup.Builder setNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for name to set.public boolean hasNodeTemplate()
URL of the node template to create the node group from.
optional string node_template = 323154455;hasNodeTemplate in interface NodeGroupOrBuilderpublic String getNodeTemplate()
URL of the node template to create the node group from.
optional string node_template = 323154455;getNodeTemplate in interface NodeGroupOrBuilderpublic com.google.protobuf.ByteString getNodeTemplateBytes()
URL of the node template to create the node group from.
optional string node_template = 323154455;getNodeTemplateBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setNodeTemplate(String value)
URL of the node template to create the node group from.
optional string node_template = 323154455;value - The nodeTemplate to set.public NodeGroup.Builder clearNodeTemplate()
URL of the node template to create the node group from.
optional string node_template = 323154455;public NodeGroup.Builder setNodeTemplateBytes(com.google.protobuf.ByteString value)
URL of the node template to create the node group from.
optional string node_template = 323154455;value - The bytes for nodeTemplate to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface NodeGroupOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface NodeGroupOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public NodeGroup.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public NodeGroup.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasShareSettings()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;hasShareSettings in interface NodeGroupOrBuilderpublic ShareSettings getShareSettings()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;getShareSettings in interface NodeGroupOrBuilderpublic NodeGroup.Builder setShareSettings(ShareSettings value)
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;public NodeGroup.Builder setShareSettings(ShareSettings.Builder builderForValue)
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;public NodeGroup.Builder mergeShareSettings(ShareSettings value)
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;public NodeGroup.Builder clearShareSettings()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;public ShareSettings.Builder getShareSettingsBuilder()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;public ShareSettingsOrBuilder getShareSettingsOrBuilder()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;getShareSettingsOrBuilder in interface NodeGroupOrBuilderpublic boolean hasSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;hasSize in interface NodeGroupOrBuilderpublic int getSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;getSize in interface NodeGroupOrBuilderpublic NodeGroup.Builder setSize(int value)
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;value - The size to set.public NodeGroup.Builder clearSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;public boolean hasStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface NodeGroupOrBuilderpublic String getStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface NodeGroupOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setStatus(String value)
Check the Status enum for the list of possible values.
optional string status = 181260274;value - The status to set.public NodeGroup.Builder clearStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;public NodeGroup.Builder setStatusBytes(com.google.protobuf.ByteString value)
Check the Status enum for the list of possible values.
optional string status = 181260274;value - The bytes for status to set.public boolean hasZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;hasZone in interface NodeGroupOrBuilderpublic String getZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;getZone in interface NodeGroupOrBuilderpublic 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;getZoneBytes in interface NodeGroupOrBuilderpublic NodeGroup.Builder setZone(String value)
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;value - The zone to set.public NodeGroup.Builder clearZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;public NodeGroup.Builder setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;value - The bytes for zone to set.public final NodeGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>public final NodeGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>Copyright © 2023 Google LLC. All rights reserved.