public static final class CreateStoragePoolRequest.Builder extends GeneratedMessage.Builder<CreateStoragePoolRequest.Builder> implements CreateStoragePoolRequestOrBuilderCreateStoragePoolRequest creates a Storage Pool.
Protobuf type google.cloud.netapp.v1.CreateStoragePoolRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateStoragePoolRequest.BuilderImplements
CreateStoragePoolRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 and hyphen, with the first character a letter, the last a letter 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. |
getDefaultInstanceForType()
public CreateStoragePoolRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateStoragePoolRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 and hyphen, with the first character a letter, the last a letter 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 and hyphen, with the first character a letter, the last a letter 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateStoragePoolRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateStoragePoolRequest.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateStoragePoolRequest.Builder |
This builder for chaining. |
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 and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for storagePoolId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateStoragePoolRequest.Builder |
This builder for chaining. |