public static final class RestoreVolumeRequest.Builder extends GeneratedMessage.Builder<RestoreVolumeRequest.Builder> implements RestoreVolumeRequestOrBuilder Request message for RestoreVolume API.
Protobuf type google.cloud.netapp.v1.RestoreVolumeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RestoreVolumeRequest.BuilderImplements
RestoreVolumeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RestoreVolumeRequest build()| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest |
|
buildPartial()
public RestoreVolumeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest |
|
clear()
public RestoreVolumeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
clearBackupSource()
public RestoreVolumeRequest.Builder clearBackupSource()The backup source of the restore operation.
.google.cloud.netapp.v1.BackupSource backup_source = 2;
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
clearName()
public RestoreVolumeRequest.Builder clearName() Required. The resource name of the ONTAP mode storage pool, in the format
of projects/{project}/locations/{location}/storagePools/{storage_pool}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
This builder for chaining. |
clearOntapVolumeTarget()
public RestoreVolumeRequest.Builder clearOntapVolumeTarget()The ONTAP volume target of the restore operation.
.google.cloud.netapp.v1.OntapVolumeTarget ontap_volume_target = 3;
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
clearSource()
public RestoreVolumeRequest.Builder clearSource()| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
clearTarget()
public RestoreVolumeRequest.Builder clearTarget()| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
getBackupSource()
public BackupSource getBackupSource()The backup source of the restore operation.
.google.cloud.netapp.v1.BackupSource backup_source = 2;
| Returns | |
|---|---|
| Type | Description |
BackupSource |
The backupSource. |
getBackupSourceBuilder()
public BackupSource.Builder getBackupSourceBuilder()The backup source of the restore operation.
.google.cloud.netapp.v1.BackupSource backup_source = 2;
| Returns | |
|---|---|
| Type | Description |
BackupSource.Builder |
|
getBackupSourceOrBuilder()
public BackupSourceOrBuilder getBackupSourceOrBuilder()The backup source of the restore operation.
.google.cloud.netapp.v1.BackupSource backup_source = 2;
| Returns | |
|---|---|
| Type | Description |
BackupSourceOrBuilder |
|
getDefaultInstanceForType()
public RestoreVolumeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The resource name of the ONTAP mode storage pool, in the format
of projects/{project}/locations/{location}/storagePools/{storage_pool}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The resource name of the ONTAP mode storage pool, in the format
of projects/{project}/locations/{location}/storagePools/{storage_pool}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getOntapVolumeTarget()
public OntapVolumeTarget getOntapVolumeTarget()The ONTAP volume target of the restore operation.
.google.cloud.netapp.v1.OntapVolumeTarget ontap_volume_target = 3;
| Returns | |
|---|---|
| Type | Description |
OntapVolumeTarget |
The ontapVolumeTarget. |
getOntapVolumeTargetBuilder()
public OntapVolumeTarget.Builder getOntapVolumeTargetBuilder()The ONTAP volume target of the restore operation.
.google.cloud.netapp.v1.OntapVolumeTarget ontap_volume_target = 3;
| Returns | |
|---|---|
| Type | Description |
OntapVolumeTarget.Builder |
|
getOntapVolumeTargetOrBuilder()
public OntapVolumeTargetOrBuilder getOntapVolumeTargetOrBuilder()The ONTAP volume target of the restore operation.
.google.cloud.netapp.v1.OntapVolumeTarget ontap_volume_target = 3;
| Returns | |
|---|---|
| Type | Description |
OntapVolumeTargetOrBuilder |
|
getSourceCase()
public RestoreVolumeRequest.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.SourceCase |
|
getTargetCase()
public RestoreVolumeRequest.TargetCase getTargetCase()| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.TargetCase |
|
hasBackupSource()
public boolean hasBackupSource()The backup source of the restore operation.
.google.cloud.netapp.v1.BackupSource backup_source = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupSource field is set. |
hasOntapVolumeTarget()
public boolean hasOntapVolumeTarget()The ONTAP volume target of the restore operation.
.google.cloud.netapp.v1.OntapVolumeTarget ontap_volume_target = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ontapVolumeTarget field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBackupSource(BackupSource value)
public RestoreVolumeRequest.Builder mergeBackupSource(BackupSource value)The backup source of the restore operation.
.google.cloud.netapp.v1.BackupSource backup_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupSource |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
mergeFrom(RestoreVolumeRequest other)
public RestoreVolumeRequest.Builder mergeFrom(RestoreVolumeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreVolumeRequest |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreVolumeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RestoreVolumeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
mergeOntapVolumeTarget(OntapVolumeTarget value)
public RestoreVolumeRequest.Builder mergeOntapVolumeTarget(OntapVolumeTarget value)The ONTAP volume target of the restore operation.
.google.cloud.netapp.v1.OntapVolumeTarget ontap_volume_target = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
OntapVolumeTarget |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
setBackupSource(BackupSource value)
public RestoreVolumeRequest.Builder setBackupSource(BackupSource value)The backup source of the restore operation.
.google.cloud.netapp.v1.BackupSource backup_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupSource |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
setBackupSource(BackupSource.Builder builderForValue)
public RestoreVolumeRequest.Builder setBackupSource(BackupSource.Builder builderForValue)The backup source of the restore operation.
.google.cloud.netapp.v1.BackupSource backup_source = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupSource.Builder |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
setName(String value)
public RestoreVolumeRequest.Builder setName(String value) Required. The resource name of the ONTAP mode storage pool, in the format
of projects/{project}/locations/{location}/storagePools/{storage_pool}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RestoreVolumeRequest.Builder setNameBytes(ByteString value) Required. The resource name of the ONTAP mode storage pool, in the format
of projects/{project}/locations/{location}/storagePools/{storage_pool}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
This builder for chaining. |
setOntapVolumeTarget(OntapVolumeTarget value)
public RestoreVolumeRequest.Builder setOntapVolumeTarget(OntapVolumeTarget value)The ONTAP volume target of the restore operation.
.google.cloud.netapp.v1.OntapVolumeTarget ontap_volume_target = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
OntapVolumeTarget |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|
setOntapVolumeTarget(OntapVolumeTarget.Builder builderForValue)
public RestoreVolumeRequest.Builder setOntapVolumeTarget(OntapVolumeTarget.Builder builderForValue)The ONTAP volume target of the restore operation.
.google.cloud.netapp.v1.OntapVolumeTarget ontap_volume_target = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OntapVolumeTarget.Builder |
| Returns | |
|---|---|
| Type | Description |
RestoreVolumeRequest.Builder |
|