Class NodeTemplatesScopedList.Builder (1.53.0)

public static final class NodeTemplatesScopedList.Builder extends GeneratedMessageV3.Builder<NodeTemplatesScopedList.Builder> implements NodeTemplatesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.NodeTemplatesScopedList

Static Methods

getDescriptor()

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

Methods

addAllNodeTemplates(Iterable<? extends NodeTemplate> values)

public NodeTemplatesScopedList.Builder addAllNodeTemplates(Iterable<? extends NodeTemplate> values)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

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

addNodeTemplates(NodeTemplate value)

public NodeTemplatesScopedList.Builder addNodeTemplates(NodeTemplate value)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameter
Name Description
value NodeTemplate
Returns
Type Description
NodeTemplatesScopedList.Builder

addNodeTemplates(NodeTemplate.Builder builderForValue)

public NodeTemplatesScopedList.Builder addNodeTemplates(NodeTemplate.Builder builderForValue)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameter
Name Description
builderForValue NodeTemplate.Builder
Returns
Type Description
NodeTemplatesScopedList.Builder

addNodeTemplates(int index, NodeTemplate value)

public NodeTemplatesScopedList.Builder addNodeTemplates(int index, NodeTemplate value)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameters
Name Description
index int
value NodeTemplate
Returns
Type Description
NodeTemplatesScopedList.Builder

addNodeTemplates(int index, NodeTemplate.Builder builderForValue)

public NodeTemplatesScopedList.Builder addNodeTemplates(int index, NodeTemplate.Builder builderForValue)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameters
Name Description
index int
builderForValue NodeTemplate.Builder
Returns
Type Description
NodeTemplatesScopedList.Builder

addNodeTemplatesBuilder()

public NodeTemplate.Builder addNodeTemplatesBuilder()

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Returns
Type Description
NodeTemplate.Builder

addNodeTemplatesBuilder(int index)

public NodeTemplate.Builder addNodeTemplatesBuilder(int index)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameter
Name Description
index int
Returns
Type Description
NodeTemplate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeTemplatesScopedList build()
Returns
Type Description
NodeTemplatesScopedList

buildPartial()

public NodeTemplatesScopedList buildPartial()
Returns
Type Description
NodeTemplatesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodeTemplates()

public NodeTemplatesScopedList.Builder clearNodeTemplates()

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Returns
Type Description
NodeTemplatesScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public NodeTemplatesScopedList.Builder clearWarning()

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

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

Returns
Type Description
NodeTemplatesScopedList.Builder

clone()

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

getDefaultInstanceForType()

public NodeTemplatesScopedList getDefaultInstanceForType()
Returns
Type Description
NodeTemplatesScopedList

getDescriptorForType()

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

getNodeTemplates(int index)

public NodeTemplate getNodeTemplates(int index)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameter
Name Description
index int
Returns
Type Description
NodeTemplate

getNodeTemplatesBuilder(int index)

public NodeTemplate.Builder getNodeTemplatesBuilder(int index)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameter
Name Description
index int
Returns
Type Description
NodeTemplate.Builder

getNodeTemplatesBuilderList()

public List<NodeTemplate.Builder> getNodeTemplatesBuilderList()

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Returns
Type Description
List<Builder>

getNodeTemplatesCount()

public int getNodeTemplatesCount()

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Returns
Type Description
int

getNodeTemplatesList()

public List<NodeTemplate> getNodeTemplatesList()

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Returns
Type Description
List<NodeTemplate>

getNodeTemplatesOrBuilder(int index)

public NodeTemplateOrBuilder getNodeTemplatesOrBuilder(int index)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameter
Name Description
index int
Returns
Type Description
NodeTemplateOrBuilder

getNodeTemplatesOrBuilderList()

public List<? extends NodeTemplateOrBuilder> getNodeTemplatesOrBuilderList()

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

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

getWarning()

public Warning getWarning()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public NodeTemplatesScopedList.Builder mergeWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
NodeTemplatesScopedList.Builder

removeNodeTemplates(int index)

public NodeTemplatesScopedList.Builder removeNodeTemplates(int index)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameter
Name Description
index int
Returns
Type Description
NodeTemplatesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodeTemplates(int index, NodeTemplate value)

public NodeTemplatesScopedList.Builder setNodeTemplates(int index, NodeTemplate value)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameters
Name Description
index int
value NodeTemplate
Returns
Type Description
NodeTemplatesScopedList.Builder

setNodeTemplates(int index, NodeTemplate.Builder builderForValue)

public NodeTemplatesScopedList.Builder setNodeTemplates(int index, NodeTemplate.Builder builderForValue)

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

repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;

Parameters
Name Description
index int
builderForValue NodeTemplate.Builder
Returns
Type Description
NodeTemplatesScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public NodeTemplatesScopedList.Builder setWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
NodeTemplatesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public NodeTemplatesScopedList.Builder setWarning(Warning.Builder builderForValue)

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

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

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