Class NodeGroup.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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, readSole-tenant nodes.
 
Protobuf type google.cloud.compute.v1.NodeGroup
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NodeGroup.Builder>
    • clear

      public NodeGroup.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<NodeGroup.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<NodeGroup.Builder>
    • getDefaultInstanceForType

      public NodeGroup getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public NodeGroup build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public NodeGroup buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public NodeGroup.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodeGroup.Builder>
    • mergeFrom

      public NodeGroup.Builder mergeFrom(NodeGroup other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<NodeGroup.Builder>
    • mergeFrom

      public NodeGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasAutoscalingPolicy in interface NodeGroupOrBuilder
      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:
      getAutoscalingPolicy in interface NodeGroupOrBuilder
      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:
      getAutoscalingPolicyOrBuilder in interface NodeGroupOrBuilder
    • hasCreationTimestamp

      public boolean hasCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      hasCreationTimestamp in interface NodeGroupOrBuilder
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      public String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestamp in interface NodeGroupOrBuilder
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      public com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestampBytes in interface NodeGroupOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • setCreationTimestamp

      public NodeGroup.Builder setCreationTimestamp(String value)
       Output only. [Output Only] Creation timestamp inRFC3339
       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. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      This builder for chaining.
    • setCreationTimestampBytes

      public NodeGroup.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Creation timestamp inRFC3339
       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:
      hasDescription in interface NodeGroupOrBuilder
      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:
      getDescription in interface NodeGroupOrBuilder
      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:
      getDescriptionBytes in interface NodeGroupOrBuilder
      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:
      hasFingerprint in interface NodeGroupOrBuilder
      Returns:
      Whether the fingerprint field is set.
    • getFingerprint

      public String getFingerprint()
      optional string fingerprint = 234678500;
      Specified by:
      getFingerprint in interface NodeGroupOrBuilder
      Returns:
      The fingerprint.
    • getFingerprintBytes

      public com.google.protobuf.ByteString getFingerprintBytes()
      optional string fingerprint = 234678500;
      Specified by:
      getFingerprintBytes in interface NodeGroupOrBuilder
      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. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      hasId in interface NodeGroupOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      getId in interface NodeGroupOrBuilder
      Returns:
      The id.
    • setId

      public NodeGroup.Builder setId(long value)
       Output only. [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. [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. [Output Only] The type of the resource. Alwayscompute#nodeGroup for node group.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface NodeGroupOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] The type of the resource. Alwayscompute#nodeGroup for node group.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface NodeGroupOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] The type of the resource. Alwayscompute#nodeGroup for node group.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface NodeGroupOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public NodeGroup.Builder setKind(String value)
       Output only. [Output Only] The type of the resource. Alwayscompute#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. [Output Only] The type of the resource. Alwayscompute#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. [Output Only] The type of the resource. Alwayscompute#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:
      hasLocationHint in interface NodeGroupOrBuilder
      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:
      getLocationHint in interface NodeGroupOrBuilder
      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:
      getLocationHintBytes in interface NodeGroupOrBuilder
      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.
    • hasMaintenanceInterval

      public boolean hasMaintenanceInterval()
       Specifies the frequency of planned maintenance events. The accepted values
       are: `AS_NEEDED` and `RECURRENT`.
       Check the MaintenanceInterval enum for the list of possible values.
       
      optional string maintenance_interval = 403368049;
      Specified by:
      hasMaintenanceInterval in interface NodeGroupOrBuilder
      Returns:
      Whether the maintenanceInterval field is set.
    • getMaintenanceInterval

      public String getMaintenanceInterval()
       Specifies the frequency of planned maintenance events. The accepted values
       are: `AS_NEEDED` and `RECURRENT`.
       Check the MaintenanceInterval enum for the list of possible values.
       
      optional string maintenance_interval = 403368049;
      Specified by:
      getMaintenanceInterval in interface NodeGroupOrBuilder
      Returns:
      The maintenanceInterval.
    • getMaintenanceIntervalBytes

      public com.google.protobuf.ByteString getMaintenanceIntervalBytes()
       Specifies the frequency of planned maintenance events. The accepted values
       are: `AS_NEEDED` and `RECURRENT`.
       Check the MaintenanceInterval enum for the list of possible values.
       
      optional string maintenance_interval = 403368049;
      Specified by:
      getMaintenanceIntervalBytes in interface NodeGroupOrBuilder
      Returns:
      The bytes for maintenanceInterval.
    • setMaintenanceInterval

      public NodeGroup.Builder setMaintenanceInterval(String value)
       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;
      Parameters:
      value - The maintenanceInterval to set.
      Returns:
      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:
      This builder for chaining.
    • setMaintenanceIntervalBytes

      public NodeGroup.Builder setMaintenanceIntervalBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for maintenanceInterval 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:
      hasMaintenancePolicy in interface NodeGroupOrBuilder
      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:
      getMaintenancePolicy in interface NodeGroupOrBuilder
      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:
      getMaintenancePolicyBytes in interface NodeGroupOrBuilder
      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:
      hasMaintenanceWindow in interface NodeGroupOrBuilder
      Returns:
      Whether the maintenanceWindow field is set.
    • getMaintenanceWindow

      public NodeGroupMaintenanceWindow getMaintenanceWindow()
      optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
      Specified by:
      getMaintenanceWindow in interface NodeGroupOrBuilder
      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:
      getMaintenanceWindowOrBuilder in interface NodeGroupOrBuilder
    • 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
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface NodeGroupOrBuilder
      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
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Specified by:
      getName in interface NodeGroupOrBuilder
      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
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface NodeGroupOrBuilder
      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
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      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
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Returns:
      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
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      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:
      hasNodeTemplate in interface NodeGroupOrBuilder
      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:
      getNodeTemplate in interface NodeGroupOrBuilder
      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:
      getNodeTemplateBytes in interface NodeGroupOrBuilder
      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. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface NodeGroupOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface NodeGroupOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface NodeGroupOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public NodeGroup.Builder setSelfLink(String value)
       Output only. [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. [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. [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:
      hasShareSettings in interface NodeGroupOrBuilder
      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:
      getShareSettings in interface NodeGroupOrBuilder
      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:
      getShareSettingsOrBuilder in interface NodeGroupOrBuilder
    • hasSize

      public boolean hasSize()
       Output only. [Output Only] The total number of nodes in the node group.
       
      optional int32 size = 3530753;
      Specified by:
      hasSize in interface NodeGroupOrBuilder
      Returns:
      Whether the size field is set.
    • getSize

      public int getSize()
       Output only. [Output Only] The total number of nodes in the node group.
       
      optional int32 size = 3530753;
      Specified by:
      getSize in interface NodeGroupOrBuilder
      Returns:
      The size.
    • setSize

      public NodeGroup.Builder setSize(int value)
       Output only. [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. [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:
      hasStatus in interface NodeGroupOrBuilder
      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:
      getStatus in interface NodeGroupOrBuilder
      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:
      getStatusBytes in interface NodeGroupOrBuilder
      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. [Output Only] The name of the zone where the node group resides,
       such as us-central1-a.
       
      optional string zone = 3744684;
      Specified by:
      hasZone in interface NodeGroupOrBuilder
      Returns:
      Whether the zone field is set.
    • getZone

      public String getZone()
       Output only. [Output Only] The name of the zone where the node group resides,
       such as us-central1-a.
       
      optional string zone = 3744684;
      Specified by:
      getZone in interface NodeGroupOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       Output only. [Output Only] The name of the zone where the node group resides,
       such as us-central1-a.
       
      optional string zone = 3744684;
      Specified by:
      getZoneBytes in interface NodeGroupOrBuilder
      Returns:
      The bytes for zone.
    • setZone

      public NodeGroup.Builder setZone(String value)
       Output only. [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. [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. [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.