Class StoragePoolTypesScopedList.Builder (1.88.0)

public static final class StoragePoolTypesScopedList.Builder extends GeneratedMessageV3.Builder<StoragePoolTypesScopedList.Builder> implements StoragePoolTypesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.StoragePoolTypesScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllStoragePoolTypes(Iterable<? extends StoragePoolType> values)

public StoragePoolTypesScopedList.Builder addAllStoragePoolTypes(Iterable<? extends StoragePoolType> values)

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.StoragePoolType>
Returns
Type Description
StoragePoolTypesScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addStoragePoolTypes(StoragePoolType value)

public StoragePoolTypesScopedList.Builder addStoragePoolTypes(StoragePoolType value)

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Parameter
Name Description
value StoragePoolType
Returns
Type Description
StoragePoolTypesScopedList.Builder

addStoragePoolTypes(StoragePoolType.Builder builderForValue)

public StoragePoolTypesScopedList.Builder addStoragePoolTypes(StoragePoolType.Builder builderForValue)

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Parameter
Name Description
builderForValue StoragePoolType.Builder
Returns
Type Description
StoragePoolTypesScopedList.Builder

addStoragePoolTypes(int index, StoragePoolType value)

public StoragePoolTypesScopedList.Builder addStoragePoolTypes(int index, StoragePoolType value)

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Parameters
Name Description
index int
value StoragePoolType
Returns
Type Description
StoragePoolTypesScopedList.Builder

addStoragePoolTypes(int index, StoragePoolType.Builder builderForValue)

public StoragePoolTypesScopedList.Builder addStoragePoolTypes(int index, StoragePoolType.Builder builderForValue)

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Parameters
Name Description
index int
builderForValue StoragePoolType.Builder
Returns
Type Description
StoragePoolTypesScopedList.Builder

addStoragePoolTypesBuilder()

public StoragePoolType.Builder addStoragePoolTypesBuilder()

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Returns
Type Description
StoragePoolType.Builder

addStoragePoolTypesBuilder(int index)

public StoragePoolType.Builder addStoragePoolTypesBuilder(int index)

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Parameter
Name Description
index int
Returns
Type Description
StoragePoolType.Builder

build()

public StoragePoolTypesScopedList build()
Returns
Type Description
StoragePoolTypesScopedList

buildPartial()

public StoragePoolTypesScopedList buildPartial()
Returns
Type Description
StoragePoolTypesScopedList

clear()

public StoragePoolTypesScopedList.Builder clear()
Returns
Type Description
StoragePoolTypesScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public StoragePoolTypesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StoragePoolTypesScopedList.Builder
Overrides

clearStoragePoolTypes()

public StoragePoolTypesScopedList.Builder clearStoragePoolTypes()

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Returns
Type Description
StoragePoolTypesScopedList.Builder

clearWarning()

public StoragePoolTypesScopedList.Builder clearWarning()

[Output Only] Informational warning which replaces the list of storage pool types when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
StoragePoolTypesScopedList.Builder

clone()

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

getDefaultInstanceForType()

public StoragePoolTypesScopedList getDefaultInstanceForType()
Returns
Type Description
StoragePoolTypesScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStoragePoolTypes(int index)

public StoragePoolType getStoragePoolTypes(int index)

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Parameter
Name Description
index int
Returns
Type Description
StoragePoolType

getStoragePoolTypesBuilder(int index)

public StoragePoolType.Builder getStoragePoolTypesBuilder(int index)

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Parameter
Name Description
index int
Returns
Type Description
StoragePoolType.Builder

getStoragePoolTypesBuilderList()

public List<StoragePoolType.Builder> getStoragePoolTypesBuilderList()

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Returns
Type Description
List<Builder>

getStoragePoolTypesCount()

public int getStoragePoolTypesCount()

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Returns
Type Description
int

getStoragePoolTypesList()

public List<StoragePoolType> getStoragePoolTypesList()

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Returns
Type Description
List<StoragePoolType>

getStoragePoolTypesOrBuilder(int index)

public StoragePoolTypeOrBuilder getStoragePoolTypesOrBuilder(int index)

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Parameter
Name Description
index int
Returns
Type Description
StoragePoolTypeOrBuilder

getStoragePoolTypesOrBuilderList()

public List<? extends StoragePoolTypeOrBuilder> getStoragePoolTypesOrBuilderList()

[Output Only] A list of storage pool types contained in this scope.

repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.StoragePoolTypeOrBuilder>

getWarning()

public Warning getWarning()

[Output Only] Informational warning which replaces the list of storage pool 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 storage pool types when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns<