Class DiskTypesScopedList.Builder (1.88.0)

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
Type Description
Descriptor

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
Type Description
DiskTypesScopedList.Builder

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
Name Description
value DiskType
Returns
Type Description
DiskTypesScopedList.Builder

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
Name Description
builderForValue DiskType.Builder
Returns
Type Description
DiskTypesScopedList.Builder

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
Name Description
index int
value DiskType
Returns
Type Description
DiskTypesScopedList.Builder

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
Name Description
index int
builderForValue DiskType.Builder
Returns
Type Description
DiskTypesScopedList.Builder

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
Type Description
DiskType.Builder

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
Name Description
index int
Returns
Type Description
DiskType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiskTypesScopedList build()
Returns
Type Description
DiskTypesScopedList

buildPartial()

public DiskTypesScopedList buildPartial()
Returns
Type Description
DiskTypesScopedList

clear()

public DiskTypesScopedList.Builder clear()
Returns
Type Description
DiskTypesScopedList.Builder
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
Type Description
DiskTypesScopedList.Builder

clearField(Descriptors.FieldDescriptor field)

public DiskTypesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiskTypesScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DiskTypesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DiskTypesScopedList.Builder
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
Type Description
DiskTypesScopedList.Builder

clone()

public DiskTypesScopedList.Builder clone()
Returns
Type Description
DiskTypesScopedList.Builder
Overrides

getDefaultInstanceForType()

public DiskTypesScopedList getDefaultInstanceForType()
Returns
Type Description
DiskTypesScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
DiskType

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
Name Description
index int
Returns
Type Description
DiskType.Builder

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
Type Description
List<Builder>

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
Type Description
int

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
Type Description
List<DiskType>

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
Name Description
index int
Returns
Type Description
DiskTypeOrBuilder

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
Type Description
Warning

The warning.

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
Type Description
Warning.Builder

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
Type Description
WarningOrBuilder

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