Class NodeGroupsScopedList.Builder (1.59.0)

public static final class NodeGroupsScopedList.Builder extends GeneratedMessageV3.Builder<NodeGroupsScopedList.Builder> implements NodeGroupsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupsScopedList

Static Methods

getDescriptor()

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

Methods

addAllNodeGroups(Iterable<? extends NodeGroup> values)

public NodeGroupsScopedList.Builder addAllNodeGroups(Iterable<? extends NodeGroup> values)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.NodeGroup>
Returns
Type Description
NodeGroupsScopedList.Builder

addNodeGroups(NodeGroup value)

public NodeGroupsScopedList.Builder addNodeGroups(NodeGroup value)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameter
Name Description
value NodeGroup
Returns
Type Description
NodeGroupsScopedList.Builder

addNodeGroups(NodeGroup.Builder builderForValue)

public NodeGroupsScopedList.Builder addNodeGroups(NodeGroup.Builder builderForValue)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameter
Name Description
builderForValue NodeGroup.Builder
Returns
Type Description
NodeGroupsScopedList.Builder

addNodeGroups(int index, NodeGroup value)

public NodeGroupsScopedList.Builder addNodeGroups(int index, NodeGroup value)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameters
Name Description
index int
value NodeGroup
Returns
Type Description
NodeGroupsScopedList.Builder

addNodeGroups(int index, NodeGroup.Builder builderForValue)

public NodeGroupsScopedList.Builder addNodeGroups(int index, NodeGroup.Builder builderForValue)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameters
Name Description
index int
builderForValue NodeGroup.Builder
Returns
Type Description
NodeGroupsScopedList.Builder

addNodeGroupsBuilder()

public NodeGroup.Builder addNodeGroupsBuilder()

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Returns
Type Description
NodeGroup.Builder

addNodeGroupsBuilder(int index)

public NodeGroup.Builder addNodeGroupsBuilder(int index)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameter
Name Description
index int
Returns
Type Description
NodeGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsScopedList build()
Returns
Type Description
NodeGroupsScopedList

buildPartial()

public NodeGroupsScopedList buildPartial()
Returns
Type Description
NodeGroupsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

public NodeGroupsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NodeGroupsScopedList.Builder
Overrides

clearNodeGroups()

public NodeGroupsScopedList.Builder clearNodeGroups()

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Returns
Type Description
NodeGroupsScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public NodeGroupsScopedList.Builder clearWarning()

[Output Only] An informational warning that appears when the nodeGroup list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
NodeGroupsScopedList.Builder

clone()

public NodeGroupsScopedList.Builder clone()
Returns
Type Description
NodeGroupsScopedList.Builder
Overrides

getDefaultInstanceForType()

public NodeGroupsScopedList getDefaultInstanceForType()
Returns
Type Description
NodeGroupsScopedList

getDescriptorForType()

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

getNodeGroups(int index)

public NodeGroup getNodeGroups(int index)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameter
Name Description
index int
Returns
Type Description
NodeGroup

getNodeGroupsBuilder(int index)

public NodeGroup.Builder getNodeGroupsBuilder(int index)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameter
Name Description
index int
Returns
Type Description
NodeGroup.Builder

getNodeGroupsBuilderList()

public List<NodeGroup.Builder> getNodeGroupsBuilderList()

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Returns
Type Description
List<Builder>

getNodeGroupsCount()

public int getNodeGroupsCount()

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Returns
Type Description
int

getNodeGroupsList()

public List<NodeGroup> getNodeGroupsList()

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Returns
Type Description
List<NodeGroup>

getNodeGroupsOrBuilder(int index)

public NodeGroupOrBuilder getNodeGroupsOrBuilder(int index)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameter
Name Description
index int
Returns
Type Description
NodeGroupOrBuilder

getNodeGroupsOrBuilderList()

public List<? extends NodeGroupOrBuilder> getNodeGroupsOrBuilderList()

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.NodeGroupOrBuilder>

getWarning()

public Warning getWarning()

[Output Only] An informational warning that appears when the nodeGroup list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

[Output Only] An informational warning that appears when the nodeGroup list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

[Output Only] An informational warning that appears when the nodeGroup list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[Output Only] An informational warning that appears when the nodeGroup list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodeGroupsScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public NodeGroupsScopedList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NodeGroupsScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public NodeGroupsScopedList.Builder mergeWarning(Warning value)

[Output Only] An informational warning that appears when the nodeGroup list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
NodeGroupsScopedList.Builder

removeNodeGroups(int index)

public NodeGroupsScopedList.Builder removeNodeGroups(int index)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameter
Name Description
index int
Returns
Type Description
NodeGroupsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodeGroups(int index, NodeGroup value)

public NodeGroupsScopedList.Builder setNodeGroups(int index, NodeGroup value)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameters
Name Description
index int
value NodeGroup
Returns
Type Description
NodeGroupsScopedList.Builder

setNodeGroups(int index, NodeGroup.Builder builderForValue)

public NodeGroupsScopedList.Builder setNodeGroups(int index, NodeGroup.Builder builderForValue)

[Output Only] A list of node groups contained in this scope.

repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;

Parameters
Name Description
index int
builderForValue NodeGroup.Builder
Returns
Type Description
NodeGroupsScopedList.Builder

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

public NodeGroupsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NodeGroupsScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public NodeGroupsScopedList.Builder setWarning(Warning value)

[Output Only] An informational warning that appears when the nodeGroup list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
NodeGroupsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public NodeGroupsScopedList.Builder setWarning(Warning.Builder builderForValue)

[Output Only] An informational warning that appears when the nodeGroup list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
NodeGroupsScopedList.Builder