/*
* 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/metastore/v1alpha/metastore.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.metastore.v1alpha;
public interface RestoreOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.metastore.v1alpha.Restore)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The time when the restore started.
*
*
* .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
*
*
*
* Output only. The time when the restore started.
*
*
* .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
*
*
*
* Output only. The time when the restore started.
*
*
* .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
/**
*
*
*
* Output only. The time when the restore ended.
*
*
* .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
*
*
*
* Output only. The time when the restore ended.
*
*
* .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
*
*
*
* Output only. The time when the restore ended.
*
*
* .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
/**
*
*
*
* Output only. The current state of the restore.
*
*
*
* .google.cloud.metastore.v1alpha.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. The current state of the restore.
*
*
*
* .google.cloud.metastore.v1alpha.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
com.google.cloud.metastore.v1alpha.Restore.State getState();
/**
*
*
*
* Output only. The relative resource name of the metastore service backup to
* restore from, in the following form:
*
* `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
*
*
*
* string backup = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The backup.
*/
java.lang.String getBackup();
/**
*
*
*
* Output only. The relative resource name of the metastore service backup to
* restore from, in the following form:
*
* `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
*
*
*
* string backup = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for backup.
*/
com.google.protobuf.ByteString getBackupBytes();
/**
*
*
*
* Output only. The type of restore.
*
*
*
* .google.cloud.metastore.v1alpha.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
*
* Output only. The type of restore.
*
*
*
* .google.cloud.metastore.v1alpha.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The type.
*/
com.google.cloud.metastore.v1alpha.Restore.RestoreType getType();
/**
*
*
*
* Output only. The restore details containing the revision of the service to
* be restored to, in format of JSON.
*
*
* string details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The details.
*/
java.lang.String getDetails();
/**
*
*
*
* Output only. The restore details containing the revision of the service to
* be restored to, in format of JSON.
*
*
* string details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for details.
*/
com.google.protobuf.ByteString getDetailsBytes();
}