Class CreateStoragePoolRequest (0.15.0)

public final class CreateStoragePoolRequest extends GeneratedMessageV3 implements CreateStoragePoolRequestOrBuilder

CreateStoragePoolRequest creates a Storage Pool.

Protobuf type google.cloud.netapp.v1.CreateStoragePoolRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_POOL_FIELD_NUMBER

public static final int STORAGE_POOL_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_POOL_ID_FIELD_NUMBER

public static final int STORAGE_POOL_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateStoragePoolRequest getDefaultInstance()
Returns
TypeDescription
CreateStoragePoolRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateStoragePoolRequest.Builder newBuilder()
Returns
TypeDescription
CreateStoragePoolRequest.Builder

newBuilder(CreateStoragePoolRequest prototype)

public static CreateStoragePoolRequest.Builder newBuilder(CreateStoragePoolRequest prototype)
Parameter
NameDescription
prototypeCreateStoragePoolRequest
Returns
TypeDescription
CreateStoragePoolRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateStoragePoolRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateStoragePoolRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateStoragePoolRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateStoragePoolRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateStoragePoolRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateStoragePoolRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateStoragePoolRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateStoragePoolRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateStoragePoolRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateStoragePoolRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateStoragePoolRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateStoragePoolRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateStoragePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateStoragePoolRequest> parser()
Returns
TypeDescription
Parser<CreateStoragePoolRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateStoragePoolRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateStoragePoolRequest

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.

getParserForType()

public Parser<CreateStoragePoolRequest> getParserForType()
Returns
TypeDescription
Parser<CreateStoragePoolRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateStoragePoolRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateStoragePoolRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateStoragePoolRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateStoragePoolRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateStoragePoolRequest.Builder toBuilder()
Returns
TypeDescription
CreateStoragePoolRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException