Class StoragePoolsScopedList.Builder (1.93.0)

public static final class StoragePoolsScopedList.Builder extends GeneratedMessage.Builder<StoragePoolsScopedList.Builder> implements StoragePoolsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.StoragePoolsScopedList

Static Methods

getDescriptor()

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

Methods

addAllStoragePools(Iterable<? extends StoragePool> values)

public StoragePoolsScopedList.Builder addAllStoragePools(Iterable<? extends StoragePool> values)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

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

addStoragePools(StoragePool value)

public StoragePoolsScopedList.Builder addStoragePools(StoragePool value)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameter
Name Description
value StoragePool
Returns
Type Description
StoragePoolsScopedList.Builder

addStoragePools(StoragePool.Builder builderForValue)

public StoragePoolsScopedList.Builder addStoragePools(StoragePool.Builder builderForValue)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameter
Name Description
builderForValue StoragePool.Builder
Returns
Type Description
StoragePoolsScopedList.Builder

addStoragePools(int index, StoragePool value)

public StoragePoolsScopedList.Builder addStoragePools(int index, StoragePool value)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameters
Name Description
index int
value StoragePool
Returns
Type Description
StoragePoolsScopedList.Builder

addStoragePools(int index, StoragePool.Builder builderForValue)

public StoragePoolsScopedList.Builder addStoragePools(int index, StoragePool.Builder builderForValue)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameters
Name Description
index int
builderForValue StoragePool.Builder
Returns
Type Description
StoragePoolsScopedList.Builder

addStoragePoolsBuilder()

public StoragePool.Builder addStoragePoolsBuilder()

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Returns
Type Description
StoragePool.Builder

addStoragePoolsBuilder(int index)

public StoragePool.Builder addStoragePoolsBuilder(int index)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameter
Name Description
index int
Returns
Type Description
StoragePool.Builder

build()

public StoragePoolsScopedList build()
Returns
Type Description
StoragePoolsScopedList

buildPartial()

public StoragePoolsScopedList buildPartial()
Returns
Type Description
StoragePoolsScopedList

clear()

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

clearStoragePools()

public StoragePoolsScopedList.Builder clearStoragePools()

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Returns
Type Description
StoragePoolsScopedList.Builder

clearWarning()

public StoragePoolsScopedList.Builder clearWarning()

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

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

Returns
Type Description
StoragePoolsScopedList.Builder

getDefaultInstanceForType()

public StoragePoolsScopedList getDefaultInstanceForType()
Returns
Type Description
StoragePoolsScopedList

getDescriptorForType()

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

getStoragePools(int index)

public StoragePool getStoragePools(int index)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameter
Name Description
index int
Returns
Type Description
StoragePool

getStoragePoolsBuilder(int index)

public StoragePool.Builder getStoragePoolsBuilder(int index)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameter
Name Description
index int
Returns
Type Description
StoragePool.Builder

getStoragePoolsBuilderList()

public List<StoragePool.Builder> getStoragePoolsBuilderList()

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Returns
Type Description
List<Builder>

getStoragePoolsCount()

public int getStoragePoolsCount()

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Returns
Type Description
int

getStoragePoolsList()

public List<StoragePool> getStoragePoolsList()

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Returns
Type Description
List<StoragePool>

getStoragePoolsOrBuilder(int index)

public StoragePoolOrBuilder getStoragePoolsOrBuilder(int index)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameter
Name Description
index int
Returns
Type Description
StoragePoolOrBuilder

getStoragePoolsOrBuilderList()

public List<? extends StoragePoolOrBuilder> getStoragePoolsOrBuilderList()

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

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

getWarning()

public Warning getWarning()

[Output Only] Informational warning which replaces the list of storage pool 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 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 storage pool 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 storage pool 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StoragePoolsScopedList other)

public StoragePoolsScopedList.Builder mergeFrom(StoragePoolsScopedList other)
Parameter
Name Description
other StoragePoolsScopedList
Returns
Type Description
StoragePoolsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StoragePoolsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoragePoolsScopedList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StoragePoolsScopedList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StoragePoolsScopedList.Builder
Overrides

mergeWarning(Warning value)

public StoragePoolsScopedList.Builder mergeWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
StoragePoolsScopedList.Builder

removeStoragePools(int index)

public StoragePoolsScopedList.Builder removeStoragePools(int index)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameter
Name Description
index int
Returns
Type Description
StoragePoolsScopedList.Builder

setStoragePools(int index, StoragePool value)

public StoragePoolsScopedList.Builder setStoragePools(int index, StoragePool value)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameters
Name Description
index int
value StoragePool
Returns
Type Description
StoragePoolsScopedList.Builder

setStoragePools(int index, StoragePool.Builder builderForValue)

public StoragePoolsScopedList.Builder setStoragePools(int index, StoragePool.Builder builderForValue)

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

repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;

Parameters
Name Description
index int
builderForValue StoragePool.Builder
Returns
Type Description
StoragePoolsScopedList.Builder

setWarning(Warning value)

public StoragePoolsScopedList.Builder setWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
StoragePoolsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public StoragePoolsScopedList.Builder setWarning(Warning.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
StoragePoolsScopedList.Builder