Class CreateStoragePoolRequest.Builder (0.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateStoragePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateStoragePoolRequest.Builder
Overrides

build()

public CreateStoragePoolRequest build()
Returns
TypeDescription
CreateStoragePoolRequest

buildPartial()

public CreateStoragePoolRequest buildPartial()
Returns
TypeDescription
CreateStoragePoolRequest

clear()

public CreateStoragePoolRequest.Builder clear()
Returns
TypeDescription
CreateStoragePoolRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateStoragePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateStoragePoolRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateStoragePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateStoragePoolRequest.Builder

clearStoragePoolId()

public CreateStoragePoolRequest.Builder clearStoragePoolId()

Required. Id of the requesting storage pool If auto-generating Id server-side, remove this field and id from the method_signature of Create RPC

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

Returns
TypeDescription
CreateStoragePoolRequest.Builder

This builder for chaining.

clone()

public CreateStoragePoolRequest.Builder clone()
Returns
TypeDescription
CreateStoragePoolRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateStoragePoolRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateStoragePoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. Value for parent.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Value for parent.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
StoragePool.Builder

getStoragePoolId()

public String getStoragePoolId()

Required. Id of the requesting storage pool If auto-generating Id server-side, remove this field and id from the method_signature of Create RPC

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

Returns
TypeDescription
String

The storagePoolId.

getStoragePoolIdBytes()

public ByteString getStoragePoolIdBytes()

Required. Id of the requesting storage pool If auto-generating Id server-side, remove this field and id from the method_signature of Create RPC

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the storagePool field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateStoragePoolRequest other)

public CreateStoragePoolRequest.Builder mergeFrom(CreateStoragePoolRequest other)
Parameter
NameDescription
otherCreateStoragePoolRequest
Returns
TypeDescription
CreateStoragePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateStoragePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateStoragePoolRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateStoragePoolRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueStoragePool
Returns
TypeDescription
CreateStoragePoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateStoragePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateStoragePoolRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateStoragePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueStoragePool
Returns
TypeDescription
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
NameDescription
builderForValueStoragePool.Builder
Returns
TypeDescription
CreateStoragePoolRequest.Builder

setStoragePoolId(String value)

public CreateStoragePoolRequest.Builder setStoragePoolId(String value)

Required. Id of the requesting storage pool If auto-generating Id server-side, remove this field and id from the method_signature of Create RPC

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

Parameter
NameDescription
valueString

The storagePoolId to set.

Returns
TypeDescription
CreateStoragePoolRequest.Builder

This builder for chaining.

setStoragePoolIdBytes(ByteString value)

public CreateStoragePoolRequest.Builder setStoragePoolIdBytes(ByteString value)

Required. Id of the requesting storage pool If auto-generating Id server-side, remove this field and id from the method_signature of Create RPC

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

Parameter
NameDescription
valueByteString

The bytes for storagePoolId to set.

Returns
TypeDescription
CreateStoragePoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateStoragePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateStoragePoolRequest.Builder
Overrides