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
CONSUMED_RESOURCES_FIELD_NUMBER
public static final int CONSUMED_RESOURCES_FIELD_NUMBER
Field Value
CPU_OVERCOMMIT_TYPE_FIELD_NUMBER
public static final int CPU_OVERCOMMIT_TYPE_FIELD_NUMBER
Field Value
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER
Field Value
INSTANCES_FIELD_NUMBER
public static final int INSTANCES_FIELD_NUMBER
Field Value
INSTANCE_CONSUMPTION_DATA_FIELD_NUMBER
public static final int INSTANCE_CONSUMPTION_DATA_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NODE_TYPE_FIELD_NUMBER
public static final int NODE_TYPE_FIELD_NUMBER
Field Value
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
Field Value
SERVER_BINDING_FIELD_NUMBER
public static final int SERVER_BINDING_FIELD_NUMBER
Field Value
SERVER_ID_FIELD_NUMBER
public static final int SERVER_ID_FIELD_NUMBER
Field Value
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
TOTAL_RESOURCES_FIELD_NUMBER
public static final int TOTAL_RESOURCES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NodeGroupNode getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NodeGroupNode.Builder newBuilder()
Returns
newBuilder(NodeGroupNode prototype)
public static NodeGroupNode.Builder newBuilder(NodeGroupNode prototype)
Parameter
Returns
public static NodeGroupNode parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeGroupNode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NodeGroupNode parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupNode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NodeGroupNode parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupNode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeGroupNode parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NodeGroupNode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeGroupNode parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeGroupNode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NodeGroupNode parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupNode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NodeGroupNode> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAccelerators(int index)
public AcceleratorConfig getAccelerators(int index)
Accelerators for this node.
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
Parameter
Returns
getAcceleratorsCount()
public int getAcceleratorsCount()
Accelerators for this node.
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
Returns
getAcceleratorsList()
public List<AcceleratorConfig> getAcceleratorsList()
Accelerators for this node.
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
Returns
getAcceleratorsOrBuilder(int index)
public AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)
Accelerators for this node.
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;
Parameter
Returns
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
getConsumedResourcesOrBuilder()
public InstanceConsumptionInfoOrBuilder getConsumedResourcesOrBuilder()
Node resources that are reserved by all instances.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumed_resources = 334527118;
Returns
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
getDisks(int index)
public LocalDisk getDisks(int index)
Local disk configurations.
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
Parameter
Returns
getDisksCount()
public int getDisksCount()
Local disk configurations.
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
Returns
getDisksList()
public List<LocalDisk> getDisksList()
Local disk configurations.
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
Returns
getDisksOrBuilder(int index)
public LocalDiskOrBuilder getDisksOrBuilder(int index)
Local disk configurations.
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;
Parameter
Returns
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
Returns
getInstanceConsumptionDataCount()
public int getInstanceConsumptionDataCount()
Instance data that shows consumed resources on the node.
repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576;
Returns
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
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
Returns
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
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
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
getParserForType()
public Parser<NodeGroupNode> getParserForType()
Returns
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
Overrides
getServerBinding()
public ServerBinding getServerBinding()
Binding properties for the physical server.
optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;
Returns
getServerBindingOrBuilder()
public ServerBindingOrBuilder getServerBindingOrBuilder()
Binding properties for the physical server.
optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;
Returns
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
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
getTotalResources()
public InstanceConsumptionInfo getTotalResources()
Total amount of available resources on the node.
optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698;
Returns
getTotalResourcesOrBuilder()
public InstanceConsumptionInfoOrBuilder getTotalResourcesOrBuilder()
Total amount of available resources on the node.
optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NodeGroupNode.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeGroupNode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NodeGroupNode.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions