Class AcceleratorTypesScopedList.Builder (1.51.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
TypeDescription
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
NameDescription
valueAcceleratorType
Returns
TypeDescription
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
NameDescription
builderForValueAcceleratorType.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAcceleratorType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAcceleratorType.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.AcceleratorType>
Returns
TypeDescription
AcceleratorTypesScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AcceleratorTypesScopedList build()
Returns
TypeDescription
AcceleratorTypesScopedList

buildPartial()

public AcceleratorTypesScopedList buildPartial()
Returns
TypeDescription
AcceleratorTypesScopedList

clear()

public AcceleratorTypesScopedList.Builder clear()
Returns
TypeDescription
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
TypeDescription
AcceleratorTypesScopedList.Builder

clearField(Descriptors.FieldDescriptor field)

public AcceleratorTypesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AcceleratorTypesScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AcceleratorTypesScopedList.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.AcceleratorTypeOrBuilder>

getDefaultInstanceForType()

public AcceleratorTypesScopedList getDefaultInstanceForType()
Returns
TypeDescription
AcceleratorTypesScopedList

getDescriptorForType()

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

public AcceleratorTypesScopedList.Builder mergeFrom(AcceleratorTypesScopedList other)
Parameter
NameDescription
otherAcceleratorTypesScopedList
Returns
TypeDescription
AcceleratorTypesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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