Class NodeGroupNode

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.NodeGroupNode
All Implemented Interfaces:
NodeGroupNodeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class NodeGroupNode extends com.google.protobuf.GeneratedMessage implements NodeGroupNodeOrBuilder
 
Protobuf type google.cloud.compute.v1.NodeGroupNode
See Also:
  • Field Details

    • ACCELERATORS_FIELD_NUMBER

      public static final int ACCELERATORS_FIELD_NUMBER
      See Also:
    • CONSUMED_RESOURCES_FIELD_NUMBER

      public static final int CONSUMED_RESOURCES_FIELD_NUMBER
      See Also:
    • CPU_OVERCOMMIT_TYPE_FIELD_NUMBER

      public static final int CPU_OVERCOMMIT_TYPE_FIELD_NUMBER
      See Also:
    • DISKS_FIELD_NUMBER

      public static final int DISKS_FIELD_NUMBER
      See Also:
    • INSTANCE_CONSUMPTION_DATA_FIELD_NUMBER

      public static final int INSTANCE_CONSUMPTION_DATA_FIELD_NUMBER
      See Also:
    • INSTANCES_FIELD_NUMBER

      public static final int INSTANCES_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • NODE_TYPE_FIELD_NUMBER

      public static final int NODE_TYPE_FIELD_NUMBER
      See Also:
    • SATISFIES_PZS_FIELD_NUMBER

      public static final int SATISFIES_PZS_FIELD_NUMBER
      See Also:
    • SERVER_BINDING_FIELD_NUMBER

      public static final int SERVER_BINDING_FIELD_NUMBER
      See Also:
    • SERVER_ID_FIELD_NUMBER

      public static final int SERVER_ID_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • TOTAL_RESOURCES_FIELD_NUMBER

      public static final int TOTAL_RESOURCES_FIELD_NUMBER
      See Also:
    • UPCOMING_MAINTENANCE_FIELD_NUMBER

      public static final int UPCOMING_MAINTENANCE_FIELD_NUMBER
      See Also:
  • 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
    • getAcceleratorsList

      public List<AcceleratorConfig> getAcceleratorsList()
       Accelerators for this node.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
      Specified by:
      getAcceleratorsList in interface NodeGroupNodeOrBuilder
    • getAcceleratorsOrBuilderList

      public List<? extends AcceleratorConfigOrBuilder> getAcceleratorsOrBuilderList()
       Accelerators for this node.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
      Specified by:
      getAcceleratorsOrBuilderList in interface NodeGroupNodeOrBuilder
    • getAcceleratorsCount

      public int getAcceleratorsCount()
       Accelerators for this node.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
      Specified by:
      getAcceleratorsCount in interface NodeGroupNodeOrBuilder
    • getAccelerators

      public AcceleratorConfig getAccelerators(int index)
       Accelerators for this node.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
      Specified by:
      getAccelerators in interface NodeGroupNodeOrBuilder
    • getAcceleratorsOrBuilder

      public AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)
       Accelerators for this node.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
      Specified by:
      getAcceleratorsOrBuilder in interface NodeGroupNodeOrBuilder
    • hasConsumedResources

      public boolean hasConsumedResources()
       Output only. Node resources that are reserved by all instances.
       
      optional .google.cloud.compute.v1.InstanceConsumptionInfo consumed_resources = 334527118;
      Specified by:
      hasConsumedResources in interface NodeGroupNodeOrBuilder
      Returns:
      Whether the consumedResources field is set.
    • getConsumedResources

      public InstanceConsumptionInfo getConsumedResources()
       Output only. Node resources that are reserved by all instances.
       
      optional .google.cloud.compute.v1.InstanceConsumptionInfo consumed_resources = 334527118;
      Specified by:
      getConsumedResources in interface NodeGroupNodeOrBuilder
      Returns:
      The consumedResources.
    • getConsumedResourcesOrBuilder

      public InstanceConsumptionInfoOrBuilder getConsumedResourcesOrBuilder()
       Output only. Node resources that are reserved by all instances.
       
      optional .google.cloud.compute.v1.InstanceConsumptionInfo consumed_resources = 334527118;
      Specified by:
      getConsumedResourcesOrBuilder in interface NodeGroupNodeOrBuilder
    • hasCpuOvercommitType

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

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

      public com.google.protobuf.ByteString getCpuOvercommitTypeBytes()
       CPU overcommit.
       Check the CpuOvercommitType enum for the list of possible values.
       
      optional string cpu_overcommit_type = 247727959;
      Specified by:
      getCpuOvercommitTypeBytes in interface NodeGroupNodeOrBuilder
      Returns:
      The bytes for cpuOvercommitType.
    • getDisksList

      public List<LocalDisk> getDisksList()
       Local disk configurations.
       
      repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
      Specified by:
      getDisksList in interface NodeGroupNodeOrBuilder
    • getDisksOrBuilderList

      public List<? extends LocalDiskOrBuilder> getDisksOrBuilderList()
       Local disk configurations.
       
      repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
      Specified by:
      getDisksOrBuilderList in interface NodeGroupNodeOrBuilder
    • getDisksCount

      public int getDisksCount()
       Local disk configurations.
       
      repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
      Specified by:
      getDisksCount in interface NodeGroupNodeOrBuilder
    • getDisks

      public LocalDisk getDisks(int index)
       Local disk configurations.
       
      repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
      Specified by:
      getDisks in interface NodeGroupNodeOrBuilder
    • getDisksOrBuilder

      public LocalDiskOrBuilder getDisksOrBuilder(int index)
       Local disk configurations.
       
      repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
      Specified by:
      getDisksOrBuilder in interface NodeGroupNodeOrBuilder
    • getInstanceConsumptionDataList

      public List<InstanceConsumptionData> getInstanceConsumptionDataList()
       Output only. Instance data that shows consumed resources on the node.
       
      repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;
      Specified by:
      getInstanceConsumptionDataList in interface NodeGroupNodeOrBuilder
    • getInstanceConsumptionDataOrBuilderList

      public List<? extends InstanceConsumptionDataOrBuilder> getInstanceConsumptionDataOrBuilderList()
       Output only. Instance data that shows consumed resources on the node.
       
      repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;
      Specified by:
      getInstanceConsumptionDataOrBuilderList in interface NodeGroupNodeOrBuilder
    • getInstanceConsumptionDataCount

      public int getInstanceConsumptionDataCount()
       Output only. Instance data that shows consumed resources on the node.
       
      repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;
      Specified by:
      getInstanceConsumptionDataCount in interface NodeGroupNodeOrBuilder
    • getInstanceConsumptionData

      public InstanceConsumptionData getInstanceConsumptionData(int index)
       Output only. Instance data that shows consumed resources on the node.
       
      repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;
      Specified by:
      getInstanceConsumptionData in interface NodeGroupNodeOrBuilder
    • getInstanceConsumptionDataOrBuilder

      public InstanceConsumptionDataOrBuilder getInstanceConsumptionDataOrBuilder(int index)
       Output only. Instance data that shows consumed resources on the node.
       
      repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;
      Specified by:
      getInstanceConsumptionDataOrBuilder in interface NodeGroupNodeOrBuilder
    • getInstancesList

      public com.google.protobuf.ProtocolStringList getInstancesList()
       Instances scheduled on this node.
       
      repeated string instances = 29097598;
      Specified by:
      getInstancesList in interface NodeGroupNodeOrBuilder
      Returns:
      A list containing the instances.
    • getInstancesCount

      public int getInstancesCount()
       Instances scheduled on this node.
       
      repeated string instances = 29097598;
      Specified by:
      getInstancesCount in interface NodeGroupNodeOrBuilder
      Returns:
      The count of instances.
    • getInstances

      public String getInstances(int index)
       Instances scheduled on this node.
       
      repeated string instances = 29097598;
      Specified by:
      getInstances in interface NodeGroupNodeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The instances at the given index.
    • getInstancesBytes

      public com.google.protobuf.ByteString getInstancesBytes(int index)
       Instances scheduled on this node.
       
      repeated string instances = 29097598;
      Specified by:
      getInstancesBytes in interface NodeGroupNodeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the instances at the given index.
    • hasName

      public boolean hasName()
       The name of the node.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface NodeGroupNodeOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       The name of the node.
       
      optional string name = 3373707;
      Specified by:
      getName in interface NodeGroupNodeOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the node.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface NodeGroupNodeOrBuilder
      Returns:
      The bytes for name.
    • hasNodeType

      public boolean hasNodeType()
       The type of this node.
       
      optional string node_type = 465832791;
      Specified by:
      hasNodeType in interface NodeGroupNodeOrBuilder
      Returns:
      Whether the nodeType field is set.
    • getNodeType

      public String getNodeType()
       The type of this node.
       
      optional string node_type = 465832791;
      Specified by:
      getNodeType in interface NodeGroupNodeOrBuilder
      Returns:
      The nodeType.
    • getNodeTypeBytes

      public com.google.protobuf.ByteString getNodeTypeBytes()
       The type of this node.
       
      optional string node_type = 465832791;
      Specified by:
      getNodeTypeBytes in interface NodeGroupNodeOrBuilder
      Returns:
      The bytes for nodeType.
    • hasSatisfiesPzs

      public boolean hasSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Specified by:
      hasSatisfiesPzs in interface NodeGroupNodeOrBuilder
      Returns:
      Whether the satisfiesPzs field is set.
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Specified by:
      getSatisfiesPzs in interface NodeGroupNodeOrBuilder
      Returns:
      The satisfiesPzs.
    • hasServerBinding

      public boolean hasServerBinding()
       Binding properties for the physical server.
       
      optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;
      Specified by:
      hasServerBinding in interface NodeGroupNodeOrBuilder
      Returns:
      Whether the serverBinding field is set.
    • getServerBinding

      public ServerBinding getServerBinding()
       Binding properties for the physical server.
       
      optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;
      Specified by:
      getServerBinding in interface NodeGroupNodeOrBuilder
      Returns:
      The serverBinding.
    • getServerBindingOrBuilder

      public ServerBindingOrBuilder getServerBindingOrBuilder()
       Binding properties for the physical server.
       
      optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;
      Specified by:
      getServerBindingOrBuilder in interface NodeGroupNodeOrBuilder
    • hasServerId

      public boolean hasServerId()
       Server ID associated with this node.
       
      optional string server_id = 339433367;
      Specified by:
      hasServerId in interface NodeGroupNodeOrBuilder
      Returns:
      Whether the serverId field is set.
    • getServerId

      public String getServerId()
       Server ID associated with this node.
       
      optional string server_id = 339433367;
      Specified by:
      getServerId in interface NodeGroupNodeOrBuilder
      Returns:
      The serverId.
    • getServerIdBytes

      public com.google.protobuf.ByteString getServerIdBytes()
       Server ID associated with this node.
       
      optional string server_id = 339433367;
      Specified by:
      getServerIdBytes in interface NodeGroupNodeOrBuilder
      Returns:
      The bytes for serverId.
    • hasStatus

      public boolean hasStatus()
      
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      hasStatus in interface NodeGroupNodeOrBuilder
      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 NodeGroupNodeOrBuilder
      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 NodeGroupNodeOrBuilder
      Returns:
      The bytes for status.
    • hasTotalResources

      public boolean hasTotalResources()
       Output only. Total amount of available resources on the node.
       
      optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698;
      Specified by:
      hasTotalResources in interface NodeGroupNodeOrBuilder
      Returns:
      Whether the totalResources field is set.
    • getTotalResources

      public InstanceConsumptionInfo getTotalResources()
       Output only. Total amount of available resources on the node.
       
      optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698;
      Specified by:
      getTotalResources in interface NodeGroupNodeOrBuilder
      Returns:
      The totalResources.
    • getTotalResourcesOrBuilder

      public InstanceConsumptionInfoOrBuilder getTotalResourcesOrBuilder()
       Output only. Total amount of available resources on the node.
       
      optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698;
      Specified by:
      getTotalResourcesOrBuilder in interface NodeGroupNodeOrBuilder
    • hasUpcomingMaintenance

      public boolean hasUpcomingMaintenance()
       Output only. [Output Only] The information about an upcoming maintenance event.
       
      optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;
      Specified by:
      hasUpcomingMaintenance in interface NodeGroupNodeOrBuilder
      Returns:
      Whether the upcomingMaintenance field is set.
    • getUpcomingMaintenance

      public UpcomingMaintenance getUpcomingMaintenance()
       Output only. [Output Only] The information about an upcoming maintenance event.
       
      optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;
      Specified by:
      getUpcomingMaintenance in interface NodeGroupNodeOrBuilder
      Returns:
      The upcomingMaintenance.
    • getUpcomingMaintenanceOrBuilder

      public UpcomingMaintenanceOrBuilder getUpcomingMaintenanceOrBuilder()
       Output only. [Output Only] The information about an upcoming maintenance event.
       
      optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;
      Specified by:
      getUpcomingMaintenanceOrBuilder in interface NodeGroupNodeOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static NodeGroupNode parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeGroupNode parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeGroupNode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeGroupNode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeGroupNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeGroupNode parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeGroupNode parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeGroupNode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodeGroupNode parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodeGroupNode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeGroupNode parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeGroupNode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public NodeGroupNode.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NodeGroupNode.Builder newBuilder()
    • newBuilder

      public static NodeGroupNode.Builder newBuilder(NodeGroupNode prototype)
    • toBuilder

      public NodeGroupNode.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NodeGroupNode.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static NodeGroupNode getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NodeGroupNode> parser()
    • getParserForType

      public com.google.protobuf.Parser<NodeGroupNode> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public NodeGroupNode getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder