Class NodeTypesScopedList.Builder (1.62.0)

public static final class NodeTypesScopedList.Builder extends GeneratedMessageV3.Builder<NodeTypesScopedList.Builder> implements NodeTypesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.NodeTypesScopedList

Static Methods

getDescriptor()

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

Methods

addAllNodeTypes(Iterable<? extends NodeType> values)

public NodeTypesScopedList.Builder addAllNodeTypes(Iterable<? extends NodeType> values)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

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

addNodeTypes(NodeType value)

public NodeTypesScopedList.Builder addNodeTypes(NodeType value)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameter
Name Description
value NodeType
Returns
Type Description
NodeTypesScopedList.Builder

addNodeTypes(NodeType.Builder builderForValue)

public NodeTypesScopedList.Builder addNodeTypes(NodeType.Builder builderForValue)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameter
Name Description
builderForValue NodeType.Builder
Returns
Type Description
NodeTypesScopedList.Builder

addNodeTypes(int index, NodeType value)

public NodeTypesScopedList.Builder addNodeTypes(int index, NodeType value)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameters
Name Description
index int
value NodeType
Returns
Type Description
NodeTypesScopedList.Builder

addNodeTypes(int index, NodeType.Builder builderForValue)

public NodeTypesScopedList.Builder addNodeTypes(int index, NodeType.Builder builderForValue)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameters
Name Description
index int
builderForValue NodeType.Builder
Returns
Type Description
NodeTypesScopedList.Builder

addNodeTypesBuilder()

public NodeType.Builder addNodeTypesBuilder()

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Returns
Type Description
NodeType.Builder

addNodeTypesBuilder(int index)

public NodeType.Builder addNodeTypesBuilder(int index)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameter
Name Description
index int
Returns
Type Description
NodeType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeTypesScopedList build()
Returns
Type Description
NodeTypesScopedList

buildPartial()

public NodeTypesScopedList buildPartial()
Returns
Type Description
NodeTypesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodeTypes()

public NodeTypesScopedList.Builder clearNodeTypes()

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Returns
Type Description
NodeTypesScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public NodeTypesScopedList.Builder clearWarning()

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

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

Returns
Type Description
NodeTypesScopedList.Builder

clone()

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

getDefaultInstanceForType()

public NodeTypesScopedList getDefaultInstanceForType()
Returns
Type Description
NodeTypesScopedList

getDescriptorForType()

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

getNodeTypes(int index)

public NodeType getNodeTypes(int index)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameter
Name Description
index int
Returns
Type Description
NodeType

getNodeTypesBuilder(int index)

public NodeType.Builder getNodeTypesBuilder(int index)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameter
Name Description
index int
Returns
Type Description
NodeType.Builder

getNodeTypesBuilderList()

public List<NodeType.Builder> getNodeTypesBuilderList()

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Returns
Type Description
List<Builder>

getNodeTypesCount()

public int getNodeTypesCount()

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Returns
Type Description
int

getNodeTypesList()

public List<NodeType> getNodeTypesList()

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Returns
Type Description
List<NodeType>

getNodeTypesOrBuilder(int index)

public NodeTypeOrBuilder getNodeTypesOrBuilder(int index)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameter
Name Description
index int
Returns
Type Description
NodeTypeOrBuilder

getNodeTypesOrBuilderList()

public List<? extends NodeTypeOrBuilder> getNodeTypesOrBuilderList()

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

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

getWarning()

public Warning getWarning()

[Output Only] An informational warning that appears when the node types 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 node types 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 node types 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 node types 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(NodeTypesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public NodeTypesScopedList.Builder mergeWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
NodeTypesScopedList.Builder

removeNodeTypes(int index)

public NodeTypesScopedList.Builder removeNodeTypes(int index)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameter
Name Description
index int
Returns
Type Description
NodeTypesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodeTypes(int index, NodeType value)

public NodeTypesScopedList.Builder setNodeTypes(int index, NodeType value)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameters
Name Description
index int
value NodeType
Returns
Type Description
NodeTypesScopedList.Builder

setNodeTypes(int index, NodeType.Builder builderForValue)

public NodeTypesScopedList.Builder setNodeTypes(int index, NodeType.Builder builderForValue)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameters
Name Description
index int
builderForValue NodeType.Builder
Returns
Type Description
NodeTypesScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public NodeTypesScopedList.Builder setWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
NodeTypesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public NodeTypesScopedList.Builder setWarning(Warning.Builder builderForValue)

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

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

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