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

com.google.cloud.filestore.v1beta1.BackupOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.54.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/filestore/v1beta1/cloud_filestore_service.proto

// Protobuf Java Version: 3.25.2
package com.google.cloud.filestore.v1beta1;

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

  /**
   *
   *
   * 
   * Output only. The resource name of the backup, in the format
   * `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ java.lang.String getName(); /** * * *
   * Output only. The resource name of the backup, in the format
   * `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * A description of the backup with 2048 characters or less.
   * Requests with longer descriptions will be rejected.
   * 
* * string description = 2; * * @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 = 2; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * Output only. The backup state.
   * 
* * * .google.cloud.filestore.v1beta1.Backup.State state = 3 [(.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.filestore.v1beta1.Backup.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ com.google.cloud.filestore.v1beta1.Backup.State getState(); /** * * *
   * Output only. The time when the backup was created.
   * 
* * .google.protobuf.Timestamp create_time = 4 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 5; */ int getLabelsCount(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 5; */ 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 = 5; */ java.util.Map getLabelsMap(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 5; */ /* 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 = 5; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * Output only. Capacity of the source file share when the backup was created.
   * 
* * int64 capacity_gb = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The capacityGb. */ long getCapacityGb(); /** * * *
   * Output only. The size of the storage used by the backup. As backups share
   * storage, this number is expected to change with backup creation/deletion.
   * 
* * int64 storage_bytes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The storageBytes. */ long getStorageBytes(); /** * * *
   * The resource name of the source Filestore instance, in the format
   * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`,
   * used to create this backup.
   * 
* * string source_instance = 8 [(.google.api.resource_reference) = { ... } * * @return The sourceInstance. */ java.lang.String getSourceInstance(); /** * * *
   * The resource name of the source Filestore instance, in the format
   * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`,
   * used to create this backup.
   * 
* * string source_instance = 8 [(.google.api.resource_reference) = { ... } * * @return The bytes for sourceInstance. */ com.google.protobuf.ByteString getSourceInstanceBytes(); /** * * *
   * Name of the file share in the source Filestore instance that the
   * backup is created from.
   * 
* * string source_file_share = 9; * * @return The sourceFileShare. */ java.lang.String getSourceFileShare(); /** * * *
   * Name of the file share in the source Filestore instance that the
   * backup is created from.
   * 
* * string source_file_share = 9; * * @return The bytes for sourceFileShare. */ com.google.protobuf.ByteString getSourceFileShareBytes(); /** * * *
   * Output only. The service tier of the source Filestore instance that this
   * backup is created from.
   * 
* * * .google.cloud.filestore.v1beta1.Instance.Tier source_instance_tier = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for sourceInstanceTier. */ int getSourceInstanceTierValue(); /** * * *
   * Output only. The service tier of the source Filestore instance that this
   * backup is created from.
   * 
* * * .google.cloud.filestore.v1beta1.Instance.Tier source_instance_tier = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The sourceInstanceTier. */ com.google.cloud.filestore.v1beta1.Instance.Tier getSourceInstanceTier(); /** * * *
   * Output only. Amount of bytes that will be downloaded if the backup is
   * restored
   * 
* * int64 download_bytes = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The downloadBytes. */ long getDownloadBytes(); /** * * *
   * Output only. Reserved for future use.
   * 
* * * .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the satisfiesPzs field is set. */ boolean hasSatisfiesPzs(); /** * * *
   * Output only. Reserved for future use.
   * 
* * * .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The satisfiesPzs. */ com.google.protobuf.BoolValue getSatisfiesPzs(); /** * * *
   * Output only. Reserved for future use.
   * 
* * * .google.protobuf.BoolValue satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.BoolValueOrBuilder getSatisfiesPzsOrBuilder(); /** * * *
   * Output only. Reserved for future use.
   * 
* * bool satisfies_pzi = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The satisfiesPzi. */ boolean getSatisfiesPzi(); /** * * *
   * Immutable. KMS key name used for data encryption.
   * 
* * string kms_key_name = 13 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** * * *
   * Immutable. KMS key name used for data encryption.
   * 
* * string kms_key_name = 13 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The bytes for kmsKeyName. */ com.google.protobuf.ByteString getKmsKeyNameBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy