Interface NodeTemplateOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NodeTemplate, NodeTemplate.Builder

@Generated public interface NodeTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getAcceleratorsList

      List<AcceleratorConfig> getAcceleratorsList()
      repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
    • getAccelerators

      AcceleratorConfig getAccelerators(int index)
      repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
    • getAcceleratorsCount

      int getAcceleratorsCount()
      repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
    • getAcceleratorsOrBuilderList

      List<? extends AcceleratorConfigOrBuilder> getAcceleratorsOrBuilderList()
      repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
    • getAcceleratorsOrBuilder

      AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)
      repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
    • hasCpuOvercommitType

      boolean hasCpuOvercommitType()
       CPU overcommit.
       Check the CpuOvercommitType enum for the list of possible values.
       
      optional string cpu_overcommit_type = 247727959;
      Returns:
      Whether the cpuOvercommitType field is set.
    • getCpuOvercommitType

      String getCpuOvercommitType()
       CPU overcommit.
       Check the CpuOvercommitType enum for the list of possible values.
       
      optional string cpu_overcommit_type = 247727959;
      Returns:
      The cpuOvercommitType.
    • getCpuOvercommitTypeBytes

      com.google.protobuf.ByteString getCpuOvercommitTypeBytes()
       CPU overcommit.
       Check the CpuOvercommitType enum for the list of possible values.
       
      optional string cpu_overcommit_type = 247727959;
      Returns:
      The bytes for cpuOvercommitType.
    • hasCreationTimestamp

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

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

      com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The bytes for creationTimestamp.
    • hasDescription

      boolean hasDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      The bytes for description.
    • getDisksList

      List<LocalDisk> getDisksList()
      repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
    • getDisks

      LocalDisk getDisks(int index)
      repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
    • getDisksCount

      int getDisksCount()
      repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
    • getDisksOrBuilderList

      List<? extends LocalDiskOrBuilder> getDisksOrBuilderList()
      repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
    • getDisksOrBuilder

      LocalDiskOrBuilder getDisksOrBuilder(int index)
      repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
    • hasId

      boolean hasId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Returns:
      Whether the id field is set.
    • getId

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

      boolean hasKind()
       Output only. [Output Only] The type of the resource. Alwayscompute#nodeTemplate for node templates.
       
      optional string kind = 3292052;
      Returns:
      Whether the kind field is set.
    • getKind

      String getKind()
       Output only. [Output Only] The type of the resource. Alwayscompute#nodeTemplate for node templates.
       
      optional string kind = 3292052;
      Returns:
      The kind.
    • getKindBytes

      com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] The type of the resource. Alwayscompute#nodeTemplate for node templates.
       
      optional string kind = 3292052;
      Returns:
      The bytes for kind.
    • hasName

      boolean hasName()
       The name of the resource, provided by the client when initially creating
       the resource. The resource name must be 1-63 characters long, and comply
       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:
      Whether the name field is set.
    • getName

      String getName()
       The name of the resource, provided by the client when initially creating
       the resource. The resource name must be 1-63 characters long, and comply
       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:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the resource, provided by the client when initially creating
       the resource. The resource name must be 1-63 characters long, and comply
       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:
      The bytes for name.
    • getNodeAffinityLabelsCount

      int getNodeAffinityLabelsCount()
       Labels to use for node affinity, which will be used in instance scheduling.
       
      map<string, string> node_affinity_labels = 339007161;
    • containsNodeAffinityLabels

      boolean containsNodeAffinityLabels(String key)
       Labels to use for node affinity, which will be used in instance scheduling.
       
      map<string, string> node_affinity_labels = 339007161;
    • getNodeAffinityLabels

      @Deprecated Map<String,String> getNodeAffinityLabels()
      Deprecated.
    • getNodeAffinityLabelsMap

      Map<String,String> getNodeAffinityLabelsMap()
       Labels to use for node affinity, which will be used in instance scheduling.
       
      map<string, string> node_affinity_labels = 339007161;
    • getNodeAffinityLabelsOrDefault

      String getNodeAffinityLabelsOrDefault(String key, String defaultValue)
       Labels to use for node affinity, which will be used in instance scheduling.
       
      map<string, string> node_affinity_labels = 339007161;
    • getNodeAffinityLabelsOrThrow

      String getNodeAffinityLabelsOrThrow(String key)
       Labels to use for node affinity, which will be used in instance scheduling.
       
      map<string, string> node_affinity_labels = 339007161;
    • hasNodeType

      boolean hasNodeType()
       The node type to use for nodes group that are created from this template.
       
      optional string node_type = 465832791;
      Returns:
      Whether the nodeType field is set.
    • getNodeType

      String getNodeType()
       The node type to use for nodes group that are created from this template.
       
      optional string node_type = 465832791;
      Returns:
      The nodeType.
    • getNodeTypeBytes

      com.google.protobuf.ByteString getNodeTypeBytes()
       The node type to use for nodes group that are created from this template.
       
      optional string node_type = 465832791;
      Returns:
      The bytes for nodeType.
    • hasNodeTypeFlexibility

      boolean hasNodeTypeFlexibility()
       Do not use. Instead, use the node_type property.
       
      optional .google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility node_type_flexibility = 315257905;
      Returns:
      Whether the nodeTypeFlexibility field is set.
    • getNodeTypeFlexibility

      NodeTemplateNodeTypeFlexibility getNodeTypeFlexibility()
       Do not use. Instead, use the node_type property.
       
      optional .google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility node_type_flexibility = 315257905;
      Returns:
      The nodeTypeFlexibility.
    • getNodeTypeFlexibilityOrBuilder

      NodeTemplateNodeTypeFlexibilityOrBuilder getNodeTypeFlexibilityOrBuilder()
       Do not use. Instead, use the node_type property.
       
      optional .google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility node_type_flexibility = 315257905;
    • hasRegion

      boolean hasRegion()
       Output only. [Output Only] The name of the region where the node template resides,
       such as us-central1.
       
      optional string region = 138946292;
      Returns:
      Whether the region field is set.
    • getRegion

      String getRegion()
       Output only. [Output Only] The name of the region where the node template resides,
       such as us-central1.
       
      optional string region = 138946292;
      Returns:
      The region.
    • getRegionBytes

      com.google.protobuf.ByteString getRegionBytes()
       Output only. [Output Only] The name of the region where the node template resides,
       such as us-central1.
       
      optional string region = 138946292;
      Returns:
      The bytes for region.
    • hasSelfLink

      boolean hasSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

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

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

      boolean hasServerBinding()
       Sets the binding properties for the physical server. Valid values include:
      
       - *[Default]* RESTART_NODE_ON_ANY_SERVER:
       Restarts VMs on any available
       physical server
       - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same
       physical server whenever possible
      
      
      
       See Sole-tenant
       node options for more information.
       
      optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;
      Returns:
      Whether the serverBinding field is set.
    • getServerBinding

      ServerBinding getServerBinding()
       Sets the binding properties for the physical server. Valid values include:
      
       - *[Default]* RESTART_NODE_ON_ANY_SERVER:
       Restarts VMs on any available
       physical server
       - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same
       physical server whenever possible
      
      
      
       See Sole-tenant
       node options for more information.
       
      optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;
      Returns:
      The serverBinding.
    • getServerBindingOrBuilder

      ServerBindingOrBuilder getServerBindingOrBuilder()
       Sets the binding properties for the physical server. Valid values include:
      
       - *[Default]* RESTART_NODE_ON_ANY_SERVER:
       Restarts VMs on any available
       physical server
       - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same
       physical server whenever possible
      
      
      
       See Sole-tenant
       node options for more information.
       
      optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;
    • hasStatus

      boolean hasStatus()
       Output only. [Output Only] The status of the node template. One of the following values:CREATING, READY, and DELETING.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      Whether the status field is set.
    • getStatus

      String getStatus()
       Output only. [Output Only] The status of the node template. One of the following values:CREATING, READY, and DELETING.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      The status.
    • getStatusBytes

      com.google.protobuf.ByteString getStatusBytes()
       Output only. [Output Only] The status of the node template. One of the following values:CREATING, READY, and DELETING.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      The bytes for status.
    • hasStatusMessage

      boolean hasStatusMessage()
       Output only. [Output Only] An optional, human-readable explanation of the status.
       
      optional string status_message = 297428154;
      Returns:
      Whether the statusMessage field is set.
    • getStatusMessage

      String getStatusMessage()
       Output only. [Output Only] An optional, human-readable explanation of the status.
       
      optional string status_message = 297428154;
      Returns:
      The statusMessage.
    • getStatusMessageBytes

      com.google.protobuf.ByteString getStatusMessageBytes()
       Output only. [Output Only] An optional, human-readable explanation of the status.
       
      optional string status_message = 297428154;
      Returns:
      The bytes for statusMessage.