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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateStoragePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateStoragePoolRequest build()
buildPartial()
public CreateStoragePoolRequest buildPartial()
clear()
public CreateStoragePoolRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateStoragePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateStoragePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateStoragePoolRequest.Builder clearParent()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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];
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];
clone()
public CreateStoragePoolRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateStoragePoolRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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 |
Type |
Description |
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 |
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateStoragePoolRequest other)
public CreateStoragePoolRequest.Builder mergeFrom(CreateStoragePoolRequest other)
public CreateStoragePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateStoragePoolRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateStoragePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateStoragePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateStoragePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
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 |
Name |
Description |
value |
String
The storagePoolId to set.
|
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 |
Name |
Description |
value |
ByteString
The bytes for storagePoolId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateStoragePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides