Class NodeGroupNode.Builder (1.65.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
Type Description
Descriptor

Methods

addAccelerators(AcceleratorConfig value)

public NodeGroupNode.Builder addAccelerators(AcceleratorConfig value)

Accelerators for this node.

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

Parameter
Name Description
value AcceleratorConfig
Returns
Type Description
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
Name Description
builderForValue AcceleratorConfig.Builder
Returns
Type Description
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
Name Description
index int
value AcceleratorConfig
Returns
Type Description
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
Name Description
index int
builderForValue AcceleratorConfig.Builder
Returns
Type Description
NodeGroupNode.Builder

addAcceleratorsBuilder()

public AcceleratorConfig.Builder addAcceleratorsBuilder()

Accelerators for this node.

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

Returns
Type Description
AcceleratorConfig.Builder

addAcceleratorsBuilder(int index)

public AcceleratorConfig.Builder addAcceleratorsBuilder(int index)

Accelerators for this node.

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

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.AcceleratorConfig>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.LocalDisk>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.InstanceConsumptionData>
Returns
Type Description
NodeGroupNode.Builder

addAllInstances(Iterable<String> values)

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

Instances scheduled on this node.

repeated string instances = 29097598;

Parameter
Name Description
values Iterable<String>

The instances to add.

Returns
Type Description
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
Name Description
value LocalDisk
Returns
Type Description
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
Name Description
builderForValue LocalDisk.Builder
Returns
Type Description
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
Name Description
index int
value LocalDisk
Returns
Type Description
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
Name Description
index int
builderForValue LocalDisk.Builder
Returns
Type Description
NodeGroupNode.Builder

addDisksBuilder()

public LocalDisk.Builder addDisksBuilder()

Local disk configurations.

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

Returns
Type Description
LocalDisk.Builder

addDisksBuilder(int index)

public LocalDisk.Builder addDisksBuilder(int index)

Local disk configurations.

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

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
value InstanceConsumptionData
Returns
Type Description
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
Name Description
builderForValue InstanceConsumptionData.Builder
Returns
Type Description
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
Name Description
index int
value InstanceConsumptionData
Returns
Type Description
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
Name Description
index int
builderForValue InstanceConsumptionData.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
InstanceConsumptionData.Builder

addInstances(String value)

public NodeGroupNode.Builder addInstances(String value)

Instances scheduled on this node.

repeated string instances = 29097598;

Parameter
Name Description
value String

The instances to add.

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

The bytes of the instances to add.

Returns
Type Description
NodeGroupNode.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupNode.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodeGroupNode.Builder
Overrides

build()

public NodeGroupNode build()
Returns
Type Description
NodeGroupNode

buildPartial()

public NodeGroupNode buildPartial()
Returns
Type Description
NodeGroupNode

clear()

public NodeGroupNode.Builder clear()
Returns
Type Description
NodeGroupNode.Builder
Overrides

clearAccelerators()

public NodeGroupNode.Builder clearAccelerators()

Accelerators for this node.

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

Returns
Type Description
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
Type Description
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
Type Description
NodeGroupNode.Builder

This builder for chaining.

clearDisks()

public NodeGroupNode.Builder clearDisks()

Local disk configurations.

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

Returns
Type Description
NodeGroupNode.Builder

clearField(Descriptors.FieldDescriptor field)

public NodeGroupNode.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
NodeGroupNode.Builder

clearInstances()

public NodeGroupNode.Builder clearInstances()

Instances scheduled on this node.

repeated string instances = 29097598;

Returns
Type Description
NodeGroupNode.Builder

This builder for chaining.

clearName()

public NodeGroupNode.Builder clearName()

The name of the node.

optional string name = 3373707;

Returns
Type Description
NodeGroupNode.Builder

This builder for chaining.

clearNodeType()

public NodeGroupNode.Builder clearNodeType()

The type of this node.

optional string node_type = 465832791;

Returns
Type Description
NodeGroupNode.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeGroupNode.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NodeGroupNode.Builder
Overrides

clearSatisfiesPzs()

public NodeGroupNode.Builder clearSatisfiesPzs()

[Output Only] Reserved for future use.

optional bool satisfies_pzs = 480964267;

Returns
Type Description
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
Type Description
NodeGroupNode.Builder

clearServerId()

public NodeGroupNode.Builder clearServerId()

Server ID associated with this node.

optional string server_id = 339433367;

Returns
Type Description
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
Type Description
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
Type Description
NodeGroupNode.Builder

clearUpcomingMaintenance()

public NodeGroupNode.Builder clearUpcomingMaintenance()

[Output Only] The information about an upcoming maintenance event.

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Returns
Type Description
NodeGroupNode.Builder

clone()

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

getAcceleratorsBuilder(int index)

public AcceleratorConfig.Builder getAcceleratorsBuilder(int index)

Accelerators for this node.

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

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfig.Builder

getAcceleratorsBuilderList()

public List<AcceleratorConfig.Builder> getAcceleratorsBuilderList()

Accelerators for this node.

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

Returns
Type Description
List<Builder>

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.

getConsumedResourcesBuilder()

public InstanceConsumptionInfo.Builder getConsumedResourcesBuilder()

Node resources that are reserved by all instances.

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

Returns
Type Description
InstanceConsumptionInfo.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getDisksBuilder(int index)

public LocalDisk.Builder getDisksBuilder(int index)

Local disk configurations.

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

Parameter
Name Description
index int
Returns
Type Description
LocalDisk.Builder

getDisksBuilderList()

public List<LocalDisk.Builder> getDisksBuilderList()

Local disk configurations.

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

Returns
Type Description
List<Builder>

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

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

getSatisfiesPzs()

public boolean getSatisfiesPzs()

[Output Only] Reserved for future use.

optional bool satisfies_pzs = 480964267;

Returns
Type Description
boolean

The satisfiesPzs.

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.

getServerBindingBuilder()

public ServerBinding.Builder getServerBindingBuilder()

Binding properties for the physical server.

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

Returns
Type Description
ServerBinding.Builder

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.

getTotalResourcesBuilder()

public InstanceConsumptionInfo.Builder getTotalResourcesBuilder()

Total amount of available resources on the node.

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

Returns
Type Description
InstanceConsumptionInfo.Builder

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

getUpcomingMaintenance()

public UpcomingMaintenance getUpcomingMaintenance()

[Output Only] The information about an upcoming maintenance event.

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Returns
Type Description
UpcomingMaintenance

The upcomingMaintenance.

getUpcomingMaintenanceBuilder()

public UpcomingMaintenance.Builder getUpcomingMaintenanceBuilder()

[Output Only] The information about an upcoming maintenance event.

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Returns
Type Description
UpcomingMaintenance.Builder

getUpcomingMaintenanceOrBuilder()

public UpcomingMaintenanceOrBuilder getUpcomingMaintenanceOrBuilder()

[Output Only] The information about an upcoming maintenance event.

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Returns
Type Description
UpcomingMaintenanceOrBuilder

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.

hasUpcomingMaintenance()

public boolean hasUpcomingMaintenance()

[Output Only] The information about an upcoming maintenance event.

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Returns
Type Description
boolean

Whether the upcomingMaintenance field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value InstanceConsumptionInfo
Returns
Type Description
NodeGroupNode.Builder

mergeFrom(NodeGroupNode other)

public NodeGroupNode.Builder mergeFrom(NodeGroupNode other)
Parameter
Name Description
other NodeGroupNode
Returns
Type Description
NodeGroupNode.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeGroupNode.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeGroupNode.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NodeGroupNode.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value ServerBinding
Returns
Type Description
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
Name Description
value InstanceConsumptionInfo
Returns
Type Description
NodeGroupNode.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupNode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodeGroupNode.Builder
Overrides

mergeUpcomingMaintenance(UpcomingMaintenance value)

public NodeGroupNode.Builder mergeUpcomingMaintenance(UpcomingMaintenance value)

[Output Only] The information about an upcoming maintenance event.

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Parameter
Name Description
value UpcomingMaintenance
Returns
Type Description
NodeGroupNode.Builder

removeAccelerators(int index)

public NodeGroupNode.Builder removeAccelerators(int index)

Accelerators for this node.

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

Parameter
Name Description
index int
Returns
Type Description
NodeGroupNode.Builder

removeDisks(int index)

public NodeGroupNode.Builder removeDisks(int index)

Local disk configurations.

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

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value AcceleratorConfig
Returns
Type Description
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
Name Description
index int
builderForValue AcceleratorConfig.Builder
Returns
Type Description
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
Name Description
value InstanceConsumptionInfo
Returns
Type Description
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
Name Description
builderForValue InstanceConsumptionInfo.Builder
Returns
Type Description
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
Name Description
value String

The cpuOvercommitType to set.

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

The bytes for cpuOvercommitType to set.

Returns
Type Description
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
Name Description
index int
value LocalDisk
Returns
Type Description
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
Name Description
index int
builderForValue LocalDisk.Builder
Returns
Type Description
NodeGroupNode.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupNode.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value InstanceConsumptionData
Returns
Type Description
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
Name Description
index int
builderForValue InstanceConsumptionData.Builder
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The instances to set.

Returns
Type Description
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
Name Description
value String

The name to set.

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

The bytes for name to set.

Returns
Type Description
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
Name Description
value String

The nodeType to set.

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

The bytes for nodeType to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NodeGroupNode.Builder
Overrides

setSatisfiesPzs(boolean value)

public NodeGroupNode.Builder setSatisfiesPzs(boolean value)

[Output Only] Reserved for future use.

optional bool satisfies_pzs = 480964267;

Parameter
Name Description
value boolean

The satisfiesPzs to set.

Returns
Type Description
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
Name Description
value ServerBinding
Returns
Type Description
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
Name Description
builderForValue ServerBinding.Builder
Returns
Type Description
NodeGroupNode.Builder

setServerId(String value)

public NodeGroupNode.Builder setServerId(String value)

Server ID associated with this node.

optional string server_id = 339433367;

Parameter
Name Description
value String

The serverId to set.

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

The bytes for serverId to set.

Returns
Type Description
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
Name Description
value String

The status to set.

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

The bytes for status to set.

Returns
Type Description
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
Name Description
value InstanceConsumptionInfo
Returns
Type Description
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
Name Description
builderForValue InstanceConsumptionInfo.Builder
Returns
Type Description
NodeGroupNode.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupNode.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodeGroupNode.Builder
Overrides

setUpcomingMaintenance(UpcomingMaintenance value)

public NodeGroupNode.Builder setUpcomingMaintenance(UpcomingMaintenance value)

[Output Only] The information about an upcoming maintenance event.

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Parameter
Name Description
value UpcomingMaintenance
Returns
Type Description
NodeGroupNode.Builder

setUpcomingMaintenance(UpcomingMaintenance.Builder builderForValue)

public NodeGroupNode.Builder setUpcomingMaintenance(UpcomingMaintenance.Builder builderForValue)

[Output Only] The information about an upcoming maintenance event.

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Parameter
Name Description
builderForValue UpcomingMaintenance.Builder
Returns
Type Description
NodeGroupNode.Builder