com.google.cloud.backupdr.v1.BackupPlanProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-backupdr-v1 Show documentation
Show all versions of proto-google-cloud-backupdr-v1 Show documentation
Proto library for google-cloud-backupdr
/*
* 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/backupplan.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.backupdr.v1;
public final class BackupPlanProto {
private BackupPlanProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_BackupPlan_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_BackupPlan_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_BackupPlan_LabelsEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_BackupPlan_LabelsEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_BackupRule_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_BackupRule_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_StandardSchedule_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_StandardSchedule_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_BackupWindow_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_BackupWindow_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_WeekDayOfMonth_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_WeekDayOfMonth_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_CreateBackupPlanRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_CreateBackupPlanRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_ListBackupPlansRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_ListBackupPlansRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_ListBackupPlansResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_ListBackupPlansResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_GetBackupPlanRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_GetBackupPlanRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_backupdr_v1_DeleteBackupPlanRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_backupdr_v1_DeleteBackupPlanRequest_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
static {
java.lang.String[] descriptorData = {
"\n)google/cloud/backupdr/v1/backupplan.pr"
+ "oto\022\030google.cloud.backupdr.v1\032\037google/ap"
+ "i/field_behavior.proto\032\033google/api/field"
+ "_info.proto\032\031google/api/resource.proto\032\037"
+ "google/protobuf/timestamp.proto\032\033google/"
+ "type/dayofweek.proto\032\027google/type/month."
+ "proto\"\231\006\n\nBackupPlan\022\024\n\004name\030\001 \001(\tB\006\340A\003\340"
+ "A\010\022\030\n\013description\030\002 \001(\tB\003\340A\001\022E\n\006labels\030\003"
+ " \003(\01320.google.cloud.backupdr.v1.BackupPl"
+ "an.LabelsEntryB\003\340A\001\0224\n\013create_time\030\004 \001(\013"
+ "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upd"
+ "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta"
+ "mpB\003\340A\003\022?\n\014backup_rules\030\006 \003(\0132$.google.c"
+ "loud.backupdr.v1.BackupRuleB\003\340A\002\022>\n\005stat"
+ "e\030\007 \001(\0162*.google.cloud.backupdr.v1.Backu"
+ "pPlan.StateB\003\340A\003\022\032\n\rresource_type\030\010 \001(\tB"
+ "\003\340A\002\022\021\n\004etag\030\t \001(\tB\003\340A\001\022A\n\014backup_vault\030"
+ "\n \001(\tB+\340A\002\372A%\n#backupdr.googleapis.com/B"
+ "ackupVault\022)\n\034backup_vault_service_accou"
+ "nt\030\013 \001(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001("
+ "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\005State\022\025\n\021STATE_U"
+ "NSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006ACTIVE\020\002\022\014"
+ "\n\010DELETING\020\003\022\014\n\010INACTIVE\020\004:\204\001\352A\200\001\n\"backu"
+ "pdr.googleapis.com/BackupPlan\022Aprojects/"
+ "{project}/locations/{location}/backupPla"
+ "ns/{backup_plan}*\013backupPlans2\nbackupPla"
+ "n\"\260\001\n\nBackupRule\022\027\n\007rule_id\030\001 \001(\tB\006\340A\002\340A"
+ "\005\022\"\n\025backup_retention_days\030\004 \001(\005B\003\340A\002\022L\n"
+ "\021standard_schedule\030\005 \001(\0132*.google.cloud."
+ "backupdr.v1.StandardScheduleB\003\340A\002H\000B\027\n\025b"
+ "ackup_schedule_oneof\"\227\004\n\020StandardSchedul"
+ "e\022W\n\017recurrence_type\030\001 \001(\01629.google.clou"
+ "d.backupdr.v1.StandardSchedule.Recurrenc"
+ "eTypeB\003\340A\002\022\035\n\020hourly_frequency\030\002 \001(\005B\003\340A"
+ "\001\0221\n\014days_of_week\030\003 \003(\0162\026.google.type.Da"
+ "yOfWeekB\003\340A\001\022\032\n\rdays_of_month\030\004 \003(\005B\003\340A\001"
+ "\022H\n\021week_day_of_month\030\005 \001(\0132(.google.clo"
+ "ud.backupdr.v1.WeekDayOfMonthB\003\340A\001\022\'\n\006mo"
+ "nths\030\006 \003(\0162\022.google.type.MonthB\003\340A\001\022B\n\rb"
+ "ackup_window\030\007 \001(\0132&.google.cloud.backup"
+ "dr.v1.BackupWindowB\003\340A\002\022\026\n\ttime_zone\030\010 \001"
+ "(\tB\003\340A\002\"m\n\016RecurrenceType\022\037\n\033RECURRENCE_"
+ "TYPE_UNSPECIFIED\020\000\022\n\n\006HOURLY\020\001\022\t\n\005DAILY\020"
+ "\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n\n\006YEARLY\020\005\"L"
+ "\n\014BackupWindow\022\036\n\021start_hour_of_day\030\001 \001("
+ "\005B\003\340A\002\022\034\n\017end_hour_of_day\030\002 \001(\005B\003\340A\002\"\372\001\n"
+ "\016WeekDayOfMonth\022P\n\rweek_of_month\030\001 \001(\01624"
+ ".google.cloud.backupdr.v1.WeekDayOfMonth"
+ ".WeekOfMonthB\003\340A\002\0220\n\013day_of_week\030\002 \001(\0162\026"
+ ".google.type.DayOfWeekB\003\340A\002\"d\n\013WeekOfMon"
+ "th\022\035\n\031WEEK_OF_MONTH_UNSPECIFIED\020\000\022\t\n\005FIR"
+ "ST\020\001\022\n\n\006SECOND\020\002\022\t\n\005THIRD\020\003\022\n\n\006FOURTH\020\004\022"
+ "\010\n\004LAST\020\005\"\323\001\n\027CreateBackupPlanRequest\022:\n"
+ "\006parent\030\001 \001(\tB*\340A\002\372A$\022\"backupdr.googleap"
+ "is.com/BackupPlan\022\033\n\016backup_plan_id\030\002 \001("
+ "\tB\003\340A\002\022>\n\013backup_plan\030\003 \001(\0132$.google.clo"
+ "ud.backupdr.v1.BackupPlanB\003\340A\002\022\037\n\nreques"
+ "t_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\261\001\n\026ListBackupPl"
+ "ansRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"back"
+ "updr.googleapis.com/BackupPlan\022\026\n\tpage_s"
+ "ize\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022"
+ "\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(\tB\003"
+ "\340A\001\"\203\001\n\027ListBackupPlansResponse\022:\n\014backu"
+ "p_plans\030\001 \003(\0132$.google.cloud.backupdr.v1"
+ ".BackupPlan\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013"
+ "unreachable\030\003 \003(\t\"P\n\024GetBackupPlanReques"
+ "t\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"backupdr.google"
+ "apis.com/BackupPlan\"t\n\027DeleteBackupPlanR"
+ "equest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"backupdr.g"
+ "oogleapis.com/BackupPlan\022\037\n\nrequest_id\030\002"
+ " \001(\tB\013\340A\001\342\214\317\327\010\002\010\001B\277\001\n\034com.google.cloud.b"
+ "ackupdr.v1B\017BackupPlanProtoP\001Z8cloud.goo"
+ "gle.com/go/backupdr/apiv1/backupdrpb;bac"
+ "kupdrpb\252\002\030Google.Cloud.BackupDR.V1\312\002\030Goo"
+ "gle\\Cloud\\BackupDR\\V1\352\002\033Google::Cloud::B"
+ "ackupDR::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.FieldInfoProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.type.DayOfWeekProto.getDescriptor(),
com.google.type.MonthProto.getDescriptor(),
});
internal_static_google_cloud_backupdr_v1_BackupPlan_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_backupdr_v1_BackupPlan_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_BackupPlan_descriptor,
new java.lang.String[] {
"Name",
"Description",
"Labels",
"CreateTime",
"UpdateTime",
"BackupRules",
"State",
"ResourceType",
"Etag",
"BackupVault",
"BackupVaultServiceAccount",
});
internal_static_google_cloud_backupdr_v1_BackupPlan_LabelsEntry_descriptor =
internal_static_google_cloud_backupdr_v1_BackupPlan_descriptor.getNestedTypes().get(0);
internal_static_google_cloud_backupdr_v1_BackupPlan_LabelsEntry_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_BackupPlan_LabelsEntry_descriptor,
new java.lang.String[] {
"Key", "Value",
});
internal_static_google_cloud_backupdr_v1_BackupRule_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_google_cloud_backupdr_v1_BackupRule_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_BackupRule_descriptor,
new java.lang.String[] {
"RuleId", "BackupRetentionDays", "StandardSchedule", "BackupScheduleOneof",
});
internal_static_google_cloud_backupdr_v1_StandardSchedule_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_google_cloud_backupdr_v1_StandardSchedule_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_StandardSchedule_descriptor,
new java.lang.String[] {
"RecurrenceType",
"HourlyFrequency",
"DaysOfWeek",
"DaysOfMonth",
"WeekDayOfMonth",
"Months",
"BackupWindow",
"TimeZone",
});
internal_static_google_cloud_backupdr_v1_BackupWindow_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_google_cloud_backupdr_v1_BackupWindow_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_BackupWindow_descriptor,
new java.lang.String[] {
"StartHourOfDay", "EndHourOfDay",
});
internal_static_google_cloud_backupdr_v1_WeekDayOfMonth_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_google_cloud_backupdr_v1_WeekDayOfMonth_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_WeekDayOfMonth_descriptor,
new java.lang.String[] {
"WeekOfMonth", "DayOfWeek",
});
internal_static_google_cloud_backupdr_v1_CreateBackupPlanRequest_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_google_cloud_backupdr_v1_CreateBackupPlanRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_CreateBackupPlanRequest_descriptor,
new java.lang.String[] {
"Parent", "BackupPlanId", "BackupPlan", "RequestId",
});
internal_static_google_cloud_backupdr_v1_ListBackupPlansRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_google_cloud_backupdr_v1_ListBackupPlansRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_ListBackupPlansRequest_descriptor,
new java.lang.String[] {
"Parent", "PageSize", "PageToken", "Filter", "OrderBy",
});
internal_static_google_cloud_backupdr_v1_ListBackupPlansResponse_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_google_cloud_backupdr_v1_ListBackupPlansResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_ListBackupPlansResponse_descriptor,
new java.lang.String[] {
"BackupPlans", "NextPageToken", "Unreachable",
});
internal_static_google_cloud_backupdr_v1_GetBackupPlanRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_google_cloud_backupdr_v1_GetBackupPlanRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_GetBackupPlanRequest_descriptor,
new java.lang.String[] {
"Name",
});
internal_static_google_cloud_backupdr_v1_DeleteBackupPlanRequest_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_google_cloud_backupdr_v1_DeleteBackupPlanRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_backupdr_v1_DeleteBackupPlanRequest_descriptor,
new java.lang.String[] {
"Name", "RequestId",
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.FieldInfoProto.fieldInfo);
registry.add(com.google.api.ResourceProto.resource);
registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.FieldInfoProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.type.DayOfWeekProto.getDescriptor();
com.google.type.MonthProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}