Class AcceleratorTypesScopedList.Builder (1.52.0)

public static final class AcceleratorTypesScopedList.Builder extends GeneratedMessageV3.Builder<AcceleratorTypesScopedList.Builder> implements AcceleratorTypesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.AcceleratorTypesScopedList

Static Methods

getDescriptor()

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

Methods

addAcceleratorTypes(AcceleratorType value)

public AcceleratorTypesScopedList.Builder addAcceleratorTypes(AcceleratorType value)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameter
Name Description
value AcceleratorType
Returns
Type Description
AcceleratorTypesScopedList.Builder

addAcceleratorTypes(AcceleratorType.Builder builderForValue)

public AcceleratorTypesScopedList.Builder addAcceleratorTypes(AcceleratorType.Builder builderForValue)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameter
Name Description
builderForValue AcceleratorType.Builder
Returns
Type Description
AcceleratorTypesScopedList.Builder

addAcceleratorTypes(int index, AcceleratorType value)

public AcceleratorTypesScopedList.Builder addAcceleratorTypes(int index, AcceleratorType value)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameters
Name Description
index int
value AcceleratorType
Returns
Type Description
AcceleratorTypesScopedList.Builder

addAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)

public AcceleratorTypesScopedList.Builder addAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameters
Name Description
index int
builderForValue AcceleratorType.Builder
Returns
Type Description
AcceleratorTypesScopedList.Builder

addAcceleratorTypesBuilder()

public AcceleratorType.Builder addAcceleratorTypesBuilder()

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Returns
Type Description
AcceleratorType.Builder

addAcceleratorTypesBuilder(int index)

public AcceleratorType.Builder addAcceleratorTypesBuilder(int index)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorType.Builder

addAllAcceleratorTypes(Iterable<? extends AcceleratorType> values)

public AcceleratorTypesScopedList.Builder addAllAcceleratorTypes(Iterable<? extends AcceleratorType> values)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AcceleratorTypesScopedList build()
Returns
Type Description
AcceleratorTypesScopedList

buildPartial()

public AcceleratorTypesScopedList buildPartial()
Returns
Type Description
AcceleratorTypesScopedList

clear()

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

clearAcceleratorTypes()

public AcceleratorTypesScopedList.Builder clearAcceleratorTypes()

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Returns
Type Description
AcceleratorTypesScopedList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public AcceleratorTypesScopedList.Builder clearWarning()

[Output Only] An informational warning that appears when the accelerator types list is empty.

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

Returns
Type Description
AcceleratorTypesScopedList.Builder

clone()

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

getAcceleratorTypes(int index)

public AcceleratorType getAcceleratorTypes(int index)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorType

getAcceleratorTypesBuilder(int index)

public AcceleratorType.Builder getAcceleratorTypesBuilder(int index)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorType.Builder

getAcceleratorTypesBuilderList()

public List<AcceleratorType.Builder> getAcceleratorTypesBuilderList()

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Returns
Type Description
List<Builder>

getAcceleratorTypesCount()

public int getAcceleratorTypesCount()

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Returns
Type Description
int

getAcceleratorTypesList()

public List<AcceleratorType> getAcceleratorTypesList()

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Returns
Type Description
List<AcceleratorType>

getAcceleratorTypesOrBuilder(int index)

public AcceleratorTypeOrBuilder getAcceleratorTypesOrBuilder(int index)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorTypeOrBuilder

getAcceleratorTypesOrBuilderList()

public List<? extends AcceleratorTypeOrBuilder> getAcceleratorTypesOrBuilderList()

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

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

getDefaultInstanceForType()

public AcceleratorTypesScopedList getDefaultInstanceForType()
Returns
Type Description
AcceleratorTypesScopedList

getDescriptorForType()

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

getWarning()

public Warning getWarning()

[Output Only] An informational warning that appears when the accelerator 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 accelerator 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 accelerator 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 accelerator types 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(AcceleratorTypesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public AcceleratorTypesScopedList.Builder mergeWarning(Warning value)

[Output Only] An informational warning that appears when the accelerator types list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
AcceleratorTypesScopedList.Builder

removeAcceleratorTypes(int index)

public AcceleratorTypesScopedList.Builder removeAcceleratorTypes(int index)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorTypesScopedList.Builder

setAcceleratorTypes(int index, AcceleratorType value)

public AcceleratorTypesScopedList.Builder setAcceleratorTypes(int index, AcceleratorType value)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameters
Name Description
index int
value AcceleratorType
Returns
Type Description
AcceleratorTypesScopedList.Builder

setAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)

public AcceleratorTypesScopedList.Builder setAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)

[Output Only] A list of accelerator types contained in this scope.

repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;

Parameters
Name Description
index int
builderForValue AcceleratorType.Builder
Returns
Type Description
AcceleratorTypesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public AcceleratorTypesScopedList.Builder setWarning(Warning value)

[Output Only] An informational warning that appears when the accelerator types list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
AcceleratorTypesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public AcceleratorTypesScopedList.Builder setWarning(Warning.Builder builderForValue)

[Output Only] An informational warning that appears when the accelerator types list is empty.

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

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