- 0.61.0 (latest)
- 0.59.0
- 0.57.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class RestoreBackupFilesRequest.Builder extends GeneratedMessageV3.Builder<RestoreBackupFilesRequest.Builder> implements RestoreBackupFilesRequestOrBuilderRestoreBackupFilesRequest restores files from a backup to a volume.
Protobuf type google.cloud.netapp.v1.RestoreBackupFilesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestoreBackupFilesRequest.BuilderImplements
RestoreBackupFilesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFileList(Iterable<String> values)
public RestoreBackupFilesRequest.Builder addAllFileList(Iterable<String> values)Required. List of files to be restored, specified by their absolute path in the source volume.
repeated string file_list = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The fileList to add. |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
addFileList(String value)
public RestoreBackupFilesRequest.Builder addFileList(String value)Required. List of files to be restored, specified by their absolute path in the source volume.
repeated string file_list = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fileList to add. |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
addFileListBytes(ByteString value)
public RestoreBackupFilesRequest.Builder addFileListBytes(ByteString value)Required. List of files to be restored, specified by their absolute path in the source volume.
repeated string file_list = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the fileList to add. |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreBackupFilesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
build()
public RestoreBackupFilesRequest build()| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest |
|
buildPartial()
public RestoreBackupFilesRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest |
|
clear()
public RestoreBackupFilesRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
clearBackup()
public RestoreBackupFilesRequest.Builder clearBackup() Required. The backup resource name, in the format
projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}
string backup = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RestoreBackupFilesRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
clearFileList()
public RestoreBackupFilesRequest.Builder clearFileList()Required. List of files to be restored, specified by their absolute path in the source volume.
repeated string file_list = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
clearName()
public RestoreBackupFilesRequest.Builder clearName() Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreBackupFilesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
clearRestoreDestinationPath()
public RestoreBackupFilesRequest.Builder clearRestoreDestinationPath() Optional. Absolute directory path in the destination volume. This is
required if the file_list is provided.
string restore_destination_path = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
clone()
public RestoreBackupFilesRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
getBackup()
public String getBackup() Required. The backup resource name, in the format
projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}
string backup = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The backup. |
getBackupBytes()
public ByteString getBackupBytes() Required. The backup resource name, in the format
projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}
string backup = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backup. |
getDefaultInstanceForType()
public RestoreBackupFilesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFileList(int index)
public String getFileList(int index)Required. List of files to be restored, specified by their absolute path in the source volume.
repeated string file_list = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The fileList at the given index. |
getFileListBytes(int index)
public ByteString getFileListBytes(int index)Required. List of files to be restored, specified by their absolute path in the source volume.
repeated string file_list = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the fileList at the given index. |
getFileListCount()
public int getFileListCount()Required. List of files to be restored, specified by their absolute path in the source volume.
repeated string file_list = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of fileList. |
getFileListList()
public ProtocolStringList getFileListList()Required. List of files to be restored, specified by their absolute path in the source volume.
repeated string file_list = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the fileList. |
getName()
public String getName() Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRestoreDestinationPath()
public String getRestoreDestinationPath() Optional. Absolute directory path in the destination volume. This is
required if the file_list is provided.
string restore_destination_path = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The restoreDestinationPath. |
getRestoreDestinationPathBytes()
public ByteString getRestoreDestinationPathBytes() Optional. Absolute directory path in the destination volume. This is
required if the file_list is provided.
string restore_destination_path = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for restoreDestinationPath. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RestoreBackupFilesRequest other)
public RestoreBackupFilesRequest.Builder mergeFrom(RestoreBackupFilesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreBackupFilesRequest |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreBackupFilesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RestoreBackupFilesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreBackupFilesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
setBackup(String value)
public RestoreBackupFilesRequest.Builder setBackup(String value) Required. The backup resource name, in the format
projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}
string backup = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe backup to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
setBackupBytes(ByteString value)
public RestoreBackupFilesRequest.Builder setBackupBytes(ByteString value) Required. The backup resource name, in the format
projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}
string backup = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for backup to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreBackupFilesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
setFileList(int index, String value)
public RestoreBackupFilesRequest.Builder setFileList(int index, String value)Required. List of files to be restored, specified by their absolute path in the source volume.
repeated string file_list = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe fileList to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
setName(String value)
public RestoreBackupFilesRequest.Builder setName(String value) Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RestoreBackupFilesRequest.Builder setNameBytes(ByteString value) Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
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 |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreBackupFilesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|
setRestoreDestinationPath(String value)
public RestoreBackupFilesRequest.Builder setRestoreDestinationPath(String value) Optional. Absolute directory path in the destination volume. This is
required if the file_list is provided.
string restore_destination_path = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe restoreDestinationPath to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
setRestoreDestinationPathBytes(ByteString value)
public RestoreBackupFilesRequest.Builder setRestoreDestinationPathBytes(ByteString value) Optional. Absolute directory path in the destination volume. This is
required if the file_list is provided.
string restore_destination_path = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for restoreDestinationPath to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreBackupFilesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
RestoreBackupFilesRequest.Builder |
|