Class StoragePoolType.Builder (1.57.0)

public static final class StoragePoolType.Builder extends GeneratedMessageV3.Builder<StoragePoolType.Builder> implements StoragePoolTypeOrBuilder

Protobuf type google.cloud.compute.v1.StoragePoolType

Static Methods

getDescriptor()

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

Methods

addAllSupportedDiskTypes(Iterable<String> values)

public StoragePoolType.Builder addAllSupportedDiskTypes(Iterable<String> values)

[Output Only] The list of disk types supported in this storage pool type.

repeated string supported_disk_types = 150587272;

Parameter
Name Description
values Iterable<String>

The supportedDiskTypes to add.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSupportedDiskTypes(String value)

public StoragePoolType.Builder addSupportedDiskTypes(String value)

[Output Only] The list of disk types supported in this storage pool type.

repeated string supported_disk_types = 150587272;

Parameter
Name Description
value String

The supportedDiskTypes to add.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

addSupportedDiskTypesBytes(ByteString value)

public StoragePoolType.Builder addSupportedDiskTypesBytes(ByteString value)

[Output Only] The list of disk types supported in this storage pool type.

repeated string supported_disk_types = 150587272;

Parameter
Name Description
value ByteString

The bytes of the supportedDiskTypes to add.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

build()

public StoragePoolType build()
Returns
Type Description
StoragePoolType

buildPartial()

public StoragePoolType buildPartial()
Returns
Type Description
StoragePoolType

clear()

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

clearCreationTimestamp()

public StoragePoolType.Builder clearCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearDeprecated()

public StoragePoolType.Builder clearDeprecated()

[Output Only] The deprecation status associated with this storage pool type.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

Returns
Type Description
StoragePoolType.Builder

clearDescription()

public StoragePoolType.Builder clearDescription()

[Output Only] An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public StoragePoolType.Builder clearId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearKind()

public StoragePoolType.Builder clearKind()

[Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.

optional string kind = 3292052;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearMaxPoolProvisionedCapacityGb()

public StoragePoolType.Builder clearMaxPoolProvisionedCapacityGb()

[Output Only] Maximum storage pool size in GB.

optional int64 max_pool_provisioned_capacity_gb = 182139085;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearMaxPoolProvisionedIops()

public StoragePoolType.Builder clearMaxPoolProvisionedIops()

[Output Only] Maximum provisioned IOPS.

optional int64 max_pool_provisioned_iops = 515270652;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearMaxPoolProvisionedThroughput()

public StoragePoolType.Builder clearMaxPoolProvisionedThroughput()

[Output Only] Maximum provisioned throughput.

optional int64 max_pool_provisioned_throughput = 228928061;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearMinPoolProvisionedCapacityGb()

public StoragePoolType.Builder clearMinPoolProvisionedCapacityGb()

[Output Only] Minimum storage pool size in GB.

optional int64 min_pool_provisioned_capacity_gb = 191022751;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearMinPoolProvisionedIops()

public StoragePoolType.Builder clearMinPoolProvisionedIops()

[Output Only] Minimum provisioned IOPS.

optional int64 min_pool_provisioned_iops = 416473706;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearMinPoolProvisionedThroughput()

public StoragePoolType.Builder clearMinPoolProvisionedThroughput()

[Output Only] Minimum provisioned throughput.

optional int64 min_pool_provisioned_throughput = 367761963;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearMinSizeGb()

public StoragePoolType.Builder clearMinSizeGb()

[Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.

optional int64 min_size_gb = 385278188;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearName()

public StoragePoolType.Builder clearName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearSelfLinkWithId()

public StoragePoolType.Builder clearSelfLinkWithId()

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearSupportedDiskTypes()

public StoragePoolType.Builder clearSupportedDiskTypes()

[Output Only] The list of disk types supported in this storage pool type.

repeated string supported_disk_types = 150587272;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clearZone()

public StoragePoolType.Builder clearZone()

[Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string zone = 3744684;

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

clone()

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

getCreationTimestamp()

public String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDefaultInstanceForType()

public StoragePoolType getDefaultInstanceForType()
Returns
Type Description
StoragePoolType

getDeprecated()

public DeprecationStatus getDeprecated()

[Output Only] The deprecation status associated with this storage pool type.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

Returns
Type Description
DeprecationStatus

The deprecated.

getDeprecatedBuilder()

public DeprecationStatus.Builder getDeprecatedBuilder()

[Output Only] The deprecation status associated with this storage pool type.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

Returns
Type Description
DeprecationStatus.Builder

getDeprecatedOrBuilder()

public DeprecationStatusOrBuilder getDeprecatedOrBuilder()

[Output Only] The deprecation status associated with this storage pool type.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

Returns
Type Description
DeprecationStatusOrBuilder

getDescription()

public String getDescription()

[Output Only] An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

[Output Only] An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getId()

public long getId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getKind()

public String getKind()

[Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getMaxPoolProvisionedCapacityGb()

public long getMaxPoolProvisionedCapacityGb()

[Output Only] Maximum storage pool size in GB.

optional int64 max_pool_provisioned_capacity_gb = 182139085;

Returns
Type Description
long

The maxPoolProvisionedCapacityGb.

getMaxPoolProvisionedIops()

public long getMaxPoolProvisionedIops()

[Output Only] Maximum provisioned IOPS.

optional int64 max_pool_provisioned_iops = 515270652;

Returns
Type Description
long

The maxPoolProvisionedIops.

getMaxPoolProvisionedThroughput()

public long getMaxPoolProvisionedThroughput()

[Output Only] Maximum provisioned throughput.

optional int64 max_pool_provisioned_throughput = 228928061;

Returns
Type Description
long

The maxPoolProvisionedThroughput.

getMinPoolProvisionedCapacityGb()

public long getMinPoolProvisionedCapacityGb()

[Output Only] Minimum storage pool size in GB.

optional int64 min_pool_provisioned_capacity_gb = 191022751;

Returns
Type Description
long

The minPoolProvisionedCapacityGb.

getMinPoolProvisionedIops()

public long getMinPoolProvisionedIops()

[Output Only] Minimum provisioned IOPS.

optional int64 min_pool_provisioned_iops = 416473706;

Returns
Type Description
long

The minPoolProvisionedIops.

getMinPoolProvisionedThroughput()

public long getMinPoolProvisionedThroughput()

[Output Only] Minimum provisioned throughput.

optional int64 min_pool_provisioned_throughput = 367761963;

Returns
Type Description
long

The minPoolProvisionedThroughput.

getMinSizeGb()

public long getMinSizeGb()

[Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.

optional int64 min_size_gb = 385278188;

Returns
Type Description
long

The minSizeGb.

getName()

public String getName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

public String getSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getSelfLinkWithId()

public String getSelfLinkWithId()

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
String

The selfLinkWithId.

getSelfLinkWithIdBytes()

public ByteString getSelfLinkWithIdBytes()

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
ByteString

The bytes for selfLinkWithId.

getSupportedDiskTypes(int index)

public String getSupportedDiskTypes(int index)

[Output Only] The list of disk types supported in this storage pool type.

repeated string supported_disk_types = 150587272;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The supportedDiskTypes at the given index.

getSupportedDiskTypesBytes(int index)

public ByteString getSupportedDiskTypesBytes(int index)

[Output Only] The list of disk types supported in this storage pool type.

repeated string supported_disk_types = 150587272;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the supportedDiskTypes at the given index.

getSupportedDiskTypesCount()

public int getSupportedDiskTypesCount()

[Output Only] The list of disk types supported in this storage pool type.

repeated string supported_disk_types = 150587272;

Returns
Type Description
int

The count of supportedDiskTypes.

getSupportedDiskTypesList()

public ProtocolStringList getSupportedDiskTypesList()

[Output Only] The list of disk types supported in this storage pool type.

repeated string supported_disk_types = 150587272;

Returns
Type Description
ProtocolStringList

A list containing the supportedDiskTypes.

getZone()

public String getZone()

[Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string zone = 3744684;

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

[Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string zone = 3744684;

Returns
Type Description
ByteString

The bytes for zone.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasDeprecated()

public boolean hasDeprecated()

[Output Only] The deprecation status associated with this storage pool type.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

Returns
Type Description
boolean

Whether the deprecated field is set.

hasDescription()

public boolean hasDescription()

[Output Only] An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasId()

public boolean hasId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasKind()

public boolean hasKind()

[Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasMaxPoolProvisionedCapacityGb()

public boolean hasMaxPoolProvisionedCapacityGb()

[Output Only] Maximum storage pool size in GB.

optional int64 max_pool_provisioned_capacity_gb = 182139085;

Returns
Type Description
boolean

Whether the maxPoolProvisionedCapacityGb field is set.

hasMaxPoolProvisionedIops()

public boolean hasMaxPoolProvisionedIops()

[Output Only] Maximum provisioned IOPS.

optional int64 max_pool_provisioned_iops = 515270652;

Returns
Type Description
boolean

Whether the maxPoolProvisionedIops field is set.

hasMaxPoolProvisionedThroughput()

public boolean hasMaxPoolProvisionedThroughput()

[Output Only] Maximum provisioned throughput.

optional int64 max_pool_provisioned_throughput = 228928061;

Returns
Type Description
boolean

Whether the maxPoolProvisionedThroughput field is set.

hasMinPoolProvisionedCapacityGb()

public boolean hasMinPoolProvisionedCapacityGb()

[Output Only] Minimum storage pool size in GB.

optional int64 min_pool_provisioned_capacity_gb = 191022751;

Returns
Type Description
boolean

Whether the minPoolProvisionedCapacityGb field is set.

hasMinPoolProvisionedIops()

public boolean hasMinPoolProvisionedIops()

[Output Only] Minimum provisioned IOPS.

optional int64 min_pool_provisioned_iops = 416473706;

Returns
Type Description
boolean

Whether the minPoolProvisionedIops field is set.

hasMinPoolProvisionedThroughput()

public boolean hasMinPoolProvisionedThroughput()

[Output Only] Minimum provisioned throughput.

optional int64 min_pool_provisioned_throughput = 367761963;

Returns
Type Description
boolean

Whether the minPoolProvisionedThroughput field is set.

hasMinSizeGb()

public boolean hasMinSizeGb()

[Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.

optional int64 min_size_gb = 385278188;

Returns
Type Description
boolean

Whether the minSizeGb field is set.

hasName()

public boolean hasName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

public boolean hasSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

hasSelfLinkWithId()

public boolean hasSelfLinkWithId()

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
boolean

Whether the selfLinkWithId field is set.

hasZone()

public boolean hasZone()

[Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string zone = 3744684;

Returns
Type Description
boolean

Whether the zone field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeprecated(DeprecationStatus value)

public StoragePoolType.Builder mergeDeprecated(DeprecationStatus value)

[Output Only] The deprecation status associated with this storage pool type.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

Parameter
Name Description
value DeprecationStatus
Returns
Type Description
StoragePoolType.Builder

mergeFrom(StoragePoolType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCreationTimestamp(String value)

public StoragePoolType.Builder setCreationTimestamp(String value)

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value String

The creationTimestamp to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setCreationTimestampBytes(ByteString value)

public StoragePoolType.Builder setCreationTimestampBytes(ByteString value)

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value ByteString

The bytes for creationTimestamp to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setDeprecated(DeprecationStatus value)

public StoragePoolType.Builder setDeprecated(DeprecationStatus value)

[Output Only] The deprecation status associated with this storage pool type.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

Parameter
Name Description
value DeprecationStatus
Returns
Type Description
StoragePoolType.Builder

setDeprecated(DeprecationStatus.Builder builderForValue)

public StoragePoolType.Builder setDeprecated(DeprecationStatus.Builder builderForValue)

[Output Only] The deprecation status associated with this storage pool type.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

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

setDescription(String value)

public StoragePoolType.Builder setDescription(String value)

[Output Only] An optional description of this resource.

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public StoragePoolType.Builder setDescriptionBytes(ByteString value)

[Output Only] An optional description of this resource.

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(long value)

public StoragePoolType.Builder setId(long value)

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Parameter
Name Description
value long

The id to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setKind(String value)

public StoragePoolType.Builder setKind(String value)

[Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.

optional string kind = 3292052;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setKindBytes(ByteString value)

public StoragePoolType.Builder setKindBytes(ByteString value)

[Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.

optional string kind = 3292052;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setMaxPoolProvisionedCapacityGb(long value)

public StoragePoolType.Builder setMaxPoolProvisionedCapacityGb(long value)

[Output Only] Maximum storage pool size in GB.

optional int64 max_pool_provisioned_capacity_gb = 182139085;

Parameter
Name Description
value long

The maxPoolProvisionedCapacityGb to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setMaxPoolProvisionedIops(long value)

public StoragePoolType.Builder setMaxPoolProvisionedIops(long value)

[Output Only] Maximum provisioned IOPS.

optional int64 max_pool_provisioned_iops = 515270652;

Parameter
Name Description
value long

The maxPoolProvisionedIops to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setMaxPoolProvisionedThroughput(long value)

public StoragePoolType.Builder setMaxPoolProvisionedThroughput(long value)

[Output Only] Maximum provisioned throughput.

optional int64 max_pool_provisioned_throughput = 228928061;

Parameter
Name Description
value long

The maxPoolProvisionedThroughput to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setMinPoolProvisionedCapacityGb(long value)

public StoragePoolType.Builder setMinPoolProvisionedCapacityGb(long value)

[Output Only] Minimum storage pool size in GB.

optional int64 min_pool_provisioned_capacity_gb = 191022751;

Parameter
Name Description
value long

The minPoolProvisionedCapacityGb to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setMinPoolProvisionedIops(long value)

public StoragePoolType.Builder setMinPoolProvisionedIops(long value)

[Output Only] Minimum provisioned IOPS.

optional int64 min_pool_provisioned_iops = 416473706;

Parameter
Name Description
value long

The minPoolProvisionedIops to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setMinPoolProvisionedThroughput(long value)

public StoragePoolType.Builder setMinPoolProvisionedThroughput(long value)

[Output Only] Minimum provisioned throughput.

optional int64 min_pool_provisioned_throughput = 367761963;

Parameter
Name Description
value long

The minPoolProvisionedThroughput to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setMinSizeGb(long value)

public StoragePoolType.Builder setMinSizeGb(long value)

[Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.

optional int64 min_size_gb = 385278188;

Parameter
Name Description
value long

The minSizeGb to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setName(String value)

public StoragePoolType.Builder setName(String value)

[Output Only] Name of the resource.

optional string name = 3373707;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StoragePoolType.Builder setNameBytes(ByteString value)

[Output Only] Name of the resource.

optional string name = 3373707;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

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

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

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Parameter
Name Description
value String

The selfLink to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setSelfLinkBytes(ByteString value)

public StoragePoolType.Builder setSelfLinkBytes(ByteString value)

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Parameter
Name Description
value ByteString

The bytes for selfLink to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setSelfLinkWithId(String value)

public StoragePoolType.Builder setSelfLinkWithId(String value)

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Parameter
Name Description
value String

The selfLinkWithId to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setSelfLinkWithIdBytes(ByteString value)

public StoragePoolType.Builder setSelfLinkWithIdBytes(ByteString value)

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Parameter
Name Description
value ByteString

The bytes for selfLinkWithId to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setSupportedDiskTypes(int index, String value)

public StoragePoolType.Builder setSupportedDiskTypes(int index, String value)

[Output Only] The list of disk types supported in this storage pool type.

repeated string supported_disk_types = 150587272;

Parameters
Name Description
index int

The index to set the value at.

value String

The supportedDiskTypes to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setZone(String value)

public StoragePoolType.Builder setZone(String value)

[Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string zone = 3744684;

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public StoragePoolType.Builder setZoneBytes(ByteString value)

[Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string zone = 3744684;

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
StoragePoolType.Builder

This builder for chaining.