-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Run the code generator (4f123cb) * feat: Run the code generator (4f123cb) * feat: Run the code generator (4f123cb) * feat: Run the code generator (4f123cb) --------- Co-authored-by: Averi Kitsch <akitsch@google.com>
- Loading branch information
1 parent
85e334e
commit ec65a10
Showing
357 changed files
with
325,196 additions
and
0 deletions.
There are no files selected for viewing
5,856 changes: 5,856 additions & 0 deletions
5,856
...udevent-types/src/main/java/com/google/events/cloud/alloydb/v1/AutomatedBackupPolicy.java
Large diffs are not rendered by default.
Oops, something went wrong.
359 changes: 359 additions & 0 deletions
359
...ypes/src/main/java/com/google/events/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,359 @@ | ||
/* | ||
* Copyright 2023 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/events/cloud/alloydb/v1/data.proto | ||
|
||
package com.google.events.cloud.alloydb.v1; | ||
|
||
public interface AutomatedBackupPolicyOrBuilder | ||
extends | ||
// @@protoc_insertion_point(interface_extends:google.events.cloud.alloydb.v1.AutomatedBackupPolicy) | ||
com.google.protobuf.MessageOrBuilder { | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* Weekly schedule for the Backup. | ||
* </pre> | ||
* | ||
* <code>.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; | ||
* </code> | ||
* | ||
* @return Whether the weeklySchedule field is set. | ||
*/ | ||
boolean hasWeeklySchedule(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Weekly schedule for the Backup. | ||
* </pre> | ||
* | ||
* <code>.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; | ||
* </code> | ||
* | ||
* @return The weeklySchedule. | ||
*/ | ||
com.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Weekly schedule for the Backup. | ||
* </pre> | ||
* | ||
* <code>.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; | ||
* </code> | ||
*/ | ||
com.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder | ||
getWeeklyScheduleOrBuilder(); | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* Time-based Backup retention policy. | ||
* </pre> | ||
* | ||
* <code> | ||
* .google.events.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; | ||
* </code> | ||
* | ||
* @return Whether the timeBasedRetention field is set. | ||
*/ | ||
boolean hasTimeBasedRetention(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Time-based Backup retention policy. | ||
* </pre> | ||
* | ||
* <code> | ||
* .google.events.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; | ||
* </code> | ||
* | ||
* @return The timeBasedRetention. | ||
*/ | ||
com.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention | ||
getTimeBasedRetention(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Time-based Backup retention policy. | ||
* </pre> | ||
* | ||
* <code> | ||
* .google.events.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; | ||
* </code> | ||
*/ | ||
com.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder | ||
getTimeBasedRetentionOrBuilder(); | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* Quantity-based Backup retention policy to retain recent backups. | ||
* </pre> | ||
* | ||
* <code> | ||
* .google.events.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; | ||
* </code> | ||
* | ||
* @return Whether the quantityBasedRetention field is set. | ||
*/ | ||
boolean hasQuantityBasedRetention(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Quantity-based Backup retention policy to retain recent backups. | ||
* </pre> | ||
* | ||
* <code> | ||
* .google.events.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; | ||
* </code> | ||
* | ||
* @return The quantityBasedRetention. | ||
*/ | ||
com.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention | ||
getQuantityBasedRetention(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Quantity-based Backup retention policy to retain recent backups. | ||
* </pre> | ||
* | ||
* <code> | ||
* .google.events.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; | ||
* </code> | ||
*/ | ||
com.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder | ||
getQuantityBasedRetentionOrBuilder(); | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* Whether automated automated backups are enabled. If not set, defaults to | ||
* true. | ||
* </pre> | ||
* | ||
* <code>optional bool enabled = 1;</code> | ||
* | ||
* @return Whether the enabled field is set. | ||
*/ | ||
boolean hasEnabled(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Whether automated automated backups are enabled. If not set, defaults to | ||
* true. | ||
* </pre> | ||
* | ||
* <code>optional bool enabled = 1;</code> | ||
* | ||
* @return The enabled. | ||
*/ | ||
boolean getEnabled(); | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* The length of the time window during which a backup can be | ||
* taken. If a backup does not succeed within this time window, it will be | ||
* canceled and considered failed. | ||
* The backup window must be at least 5 minutes long. There is no upper bound | ||
* on the window. If not set, it defaults to 1 hour. | ||
* </pre> | ||
* | ||
* <code>.google.protobuf.Duration backup_window = 3;</code> | ||
* | ||
* @return Whether the backupWindow field is set. | ||
*/ | ||
boolean hasBackupWindow(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* The length of the time window during which a backup can be | ||
* taken. If a backup does not succeed within this time window, it will be | ||
* canceled and considered failed. | ||
* The backup window must be at least 5 minutes long. There is no upper bound | ||
* on the window. If not set, it defaults to 1 hour. | ||
* </pre> | ||
* | ||
* <code>.google.protobuf.Duration backup_window = 3;</code> | ||
* | ||
* @return The backupWindow. | ||
*/ | ||
com.google.protobuf.Duration getBackupWindow(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* The length of the time window during which a backup can be | ||
* taken. If a backup does not succeed within this time window, it will be | ||
* canceled and considered failed. | ||
* The backup window must be at least 5 minutes long. There is no upper bound | ||
* on the window. If not set, it defaults to 1 hour. | ||
* </pre> | ||
* | ||
* <code>.google.protobuf.Duration backup_window = 3;</code> | ||
*/ | ||
com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder(); | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* Optional. The encryption config can be specified to encrypt the | ||
* backups with a customer-managed encryption key (CMEK). When this field is | ||
* not specified, the backup will then use default encryption scheme to | ||
* protect the user data. | ||
* </pre> | ||
* | ||
* <code>.google.events.cloud.alloydb.v1.EncryptionConfig encryption_config = 8;</code> | ||
* | ||
* @return Whether the encryptionConfig field is set. | ||
*/ | ||
boolean hasEncryptionConfig(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Optional. The encryption config can be specified to encrypt the | ||
* backups with a customer-managed encryption key (CMEK). When this field is | ||
* not specified, the backup will then use default encryption scheme to | ||
* protect the user data. | ||
* </pre> | ||
* | ||
* <code>.google.events.cloud.alloydb.v1.EncryptionConfig encryption_config = 8;</code> | ||
* | ||
* @return The encryptionConfig. | ||
*/ | ||
com.google.events.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Optional. The encryption config can be specified to encrypt the | ||
* backups with a customer-managed encryption key (CMEK). When this field is | ||
* not specified, the backup will then use default encryption scheme to | ||
* protect the user data. | ||
* </pre> | ||
* | ||
* <code>.google.events.cloud.alloydb.v1.EncryptionConfig encryption_config = 8;</code> | ||
*/ | ||
com.google.events.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* The location where the backup will be stored. Currently, the only supported | ||
* option is to store the backup in the same region as the cluster. | ||
* If empty, defaults to the region of the cluster. | ||
* </pre> | ||
* | ||
* <code>string location = 6;</code> | ||
* | ||
* @return The location. | ||
*/ | ||
java.lang.String getLocation(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* The location where the backup will be stored. Currently, the only supported | ||
* option is to store the backup in the same region as the cluster. | ||
* If empty, defaults to the region of the cluster. | ||
* </pre> | ||
* | ||
* <code>string location = 6;</code> | ||
* | ||
* @return The bytes for location. | ||
*/ | ||
com.google.protobuf.ByteString getLocationBytes(); | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* Labels to apply to backups created using this configuration. | ||
* </pre> | ||
* | ||
* <code>map<string, string> labels = 7;</code> | ||
*/ | ||
int getLabelsCount(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Labels to apply to backups created using this configuration. | ||
* </pre> | ||
* | ||
* <code>map<string, string> labels = 7;</code> | ||
*/ | ||
boolean containsLabels(java.lang.String key); | ||
/** Use {@link #getLabelsMap()} instead. */ | ||
@java.lang.Deprecated | ||
java.util.Map<java.lang.String, java.lang.String> getLabels(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Labels to apply to backups created using this configuration. | ||
* </pre> | ||
* | ||
* <code>map<string, string> labels = 7;</code> | ||
*/ | ||
java.util.Map<java.lang.String, java.lang.String> getLabelsMap(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Labels to apply to backups created using this configuration. | ||
* </pre> | ||
* | ||
* <code>map<string, string> labels = 7;</code> | ||
*/ | ||
/* nullable */ | ||
java.lang.String getLabelsOrDefault( | ||
java.lang.String key, | ||
/* nullable */ | ||
java.lang.String defaultValue); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* Labels to apply to backups created using this configuration. | ||
* </pre> | ||
* | ||
* <code>map<string, string> labels = 7;</code> | ||
*/ | ||
java.lang.String getLabelsOrThrow(java.lang.String key); | ||
|
||
public com.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.ScheduleCase getScheduleCase(); | ||
|
||
public com.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.RetentionCase getRetentionCase(); | ||
} |
Oops, something went wrong.