Class NodeTypesScopedList.Builder (1.95.0)

public static final class NodeTypesScopedList.Builder extends GeneratedMessage.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

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

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

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

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 GeneratedMessage.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

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

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

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