Class StoragePoolTypesScopedList.Builder (1.54.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
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

[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
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[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
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(StoragePoolTypesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StoragePoolTypesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StoragePoolTypesScopedList.Builder
Overrides

mergeWarning(Warning value)

public StoragePoolTypesScopedList.Builder mergeWarning(Warning value)

[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;

Parameter
Name Description
value Warning
Returns
Type Description
StoragePoolTypesScopedList.Builder

removeStoragePoolTypes(int index)

public StoragePoolTypesScopedList.Builder removeStoragePoolTypes(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
StoragePoolTypesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStoragePoolTypes(int index, StoragePoolType value)

public StoragePoolTypesScopedList.Builder setStoragePoolTypes(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

setStoragePoolTypes(int index, StoragePoolType.Builder builderForValue)

public StoragePoolTypesScopedList.Builder setStoragePoolTypes(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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public StoragePoolTypesScopedList.Builder setWarning(Warning value)

[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;

Parameter
Name Description
value Warning
Returns
Type Description
StoragePoolTypesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public StoragePoolTypesScopedList.Builder setWarning(Warning.Builder builderForValue)

[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;

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