com.google.cloud.netapp.v1.BackupConfigOrBuilder 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/volume.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.netapp.v1;
public interface BackupConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.netapp.v1.BackupConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. When specified, schedule backups will be created based on the
* policy configuration.
*
*
*
* repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return A list containing the backupPolicies.
*/
java.util.List getBackupPoliciesList();
/**
*
*
*
* Optional. When specified, schedule backups will be created based on the
* policy configuration.
*
*
*
* repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The count of backupPolicies.
*/
int getBackupPoliciesCount();
/**
*
*
*
* Optional. When specified, schedule backups will be created based on the
* policy configuration.
*
*
*
* repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @param index The index of the element to return.
* @return The backupPolicies at the given index.
*/
java.lang.String getBackupPolicies(int index);
/**
*
*
*
* Optional. When specified, schedule backups will be created based on the
* policy configuration.
*
*
*
* repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @param index The index of the value to return.
* @return The bytes of the backupPolicies at the given index.
*/
com.google.protobuf.ByteString getBackupPoliciesBytes(int index);
/**
*
*
*
* Optional. Name of backup vault.
* Format:
* projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
*
*
*
* string backup_vault = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The backupVault.
*/
java.lang.String getBackupVault();
/**
*
*
*
* Optional. Name of backup vault.
* Format:
* projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
*
*
*
* string backup_vault = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for backupVault.
*/
com.google.protobuf.ByteString getBackupVaultBytes();
/**
*
*
*
* Optional. When set to true, scheduled backup is enabled on the volume.
* This field should be nil when there's no backup policy attached.
*
*
* optional bool scheduled_backup_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the scheduledBackupEnabled field is set.
*/
boolean hasScheduledBackupEnabled();
/**
*
*
*
* Optional. When set to true, scheduled backup is enabled on the volume.
* This field should be nil when there's no backup policy attached.
*
*
* optional bool scheduled_backup_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The scheduledBackupEnabled.
*/
boolean getScheduledBackupEnabled();
/**
*
*
*
* Output only. Total size of all backups in a chain in bytes = baseline
* backup size + sum(incremental backup size).
*
*
* optional int64 backup_chain_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the backupChainBytes field is set.
*/
boolean hasBackupChainBytes();
/**
*
*
*
* Output only. Total size of all backups in a chain in bytes = baseline
* backup size + sum(incremental backup size).
*
*
* optional int64 backup_chain_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The backupChainBytes.
*/
long getBackupChainBytes();
}