Class MachineTypesScopedList.Builder (1.88.0)

public static final class MachineTypesScopedList.Builder extends GeneratedMessageV3.Builder<MachineTypesScopedList.Builder> implements MachineTypesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.MachineTypesScopedList

Static Methods

getDescriptor()

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

Methods

addAllMachineTypes(Iterable<? extends MachineType> values)

public MachineTypesScopedList.Builder addAllMachineTypes(Iterable<? extends MachineType> values)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

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

addMachineTypes(MachineType value)

public MachineTypesScopedList.Builder addMachineTypes(MachineType value)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Parameter
Name Description
value MachineType
Returns
Type Description
MachineTypesScopedList.Builder

addMachineTypes(MachineType.Builder builderForValue)

public MachineTypesScopedList.Builder addMachineTypes(MachineType.Builder builderForValue)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Parameter
Name Description
builderForValue MachineType.Builder
Returns
Type Description
MachineTypesScopedList.Builder

addMachineTypes(int index, MachineType value)

public MachineTypesScopedList.Builder addMachineTypes(int index, MachineType value)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Parameters
Name Description
index int
value MachineType
Returns
Type Description
MachineTypesScopedList.Builder

addMachineTypes(int index, MachineType.Builder builderForValue)

public MachineTypesScopedList.Builder addMachineTypes(int index, MachineType.Builder builderForValue)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Parameters
Name Description
index int
builderForValue MachineType.Builder
Returns
Type Description
MachineTypesScopedList.Builder

addMachineTypesBuilder()

public MachineType.Builder addMachineTypesBuilder()

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Returns
Type Description
MachineType.Builder

addMachineTypesBuilder(int index)

public MachineType.Builder addMachineTypesBuilder(int index)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Parameter
Name Description
index int
Returns
Type Description
MachineType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MachineTypesScopedList build()
Returns
Type Description
MachineTypesScopedList

buildPartial()

public MachineTypesScopedList buildPartial()
Returns
Type Description
MachineTypesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMachineTypes()

public MachineTypesScopedList.Builder clearMachineTypes()

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Returns
Type Description
MachineTypesScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public MachineTypesScopedList.Builder clearWarning()

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

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

Returns
Type Description
MachineTypesScopedList.Builder

clone()

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

getDefaultInstanceForType()

public MachineTypesScopedList getDefaultInstanceForType()
Returns
Type Description
MachineTypesScopedList

getDescriptorForType()

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

getMachineTypes(int index)

public MachineType getMachineTypes(int index)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Parameter
Name Description
index int
Returns
Type Description
MachineType

getMachineTypesBuilder(int index)

public MachineType.Builder getMachineTypesBuilder(int index)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Parameter
Name Description
index int
Returns
Type Description
MachineType.Builder

getMachineTypesBuilderList()

public List<MachineType.Builder> getMachineTypesBuilderList()

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Returns
Type Description
List<Builder>

getMachineTypesCount()

public int getMachineTypesCount()

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Returns
Type Description
int

getMachineTypesList()

public List<MachineType> getMachineTypesList()

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Returns
Type Description
List<MachineType>

getMachineTypesOrBuilder(int index)

public MachineTypeOrBuilder getMachineTypesOrBuilder(int index)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Parameter
Name Description
index int
Returns
Type Description
MachineTypeOrBuilder

getMachineTypesOrBuilderList()

public List<? extends MachineTypeOrBuilder> getMachineTypesOrBuilderList()

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

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

getWarning()

public Warning getWarning()

[Output Only] An informational warning that appears when the machine 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 machine 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 machine types list is empty.

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

Returns
Type Description