public final class CreateVolumeRequest extends GeneratedMessageV3 implements CreateVolumeRequestOrBuilder
Message for creating a Volume
Protobuf type google.cloud.netapp.v1.CreateVolumeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VOLUME_FIELD_NUMBER
public static final int VOLUME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VOLUME_ID_FIELD_NUMBER
public static final int VOLUME_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CreateVolumeRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CreateVolumeRequest.Builder newBuilder()
newBuilder(CreateVolumeRequest prototype)
public static CreateVolumeRequest.Builder newBuilder(CreateVolumeRequest prototype)
public static CreateVolumeRequest parseDelimitedFrom(InputStream input)
public static CreateVolumeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CreateVolumeRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateVolumeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CreateVolumeRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateVolumeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateVolumeRequest parseFrom(CodedInputStream input)
public static CreateVolumeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateVolumeRequest parseFrom(InputStream input)
public static CreateVolumeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CreateVolumeRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateVolumeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CreateVolumeRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public CreateVolumeRequest getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<CreateVolumeRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getVolume()
public Volume getVolume()
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Volume |
The volume.
|
getVolumeId()
public String getVolumeId()
Required. Id of the requesting volume
If auto-generating Id server-side, remove this field and
Id from the method_signature of Create RPC
string volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The volumeId.
|
getVolumeIdBytes()
public ByteString getVolumeIdBytes()
Required. Id of the requesting volume
If auto-generating Id server-side, remove this field and
Id from the method_signature of Create RPC
string volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for volumeId.
|
getVolumeOrBuilder()
public VolumeOrBuilder getVolumeOrBuilder()
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
hasVolume()
public boolean hasVolume()
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the volume field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CreateVolumeRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateVolumeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CreateVolumeRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides