Class NodeGroupNode.Builder (1.14.0)

public static final class NodeGroupNode.Builder extends GeneratedMessageV3.Builder<NodeGroupNode.Builder> implements NodeGroupNodeOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupNode

Static Methods

getDescriptor()

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

Methods

addAccelerators(AcceleratorConfig value)

public NodeGroupNode.Builder addAccelerators(AcceleratorConfig value)

Accelerators for this node.

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

Parameter
NameDescription
valueAcceleratorConfig
Returns
TypeDescription
NodeGroupNode.Builder

addAccelerators(AcceleratorConfig.Builder builderForValue)

public NodeGroupNode.Builder addAccelerators(AcceleratorConfig.Builder builderForValue)

Accelerators for this node.

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

Parameter
NameDescription
builderForValueAcceleratorConfig.Builder
Returns
TypeDescription
NodeGroupNode.Builder

addAccelerators(int index, AcceleratorConfig value)

public NodeGroupNode.Builder addAccelerators(int index, AcceleratorConfig value)

Accelerators for this node.

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

Parameters
NameDescription
indexint
valueAcceleratorConfig
Returns
TypeDescription
NodeGroupNode.Builder

addAccelerators(int index, AcceleratorConfig.Builder builderForValue)

public NodeGroupNode.Builder addAccelerators(int index, AcceleratorConfig.Builder builderForValue)

Accelerators for this node.

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

Parameters
NameDescription
indexint
builderForValueAcceleratorConfig.Builder
Returns
TypeDescription
NodeGroupNode.Builder

addAcceleratorsBuilder()

public AcceleratorConfig.Builder addAcceleratorsBuilder()

Accelerators for this node.

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

Returns
TypeDescription
AcceleratorConfig.Builder

addAcceleratorsBuilder(int index)

public AcceleratorConfig.Builder addAcceleratorsBuilder(int index)

Accelerators for this node.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfig.Builder

addAllAccelerators(Iterable<? extends AcceleratorConfig> values)

public NodeGroupNode.Builder addAllAccelerators(Iterable<? extends AcceleratorConfig> values)

Accelerators for this node.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.AcceleratorConfig>
Returns
TypeDescription
NodeGroupNode.Builder

addAllDisks(Iterable<? extends LocalDisk> values)

public NodeGroupNode.Builder addAllDisks(Iterable<? extends LocalDisk> values)

Local disk configurations.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.LocalDisk>
Returns
TypeDescription
NodeGroupNode.Builder

addAllInstanceConsumptionData(Iterable<? extends InstanceConsumptionData> values)

public NodeGroupNode.Builder addAllInstanceConsumptionData(Iterable<? extends InstanceConsumptionData> values)

Instance data that shows consumed resources on the node.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InstanceConsumptionData>
Returns
TypeDescription
NodeGroupNode.Builder

addAllInstances(Iterable<String> values)

public NodeGroupNode.Builder addAllInstances(Iterable<String> values)

Instances scheduled on this node.

repeated string instances = 29097598;

Parameter
NameDescription
valuesIterable<String>

The instances to add.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

addDisks(LocalDisk value)

public NodeGroupNode.Builder addDisks(LocalDisk value)

Local disk configurations.

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

Parameter
NameDescription
valueLocalDisk
Returns
TypeDescription
NodeGroupNode.Builder

addDisks(LocalDisk.Builder builderForValue)

public NodeGroupNode.Builder addDisks(LocalDisk.Builder builderForValue)

Local disk configurations.

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

Parameter
NameDescription
builderForValueLocalDisk.Builder
Returns
TypeDescription
NodeGroupNode.Builder

addDisks(int index, LocalDisk value)

public NodeGroupNode.Builder addDisks(int index, LocalDisk value)

Local disk configurations.

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

Parameters
NameDescription
indexint
valueLocalDisk
Returns
TypeDescription
NodeGroupNode.Builder

addDisks(int index, LocalDisk.Builder builderForValue)

public NodeGroupNode.Builder addDisks(int index, LocalDisk.Builder builderForValue)

Local disk configurations.

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

Parameters
NameDescription
indexint
builderForValueLocalDisk.Builder
Returns
TypeDescription
NodeGroupNode.Builder

addDisksBuilder()

public LocalDisk.Builder addDisksBuilder()

Local disk configurations.

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

Returns
TypeDescription
LocalDisk.Builder

addDisksBuilder(int index)

public LocalDisk.Builder addDisksBuilder(int index)

Local disk configurations.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LocalDisk.Builder

addInstanceConsumptionData(InstanceConsumptionData value)

public NodeGroupNode.Builder addInstanceConsumptionData(InstanceConsumptionData value)

Instance data that shows consumed resources on the node.

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

Parameter
NameDescription
valueInstanceConsumptionData
Returns
TypeDescription
NodeGroupNode.Builder

addInstanceConsumptionData(InstanceConsumptionData.Builder builderForValue)

public NodeGroupNode.Builder addInstanceConsumptionData(InstanceConsumptionData.Builder builderForValue)

Instance data that shows consumed resources on the node.

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

Parameter
NameDescription
builderForValueInstanceConsumptionData.Builder
Returns
TypeDescription
NodeGroupNode.Builder

addInstanceConsumptionData(int index, InstanceConsumptionData value)

public NodeGroupNode.Builder addInstanceConsumptionData(int index, InstanceConsumptionData value)

Instance data that shows consumed resources on the node.

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

Parameters
NameDescription
indexint
valueInstanceConsumptionData
Returns
TypeDescription
NodeGroupNode.Builder

addInstanceConsumptionData(int index, InstanceConsumptionData.Builder builderForValue)

public NodeGroupNode.Builder addInstanceConsumptionData(int index, InstanceConsumptionData.Builder builderForValue)

Instance data that shows consumed resources on the node.

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

Parameters
NameDescription
indexint
builderForValueInstanceConsumptionData.Builder
Returns
TypeDescription
NodeGroupNode.Builder

addInstanceConsumptionDataBuilder()

public InstanceConsumptionData.Builder addInstanceConsumptionDataBuilder()

Instance data that shows consumed resources on the node.

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

Returns
TypeDescription
InstanceConsumptionData.Builder

addInstanceConsumptionDataBuilder(int index)

public InstanceConsumptionData.Builder addInstanceConsumptionDataBuilder(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.Builder

addInstances(String value)

public NodeGroupNode.Builder addInstances(String value)

Instances scheduled on this node.

repeated string instances = 29097598;

Parameter
NameDescription
valueString

The instances to add.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

addInstancesBytes(ByteString value)

public NodeGroupNode.Builder addInstancesBytes(ByteString value)

Instances scheduled on this node.

repeated string instances = 29097598;

Parameter
NameDescription
valueByteString

The bytes of the instances to add.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupNode.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeGroupNode.Builder
Overrides

build()

public NodeGroupNode build()
Returns
TypeDescription
NodeGroupNode

buildPartial()

public NodeGroupNode buildPartial()
Returns
TypeDescription
NodeGroupNode

clear()

public NodeGroupNode.Builder clear()
Returns
TypeDescription
NodeGroupNode.Builder
Overrides

clearAccelerators()

public NodeGroupNode.Builder clearAccelerators()

Accelerators for this node.

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

Returns
TypeDescription
NodeGroupNode.Builder

clearConsumedResources()

public NodeGroupNode.Builder clearConsumedResources()

Node resources that are reserved by all instances.

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

Returns
TypeDescription
NodeGroupNode.Builder

clearCpuOvercommitType()

public NodeGroupNode.Builder clearCpuOvercommitType()

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

optional string cpu_overcommit_type = 247727959;

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

clearDisks()

public NodeGroupNode.Builder clearDisks()

Local disk configurations.

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

Returns
TypeDescription
NodeGroupNode.Builder

clearField(Descriptors.FieldDescriptor field)

public NodeGroupNode.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NodeGroupNode.Builder
Overrides

clearInstanceConsumptionData()

public NodeGroupNode.Builder clearInstanceConsumptionData()

Instance data that shows consumed resources on the node.

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

Returns
TypeDescription
NodeGroupNode.Builder

clearInstances()

public NodeGroupNode.Builder clearInstances()

Instances scheduled on this node.

repeated string instances = 29097598;

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

clearName()

public NodeGroupNode.Builder clearName()

The name of the node.

optional string name = 3373707;

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

clearNodeType()

public NodeGroupNode.Builder clearNodeType()

The type of this node.

optional string node_type = 465832791;

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeGroupNode.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NodeGroupNode.Builder
Overrides

clearSatisfiesPzs()

public NodeGroupNode.Builder clearSatisfiesPzs()

[Output Only] Reserved for future use.

optional bool satisfies_pzs = 480964267;

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

clearServerBinding()

public NodeGroupNode.Builder clearServerBinding()

Binding properties for the physical server.

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

Returns
TypeDescription
NodeGroupNode.Builder

clearServerId()

public NodeGroupNode.Builder clearServerId()

Server ID associated with this node.

optional string server_id = 339433367;

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

clearStatus()

public NodeGroupNode.Builder clearStatus()

Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

clearTotalResources()

public NodeGroupNode.Builder clearTotalResources()

Total amount of available resources on the node.

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

Returns
TypeDescription
NodeGroupNode.Builder

clone()

public NodeGroupNode.Builder clone()
Returns
TypeDescription
NodeGroupNode.Builder
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

getAcceleratorsBuilder(int index)

public AcceleratorConfig.Builder getAcceleratorsBuilder(int index)

Accelerators for this node.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfig.Builder

getAcceleratorsBuilderList()

public List<AcceleratorConfig.Builder> getAcceleratorsBuilderList()

Accelerators for this node.

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

Returns
TypeDescription
List<Builder>

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.

getConsumedResourcesBuilder()

public InstanceConsumptionInfo.Builder getConsumedResourcesBuilder()

Node resources that are reserved by all instances.

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

Returns
TypeDescription
InstanceConsumptionInfo.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getDisksBuilder(int index)

public LocalDisk.Builder getDisksBuilder(int index)

Local disk configurations.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LocalDisk.Builder

getDisksBuilderList()

public List<LocalDisk.Builder> getDisksBuilderList()

Local disk configurations.

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

Returns
TypeDescription
List<Builder>

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

getInstanceConsumptionDataBuilder(int index)

public InstanceConsumptionData.Builder getInstanceConsumptionDataBuilder(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.Builder

getInstanceConsumptionDataBuilderList()

public List<InstanceConsumptionData.Builder> getInstanceConsumptionDataBuilderList()

Instance data that shows consumed resources on the node.

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

Returns
TypeDescription
List<Builder>

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.

getSatisfiesPzs()

public boolean getSatisfiesPzs()

[Output Only] Reserved for future use.

optional bool satisfies_pzs = 480964267;

Returns
TypeDescription
boolean

The satisfiesPzs.

getServerBinding()

public ServerBinding getServerBinding()

Binding properties for the physical server.

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

Returns
TypeDescription
ServerBinding

The serverBinding.

getServerBindingBuilder()

public ServerBinding.Builder getServerBindingBuilder()

Binding properties for the physical server.

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

Returns
TypeDescription
ServerBinding.Builder

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.

getTotalResourcesBuilder()

public InstanceConsumptionInfo.Builder getTotalResourcesBuilder()

Total amount of available resources on the node.

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

Returns
TypeDescription
InstanceConsumptionInfo.Builder

getTotalResourcesOrBuilder()

public InstanceConsumptionInfoOrBuilder getTotalResourcesOrBuilder()

Total amount of available resources on the node.

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

Returns
TypeDescription
InstanceConsumptionInfoOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConsumedResources(InstanceConsumptionInfo value)

public NodeGroupNode.Builder mergeConsumedResources(InstanceConsumptionInfo value)

Node resources that are reserved by all instances.

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

Parameter
NameDescription
valueInstanceConsumptionInfo
Returns
TypeDescription
NodeGroupNode.Builder

mergeFrom(NodeGroupNode other)

public NodeGroupNode.Builder mergeFrom(NodeGroupNode other)
Parameter
NameDescription
otherNodeGroupNode
Returns
TypeDescription
NodeGroupNode.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeGroupNode.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupNode.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NodeGroupNode.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NodeGroupNode.Builder
Overrides

mergeServerBinding(ServerBinding value)

public NodeGroupNode.Builder mergeServerBinding(ServerBinding value)

Binding properties for the physical server.

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

Parameter
NameDescription
valueServerBinding
Returns
TypeDescription
NodeGroupNode.Builder

mergeTotalResources(InstanceConsumptionInfo value)

public NodeGroupNode.Builder mergeTotalResources(InstanceConsumptionInfo value)

Total amount of available resources on the node.

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

Parameter
NameDescription
valueInstanceConsumptionInfo
Returns
TypeDescription
NodeGroupNode.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupNode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeGroupNode.Builder
Overrides

removeAccelerators(int index)

public NodeGroupNode.Builder removeAccelerators(int index)

Accelerators for this node.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeGroupNode.Builder

removeDisks(int index)

public NodeGroupNode.Builder removeDisks(int index)

Local disk configurations.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeGroupNode.Builder

removeInstanceConsumptionData(int index)

public NodeGroupNode.Builder removeInstanceConsumptionData(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
NodeGroupNode.Builder

setAccelerators(int index, AcceleratorConfig value)

public NodeGroupNode.Builder setAccelerators(int index, AcceleratorConfig value)

Accelerators for this node.

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

Parameters
NameDescription
indexint
valueAcceleratorConfig
Returns
TypeDescription
NodeGroupNode.Builder

setAccelerators(int index, AcceleratorConfig.Builder builderForValue)

public NodeGroupNode.Builder setAccelerators(int index, AcceleratorConfig.Builder builderForValue)

Accelerators for this node.

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

Parameters
NameDescription
indexint
builderForValueAcceleratorConfig.Builder
Returns
TypeDescription
NodeGroupNode.Builder

setConsumedResources(InstanceConsumptionInfo value)

public NodeGroupNode.Builder setConsumedResources(InstanceConsumptionInfo value)

Node resources that are reserved by all instances.

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

Parameter
NameDescription
valueInstanceConsumptionInfo
Returns
TypeDescription
NodeGroupNode.Builder

setConsumedResources(InstanceConsumptionInfo.Builder builderForValue)

public NodeGroupNode.Builder setConsumedResources(InstanceConsumptionInfo.Builder builderForValue)

Node resources that are reserved by all instances.

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

Parameter
NameDescription
builderForValueInstanceConsumptionInfo.Builder
Returns
TypeDescription
NodeGroupNode.Builder

setCpuOvercommitType(String value)

public NodeGroupNode.Builder setCpuOvercommitType(String value)

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

optional string cpu_overcommit_type = 247727959;

Parameter
NameDescription
valueString

The cpuOvercommitType to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setCpuOvercommitTypeBytes(ByteString value)

public NodeGroupNode.Builder setCpuOvercommitTypeBytes(ByteString value)

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

optional string cpu_overcommit_type = 247727959;

Parameter
NameDescription
valueByteString

The bytes for cpuOvercommitType to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setDisks(int index, LocalDisk value)

public NodeGroupNode.Builder setDisks(int index, LocalDisk value)

Local disk configurations.

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

Parameters
NameDescription
indexint
valueLocalDisk
Returns
TypeDescription
NodeGroupNode.Builder

setDisks(int index, LocalDisk.Builder builderForValue)

public NodeGroupNode.Builder setDisks(int index, LocalDisk.Builder builderForValue)

Local disk configurations.

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

Parameters
NameDescription
indexint
builderForValueLocalDisk.Builder
Returns
TypeDescription
NodeGroupNode.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupNode.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeGroupNode.Builder
Overrides

setInstanceConsumptionData(int index, InstanceConsumptionData value)

public NodeGroupNode.Builder setInstanceConsumptionData(int index, InstanceConsumptionData value)

Instance data that shows consumed resources on the node.

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

Parameters
NameDescription
indexint
valueInstanceConsumptionData
Returns
TypeDescription
NodeGroupNode.Builder

setInstanceConsumptionData(int index, InstanceConsumptionData.Builder builderForValue)

public NodeGroupNode.Builder setInstanceConsumptionData(int index, InstanceConsumptionData.Builder builderForValue)

Instance data that shows consumed resources on the node.

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

Parameters
NameDescription
indexint
builderForValueInstanceConsumptionData.Builder
Returns
TypeDescription
NodeGroupNode.Builder

setInstances(int index, String value)

public NodeGroupNode.Builder setInstances(int index, String value)

Instances scheduled on this node.

repeated string instances = 29097598;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The instances to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setName(String value)

public NodeGroupNode.Builder setName(String value)

The name of the node.

optional string name = 3373707;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setNameBytes(ByteString value)

public NodeGroupNode.Builder setNameBytes(ByteString value)

The name of the node.

optional string name = 3373707;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setNodeType(String value)

public NodeGroupNode.Builder setNodeType(String value)

The type of this node.

optional string node_type = 465832791;

Parameter
NameDescription
valueString

The nodeType to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setNodeTypeBytes(ByteString value)

public NodeGroupNode.Builder setNodeTypeBytes(ByteString value)

The type of this node.

optional string node_type = 465832791;

Parameter
NameDescription
valueByteString

The bytes for nodeType to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NodeGroupNode.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NodeGroupNode.Builder
Overrides

setSatisfiesPzs(boolean value)

public NodeGroupNode.Builder setSatisfiesPzs(boolean value)

[Output Only] Reserved for future use.

optional bool satisfies_pzs = 480964267;

Parameter
NameDescription
valueboolean

The satisfiesPzs to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setServerBinding(ServerBinding value)

public NodeGroupNode.Builder setServerBinding(ServerBinding value)

Binding properties for the physical server.

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

Parameter
NameDescription
valueServerBinding
Returns
TypeDescription
NodeGroupNode.Builder

setServerBinding(ServerBinding.Builder builderForValue)

public NodeGroupNode.Builder setServerBinding(ServerBinding.Builder builderForValue)

Binding properties for the physical server.

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

Parameter
NameDescription
builderForValueServerBinding.Builder
Returns
TypeDescription
NodeGroupNode.Builder

setServerId(String value)

public NodeGroupNode.Builder setServerId(String value)

Server ID associated with this node.

optional string server_id = 339433367;

Parameter
NameDescription
valueString

The serverId to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setServerIdBytes(ByteString value)

public NodeGroupNode.Builder setServerIdBytes(ByteString value)

Server ID associated with this node.

optional string server_id = 339433367;

Parameter
NameDescription
valueByteString

The bytes for serverId to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setStatus(String value)

public NodeGroupNode.Builder setStatus(String value)

Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
NameDescription
valueString

The status to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public NodeGroupNode.Builder setStatusBytes(ByteString value)

Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
NodeGroupNode.Builder

This builder for chaining.

setTotalResources(InstanceConsumptionInfo value)

public NodeGroupNode.Builder setTotalResources(InstanceConsumptionInfo value)

Total amount of available resources on the node.

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

Parameter
NameDescription
valueInstanceConsumptionInfo
Returns
TypeDescription
NodeGroupNode.Builder

setTotalResources(InstanceConsumptionInfo.Builder builderForValue)

public NodeGroupNode.Builder setTotalResources(InstanceConsumptionInfo.Builder builderForValue)

Total amount of available resources on the node.

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

Parameter
NameDescription
builderForValueInstanceConsumptionInfo.Builder
Returns
TypeDescription
NodeGroupNode.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupNode.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeGroupNode.Builder
Overrides