com.google.cloud.filestore.v1beta1.RestoreInstanceRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-filestore-v1beta1 Show documentation
Show all versions of proto-google-cloud-filestore-v1beta1 Show documentation
Proto library for google-cloud-filestore
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/filestore/v1beta1/cloud_filestore_service.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.filestore.v1beta1;
public interface RestoreInstanceRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.filestore.v1beta1.RestoreInstanceRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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) = { ... }
*
*
* @return The name.
*/
java.lang.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) = { ... }
*
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Required. Name of the file share in the Filestore instance that the backup
* is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The fileShare.
*/
java.lang.String getFileShare();
/**
*
*
*
* Required. Name of the file share in the Filestore instance that the backup
* is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for fileShare.
*/
com.google.protobuf.ByteString getFileShareBytes();
/**
*
*
*
* The 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) = { ... }
*
*
* @deprecated google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is
* deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=773
* @return Whether the sourceSnapshot field is set.
*/
@java.lang.Deprecated
boolean hasSourceSnapshot();
/**
*
*
*
* The 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) = { ... }
*
*
* @deprecated google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is
* deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=773
* @return The sourceSnapshot.
*/
@java.lang.Deprecated
java.lang.String getSourceSnapshot();
/**
*
*
*
* The 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) = { ... }
*
*
* @deprecated google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is
* deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=773
* @return The bytes for sourceSnapshot.
*/
@java.lang.Deprecated
com.google.protobuf.ByteString getSourceSnapshotBytes();
/**
*
*
*
* 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) = { ... }
*
* @return Whether the sourceBackup field is set.
*/
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) = { ... }
*
* @return The sourceBackup.
*/
java.lang.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) = { ... }
*
* @return The bytes for sourceBackup.
*/
com.google.protobuf.ByteString getSourceBackupBytes();
com.google.cloud.filestore.v1beta1.RestoreInstanceRequest.SourceCase getSourceCase();
}