Package com.google.cloud.filestore.v1
Interface RestoreInstanceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RestoreInstanceRequest,RestoreInstanceRequest.Builder
@Generated
public interface RestoreInstanceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.getName()Required.com.google.protobuf.ByteStringRequired.The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.com.google.protobuf.ByteStringThe resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.booleanThe resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Required. The resource name of the instance, in the format `projects/{project_number}/locations/{location_id}/instances/{instance_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The resource name of the instance, in the format `projects/{project_number}/locations/{location_id}/instances/{instance_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasSourceBackup
boolean hasSourceBackup()The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.string source_backup = 3 [(.google.api.resource_reference) = { ... }- Returns:
- Whether the sourceBackup field is set.
-
getSourceBackup
String getSourceBackup()The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.string source_backup = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The sourceBackup.
-
getSourceBackupBytes
com.google.protobuf.ByteString getSourceBackupBytes()The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.string source_backup = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for sourceBackup.
-
getSourceCase
RestoreInstanceRequest.SourceCase getSourceCase()
-