Class CreateStoragePoolRequest.Builder (0.27.0)

public static final class CreateStoragePoolRequest.Builder extends GeneratedMessageV3.Builder<CreateStoragePoolRequest.Builder> implements CreateStoragePoolRequestOrBuilder

CreateStoragePoolRequest creates a Storage Pool.

Protobuf type google.cloud.netapp.v1.CreateStoragePoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateStoragePoolRequest build()
Returns
Type Description
CreateStoragePoolRequest

buildPartial()

public CreateStoragePoolRequest buildPartial()
Returns
Type Description
CreateStoragePoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateStoragePoolRequest.Builder clearParent()

Required. Value for parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateStoragePoolRequest.Builder

This builder for chaining.

clearStoragePool()

public CreateStoragePoolRequest.Builder clearStoragePool()

Required. The required parameters to create a new storage pool.

.google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateStoragePoolRequest.Builder

clearStoragePoolId()

public CreateStoragePoolRequest.Builder clearStoragePoolId()

Required. Id of the requesting storage pool. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateStoragePoolRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateStoragePoolRequest getDefaultInstanceForType()
Returns
Type Description
CreateStoragePoolRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Value for parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Value for parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getStoragePool()

public StoragePool getStoragePool()

Required. The required parameters to create a new storage pool.

.google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StoragePool

The storagePool.

getStoragePoolBuilder()

public StoragePool.Builder getStoragePoolBuilder()

Required. The required parameters to create a new storage pool.

.google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StoragePool.Builder

getStoragePoolId()

public String getStoragePoolId()

Required. Id of the requesting storage pool. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The storagePoolId.

getStoragePoolIdBytes()

public ByteString getStoragePoolIdBytes()

Required. Id of the requesting storage pool. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for storagePoolId.

getStoragePoolOrBuilder()

public StoragePoolOrBuilder getStoragePoolOrBuilder()

Required. The required parameters to create a new storage pool.

.google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StoragePoolOrBuilder

hasStoragePool()

public boolean hasStoragePool()

Required. The required parameters to create a new storage pool.

.google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the storagePool field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateStoragePoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStoragePool(StoragePool value)

public CreateStoragePoolRequest.Builder mergeStoragePool(StoragePool value)

Required. The required parameters to create a new storage pool.

.google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value StoragePool
Returns
Type Description
CreateStoragePoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateStoragePoolRequest.Builder setParent(String value)

Required. Value for parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateStoragePoolRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateStoragePoolRequest.Builder setParentBytes(ByteString value)

Required. Value for parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateStoragePoolRequest.Builder

This builder for chaining.

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

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

setStoragePool(StoragePool value)

public CreateStoragePoolRequest.Builder setStoragePool(StoragePool value)

Required. The required parameters to create a new storage pool.

.google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value StoragePool
Returns
Type Description
CreateStoragePoolRequest.Builder

setStoragePool(StoragePool.Builder builderForValue)

public CreateStoragePoolRequest.Builder setStoragePool(StoragePool.Builder builderForValue)

Required. The required parameters to create a new storage pool.

.google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];

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

setStoragePoolId(String value)

public CreateStoragePoolRequest.Builder setStoragePoolId(String value)

Required. Id of the requesting storage pool. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The storagePoolId to set.

Returns
Type Description
CreateStoragePoolRequest.Builder

This builder for chaining.

setStoragePoolIdBytes(ByteString value)

public CreateStoragePoolRequest.Builder setStoragePoolIdBytes(ByteString value)

Required. Id of the requesting storage pool. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for storagePoolId to set.

Returns
Type Description
CreateStoragePoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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