Class NodeGroupNode (1.15.0)

public final class NodeGroupNode extends GeneratedMessageV3 implements NodeGroupNodeOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupNode

Static Fields

ACCELERATORS_FIELD_NUMBER

public static final int ACCELERATORS_FIELD_NUMBER
Field Value
TypeDescription
int

CONSUMED_RESOURCES_FIELD_NUMBER

public static final int CONSUMED_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

CPU_OVERCOMMIT_TYPE_FIELD_NUMBER

public static final int CPU_OVERCOMMIT_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

DISKS_FIELD_NUMBER

public static final int DISKS_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_CONSUMPTION_DATA_FIELD_NUMBER

public static final int INSTANCE_CONSUMPTION_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_TYPE_FIELD_NUMBER

public static final int NODE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

SATISFIES_PZS_FIELD_NUMBER

public static final int SATISFIES_PZS_FIELD_NUMBER
Field Value
TypeDescription
int

SERVER_BINDING_FIELD_NUMBER

public static final int SERVER_BINDING_FIELD_NUMBER
Field Value
TypeDescription
int

SERVER_ID_FIELD_NUMBER

public static final int SERVER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_RESOURCES_FIELD_NUMBER

public static final int TOTAL_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodeGroupNode getDefaultInstance()
Returns
TypeDescription
NodeGroupNode

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NodeGroupNode.Builder newBuilder()
Returns
TypeDescription
NodeGroupNode.Builder

newBuilder(NodeGroupNode prototype)

public static NodeGroupNode.Builder newBuilder(NodeGroupNode prototype)
Parameter
NameDescription
prototypeNodeGroupNode
Returns
TypeDescription
NodeGroupNode.Builder

parseDelimitedFrom(InputStream input)

public static NodeGroupNode parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NodeGroupNode parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodeGroupNode parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodeGroupNode parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NodeGroupNode parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NodeGroupNode parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NodeGroupNode> parser()
Returns
TypeDescription
Parser<NodeGroupNode>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAccelerators(int index)

public AcceleratorConfig getAccelerators(int index)

Accelerators for this node.

repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfig

getAcceleratorsCount()

public int getAcceleratorsCount()

Accelerators for this node.

repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;

Returns
TypeDescription
int

getAcceleratorsList()

public List<AcceleratorConfig> getAcceleratorsList()

Accelerators for this node.

repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;

Returns
TypeDescription
List<AcceleratorConfig>

getAcceleratorsOrBuilder(int index)

public AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)

Accelerators for this node.

repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfigOrBuilder

getAcceleratorsOrBuilderList()

public List<? extends AcceleratorConfigOrBuilder> getAcceleratorsOrBuilderList()

Accelerators for this node.

repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.AcceleratorConfigOrBuilder>

getConsumedResources()

public InstanceConsumptionInfo getConsumedResources()

Node resources that are reserved by all instances.

optional .google.cloud.compute.v1.InstanceConsumptionInfo consumed_resources = 334527118;

Returns
TypeDescription
InstanceConsumptionInfo

The consumedResources.

getConsumedResourcesOrBuilder()

public InstanceConsumptionInfoOrBuilder getConsumedResourcesOrBuilder()

Node resources that are reserved by all instances.

optional .google.cloud.compute.v1.InstanceConsumptionInfo consumed_resources = 334527118;

Returns
TypeDescription
InstanceConsumptionInfoOrBuilder

getCpuOvercommitType()

public String getCpuOvercommitType()

CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.

optional string cpu_overcommit_type = 247727959;

Returns
TypeDescription
String

The cpuOvercommitType.

getCpuOvercommitTypeBytes()

public ByteString getCpuOvercommitTypeBytes()

CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.

optional string cpu_overcommit_type = 247727959;

Returns
TypeDescription
ByteString

The bytes for cpuOvercommitType.

getDefaultInstanceForType()

public NodeGroupNode getDefaultInstanceForType()
Returns
TypeDescription
NodeGroupNode

getDisks(int index)

public LocalDisk getDisks(int index)

Local disk configurations.

repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;

Parameter
NameDescription
indexint
Returns
TypeDescription
LocalDisk

getDisksCount()

public int getDisksCount()

Local disk configurations.

repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;

Returns
TypeDescription
int

getDisksList()

public List<LocalDisk> getDisksList()

Local disk configurations.

repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;

Returns
TypeDescription
List<LocalDisk>

getDisksOrBuilder(int index)

public LocalDiskOrBuilder getDisksOrBuilder(int index)

Local disk configurations.

repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;

Parameter
NameDescription
indexint
Returns
TypeDescription
LocalDiskOrBuilder

getDisksOrBuilderList()

public List<? extends LocalDiskOrBuilder> getDisksOrBuilderList()

Local disk configurations.

repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.LocalDiskOrBuilder>

getInstanceConsumptionData(int index)

public InstanceConsumptionData getInstanceConsumptionData(int index)

Instance data that shows consumed resources on the node.

repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceConsumptionData

getInstanceConsumptionDataCount()

public int getInstanceConsumptionDataCount()

Instance data that shows consumed resources on the node.

repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;

Returns
TypeDescription
int

getInstanceConsumptionDataList()

public List<InstanceConsumptionData> getInstanceConsumptionDataList()

Instance data that shows consumed resources on the node.

repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;

Returns
TypeDescription
List<InstanceConsumptionData>

getInstanceConsumptionDataOrBuilder(int index)

public InstanceConsumptionDataOrBuilder getInstanceConsumptionDataOrBuilder(int index)

Instance data that shows consumed resources on the node.

repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceConsumptionDataOrBuilder

getInstanceConsumptionDataOrBuilderList()

public List<? extends InstanceConsumptionDataOrBuilder> getInstanceConsumptionDataOrBuilderList()

Instance data that shows consumed resources on the node.

repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.InstanceConsumptionDataOrBuilder>

getInstances(int index)

public String getInstances(int index)

Instances scheduled on this node.

repeated string instances = 29097598;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The instances at the given index.

getInstancesBytes(int index)

public ByteString getInstancesBytes(int index)

Instances scheduled on this node.

repeated string instances = 29097598;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the instances at the given index.

getInstancesCount()

public int getInstancesCount()

Instances scheduled on this node.

repeated string instances = 29097598;

Returns
TypeDescription
int

The count of instances.

getInstancesList()

public ProtocolStringList getInstancesList()

Instances scheduled on this node.

repeated string instances = 29097598;

Returns
TypeDescription
ProtocolStringList

A list containing the instances.

getName()

public String getName()

The name of the node.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the node.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getNodeType()

public String getNodeType()

The type of this node.

optional string node_type = 465832791;

Returns
TypeDescription
String

The nodeType.

getNodeTypeBytes()

public ByteString getNodeTypeBytes()

The type of this node.

optional string node_type = 465832791;

Returns
TypeDescription
ByteString

The bytes for nodeType.

getParserForType()

public Parser<NodeGroupNode> getParserForType()
Returns
TypeDescription
Parser<NodeGroupNode>
Overrides

getSatisfiesPzs()

public boolean getSatisfiesPzs()

[Output Only] Reserved for future use.

optional bool satisfies_pzs = 480964267;

Returns
TypeDescription
boolean

The satisfiesPzs.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServerBinding()

public ServerBinding getServerBinding()

Binding properties for the physical server.

optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;

Returns
TypeDescription
ServerBinding

The serverBinding.

getServerBindingOrBuilder()

public ServerBindingOrBuilder getServerBindingOrBuilder()

Binding properties for the physical server.

optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;

Returns
TypeDescription
ServerBindingOrBuilder

getServerId()

public String getServerId()

Server ID associated with this node.

optional string server_id = 339433367;

Returns
TypeDescription
String

The serverId.

getServerIdBytes()

public ByteString getServerIdBytes()

Server ID associated with this node.

optional string server_id = 339433367;

Returns
TypeDescription
ByteString

The bytes for serverId.

getStatus()

public String getStatus()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

getTotalResources()

public InstanceConsumptionInfo getTotalResources()

Total amount of available resources on the node.

optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698;

Returns
TypeDescription
InstanceConsumptionInfo

The totalResources.

getTotalResourcesOrBuilder()

public InstanceConsumptionInfoOrBuilder getTotalResourcesOrBuilder()

Total amount of available resources on the node.

optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698;

Returns
TypeDescription
InstanceConsumptionInfoOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasConsumedResources()

public boolean hasConsumedResources()

Node resources that are reserved by all instances.

optional .google.cloud.compute.v1.InstanceConsumptionInfo consumed_resources = 334527118;

Returns
TypeDescription
boolean

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;

Returns
TypeDescription
boolean

Whether the cpuOvercommitType field is set.

hasName()

public boolean hasName()

The name of the node.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasNodeType()

public boolean hasNodeType()

The type of this node.

optional string node_type = 465832791;

Returns
TypeDescription
boolean

Whether the nodeType field is set.

hasSatisfiesPzs()

public boolean hasSatisfiesPzs()

[Output Only] Reserved for future use.

optional bool satisfies_pzs = 480964267;

Returns
TypeDescription
boolean

Whether the satisfiesPzs field is set.

hasServerBinding()

public boolean hasServerBinding()

Binding properties for the physical server.

optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;

Returns
TypeDescription
boolean

Whether the serverBinding field is set.

hasServerId()

public boolean hasServerId()

Server ID associated with this node.

optional string server_id = 339433367;

Returns
TypeDescription
boolean

Whether the serverId field is set.

hasStatus()

public boolean hasStatus()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
boolean

Whether the status field is set.

hasTotalResources()

public boolean hasTotalResources()

Total amount of available resources on the node.

optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698;

Returns
TypeDescription
boolean

Whether the totalResources field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NodeGroupNode.Builder newBuilderForType()
Returns
TypeDescription
NodeGroupNode.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodeGroupNode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NodeGroupNode.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NodeGroupNode.Builder toBuilder()
Returns
TypeDescription
NodeGroupNode.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException