Class InstanceTemplatesScopedList.Builder (1.63.0)

public static final class InstanceTemplatesScopedList.Builder extends GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder> implements InstanceTemplatesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.InstanceTemplatesScopedList

Static Methods

getDescriptor()

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

Methods

addAllInstanceTemplates(Iterable<? extends InstanceTemplate> values)

public InstanceTemplatesScopedList.Builder addAllInstanceTemplates(Iterable<? extends InstanceTemplate> values)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

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

addInstanceTemplates(InstanceTemplate value)

public InstanceTemplatesScopedList.Builder addInstanceTemplates(InstanceTemplate value)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameter
Name Description
value InstanceTemplate
Returns
Type Description
InstanceTemplatesScopedList.Builder

addInstanceTemplates(InstanceTemplate.Builder builderForValue)

public InstanceTemplatesScopedList.Builder addInstanceTemplates(InstanceTemplate.Builder builderForValue)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameter
Name Description
builderForValue InstanceTemplate.Builder
Returns
Type Description
InstanceTemplatesScopedList.Builder

addInstanceTemplates(int index, InstanceTemplate value)

public InstanceTemplatesScopedList.Builder addInstanceTemplates(int index, InstanceTemplate value)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameters
Name Description
index int
value InstanceTemplate
Returns
Type Description
InstanceTemplatesScopedList.Builder

addInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)

public InstanceTemplatesScopedList.Builder addInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameters
Name Description
index int
builderForValue InstanceTemplate.Builder
Returns
Type Description
InstanceTemplatesScopedList.Builder

addInstanceTemplatesBuilder()

public InstanceTemplate.Builder addInstanceTemplatesBuilder()

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Returns
Type Description
InstanceTemplate.Builder

addInstanceTemplatesBuilder(int index)

public InstanceTemplate.Builder addInstanceTemplatesBuilder(int index)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameter
Name Description
index int
Returns
Type Description
InstanceTemplate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceTemplatesScopedList build()
Returns
Type Description
InstanceTemplatesScopedList

buildPartial()

public InstanceTemplatesScopedList buildPartial()
Returns
Type Description
InstanceTemplatesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceTemplates()

public InstanceTemplatesScopedList.Builder clearInstanceTemplates()

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Returns
Type Description
InstanceTemplatesScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public InstanceTemplatesScopedList.Builder clearWarning()

[Output Only] An informational warning that replaces the list of instance templates when the list is empty.

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

Returns
Type Description
InstanceTemplatesScopedList.Builder

clone()

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

getDefaultInstanceForType()

public InstanceTemplatesScopedList getDefaultInstanceForType()
Returns
Type Description
InstanceTemplatesScopedList

getDescriptorForType()

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

getInstanceTemplates(int index)

public InstanceTemplate getInstanceTemplates(int index)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameter
Name Description
index int
Returns
Type Description
InstanceTemplate

getInstanceTemplatesBuilder(int index)

public InstanceTemplate.Builder getInstanceTemplatesBuilder(int index)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameter
Name Description
index int
Returns
Type Description
InstanceTemplate.Builder

getInstanceTemplatesBuilderList()

public List<InstanceTemplate.Builder> getInstanceTemplatesBuilderList()

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Returns
Type Description
List<Builder>

getInstanceTemplatesCount()

public int getInstanceTemplatesCount()

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Returns
Type Description
int

getInstanceTemplatesList()

public List<InstanceTemplate> getInstanceTemplatesList()

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Returns
Type Description
List<InstanceTemplate>

getInstanceTemplatesOrBuilder(int index)

public InstanceTemplateOrBuilder getInstanceTemplatesOrBuilder(int index)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameter
Name Description
index int
Returns
Type Description
InstanceTemplateOrBuilder

getInstanceTemplatesOrBuilderList()

public List<? extends InstanceTemplateOrBuilder> getInstanceTemplatesOrBuilderList()

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

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

getWarning()

public Warning getWarning()

[Output Only] An informational warning that replaces the list of instance templates when the 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 replaces the list of instance templates when the 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 replaces the list of instance templates when the 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 replaces the list of instance templates when the 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(InstanceTemplatesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public InstanceTemplatesScopedList.Builder mergeWarning(Warning value)

[Output Only] An informational warning that replaces the list of instance templates when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
InstanceTemplatesScopedList.Builder

removeInstanceTemplates(int index)

public InstanceTemplatesScopedList.Builder removeInstanceTemplates(int index)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameter
Name Description
index int
Returns
Type Description
InstanceTemplatesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceTemplates(int index, InstanceTemplate value)

public InstanceTemplatesScopedList.Builder setInstanceTemplates(int index, InstanceTemplate value)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameters
Name Description
index int
value InstanceTemplate
Returns
Type Description
InstanceTemplatesScopedList.Builder

setInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)

public InstanceTemplatesScopedList.Builder setInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameters
Name Description
index int
builderForValue InstanceTemplate.Builder
Returns
Type Description
InstanceTemplatesScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public InstanceTemplatesScopedList.Builder setWarning(Warning value)

[Output Only] An informational warning that replaces the list of instance templates when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
InstanceTemplatesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public InstanceTemplatesScopedList.Builder setWarning(Warning.Builder builderForValue)

[Output Only] An informational warning that replaces the list of instance templates when the list is empty.

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

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