public static final class MachineTypesScopedList.Builder extends GeneratedMessageV3.Builder<MachineTypesScopedList.Builder> implements MachineTypesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.MachineTypesScopedList
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MachineTypesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MachineTypesScopedList build()
Returns
buildPartial()
public MachineTypesScopedList buildPartial()
Returns
clear()
public MachineTypesScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public MachineTypesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public MachineTypesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public MachineTypesScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public MachineTypesScopedList getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MachineTypesScopedList other)
public MachineTypesScopedList.Builder mergeFrom(MachineTypesScopedList other)
Parameter
Returns
public MachineTypesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MachineTypesScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MachineTypesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MachineTypesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MachineTypesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MachineTypesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns