All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.metastore.v1alpha.BackupOrBuilder Maven / Gradle / Ivy

/*
 * 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 BackupOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.metastore.v1alpha.Backup)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Immutable. The relative resource name of the backup, in the following form:
   *
   * `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`
   * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The name. */ java.lang.String getName(); /** * * *
   * Immutable. The relative resource name of the backup, in the following form:
   *
   * `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`
   * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Output only. The time when the backup was started.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * * *
   * Output only. The time when the backup was started.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** * * *
   * Output only. The time when the backup was started.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * Output only. The time when the backup finished creating.
   * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** * * *
   * Output only. The time when the backup finished creating.
   * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** * * *
   * Output only. The time when the backup finished creating.
   * 
* * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** * * *
   * Output only. The current state of the backup.
   * 
* * * .google.cloud.metastore.v1alpha.Backup.State state = 4 [(.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 backup.
   * 
* * * .google.cloud.metastore.v1alpha.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ com.google.cloud.metastore.v1alpha.Backup.State getState(); /** * * *
   * Output only. The revision of the service at the time of backup.
   * 
* * * .google.cloud.metastore.v1alpha.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the serviceRevision field is set. */ boolean hasServiceRevision(); /** * * *
   * Output only. The revision of the service at the time of backup.
   * 
* * * .google.cloud.metastore.v1alpha.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The serviceRevision. */ com.google.cloud.metastore.v1alpha.Service getServiceRevision(); /** * * *
   * Output only. The revision of the service at the time of backup.
   * 
* * * .google.cloud.metastore.v1alpha.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.metastore.v1alpha.ServiceOrBuilder getServiceRevisionOrBuilder(); /** * * *
   * The description of the backup.
   * 
* * string description = 6; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * The description of the backup.
   * 
* * string description = 6; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * Output only. Services that are restoring from the backup.
   * 
* * repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the restoringServices. */ java.util.List getRestoringServicesList(); /** * * *
   * Output only. Services that are restoring from the backup.
   * 
* * repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The count of restoringServices. */ int getRestoringServicesCount(); /** * * *
   * Output only. Services that are restoring from the backup.
   * 
* * repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the element to return. * @return The restoringServices at the given index. */ java.lang.String getRestoringServices(int index); /** * * *
   * Output only. Services that are restoring from the backup.
   * 
* * repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the value to return. * @return The bytes of the restoringServices at the given index. */ com.google.protobuf.ByteString getRestoringServicesBytes(int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy