Class OntapVolumeTarget.Builder (0.82.0)

public static final class OntapVolumeTarget.Builder extends GeneratedMessage.Builder<OntapVolumeTarget.Builder> implements OntapVolumeTargetOrBuilder

Represents the ONTAP volume target of the restore operation.

Protobuf type google.cloud.netapp.v1.OntapVolumeTarget

Static Methods

getDescriptor()

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

Methods

build()

public OntapVolumeTarget build()
Returns
Type Description
OntapVolumeTarget

buildPartial()

public OntapVolumeTarget buildPartial()
Returns
Type Description
OntapVolumeTarget

clear()

public OntapVolumeTarget.Builder clear()
Returns
Type Description
OntapVolumeTarget.Builder
Overrides

clearRestoreDestinationPath()

public OntapVolumeTarget.Builder clearRestoreDestinationPath()

Optional. Absolute directory path in the destination volume.

string restore_destination_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OntapVolumeTarget.Builder

This builder for chaining.

clearVolumeUuid()

public OntapVolumeTarget.Builder clearVolumeUuid()

Required. The UUID of the ONTAP volume to restore to.

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

Returns
Type Description
OntapVolumeTarget.Builder

This builder for chaining.

getDefaultInstanceForType()

public OntapVolumeTarget getDefaultInstanceForType()
Returns
Type Description
OntapVolumeTarget

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRestoreDestinationPath()

public String getRestoreDestinationPath()

Optional. Absolute directory path in the destination volume.

string restore_destination_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The restoreDestinationPath.

getRestoreDestinationPathBytes()

public ByteString getRestoreDestinationPathBytes()

Optional. Absolute directory path in the destination volume.

string restore_destination_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for restoreDestinationPath.

getVolumeUuid()

public String getVolumeUuid()

Required. The UUID of the ONTAP volume to restore to.

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

Returns
Type Description
String

The volumeUuid.

getVolumeUuidBytes()

public ByteString getVolumeUuidBytes()

Required. The UUID of the ONTAP volume to restore to.

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

Returns
Type Description
ByteString

The bytes for volumeUuid.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OntapVolumeTarget other)

public OntapVolumeTarget.Builder mergeFrom(OntapVolumeTarget other)
Parameter
Name Description
other OntapVolumeTarget
Returns
Type Description
OntapVolumeTarget.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OntapVolumeTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OntapVolumeTarget.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OntapVolumeTarget.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OntapVolumeTarget.Builder
Overrides

setRestoreDestinationPath(String value)

public OntapVolumeTarget.Builder setRestoreDestinationPath(String value)

Optional. Absolute directory path in the destination volume.

string restore_destination_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The restoreDestinationPath to set.

Returns
Type Description
OntapVolumeTarget.Builder

This builder for chaining.

setRestoreDestinationPathBytes(ByteString value)

public OntapVolumeTarget.Builder setRestoreDestinationPathBytes(ByteString value)

Optional. Absolute directory path in the destination volume.

string restore_destination_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for restoreDestinationPath to set.

Returns
Type Description
OntapVolumeTarget.Builder

This builder for chaining.

setVolumeUuid(String value)

public OntapVolumeTarget.Builder setVolumeUuid(String value)

Required. The UUID of the ONTAP volume to restore to.

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

Parameter
Name Description
value String

The volumeUuid to set.

Returns
Type Description
OntapVolumeTarget.Builder

This builder for chaining.

setVolumeUuidBytes(ByteString value)

public OntapVolumeTarget.Builder setVolumeUuidBytes(ByteString value)

Required. The UUID of the ONTAP volume to restore to.

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

Parameter
Name Description
value ByteString

The bytes for volumeUuid to set.

Returns
Type Description
OntapVolumeTarget.Builder

This builder for chaining.