Class NodeGroupNode

  • All Implemented Interfaces:
    NodeGroupNodeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class NodeGroupNode
    extends com.google.protobuf.GeneratedMessageV3
    implements NodeGroupNodeOrBuilder
     
    Protobuf type google.cloud.compute.v1.NodeGroupNode
    See Also:
    Serialized Form
    • Field Detail

      • ACCELERATORS_FIELD_NUMBER

        public static final int ACCELERATORS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONSUMED_RESOURCES_FIELD_NUMBER

        public static final int CONSUMED_RESOURCES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CPU_OVERCOMMIT_TYPE_FIELD_NUMBER

        public static final int CPU_OVERCOMMIT_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INSTANCE_CONSUMPTION_DATA_FIELD_NUMBER

        public static final int INSTANCE_CONSUMPTION_DATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SATISFIES_PZS_FIELD_NUMBER

        public static final int SATISFIES_PZS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVER_BINDING_FIELD_NUMBER

        public static final int SERVER_BINDING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOTAL_RESOURCES_FIELD_NUMBER

        public static final int TOTAL_RESOURCES_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getAcceleratorsCount

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

        public boolean hasConsumedResources()
         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.
      • 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.
      • 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
      • getInstanceConsumptionDataCount

        public int getInstanceConsumptionDataCount()
         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
      • 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.
      • 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.
      • 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] 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] 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.
      • 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()
         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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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