public static final class OntapVolumeTarget.Builder extends GeneratedMessage.Builder<OntapVolumeTarget.Builder> implements OntapVolumeTargetOrBuilderRepresents the ONTAP volume target of the restore operation.
Protobuf type google.cloud.netapp.v1.OntapVolumeTarget
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OntapVolumeTarget.BuilderImplements
OntapVolumeTargetOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OntapVolumeTarget.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OntapVolumeTarget.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for volumeUuid to set. |
| Returns | |
|---|---|
| Type | Description |
OntapVolumeTarget.Builder |
This builder for chaining. |