Class NodeTemplatesScopedList.Builder (1.8.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.NodeTemplate>
Returns
TypeDescription
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
NameDescription
valueNodeTemplate
Returns
TypeDescription
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
NameDescription
builderForValueNodeTemplate.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNodeTemplate
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNodeTemplate.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NodeTemplate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeTemplatesScopedList build()
Returns
TypeDescription
NodeTemplatesScopedList

buildPartial()

public NodeTemplatesScopedList buildPartial()
Returns
TypeDescription
NodeTemplatesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NodeTemplatesScopedList getDefaultInstanceForType()
Returns
TypeDescription
NodeTemplatesScopedList

getDescriptorForType()

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

public NodeTemplatesScopedList.Builder mergeFrom(NodeTemplatesScopedList other)
Parameter
NameDescription
otherNodeTemplatesScopedList
Returns
TypeDescription
NodeTemplatesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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