- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class NodeGroup.Builder extends GeneratedMessageV3.Builder<NodeGroup.Builder> implements NodeGroupOrBuilderRepresents 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodeGroup.BuilderImplements
NodeGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
|
build()
public NodeGroup build()| Returns | |
|---|---|
| Type | Description |
NodeGroup |
|
buildPartial()
public NodeGroup buildPartial()| Returns | |
|---|---|
| Type | Description |
NodeGroup |
|
clear()
public NodeGroup.Builder clear()| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
|
clearAutoscalingPolicy()
public NodeGroup.Builder clearAutoscalingPolicy()Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
|
clearCreationTimestamp()
public NodeGroup.Builder clearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
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 | |
|---|---|
| Type | Description |
NodeGroup.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NodeGroup.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
|
clearFingerprint()
public NodeGroup.Builder clearFingerprint()optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
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 | |
|---|---|
| Type | Description |
NodeGroup.Builder |
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 | |
|---|---|
| Type | Description |
NodeGroup.Builder |
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 | |
|---|---|
| Type | Description |
NodeGroup.Builder |
This builder for chaining. |
clearMaintenanceInterval()
public NodeGroup.Builder clearMaintenanceInterval() Specifies the frequency of planned maintenance events. The accepted values are: AS_NEEDED and RECURRENT.
Check the MaintenanceInterval enum for the list of possible values.
optional string maintenance_interval = 403368049;
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
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 | |
|---|---|
| Type | Description |
NodeGroup.Builder |
This builder for chaining. |
clearMaintenanceWindow()
public NodeGroup.Builder clearMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
|
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? 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 | |
|---|---|
| Type | Description |
NodeGroup.Builder |
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 | |
|---|---|
| Type | Description |
NodeGroup.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
|
clearSelfLink()
public NodeGroup.Builder clearSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
This builder for chaining. |
clearShareSettings()
public NodeGroup.Builder clearShareSettings()Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
|
clearSize()
public NodeGroup.Builder clearSize()[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
This builder for chaining. |
clearStatus()
public NodeGroup.Builder clearStatus()Check the Status enum for the list of possible values.
optional string status = 181260274;
| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
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 | |
|---|---|
| Type | Description |
NodeGroup.Builder |
This builder for chaining. |
clone()
public NodeGroup.Builder clone()| Returns | |
|---|---|
| Type | Description |
NodeGroup.Builder |
|
getAutoscalingPolicy()
public NodeGroupAutoscalingPolicy getAutoscalingPolicy()Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
| Returns | |
|---|---|
| Type | Description |
NodeGroupAutoscalingPolicy |
The autoscalingPolicy. |
getAutoscalingPolicyBuilder()
public NodeGroupAutoscalingPolicy.Builder getAutoscalingPolicyBuilder()Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
| Returns | |
|---|---|
| Type | Description |
NodeGroupAutoscalingPolicy.Builder |
|
getAutoscalingPolicyOrBuilder()
public NodeGroupAutoscalingPolicyOrBuilder getAutoscalingPolicyOrBuilder()Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
| Returns | |
|---|---|
| Type | Description |
NodeGroupAutoscalingPolicyOrBuilder |
|
getCreationTimestamp()
public String getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
String |
The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for creationTimestamp. |
getDefaultInstanceForType()
public NodeGroup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NodeGroup |
|
getDescription()
public String getDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFingerprint()
public String getFingerprint()optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description |
String |
The fingerprint. |
getFingerprintBytes()
public ByteString getFingerprintBytes()optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fingerprint. |
getId()
public long <