Class NodeGroupsScopedList.Builder (1.23.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.NodeGroup>
Returns
TypeDescription
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
NameDescription
valueNodeGroup
Returns
TypeDescription
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
NameDescription
builderForValueNodeGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNodeGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNodeGroup.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NodeGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsScopedList build()
Returns
TypeDescription
NodeGroupsScopedList

buildPartial()

public NodeGroupsScopedList buildPartial()
Returns
TypeDescription
NodeGroupsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

public NodeGroupsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
NodeGroupsScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeGroupsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
NodeGroupsScopedList.Builder

clone()

public NodeGroupsScopedList.Builder clone()
Returns
TypeDescription
NodeGroupsScopedList.Builder
Overrides

getDefaultInstanceForType()

public NodeGroupsScopedList getDefaultInstanceForType()
Returns
TypeDescription
NodeGroupsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeGroupsScopedList other)

public NodeGroupsScopedList.Builder mergeFrom(NodeGroupsScopedList other)
Parameter
NameDescription
otherNodeGroupsScopedList
Returns
TypeDescription
NodeGroupsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NodeGroupsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueNodeGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNodeGroup.Builder
Returns
TypeDescription
NodeGroupsScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
NodeGroupsScopedList.Builder