Debian Codegraph @

alloydb/apiv1alpha/alloydbpb/csql_resources.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/alloydb/v1alpha/csql_resources.proto
20
21 package alloydbpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // The source CloudSQL backup resource.
39 type CloudSQLBackupRunSource struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // The project ID of the source CloudSQL instance. This should be the same as
45 // the AlloyDB cluster's project.
46 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
47 // Required. The CloudSQL instance ID.
48 InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
49 // Required. The CloudSQL backup run ID.
50 BackupRunId int64 `protobuf:"varint,3,opt,name=backup_run_id,json=backupRunId,proto3" json:"backup_run_id,omitempty"`
51 }
52
53 func (x *CloudSQLBackupRunSource) Reset() {
54 *x = CloudSQLBackupRunSource{}
55 mi := &file_google_cloud_alloydb_v1alpha_csql_resources_proto_msgTypes[0]
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 ms.StoreMessageInfo(mi)
58 }
59
60 func (x *CloudSQLBackupRunSource) String() string {
61 return protoimpl.X.MessageStringOf(x)
62 }
63
64 func (*CloudSQLBackupRunSource) ProtoMessage() {}
65
66 func (x *CloudSQLBackupRunSource) ProtoReflect() protoreflect.Message {
67 mi := &file_google_cloud_alloydb_v1alpha_csql_resources_proto_msgTypes[0]
68 if x != nil {
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 if ms.LoadMessageInfo() == nil {
71 ms.StoreMessageInfo(mi)
72 }
73 return ms
74 }
75 return mi.MessageOf(x)
76 }
77
78 // Deprecated: Use CloudSQLBackupRunSource.ProtoReflect.Descriptor instead.
79 func (*CloudSQLBackupRunSource) Descriptor() ([]byte, []int) {
80 return file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDescGZIP(), []int{0}
81 }
82
83 func (x *CloudSQLBackupRunSource) GetProject() string {
84 if x != nil {
85 return x.Project
86 }
87 return ""
88 }
89
90 func (x *CloudSQLBackupRunSource) GetInstanceId() string {
91 if x != nil {
92 return x.InstanceId
93 }
94 return ""
95 }
96
97 func (x *CloudSQLBackupRunSource) GetBackupRunId() int64 {
98 if x != nil {
99 return x.BackupRunId
100 }
101 return 0
102 }
103
104 var File_google_cloud_alloydb_v1alpha_csql_resources_proto protoreflect.FileDescriptor
105
106 var file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDesc = []byte{
107 0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
108 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63,
109 0x73, 0x71, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72,
110 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
111 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
112 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
113 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
114 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x17, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x51, 0x4c, 0x42,
115 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18,
116 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
117 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74,
118 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
119 0x41, 0x02, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x27,
120 0x0a, 0x0d, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x18,
121 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x62, 0x61, 0x63, 0x6b,
122 0x75, 0x70, 0x52, 0x75, 0x6e, 0x49, 0x64, 0x42, 0xd4, 0x01, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e,
123 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c,
124 0x6f, 0x79, 0x64, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x12, 0x43, 0x73,
125 0x71, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
126 0x50, 0x01, 0x5a, 0x3a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
127 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2f,
128 0x61, 0x70, 0x69, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x79,
129 0x64, 0x62, 0x70, 0x62, 0x3b, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x70, 0x62, 0xaa, 0x02,
130 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x6c,
131 0x6c, 0x6f, 0x79, 0x44, 0x62, 0x2e, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x1c,
132 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x6c, 0x6c,
133 0x6f, 0x79, 0x44, 0x62, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xea, 0x02, 0x1f, 0x47,
134 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x6c,
135 0x6c, 0x6f, 0x79, 0x44, 0x42, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06,
136 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
137 }
138
139 var (
140 file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDescOnce sync.Once
141 file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDescData = file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDesc
142 )
143
144 func file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDescGZIP() []byte {
145 file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDescOnce.Do(func() {
146 file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDescData)
147 })
148 return file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDescData
149 }
150
151 var file_google_cloud_alloydb_v1alpha_csql_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
152 var file_google_cloud_alloydb_v1alpha_csql_resources_proto_goTypes = []any{
153 (*CloudSQLBackupRunSource)(nil), // 0: google.cloud.alloydb.v1alpha.CloudSQLBackupRunSource
154 }
155 var file_google_cloud_alloydb_v1alpha_csql_resources_proto_depIdxs = []int32{
156 0, // [0:0] is the sub-list for method output_type
157 0, // [0:0] is the sub-list for method input_type
158 0, // [0:0] is the sub-list for extension type_name
159 0, // [0:0] is the sub-list for extension extendee
160 0, // [0:0] is the sub-list for field type_name
161 }
162
163 func init() { file_google_cloud_alloydb_v1alpha_csql_resources_proto_init() }
164 func file_google_cloud_alloydb_v1alpha_csql_resources_proto_init() {
165 if File_google_cloud_alloydb_v1alpha_csql_resources_proto != nil {
166 return
167 }
168 type x struct{}
169 out := protoimpl.TypeBuilder{
170 File: protoimpl.DescBuilder{
171 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
172 RawDescriptor: file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDesc,
173 NumEnums: 0,
174 NumMessages: 1,
175 NumExtensions: 0,
176 NumServices: 0,
177 },
178 GoTypes: file_google_cloud_alloydb_v1alpha_csql_resources_proto_goTypes,
179 DependencyIndexes: file_google_cloud_alloydb_v1alpha_csql_resources_proto_depIdxs,
180 MessageInfos: file_google_cloud_alloydb_v1alpha_csql_resources_proto_msgTypes,
181 }.Build()
182 File_google_cloud_alloydb_v1alpha_csql_resources_proto = out.File
183 file_google_cloud_alloydb_v1alpha_csql_resources_proto_rawDesc = nil
184 file_google_cloud_alloydb_v1alpha_csql_resources_proto_goTypes = nil
185 file_google_cloud_alloydb_v1alpha_csql_resources_proto_depIdxs = nil
186 }