Class MachineTypesScopedList.Builder (1.52.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
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[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
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(MachineTypesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public MachineTypesScopedList.Builder mergeWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
MachineTypesScopedList.Builder

removeMachineTypes(int index)

public MachineTypesScopedList.Builder removeMachineTypes(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
MachineTypesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMachineTypes(int index, MachineType value)

public MachineTypesScopedList.Builder setMachineTypes(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

setMachineTypes(int index, MachineType.Builder builderForValue)

public MachineTypesScopedList.Builder setMachineTypes(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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public MachineTypesScopedList.Builder setWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
MachineTypesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public MachineTypesScopedList.Builder setWarning(Warning.Builder builderForValue)

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

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

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