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

com.google.cloud.netapp.v1.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/netapp/v1/backup.proto

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

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

  /**
   *
   *
   * 
   * Identifier. The resource name of the backup.
   * Format:
   * `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ java.lang.String getName(); /** * * *
   * Identifier. The resource name of the backup.
   * Format:
   * `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Output only. The backup state.
   * 
* * * .google.cloud.netapp.v1.Backup.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * * *
   * Output only. The backup state.
   * 
* * * .google.cloud.netapp.v1.Backup.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ com.google.cloud.netapp.v1.Backup.State getState(); /** * * *
   * A description of the backup with 2048 characters or less.
   * Requests with longer descriptions will be rejected.
   * 
* * string description = 3; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * A description of the backup with 2048 characters or less.
   * Requests with longer descriptions will be rejected.
   * 
* * string description = 3; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * Output only. Size of the file system when the backup was created. When
   * creating a new volume from the backup, the volume capacity will have to be
   * at least as big.
   * 
* * int64 volume_usage_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The volumeUsageBytes. */ long getVolumeUsageBytes(); /** * * *
   * Output only. Type of backup, manually created or created by a backup
   * policy.
   * 
* * * .google.cloud.netapp.v1.Backup.Type backup_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for backupType. */ int getBackupTypeValue(); /** * * *
   * Output only. Type of backup, manually created or created by a backup
   * policy.
   * 
* * * .google.cloud.netapp.v1.Backup.Type backup_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The backupType. */ com.google.cloud.netapp.v1.Backup.Type getBackupType(); /** * * *
   * Volume full name of this backup belongs to.
   * Format:
   * `projects/{projects_id}/locations/{location}/volumes/{volume_id}`
   * 
* * string source_volume = 6 [(.google.api.resource_reference) = { ... } * * @return The sourceVolume. */ java.lang.String getSourceVolume(); /** * * *
   * Volume full name of this backup belongs to.
   * Format:
   * `projects/{projects_id}/locations/{location}/volumes/{volume_id}`
   * 
* * string source_volume = 6 [(.google.api.resource_reference) = { ... } * * @return The bytes for sourceVolume. */ com.google.protobuf.ByteString getSourceVolumeBytes(); /** * * *
   * If specified, backup will be created from the given snapshot.
   * If not specified, there will be a new snapshot taken to initiate the backup
   * creation. Format:
   * `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
   * 
* * optional string source_snapshot = 7 [(.google.api.resource_reference) = { ... } * * @return Whether the sourceSnapshot field is set. */ boolean hasSourceSnapshot(); /** * * *
   * If specified, backup will be created from the given snapshot.
   * If not specified, there will be a new snapshot taken to initiate the backup
   * creation. Format:
   * `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
   * 
* * optional string source_snapshot = 7 [(.google.api.resource_reference) = { ... } * * @return The sourceSnapshot. */ java.lang.String getSourceSnapshot(); /** * * *
   * If specified, backup will be created from the given snapshot.
   * If not specified, there will be a new snapshot taken to initiate the backup
   * creation. Format:
   * `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
   * 
* * optional string source_snapshot = 7 [(.google.api.resource_reference) = { ... } * * @return The bytes for sourceSnapshot. */ com.google.protobuf.ByteString getSourceSnapshotBytes(); /** * * *
   * Output only. The time when the backup was created.
   * 
* * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * * *
   * Output only. The time when the backup was created.
   * 
* * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** * * *
   * Output only. The time when the backup was created.
   * 
* * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 9; */ int getLabelsCount(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 9; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 9; */ java.util.Map getLabelsMap(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 9; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 9; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * Output only. Total size of all backups in a chain in bytes = baseline
   * backup size + sum(incremental backup size)
   * 
* * int64 chain_storage_bytes = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The chainStorageBytes. */ long getChainStorageBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy