Package com.google.cloud.compute.v1
Class NodeGroup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
- com.google.cloud.compute.v1.NodeGroup.Builder
-
- All Implemented Interfaces:
NodeGroupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NodeGroup
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 typegoogle.cloud.compute.v1.NodeGroup
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeGroup.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NodeGroupbuild()NodeGroupbuildPartial()NodeGroup.Builderclear()NodeGroup.BuilderclearAutoscalingPolicy()Specifies how autoscaling should behave.NodeGroup.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.NodeGroup.BuilderclearDescription()An optional description of this resource.NodeGroup.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NodeGroup.BuilderclearFingerprint()optional string fingerprint = 234678500;NodeGroup.BuilderclearId()[Output Only] The unique identifier for the resource.NodeGroup.BuilderclearKind()[Output Only] The type of the resource.NodeGroup.BuilderclearLocationHint()An opaque location hint used to place the Node close to other resources.NodeGroup.BuilderclearMaintenancePolicy()Specifies how to handle instances when a node in the group undergoes maintenance.NodeGroup.BuilderclearMaintenanceWindow()optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;NodeGroup.BuilderclearName()The name of the resource, provided by the client when initially creating the resource.NodeGroup.BuilderclearNodeTemplate()URL of the node template to create the node group from.NodeGroup.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NodeGroup.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.NodeGroup.BuilderclearShareSettings()Share-settings for the node groupNodeGroup.BuilderclearSize()[Output Only] The total number of nodes in the node group.NodeGroup.BuilderclearStatus()Check the Status enum for the list of possible values.NodeGroup.BuilderclearZone()[Output Only] The name of the zone where the node group resides, such as us-central1-a.NodeGroup.Builderclone()NodeGroupAutoscalingPolicygetAutoscalingPolicy()Specifies how autoscaling should behave.NodeGroupAutoscalingPolicy.BuildergetAutoscalingPolicyBuilder()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.NodeGroupgetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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;NodeGroupMaintenanceWindow.BuildergetMaintenanceWindowBuilder()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 groupShareSettings.BuildergetShareSettingsBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NodeGroup.BuildermergeAutoscalingPolicy(NodeGroupAutoscalingPolicy value)Specifies how autoscaling should behave.NodeGroup.BuildermergeFrom(NodeGroup other)NodeGroup.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NodeGroup.BuildermergeFrom(com.google.protobuf.Message other)NodeGroup.BuildermergeMaintenanceWindow(NodeGroupMaintenanceWindow value)optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;NodeGroup.BuildermergeShareSettings(ShareSettings value)Share-settings for the node groupNodeGroup.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NodeGroup.BuildersetAutoscalingPolicy(NodeGroupAutoscalingPolicy value)Specifies how autoscaling should behave.NodeGroup.BuildersetAutoscalingPolicy(NodeGroupAutoscalingPolicy.Builder builderForValue)Specifies how autoscaling should behave.NodeGroup.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.NodeGroup.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.NodeGroup.BuildersetDescription(String value)An optional description of this resource.NodeGroup.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional description of this resource.NodeGroup.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NodeGroup.BuildersetFingerprint(String value)optional string fingerprint = 234678500;NodeGroup.BuildersetFingerprintBytes(com.google.protobuf.ByteString value)optional string fingerprint = 234678500;NodeGroup.BuildersetId(long value)[Output Only] The unique identifier for the resource.NodeGroup.BuildersetKind(String value)[Output Only] The type of the resource.NodeGroup.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] The type of the resource.NodeGroup.BuildersetLocationHint(String value)An opaque location hint used to place the Node close to other resources.NodeGroup.BuildersetLocationHintBytes(com.google.protobuf.ByteString value)An opaque location hint used to place the Node close to other resources.NodeGroup.BuildersetMaintenancePolicy(String value)Specifies how to handle instances when a node in the group undergoes maintenance.NodeGroup.BuildersetMaintenancePolicyBytes(com.google.protobuf.ByteString value)Specifies how to handle instances when a node in the group undergoes maintenance.NodeGroup.BuildersetMaintenanceWindow(NodeGroupMaintenanceWindow value)optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;NodeGroup.BuildersetMaintenanceWindow(NodeGroupMaintenanceWindow.Builder builderForValue)optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;NodeGroup.BuildersetName(String value)The name of the resource, provided by the client when initially creating the resource.NodeGroup.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the resource, provided by the client when initially creating the resource.NodeGroup.BuildersetNodeTemplate(String value)URL of the node template to create the node group from.NodeGroup.BuildersetNodeTemplateBytes(com.google.protobuf.ByteString value)URL of the node template to create the node group from.NodeGroup.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NodeGroup.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.NodeGroup.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.NodeGroup.BuildersetShareSettings(ShareSettings value)Share-settings for the node groupNodeGroup.BuildersetShareSettings(ShareSettings.Builder builderForValue)Share-settings for the node groupNodeGroup.BuildersetSize(int value)[Output Only] The total number of nodes in the node group.NodeGroup.BuildersetStatus(String value)Check the Status enum for the list of possible values.NodeGroup.BuildersetStatusBytes(com.google.protobuf.ByteString value)Check the Status enum for the list of possible values.NodeGroup.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NodeGroup.BuildersetZone(String value)[Output Only] The name of the zone where the node group resides, such as us-central1-a.NodeGroup.BuildersetZoneBytes(com.google.protobuf.ByteString value)[Output Only] The name of the zone where the node group resides, such as us-central1-a.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
clear
public NodeGroup.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
getDefaultInstanceForType
public NodeGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodeGroup build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodeGroup buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NodeGroup.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
setField
public NodeGroup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
clearField
public NodeGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
clearOneof
public NodeGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
setRepeatedField
public NodeGroup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
addRepeatedField
public NodeGroup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
mergeFrom
public NodeGroup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeGroup.Builder>
-
mergeFrom
public NodeGroup.Builder mergeFrom(NodeGroup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
mergeFrom
public NodeGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeGroup.Builder>- Throws:
IOException
-
hasAutoscalingPolicy
public boolean hasAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;- Specified by:
hasAutoscalingPolicyin interfaceNodeGroupOrBuilder- Returns:
- Whether the autoscalingPolicy field is set.
-
getAutoscalingPolicy
public NodeGroupAutoscalingPolicy getAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;- Specified by:
getAutoscalingPolicyin interfaceNodeGroupOrBuilder- Returns:
- The autoscalingPolicy.
-
setAutoscalingPolicy
public NodeGroup.Builder setAutoscalingPolicy(NodeGroupAutoscalingPolicy value)
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
-
setAutoscalingPolicy
public NodeGroup.Builder setAutoscalingPolicy(NodeGroupAutoscalingPolicy.Builder builderForValue)
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
-
mergeAutoscalingPolicy
public NodeGroup.Builder mergeAutoscalingPolicy(NodeGroupAutoscalingPolicy value)
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
-
clearAutoscalingPolicy
public NodeGroup.Builder clearAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
-
getAutoscalingPolicyBuilder
public NodeGroupAutoscalingPolicy.Builder getAutoscalingPolicyBuilder()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
-
getAutoscalingPolicyOrBuilder
public NodeGroupAutoscalingPolicyOrBuilder getAutoscalingPolicyOrBuilder()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;- Specified by:
getAutoscalingPolicyOrBuilderin interfaceNodeGroupOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceNodeGroupOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceNodeGroupOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public NodeGroup.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public NodeGroup.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public NodeGroup.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceNodeGroupOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceNodeGroupOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for description.
-
setDescription
public NodeGroup.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public NodeGroup.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasFingerprint
public boolean hasFingerprint()
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceNodeGroupOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
public String getFingerprint()
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceNodeGroupOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
public NodeGroup.Builder setFingerprint(String value)
optional string fingerprint = 234678500;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
public NodeGroup.Builder clearFingerprint()
optional string fingerprint = 234678500;- Returns:
- This builder for chaining.
-
setFingerprintBytes
public NodeGroup.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
optional string fingerprint = 234678500;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceNodeGroupOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceNodeGroupOrBuilder- Returns:
- The id.
-
setId
public NodeGroup.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public NodeGroup.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;- Specified by:
hasKindin interfaceNodeGroupOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;- Specified by:
getKindin interfaceNodeGroupOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for kind.
-
setKind
public NodeGroup.Builder setKind(String value)
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public NodeGroup.Builder clearKind()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
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;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasLocationHint
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;- Specified by:
hasLocationHintin interfaceNodeGroupOrBuilder- Returns:
- Whether the locationHint field is set.
-
getLocationHint
public 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;- Specified by:
getLocationHintin interfaceNodeGroupOrBuilder- Returns:
- The locationHint.
-
getLocationHintBytes
public 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;- Specified by:
getLocationHintBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for locationHint.
-
setLocationHint
public 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;- Parameters:
value- The locationHint to set.- Returns:
- This builder for chaining.
-
clearLocationHint
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;- Returns:
- This builder for chaining.
-
setLocationHintBytes
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;- Parameters:
value- The bytes for locationHint to set.- Returns:
- This builder for chaining.
-
hasMaintenancePolicy
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;- Specified by:
hasMaintenancePolicyin interfaceNodeGroupOrBuilder- Returns:
- Whether the maintenancePolicy field is set.
-
getMaintenancePolicy
public 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;- Specified by:
getMaintenancePolicyin interfaceNodeGroupOrBuilder- Returns:
- The maintenancePolicy.
-
getMaintenancePolicyBytes
public 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;- Specified by:
getMaintenancePolicyBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for maintenancePolicy.
-
setMaintenancePolicy
public 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;- Parameters:
value- The maintenancePolicy to set.- Returns:
- This builder for chaining.
-
clearMaintenancePolicy
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;- Returns:
- This builder for chaining.
-
setMaintenancePolicyBytes
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;- Parameters:
value- The bytes for maintenancePolicy to set.- Returns:
- This builder for chaining.
-
hasMaintenanceWindow
public boolean hasMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;- Specified by:
hasMaintenanceWindowin interfaceNodeGroupOrBuilder- Returns:
- Whether the maintenanceWindow field is set.
-
getMaintenanceWindow
public NodeGroupMaintenanceWindow getMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;- Specified by:
getMaintenanceWindowin interfaceNodeGroupOrBuilder- Returns:
- The maintenanceWindow.
-
setMaintenanceWindow
public NodeGroup.Builder setMaintenanceWindow(NodeGroupMaintenanceWindow value)
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
-
setMaintenanceWindow
public NodeGroup.Builder setMaintenanceWindow(NodeGroupMaintenanceWindow.Builder builderForValue)
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
-
mergeMaintenanceWindow
public NodeGroup.Builder mergeMaintenanceWindow(NodeGroupMaintenanceWindow value)
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
-
clearMaintenanceWindow
public NodeGroup.Builder clearMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
-
getMaintenanceWindowBuilder
public NodeGroupMaintenanceWindow.Builder getMaintenanceWindowBuilder()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
-
getMaintenanceWindowOrBuilder
public NodeGroupMaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;- Specified by:
getMaintenanceWindowOrBuilderin interfaceNodeGroupOrBuilder
-
hasName
public 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;- Specified by:
hasNamein interfaceNodeGroupOrBuilder- Returns:
- Whether the name field is set.
-
getName
public 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;- Specified by:
getNamein interfaceNodeGroupOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for name.
-
setName
public 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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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;- Returns:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNodeTemplate
public boolean hasNodeTemplate()
URL of the node template to create the node group from.
optional string node_template = 323154455;- Specified by:
hasNodeTemplatein interfaceNodeGroupOrBuilder- Returns:
- Whether the nodeTemplate field is set.
-
getNodeTemplate
public String getNodeTemplate()
URL of the node template to create the node group from.
optional string node_template = 323154455;- Specified by:
getNodeTemplatein interfaceNodeGroupOrBuilder- Returns:
- The nodeTemplate.
-
getNodeTemplateBytes
public com.google.protobuf.ByteString getNodeTemplateBytes()
URL of the node template to create the node group from.
optional string node_template = 323154455;- Specified by:
getNodeTemplateBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for nodeTemplate.
-
setNodeTemplate
public NodeGroup.Builder setNodeTemplate(String value)
URL of the node template to create the node group from.
optional string node_template = 323154455;- Parameters:
value- The nodeTemplate to set.- Returns:
- This builder for chaining.
-
clearNodeTemplate
public NodeGroup.Builder clearNodeTemplate()
URL of the node template to create the node group from.
optional string node_template = 323154455;- Returns:
- This builder for chaining.
-
setNodeTemplateBytes
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;- Parameters:
value- The bytes for nodeTemplate to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceNodeGroupOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceNodeGroupOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public NodeGroup.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public NodeGroup.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public NodeGroup.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasShareSettings
public boolean hasShareSettings()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;- Specified by:
hasShareSettingsin interfaceNodeGroupOrBuilder- Returns:
- Whether the shareSettings field is set.
-
getShareSettings
public ShareSettings getShareSettings()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;- Specified by:
getShareSettingsin interfaceNodeGroupOrBuilder- Returns:
- The shareSettings.
-
setShareSettings
public NodeGroup.Builder setShareSettings(ShareSettings value)
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
-
setShareSettings
public NodeGroup.Builder setShareSettings(ShareSettings.Builder builderForValue)
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
-
mergeShareSettings
public NodeGroup.Builder mergeShareSettings(ShareSettings value)
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
-
clearShareSettings
public NodeGroup.Builder clearShareSettings()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
-
getShareSettingsBuilder
public ShareSettings.Builder getShareSettingsBuilder()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
-
getShareSettingsOrBuilder
public ShareSettingsOrBuilder getShareSettingsOrBuilder()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;- Specified by:
getShareSettingsOrBuilderin interfaceNodeGroupOrBuilder
-
hasSize
public boolean hasSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;- Specified by:
hasSizein interfaceNodeGroupOrBuilder- Returns:
- Whether the size field is set.
-
getSize
public int getSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;- Specified by:
getSizein interfaceNodeGroupOrBuilder- Returns:
- The size.
-
setSize
public NodeGroup.Builder setSize(int value)
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;- Parameters:
value- The size to set.- Returns:
- This builder for chaining.
-
clearSize
public NodeGroup.Builder clearSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
hasStatusin interfaceNodeGroupOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public String getStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusin interfaceNodeGroupOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()
Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for status.
-
setStatus
public NodeGroup.Builder setStatus(String value)
Check the Status enum for the list of possible values.
optional string status = 181260274;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public NodeGroup.Builder clearStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- This builder for chaining.
-
setStatusBytes
public NodeGroup.Builder setStatusBytes(com.google.protobuf.ByteString value)
Check the Status enum for the list of possible values.
optional string status = 181260274;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
hasZone
public boolean hasZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;- Specified by:
hasZonein interfaceNodeGroupOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
public String getZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;- Specified by:
getZonein interfaceNodeGroupOrBuilder- Returns:
- The zone.
-
getZoneBytes
public 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;- Specified by:
getZoneBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for zone.
-
setZone
public 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;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
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;- Returns:
- This builder for chaining.
-
setZoneBytes
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;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NodeGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
mergeUnknownFields
public final NodeGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroup.Builder>
-
-