public static final class DiskTypesScopedList.Builder extends GeneratedMessageV3.Builder<DiskTypesScopedList.Builder> implements DiskTypesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.DiskTypesScopedList
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDiskTypes(Iterable<? extends DiskType> values)
public DiskTypesScopedList.Builder addAllDiskTypes(Iterable<? extends DiskType> values)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.DiskType>
|
Returns
addDiskTypes(DiskType value)
public DiskTypesScopedList.Builder addDiskTypes(DiskType value)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameter
Returns
addDiskTypes(DiskType.Builder builderForValue)
public DiskTypesScopedList.Builder addDiskTypes(DiskType.Builder builderForValue)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameter
Returns
addDiskTypes(int index, DiskType value)
public DiskTypesScopedList.Builder addDiskTypes(int index, DiskType value)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameters
Returns
addDiskTypes(int index, DiskType.Builder builderForValue)
public DiskTypesScopedList.Builder addDiskTypes(int index, DiskType.Builder builderForValue)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameters
Returns
addDiskTypesBuilder()
public DiskType.Builder addDiskTypesBuilder()
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Returns
addDiskTypesBuilder(int index)
public DiskType.Builder addDiskTypesBuilder(int index)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiskTypesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DiskTypesScopedList build()
Returns
buildPartial()
public DiskTypesScopedList buildPartial()
Returns
clear()
public DiskTypesScopedList.Builder clear()
Returns
Overrides
clearDiskTypes()
public DiskTypesScopedList.Builder clearDiskTypes()
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Returns
clearField(Descriptors.FieldDescriptor field)
public DiskTypesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DiskTypesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWarning()
public DiskTypesScopedList.Builder clearWarning()
[Output Only] Informational warning which replaces the list of disk types when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
clone()
public DiskTypesScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DiskTypesScopedList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDiskTypes(int index)
public DiskType getDiskTypes(int index)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameter
Returns
getDiskTypesBuilder(int index)
public DiskType.Builder getDiskTypesBuilder(int index)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameter
Returns
getDiskTypesBuilderList()
public List<DiskType.Builder> getDiskTypesBuilderList()
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Returns
getDiskTypesCount()
public int getDiskTypesCount()
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Returns
getDiskTypesList()
public List<DiskType> getDiskTypesList()
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Returns
getDiskTypesOrBuilder(int index)
public DiskTypeOrBuilder getDiskTypesOrBuilder(int index)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameter
Returns
getDiskTypesOrBuilderList()
public List<? extends DiskTypeOrBuilder> getDiskTypesOrBuilderList()
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.DiskTypeOrBuilder> | |
getWarning()
public Warning getWarning()
[Output Only] Informational warning which replaces the list of disk types when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
getWarningBuilder()
public Warning.Builder getWarningBuilder()
[Output Only] Informational warning which replaces the list of disk types when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning which replaces the list of disk types when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
hasWarning()
public boolean hasWarning()
[Output Only] Informational warning which replaces the list of disk types when the 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(DiskTypesScopedList other)
public DiskTypesScopedList.Builder mergeFrom(DiskTypesScopedList other)
Parameter
Returns
public DiskTypesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DiskTypesScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiskTypesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWarning(Warning value)
public DiskTypesScopedList.Builder mergeWarning(Warning value)
[Output Only] Informational warning which replaces the list of disk types when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
removeDiskTypes(int index)
public DiskTypesScopedList.Builder removeDiskTypes(int index)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameter
Returns
setDiskTypes(int index, DiskType value)
public DiskTypesScopedList.Builder setDiskTypes(int index, DiskType value)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameters
Returns
setDiskTypes(int index, DiskType.Builder builderForValue)
public DiskTypesScopedList.Builder setDiskTypes(int index, DiskType.Builder builderForValue)
[Output Only] A list of disk types contained in this scope.
repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DiskTypesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiskTypesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DiskTypesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWarning(Warning value)
public DiskTypesScopedList.Builder setWarning(Warning value)
[Output Only] Informational warning which replaces the list of disk types when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
setWarning(Warning.Builder builderForValue)
public DiskTypesScopedList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning which replaces the list of disk types when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns