public static final class MachineTypesScopedList.Builder extends GeneratedMessage.Builder<MachineTypesScopedList.Builder> implements MachineTypesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.MachineTypesScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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
|
build()
public MachineTypesScopedList build()
buildPartial()
public MachineTypesScopedList buildPartial()
clear()
public MachineTypesScopedList.Builder clear()
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;
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;
getDefaultInstanceForType()
public MachineTypesScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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;
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
|
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;
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;
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MachineTypesScopedList other)
public MachineTypesScopedList.Builder mergeFrom(MachineTypesScopedList other)
public MachineTypesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MachineTypesScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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
|
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;
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;
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
|
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;