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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeGroupsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NodeGroupsScopedList build()
Returns
buildPartial()
public NodeGroupsScopedList buildPartial()
Returns
clear()
public NodeGroupsScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NodeGroupsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeGroupsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public NodeGroupsScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NodeGroupsScopedList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NodeGroupsScopedList other)
public NodeGroupsScopedList.Builder mergeFrom(NodeGroupsScopedList other)
Parameter
Returns
public NodeGroupsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodeGroupsScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeGroupsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NodeGroupsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeGroupsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeGroupsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns