Class NodeGroupNode (1.52.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
Type Description
int

CONSUMED_RESOURCES_FIELD_NUMBER

public static final int CONSUMED_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

CPU_OVERCOMMIT_TYPE_FIELD_NUMBER

public static final int CPU_OVERCOMMIT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DISKS_FIELD_NUMBER

public static final int DISKS_FIELD_NUMBER
Field Value
Type Description
int

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_CONSUMPTION_DATA_FIELD_NUMBER

public static final int INSTANCE_CONSUMPTION_DATA_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NODE_TYPE_FIELD_NUMBER

public static final int NODE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SATISFIES_PZS_FIELD_NUMBER

public static final int SATISFIES_PZS_FIELD_NUMBER
Field Value
Type Description
int

SERVER_BINDING_FIELD_NUMBER

public static final int SERVER_BINDING_FIELD_NUMBER
Field Value
Type Description
int

SERVER_ID_FIELD_NUMBER

public static final int SERVER_ID_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_RESOURCES_FIELD_NUMBER

public static final int TOTAL_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NodeGroupNode getDefaultInstance()
Returns
Type Description
NodeGroupNode

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NodeGroupNode.Builder newBuilder()
Returns
Type Description
NodeGroupNode.Builder

newBuilder(NodeGroupNode prototype)

public static NodeGroupNode.Builder newBuilder(NodeGroupNode prototype)
Parameter
Name Description
prototype NodeGroupNode
Returns
Type Description
NodeGroupNode.Builder

parseDelimitedFrom(InputStream input)

public static NodeGroupNode parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NodeGroupNode parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodeGroupNode parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodeGroupNode parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NodeGroupNode parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NodeGroupNode parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodeGroupNode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeGroupNode
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NodeGroupNode> parser()
Returns
Type Description
Parser<NodeGroupNode>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAccelerators(int index)

public AcceleratorConfig getAccelerators(int index)

Accelerators for this node.

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

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfig

getAcceleratorsCount()

public int getAcceleratorsCount()

Accelerators for this node.

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

Returns
Type Description
int

getAcceleratorsList()

public List<AcceleratorConfig> getAcceleratorsList()

Accelerators for this node.

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

Returns
Type Description
List<AcceleratorConfig>

getAcceleratorsOrBuilder(int index)

public AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)

Accelerators for this node.

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

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfigOrBuilder

getAcceleratorsOrBuilderList()

public List<? extends AcceleratorConfigOrBuilder> getAcceleratorsOrBuilderList()

Accelerators for this node.

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

Returns
Type Description
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
Type Description
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
Type Description
InstanceConsumptionInfoOrBuilder

getCpuOvercommitType()

public String getCpuOvercommitType()

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

optional string cpu_overcommit_type = 247727959;

Returns
Type Description
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
Type Description
ByteString

The bytes for cpuOvercommitType.

getDefaultInstanceForType()

public NodeGroupNode getDefaultInstanceForType()
Returns
Type Description
NodeGroupNode

getDisks(int index)

public LocalDisk getDisks(int index)

Local disk configurations.

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

Parameter
Name Description
index int
Returns
Type Description
LocalDisk

getDisksCount()

public int getDisksCount()

Local disk configurations.

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

Returns
Type Description
int

getDisksList()

public List<LocalDisk> getDisksList()

Local disk configurations.

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

Returns
Type Description
List<LocalDisk>

getDisksOrBuilder(int index)

public LocalDiskOrBuilder getDisksOrBuilder(int index)

Local disk configurations.

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

Parameter
Name Description
index int
Returns
Type Description
LocalDiskOrBuilder

getDisksOrBuilderList()

public List<? extends LocalDiskOrBuilder> getDisksOrBuilderList()

Local disk configurations.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the instances at the given index.

getInstancesCount()

public int getInstancesCount()

Instances scheduled on this node.

repeated string instances = 29097598;

Returns
Type Description
int

The count of instances.

getInstancesList()

public ProtocolStringList getInstancesList()

Instances scheduled on this node.

repeated string instances = 29097598;

Returns
Type Description
ProtocolStringList

A list containing the instances.

getName()

public String getName()

The name of the node.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the node.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getNodeType()

public String getNodeType()

The type of this node.

optional string node_type = 465832791;

Returns
Type Description
String

The nodeType.

getNodeTypeBytes()

public ByteString getNodeTypeBytes()

The type of this node.

optional string node_type = 465832791;

Returns
Type Description
ByteString

The bytes for nodeType.

getParserForType()

public Parser<NodeGroupNode> getParserForType()
Returns
Type Description
Parser<NodeGroupNode>
Overrides

getSatisfiesPzs()

public boolean getSatisfiesPzs()

[Output Only] Reserved for future use.

optional bool satisfies_pzs = 480964267;

Returns
Type Description
boolean

The satisfiesPzs.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServerBinding()

public ServerBinding getServerBinding()

Binding properties for the physical server.

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

Returns
Type Description
ServerBinding

The serverBinding.

getServerBindingOrBuilder()

public ServerBindingOrBuilder getServerBindingOrBuilder()

Binding properties for the physical server.

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

Returns
Type Description
ServerBindingOrBuilder

getServerId()

public String getServerId()

Server ID associated with this node.

optional string server_id = 339433367;

Returns
Type Description
String

The serverId.

getServerIdBytes()

public ByteString getServerIdBytes()

Server ID associated with this node.

optional string server_id = 339433367;

Returns
Type Description
ByteString

The bytes for serverId.

getStatus()

public String getStatus()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
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
Type Description
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
Type Description
InstanceConsumptionInfoOrBuilder

hasConsumedResources()

public boolean hasConsumedResources()

Node resources that are reserved by all instances.

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

Returns
Type Description
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
Type Description
boolean

Whether the cpuOvercommitType field is set.

hasName()

public boolean hasName()

The name of the node.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasNodeType()

public boolean hasNodeType()

The type of this node.

optional string node_type = 465832791;

Returns
Type Description
boolean

Whether the nodeType field is set.

hasSatisfiesPzs()

public boolean hasSatisfiesPzs()

[Output Only] Reserved for future use.

optional bool satisfies_pzs = 480964267;

Returns
Type Description
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
Type Description
boolean

Whether the serverBinding field is set.

hasServerId()

public boolean hasServerId()

Server ID associated with this node.

optional string server_id = 339433367;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the totalResources field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NodeGroupNode.Builder newBuilderForType()
Returns
Type Description
NodeGroupNode.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodeGroupNode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NodeGroupNode.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NodeGroupNode.Builder toBuilder()
Returns
Type Description
NodeGroupNode.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException