Class StoragePoolsScopedList.Builder (1.64.0)

See more code actions.
public static final class StoragePoolsScopedList.Builder extends GeneratedMessageV3.Builder<StoragePoolsScopedList.Builder> implements StoragePoolsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.StoragePoolsScopedList

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StoragePoolsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StoragePoolsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StoragePoolsScopedList.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final StoragePoolsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StoragePoolsScopedList.Builder
Overrides

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