publicfinalclass CreateSnapshotRequestextendsGeneratedMessageV3implementsCreateSnapshotRequestOrBuilder
CreateSnapshotRequest creates a snapshot.
Protobuf type google.cloud.netapp.v1.CreateSnapshotRequest
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
publicstaticfinalintPARENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SNAPSHOT_FIELD_NUMBER
publicstaticfinalintSNAPSHOT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SNAPSHOT_ID_FIELD_NUMBER
publicstaticfinalintSNAPSHOT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticCreateSnapshotRequestgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticCreateSnapshotRequest.BuildernewBuilder()
newBuilder(CreateSnapshotRequest prototype)
publicstaticCreateSnapshotRequest.BuildernewBuilder(CreateSnapshotRequestprototype)
publicstaticCreateSnapshotRequestparseDelimitedFrom(InputStreaminput)
publicstaticCreateSnapshotRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticCreateSnapshotRequestparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateSnapshotRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticCreateSnapshotRequestparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateSnapshotRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateSnapshotRequestparseFrom(CodedInputStreaminput)
publicstaticCreateSnapshotRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateSnapshotRequestparseFrom(InputStreaminput)
publicstaticCreateSnapshotRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticCreateSnapshotRequestparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateSnapshotRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<CreateSnapshotRequest>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicCreateSnapshotRequestgetDefaultInstanceForType()
getParent()
Required. The NetApp volume to create the snapshots of, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The parent.
|
getParentBytes()
publicByteStringgetParentBytes()
Required. The NetApp volume to create the snapshots of, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for parent.
|
getParserForType()
publicParser<CreateSnapshotRequest>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getSnapshot()
publicSnapshotgetSnapshot()
Required. A snapshot resource
.google.cloud.netapp.v1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
Snapshot |
The snapshot.
|
getSnapshotId()
publicStringgetSnapshotId()
Required. ID of the snapshot to create. 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 snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The snapshotId.
|
getSnapshotIdBytes()
publicByteStringgetSnapshotIdBytes()
Required. ID of the snapshot to create. 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 snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for snapshotId.
|
getSnapshotOrBuilder()
publicSnapshotOrBuildergetSnapshotOrBuilder()
Required. A snapshot resource
.google.cloud.netapp.v1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
hasSnapshot()
publicbooleanhasSnapshot()
Required. A snapshot resource
.google.cloud.netapp.v1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the snapshot field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicCreateSnapshotRequest.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedCreateSnapshotRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicCreateSnapshotRequest.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides