Class OntapSource (0.82.0)

public final class OntapSource extends GeneratedMessage implements OntapSourceOrBuilder

Represents ONTAP source details.

Protobuf type google.cloud.netapp.v1.OntapSource

Static Fields

SNAPSHOT_UUID_FIELD_NUMBER

public static final int SNAPSHOT_UUID_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_POOL_FIELD_NUMBER

public static final int STORAGE_POOL_FIELD_NUMBER
Field Value
Type Description
int

VOLUME_UUID_FIELD_NUMBER

public static final int VOLUME_UUID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OntapSource getDefaultInstance()
Returns
Type Description
OntapSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OntapSource.Builder newBuilder()
Returns
Type Description
OntapSource.Builder

newBuilder(OntapSource prototype)

public static OntapSource.Builder newBuilder(OntapSource prototype)
Parameter
Name Description
prototype OntapSource
Returns
Type Description
OntapSource.Builder

parseDelimitedFrom(InputStream input)

public static OntapSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OntapSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OntapSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OntapSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OntapSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OntapSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OntapSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OntapSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OntapSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OntapSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OntapSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OntapSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OntapSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OntapSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OntapSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OntapSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OntapSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OntapSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OntapSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OntapSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OntapSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OntapSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OntapSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OntapSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OntapSource> parser()
Returns
Type Description
Parser<OntapSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public OntapSource getDefaultInstanceForType()
Returns
Type Description
OntapSource

getParserForType()

public Parser<OntapSource> getParserForType()
Returns
Type Description
Parser<OntapSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSnapshotUuid()

public String getSnapshotUuid()

Optional. The UUID of the ONTAP source snapshot.

string snapshot_uuid = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The snapshotUuid.

getSnapshotUuidBytes()

public ByteString getSnapshotUuidBytes()

Optional. The UUID of the ONTAP source snapshot.

string snapshot_uuid = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for snapshotUuid.

getStoragePool()

public String getStoragePool()

Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}

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

Returns
Type Description
String

The storagePool.

getStoragePoolBytes()

public ByteString getStoragePoolBytes()

Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}

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

Returns
Type Description
ByteString

The bytes for storagePool.

getVolumeUuid()

public String getVolumeUuid()

Required. The UUID of the ONTAP source volume.

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

Returns
Type Description
String

The volumeUuid.

getVolumeUuidBytes()

public ByteString getVolumeUuidBytes()

Required. The UUID of the ONTAP source volume.

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

Returns
Type Description
ByteString

The bytes for volumeUuid.

hasStoragePool()

public boolean hasStoragePool()

Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}

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

Returns
Type Description
boolean

Whether the storagePool field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OntapSource.Builder newBuilderForType()
Returns
Type Description
OntapSource.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected OntapSource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OntapSource.Builder
Overrides

toBuilder()

public OntapSource.Builder toBuilder()
Returns
Type Description
OntapSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException