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_id}/locations/{location_id}/backups/{backup_id}`.com.google.protobuf.ByteStringThe resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.Deprecated.google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated.booleanThe resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.booleanDeprecated.google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated.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_id}/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_id}/locations/{location_id}/instances/{instance_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasSourceSnapshot
Deprecated.google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=989The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}`.string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }- Returns:
- Whether the sourceSnapshot field is set.
-
getSourceSnapshot
Deprecated.google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=989The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}`.string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }- Returns:
- The sourceSnapshot.
-
getSourceSnapshotBytes
Deprecated.google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=989The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}`.string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for sourceSnapshot.
-
hasSourceBackup
boolean hasSourceBackup()The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.string source_backup = 4 [(.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_id}/locations/{location_id}/backups/{backup_id}`.string source_backup = 4 [(.google.api.resource_reference) = { ... }- Returns:
- The sourceBackup.
-
getSourceBackupBytes
com.google.protobuf.ByteString getSourceBackupBytes()The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.string source_backup = 4 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for sourceBackup.
-
getSourceCase
RestoreInstanceRequest.SourceCase getSourceCase()
-