Class NodeTypesScopedList.Builder (1.38.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.NodeType>
Returns
TypeDescription
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
NameDescription
valueNodeType
Returns
TypeDescription
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
NameDescription
builderForValueNodeType.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNodeType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNodeType.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NodeType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeTypesScopedList build()
Returns
TypeDescription
NodeTypesScopedList

buildPartial()

public NodeTypesScopedList buildPartial()
Returns
TypeDescription
NodeTypesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NodeTypesScopedList getDefaultInstanceForType()
Returns
TypeDescription
NodeTypesScopedList

getDescriptorForType()

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

public NodeTypesScopedList.Builder mergeFrom(NodeTypesScopedList other)
Parameter
NameDescription
otherNodeTypesScopedList
Returns
TypeDescription
NodeTypesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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