Debian Codegraph @

alloydb/apiv1beta/alloydbpb/gemini.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/v1beta/gemini.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 // Enum representing the type of GCA entitlement assigned to a resource.
39 type GCAEntitlementType int32
40
41 const (
42 // No GCA entitlement is assigned.
43 GCAEntitlementType_GCA_ENTITLEMENT_TYPE_UNSPECIFIED GCAEntitlementType = 0
44 // The resource is entitled to the GCA Standard Tier.
45 GCAEntitlementType_GCA_STANDARD GCAEntitlementType = 1
46 )
47
48 // Enum value maps for GCAEntitlementType.
49 var (
50 GCAEntitlementType_name = map[int32]string{
51 0: "GCA_ENTITLEMENT_TYPE_UNSPECIFIED",
52 1: "GCA_STANDARD",
53 }
54 GCAEntitlementType_value = map[string]int32{
55 "GCA_ENTITLEMENT_TYPE_UNSPECIFIED": 0,
56 "GCA_STANDARD": 1,
57 }
58 )
59
60 func (x GCAEntitlementType) Enum() *GCAEntitlementType {
61 p := new(GCAEntitlementType)
62 *p = x
63 return p
64 }
65
66 func (x GCAEntitlementType) String() string {
67 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
68 }
69
70 func (GCAEntitlementType) Descriptor() protoreflect.EnumDescriptor {
71 return file_google_cloud_alloydb_v1beta_gemini_proto_enumTypes[0].Descriptor()
72 }
73
74 func (GCAEntitlementType) Type() protoreflect.EnumType {
75 return &file_google_cloud_alloydb_v1beta_gemini_proto_enumTypes[0]
76 }
77
78 func (x GCAEntitlementType) Number() protoreflect.EnumNumber {
79 return protoreflect.EnumNumber(x)
80 }
81
82 // Deprecated: Use GCAEntitlementType.Descriptor instead.
83 func (GCAEntitlementType) EnumDescriptor() ([]byte, []int) {
84 return file_google_cloud_alloydb_v1beta_gemini_proto_rawDescGZIP(), []int{0}
85 }
86
87 // Deprecated and unused. This message will be removed in the near future.
88 type GeminiClusterConfig struct {
89 state protoimpl.MessageState
90 sizeCache protoimpl.SizeCache
91 unknownFields protoimpl.UnknownFields
92
93 // Output only. Deprecated and unused. This field will be removed in the near
94 // future.
95 //
96 // Deprecated: Marked as deprecated in google/cloud/alloydb/v1beta/gemini.proto.
97 Entitled bool `protobuf:"varint,1,opt,name=entitled,proto3" json:"entitled,omitempty"`
98 }
99
100 func (x *GeminiClusterConfig) Reset() {
101 *x = GeminiClusterConfig{}
102 mi := &file_google_cloud_alloydb_v1beta_gemini_proto_msgTypes[0]
103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
104 ms.StoreMessageInfo(mi)
105 }
106
107 func (x *GeminiClusterConfig) String() string {
108 return protoimpl.X.MessageStringOf(x)
109 }
110
111 func (*GeminiClusterConfig) ProtoMessage() {}
112
113 func (x *GeminiClusterConfig) ProtoReflect() protoreflect.Message {
114 mi := &file_google_cloud_alloydb_v1beta_gemini_proto_msgTypes[0]
115 if x != nil {
116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
117 if ms.LoadMessageInfo() == nil {
118 ms.StoreMessageInfo(mi)
119 }
120 return ms
121 }
122 return mi.MessageOf(x)
123 }
124
125 // Deprecated: Use GeminiClusterConfig.ProtoReflect.Descriptor instead.
126 func (*GeminiClusterConfig) Descriptor() ([]byte, []int) {
127 return file_google_cloud_alloydb_v1beta_gemini_proto_rawDescGZIP(), []int{0}
128 }
129
130 // Deprecated: Marked as deprecated in google/cloud/alloydb/v1beta/gemini.proto.
131 func (x *GeminiClusterConfig) GetEntitled() bool {
132 if x != nil {
133 return x.Entitled
134 }
135 return false
136 }
137
138 // Deprecated and unused. This message will be removed in the near future.
139 type GeminiInstanceConfig struct {
140 state protoimpl.MessageState
141 sizeCache protoimpl.SizeCache
142 unknownFields protoimpl.UnknownFields
143
144 // Output only. Deprecated and unused. This field will be removed in the near
145 // future.
146 //
147 // Deprecated: Marked as deprecated in google/cloud/alloydb/v1beta/gemini.proto.
148 Entitled bool `protobuf:"varint,1,opt,name=entitled,proto3" json:"entitled,omitempty"`
149 }
150
151 func (x *GeminiInstanceConfig) Reset() {
152 *x = GeminiInstanceConfig{}
153 mi := &file_google_cloud_alloydb_v1beta_gemini_proto_msgTypes[1]
154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
155 ms.StoreMessageInfo(mi)
156 }
157
158 func (x *GeminiInstanceConfig) String() string {
159 return protoimpl.X.MessageStringOf(x)
160 }
161
162 func (*GeminiInstanceConfig) ProtoMessage() {}
163
164 func (x *GeminiInstanceConfig) ProtoReflect() protoreflect.Message {
165 mi := &file_google_cloud_alloydb_v1beta_gemini_proto_msgTypes[1]
166 if x != nil {
167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
168 if ms.LoadMessageInfo() == nil {
169 ms.StoreMessageInfo(mi)
170 }
171 return ms
172 }
173 return mi.MessageOf(x)
174 }
175
176 // Deprecated: Use GeminiInstanceConfig.ProtoReflect.Descriptor instead.
177 func (*GeminiInstanceConfig) Descriptor() ([]byte, []int) {
178 return file_google_cloud_alloydb_v1beta_gemini_proto_rawDescGZIP(), []int{1}
179 }
180
181 // Deprecated: Marked as deprecated in google/cloud/alloydb/v1beta/gemini.proto.
182 func (x *GeminiInstanceConfig) GetEntitled() bool {
183 if x != nil {
184 return x.Entitled
185 }
186 return false
187 }
188
189 // Instance level configuration parameters related to the Gemini Cloud Assist
190 // product.
191 type GCAInstanceConfig struct {
192 state protoimpl.MessageState
193 sizeCache protoimpl.SizeCache
194 unknownFields protoimpl.UnknownFields
195
196 // Output only. Represents the GCA entitlement state of the instance.
197 GcaEntitlement GCAEntitlementType `protobuf:"varint,1,opt,name=gca_entitlement,json=gcaEntitlement,proto3,enum=google.cloud.alloydb.v1beta.GCAEntitlementType" json:"gca_entitlement,omitempty"`
198 }
199
200 func (x *GCAInstanceConfig) Reset() {
201 *x = GCAInstanceConfig{}
202 mi := &file_google_cloud_alloydb_v1beta_gemini_proto_msgTypes[2]
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 ms.StoreMessageInfo(mi)
205 }
206
207 func (x *GCAInstanceConfig) String() string {
208 return protoimpl.X.MessageStringOf(x)
209 }
210
211 func (*GCAInstanceConfig) ProtoMessage() {}
212
213 func (x *GCAInstanceConfig) ProtoReflect() protoreflect.Message {
214 mi := &file_google_cloud_alloydb_v1beta_gemini_proto_msgTypes[2]
215 if x != nil {
216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217 if ms.LoadMessageInfo() == nil {
218 ms.StoreMessageInfo(mi)
219 }
220 return ms
221 }
222 return mi.MessageOf(x)
223 }
224
225 // Deprecated: Use GCAInstanceConfig.ProtoReflect.Descriptor instead.
226 func (*GCAInstanceConfig) Descriptor() ([]byte, []int) {
227 return file_google_cloud_alloydb_v1beta_gemini_proto_rawDescGZIP(), []int{2}
228 }
229
230 func (x *GCAInstanceConfig) GetGcaEntitlement() GCAEntitlementType {
231 if x != nil {
232 return x.GcaEntitlement
233 }
234 return GCAEntitlementType_GCA_ENTITLEMENT_TYPE_UNSPECIFIED
235 }
236
237 var File_google_cloud_alloydb_v1beta_gemini_proto protoreflect.FileDescriptor
238
239 var file_google_cloud_alloydb_v1beta_gemini_proto_rawDesc = []byte{
240 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
241 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x67, 0x65,
242 0x6d, 0x69, 0x6e, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67,
243 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62,
244 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
245 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
246 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x13, 0x47, 0x65, 0x6d, 0x69,
247 0x6e, 0x69, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
248 0x21, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
249 0x08, 0x42, 0x05, 0xe0, 0x41, 0x03, 0x18, 0x01, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c,
250 0x65, 0x64, 0x22, 0x39, 0x0a, 0x14, 0x47, 0x65, 0x6d, 0x69, 0x6e, 0x69, 0x49, 0x6e, 0x73, 0x74,
251 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x08, 0x65, 0x6e,
252 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xe0, 0x41,
253 0x03, 0x18, 0x01, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 0x22, 0x72, 0x0a,
254 0x11, 0x47, 0x43, 0x41, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66,
255 0x69, 0x67, 0x12, 0x5d, 0x0a, 0x0f, 0x67, 0x63, 0x61, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c,
256 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f,
257 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79,
258 0x64, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x43, 0x41, 0x45, 0x6e, 0x74,
259 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41,
260 0x03, 0x52, 0x0e, 0x67, 0x63, 0x61, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e,
261 0x74, 0x2a, 0x4c, 0x0a, 0x12, 0x47, 0x43, 0x41, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d,
262 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x47, 0x43, 0x41, 0x5f, 0x45,
263 0x4e, 0x54, 0x49, 0x54, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
264 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a,
265 0x0c, 0x47, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x10, 0x01, 0x42,
266 0xc8, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
267 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2e, 0x76, 0x31, 0x62,
268 0x65, 0x74, 0x61, 0x42, 0x0b, 0x47, 0x65, 0x6d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f,
269 0x50, 0x01, 0x5a, 0x39, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
270 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x2f,
271 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64,
272 0x62, 0x70, 0x62, 0x3b, 0x61, 0x6c, 0x6c, 0x6f, 0x79, 0x64, 0x62, 0x70, 0x62, 0xaa, 0x02, 0x1b,
273 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x6c, 0x6c,
274 0x6f, 0x79, 0x44, 0x62, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1b, 0x47, 0x6f,
275 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x6c, 0x6c, 0x6f, 0x79,
276 0x44, 0x62, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67,
277 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x6c, 0x6c, 0x6f, 0x79,
278 0x44, 0x42, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
279 0x6f, 0x33,
280 }
281
282 var (
283 file_google_cloud_alloydb_v1beta_gemini_proto_rawDescOnce sync.Once
284 file_google_cloud_alloydb_v1beta_gemini_proto_rawDescData = file_google_cloud_alloydb_v1beta_gemini_proto_rawDesc
285 )
286
287 func file_google_cloud_alloydb_v1beta_gemini_proto_rawDescGZIP() []byte {
288 file_google_cloud_alloydb_v1beta_gemini_proto_rawDescOnce.Do(func() {
289 file_google_cloud_alloydb_v1beta_gemini_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_alloydb_v1beta_gemini_proto_rawDescData)
290 })
291 return file_google_cloud_alloydb_v1beta_gemini_proto_rawDescData
292 }
293
294 var file_google_cloud_alloydb_v1beta_gemini_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
295 var file_google_cloud_alloydb_v1beta_gemini_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
296 var file_google_cloud_alloydb_v1beta_gemini_proto_goTypes = []any{
297 (GCAEntitlementType)(0), // 0: google.cloud.alloydb.v1beta.GCAEntitlementType
298 (*GeminiClusterConfig)(nil), // 1: google.cloud.alloydb.v1beta.GeminiClusterConfig
299 (*GeminiInstanceConfig)(nil), // 2: google.cloud.alloydb.v1beta.GeminiInstanceConfig
300 (*GCAInstanceConfig)(nil), // 3: google.cloud.alloydb.v1beta.GCAInstanceConfig
301 }
302 var file_google_cloud_alloydb_v1beta_gemini_proto_depIdxs = []int32{
303 0, // 0: google.cloud.alloydb.v1beta.GCAInstanceConfig.gca_entitlement:type_name -> google.cloud.alloydb.v1beta.GCAEntitlementType
304 1, // [1:1] is the sub-list for method output_type
305 1, // [1:1] is the sub-list for method input_type
306 1, // [1:1] is the sub-list for extension type_name
307 1, // [1:1] is the sub-list for extension extendee
308 0, // [0:1] is the sub-list for field type_name
309 }
310
311 func init() { file_google_cloud_alloydb_v1beta_gemini_proto_init() }
312 func file_google_cloud_alloydb_v1beta_gemini_proto_init() {
313 if File_google_cloud_alloydb_v1beta_gemini_proto != nil {
314 return
315 }
316 type x struct{}
317 out := protoimpl.TypeBuilder{
318 File: protoimpl.DescBuilder{
319 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
320 RawDescriptor: file_google_cloud_alloydb_v1beta_gemini_proto_rawDesc,
321 NumEnums: 1,
322 NumMessages: 3,
323 NumExtensions: 0,
324 NumServices: 0,
325 },
326 GoTypes: file_google_cloud_alloydb_v1beta_gemini_proto_goTypes,
327 DependencyIndexes: file_google_cloud_alloydb_v1beta_gemini_proto_depIdxs,
328 EnumInfos: file_google_cloud_alloydb_v1beta_gemini_proto_enumTypes,
329 MessageInfos: file_google_cloud_alloydb_v1beta_gemini_proto_msgTypes,
330 }.Build()
331 File_google_cloud_alloydb_v1beta_gemini_proto = out.File
332 file_google_cloud_alloydb_v1beta_gemini_proto_rawDesc = nil
333 file_google_cloud_alloydb_v1beta_gemini_proto_goTypes = nil
334 file_google_cloud_alloydb_v1beta_gemini_proto_depIdxs = nil
335 }