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

com.google.cloud.backupdr.v1.BackupOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
/*
 * 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/backupdr/v1/backupvault.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.backupdr.v1;

public interface BackupOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.backupdr.v1.Backup)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Output only. Identifier. Name of the backup to create. It must have the
   * format`"projects/<project>/locations/<location>/backupVaults/<backupvault>/dataSources/{datasource}/backups/{backup}"`.
   * `{backup}` cannot be changed after creation. It must be between 3-63
   * characters long and must be unique within the datasource.
   * 
* * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; * * * @return The name. */ java.lang.String getName(); /** * * *
   * Output only. Identifier. Name of the backup to create. It must have the
   * format`"projects/<project>/locations/<location>/backupVaults/<backupvault>/dataSources/{datasource}/backups/{backup}"`.
   * `{backup}` cannot be changed after creation. It must be between 3-63
   * characters long and must be unique within the datasource.
   * 
* * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; * * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Output only. The description of the Backup instance (2048 characters or
   * less).
   * 
* * optional string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return Whether the description field is set. */ boolean hasDescription(); /** * * *
   * Output only. The description of the Backup instance (2048 characters or
   * less).
   * 
* * optional string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * Output only. The description of the Backup instance (2048 characters or
   * less).
   * 
* * optional string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * Output only. The time when the instance was created.
   * 
* * * optional .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * * *
   * Output only. The time when the instance was created.
   * 
* * * optional .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** * * *
   * Output only. The time when the instance was created.
   * 
* * * optional .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * Output only. The time when the instance was updated.
   * 
* * * optional .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** * * *
   * Output only. The time when the instance was updated.
   * 
* * * optional .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** * * *
   * Output only. The time when the instance was updated.
   * 
* * * optional .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** * * *
   * Optional. Resource labels to represent user provided metadata.
   * No labels currently defined.
   * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ int getLabelsCount(); /** * * *
   * Optional. Resource labels to represent user provided metadata.
   * No labels currently defined.
   * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * Optional. Resource labels to represent user provided metadata.
   * No labels currently defined.
   * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map getLabelsMap(); /** * * *
   * Optional. Resource labels to represent user provided metadata.
   * No labels currently defined.
   * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * Optional. Resource labels to represent user provided metadata.
   * No labels currently defined.
   * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * Optional. The backup can not be deleted before this time.
   * 
* * * optional .google.protobuf.Timestamp enforced_retention_end_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the enforcedRetentionEndTime field is set. */ boolean hasEnforcedRetentionEndTime(); /** * * *
   * Optional. The backup can not be deleted before this time.
   * 
* * * optional .google.protobuf.Timestamp enforced_retention_end_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enforcedRetentionEndTime. */ com.google.protobuf.Timestamp getEnforcedRetentionEndTime(); /** * * *
   * Optional. The backup can not be deleted before this time.
   * 
* * * optional .google.protobuf.Timestamp enforced_retention_end_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.protobuf.TimestampOrBuilder getEnforcedRetentionEndTimeOrBuilder(); /** * * *
   * Optional. When this backup is automatically expired.
   * 
* * * optional .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** * * *
   * Optional. When this backup is automatically expired.
   * 
* * * optional .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** * * *
   * Optional. When this backup is automatically expired.
   * 
* * * optional .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** * * *
   * Output only. The point in time when this backup was captured from the
   * source.
   * 
* * * optional .google.protobuf.Timestamp consistency_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the consistencyTime field is set. */ boolean hasConsistencyTime(); /** * * *
   * Output only. The point in time when this backup was captured from the
   * source.
   * 
* * * optional .google.protobuf.Timestamp consistency_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The consistencyTime. */ com.google.protobuf.Timestamp getConsistencyTime(); /** * * *
   * Output only. The point in time when this backup was captured from the
   * source.
   * 
* * * optional .google.protobuf.Timestamp consistency_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getConsistencyTimeOrBuilder(); /** * * *
   * Optional. Server specified ETag to prevent updates from overwriting each
   * other.
   * 
* * optional string etag = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the etag field is set. */ boolean hasEtag(); /** * * *
   * Optional. Server specified ETag to prevent updates from overwriting each
   * other.
   * 
* * optional string etag = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return The etag. */ java.lang.String getEtag(); /** * * *
   * Optional. Server specified ETag to prevent updates from overwriting each
   * other.
   * 
* * optional string etag = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); /** * * *
   * Output only. The Backup resource instance state.
   * 
* * * .google.cloud.backupdr.v1.Backup.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * * *
   * Output only. The Backup resource instance state.
   * 
* * * .google.cloud.backupdr.v1.Backup.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ com.google.cloud.backupdr.v1.Backup.State getState(); /** * * *
   * Output only. The list of BackupLocks taken by the service to prevent the
   * deletion of the backup.
   * 
* * * repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ java.util.List getServiceLocksList(); /** * * *
   * Output only. The list of BackupLocks taken by the service to prevent the
   * deletion of the backup.
   * 
* * * repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.backupdr.v1.BackupLock getServiceLocks(int index); /** * * *
   * Output only. The list of BackupLocks taken by the service to prevent the
   * deletion of the backup.
   * 
* * * repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ int getServiceLocksCount(); /** * * *
   * Output only. The list of BackupLocks taken by the service to prevent the
   * deletion of the backup.
   * 
* * * repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ java.util.List getServiceLocksOrBuilderList(); /** * * *
   * Output only. The list of BackupLocks taken by the service to prevent the
   * deletion of the backup.
   * 
* * * repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.backupdr.v1.BackupLockOrBuilder getServiceLocksOrBuilder(int index); /** * * *
   * Optional. The list of BackupLocks taken by the accessor Backup Appliance.
   * 
* * * repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List getBackupApplianceLocksList(); /** * * *
   * Optional. The list of BackupLocks taken by the accessor Backup Appliance.
   * 
* * * repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.backupdr.v1.BackupLock getBackupApplianceLocks(int index); /** * * *
   * Optional. The list of BackupLocks taken by the accessor Backup Appliance.
   * 
* * * repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ int getBackupApplianceLocksCount(); /** * * *
   * Optional. The list of BackupLocks taken by the accessor Backup Appliance.
   * 
* * * repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List getBackupApplianceLocksOrBuilderList(); /** * * *
   * Optional. The list of BackupLocks taken by the accessor Backup Appliance.
   * 
* * * repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.backupdr.v1.BackupLockOrBuilder getBackupApplianceLocksOrBuilder(int index); /** * * *
   * Output only. Compute Engine specific backup properties.
   * 
* * * .google.cloud.backupdr.v1.ComputeInstanceBackupProperties compute_instance_backup_properties = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the computeInstanceBackupProperties field is set. */ boolean hasComputeInstanceBackupProperties(); /** * * *
   * Output only. Compute Engine specific backup properties.
   * 
* * * .google.cloud.backupdr.v1.ComputeInstanceBackupProperties compute_instance_backup_properties = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The computeInstanceBackupProperties. */ com.google.cloud.backupdr.v1.ComputeInstanceBackupProperties getComputeInstanceBackupProperties(); /** * * *
   * Output only. Compute Engine specific backup properties.
   * 
* * * .google.cloud.backupdr.v1.ComputeInstanceBackupProperties compute_instance_backup_properties = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.backupdr.v1.ComputeInstanceBackupPropertiesOrBuilder getComputeInstanceBackupPropertiesOrBuilder(); /** * * *
   * Output only. Backup Appliance specific backup properties.
   * 
* * * .google.cloud.backupdr.v1.BackupApplianceBackupProperties backup_appliance_backup_properties = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the backupApplianceBackupProperties field is set. */ boolean hasBackupApplianceBackupProperties(); /** * * *
   * Output only. Backup Appliance specific backup properties.
   * 
* * * .google.cloud.backupdr.v1.BackupApplianceBackupProperties backup_appliance_backup_properties = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The backupApplianceBackupProperties. */ com.google.cloud.backupdr.v1.BackupApplianceBackupProperties getBackupApplianceBackupProperties(); /** * * *
   * Output only. Backup Appliance specific backup properties.
   * 
* * * .google.cloud.backupdr.v1.BackupApplianceBackupProperties backup_appliance_backup_properties = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.backupdr.v1.BackupApplianceBackupPropertiesOrBuilder getBackupApplianceBackupPropertiesOrBuilder(); /** * * *
   * Output only. Type of the backup, unspecified, scheduled or ondemand.
   * 
* * * .google.cloud.backupdr.v1.Backup.BackupType backup_type = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for backupType. */ int getBackupTypeValue(); /** * * *
   * Output only. Type of the backup, unspecified, scheduled or ondemand.
   * 
* * * .google.cloud.backupdr.v1.Backup.BackupType backup_type = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The backupType. */ com.google.cloud.backupdr.v1.Backup.BackupType getBackupType(); /** * * *
   * Output only. Configuration for a Google Cloud resource.
   * 
* * * .google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo gcp_backup_plan_info = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the gcpBackupPlanInfo field is set. */ boolean hasGcpBackupPlanInfo(); /** * * *
   * Output only. Configuration for a Google Cloud resource.
   * 
* * * .google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo gcp_backup_plan_info = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The gcpBackupPlanInfo. */ com.google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo getGcpBackupPlanInfo(); /** * * *
   * Output only. Configuration for a Google Cloud resource.
   * 
* * * .google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo gcp_backup_plan_info = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.backupdr.v1.Backup.GCPBackupPlanInfoOrBuilder getGcpBackupPlanInfoOrBuilder(); /** * * *
   * Output only. source resource size in bytes at the time of the backup.
   * 
* * int64 resource_size_bytes = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The resourceSizeBytes. */ long getResourceSizeBytes(); com.google.cloud.backupdr.v1.Backup.BackupPropertiesCase getBackupPropertiesCase(); com.google.cloud.backupdr.v1.Backup.PlanInfoCase getPlanInfoCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy