Class MachineTypesScopedList.Builder (1.49.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.MachineType>
Returns
TypeDescription
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
NameDescription
valueMachineType
Returns
TypeDescription
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
NameDescription
builderForValueMachineType.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMachineType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMachineType.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MachineType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MachineTypesScopedList build()
Returns
TypeDescription
MachineTypesScopedList

buildPartial()

public MachineTypesScopedList buildPartial()
Returns
TypeDescription
MachineTypesScopedList

clear()

public MachineTypesScopedList.Builder clear()
Returns
TypeDescription
MachineTypesScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MachineTypesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
MachineTypesScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public MachineTypesScopedList.Builder clone()
Returns
TypeDescription
MachineTypesScopedList.Builder
Overrides

getDefaultInstanceForType()

public MachineTypesScopedList getDefaultInstanceForType()
Returns
TypeDescription
MachineTypesScopedList

getDescriptorForType()

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

public MachineTypesScopedList.Builder mergeFrom(MachineTypesScopedList other)
Parameter
NameDescription
otherMachineTypesScopedList
Returns
TypeDescription
MachineTypesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public MachineTypesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueMachineType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMachineType.Builder
Returns
TypeDescription
MachineTypesScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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