Debian Codegraph @

apphub/apiv1/apphubpb/service.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/apphub/v1/service.proto
20
21 package apphubpb
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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Service state.
40 type Service_State int32
41
42 const (
43 // Unspecified state.
44 Service_STATE_UNSPECIFIED Service_State = 0
45 // The service is being created.
46 Service_CREATING Service_State = 1
47 // The service is ready.
48 Service_ACTIVE Service_State = 2
49 // The service is being deleted.
50 Service_DELETING Service_State = 3
51 // The underlying networking resources have been deleted.
52 Service_DETACHED Service_State = 4
53 )
54
55 // Enum value maps for Service_State.
56 var (
57 Service_State_name = map[int32]string{
58 0: "STATE_UNSPECIFIED",
59 1: "CREATING",
60 2: "ACTIVE",
61 3: "DELETING",
62 4: "DETACHED",
63 }
64 Service_State_value = map[string]int32{
65 "STATE_UNSPECIFIED": 0,
66 "CREATING": 1,
67 "ACTIVE": 2,
68 "DELETING": 3,
69 "DETACHED": 4,
70 }
71 )
72
73 func (x Service_State) Enum() *Service_State {
74 p := new(Service_State)
75 *p = x
76 return p
77 }
78
79 func (x Service_State) String() string {
80 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
81 }
82
83 func (Service_State) Descriptor() protoreflect.EnumDescriptor {
84 return file_google_cloud_apphub_v1_service_proto_enumTypes[0].Descriptor()
85 }
86
87 func (Service_State) Type() protoreflect.EnumType {
88 return &file_google_cloud_apphub_v1_service_proto_enumTypes[0]
89 }
90
91 func (x Service_State) Number() protoreflect.EnumNumber {
92 return protoreflect.EnumNumber(x)
93 }
94
95 // Deprecated: Use Service_State.Descriptor instead.
96 func (Service_State) EnumDescriptor() ([]byte, []int) {
97 return file_google_cloud_apphub_v1_service_proto_rawDescGZIP(), []int{0, 0}
98 }
99
100 // Service is an App Hub data model that contains a discovered service, which
101 // represents a network or API interface that exposes some functionality to
102 // clients for consumption over the network.
103 type Service struct {
104 state protoimpl.MessageState
105 sizeCache protoimpl.SizeCache
106 unknownFields protoimpl.UnknownFields
107
108 // Identifier. The resource name of a Service. Format:
109 // `"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"`
110 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
111 // Optional. User-defined name for the Service.
112 // Can have a maximum length of 63 characters.
113 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
114 // Optional. User-defined description of a Service.
115 // Can have a maximum length of 2048 characters.
116 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
117 // Output only. Reference to an underlying networking resource that can
118 // comprise a Service. These are immutable.
119 ServiceReference *ServiceReference `protobuf:"bytes,4,opt,name=service_reference,json=serviceReference,proto3" json:"service_reference,omitempty"`
120 // Output only. Properties of an underlying compute resource that can comprise
121 // a Service. These are immutable.
122 ServiceProperties *ServiceProperties `protobuf:"bytes,5,opt,name=service_properties,json=serviceProperties,proto3" json:"service_properties,omitempty"`
123 // Optional. Consumer provided attributes.
124 Attributes *Attributes `protobuf:"bytes,6,opt,name=attributes,proto3" json:"attributes,omitempty"`
125 // Required. Immutable. The resource name of the original discovered service.
126 DiscoveredService string `protobuf:"bytes,7,opt,name=discovered_service,json=discoveredService,proto3" json:"discovered_service,omitempty"`
127 // Output only. Create time.
128 CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
129 // Output only. Update time.
130 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
131 // Output only. A universally unique identifier (UUID) for the `Service` in
132 // the UUID4 format.
133 Uid string `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"`
134 // Output only. Service state.
135 State Service_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.apphub.v1.Service_State" json:"state,omitempty"`
136 }
137
138 func (x *Service) Reset() {
139 *x = Service{}
140 mi := &file_google_cloud_apphub_v1_service_proto_msgTypes[0]
141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142 ms.StoreMessageInfo(mi)
143 }
144
145 func (x *Service) String() string {
146 return protoimpl.X.MessageStringOf(x)
147 }
148
149 func (*Service) ProtoMessage() {}
150
151 func (x *Service) ProtoReflect() protoreflect.Message {
152 mi := &file_google_cloud_apphub_v1_service_proto_msgTypes[0]
153 if x != nil {
154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
155 if ms.LoadMessageInfo() == nil {
156 ms.StoreMessageInfo(mi)
157 }
158 return ms
159 }
160 return mi.MessageOf(x)
161 }
162
163 // Deprecated: Use Service.ProtoReflect.Descriptor instead.
164 func (*Service) Descriptor() ([]byte, []int) {
165 return file_google_cloud_apphub_v1_service_proto_rawDescGZIP(), []int{0}
166 }
167
168 func (x *Service) GetName() string {
169 if x != nil {
170 return x.Name
171 }
172 return ""
173 }
174
175 func (x *Service) GetDisplayName() string {
176 if x != nil {
177 return x.DisplayName
178 }
179 return ""
180 }
181
182 func (x *Service) GetDescription() string {
183 if x != nil {
184 return x.Description
185 }
186 return ""
187 }
188
189 func (x *Service) GetServiceReference() *ServiceReference {
190 if x != nil {
191 return x.ServiceReference
192 }
193 return nil
194 }
195
196 func (x *Service) GetServiceProperties() *ServiceProperties {
197 if x != nil {
198 return x.ServiceProperties
199 }
200 return nil
201 }
202
203 func (x *Service) GetAttributes() *Attributes {
204 if x != nil {
205 return x.Attributes
206 }
207 return nil
208 }
209
210 func (x *Service) GetDiscoveredService() string {
211 if x != nil {
212 return x.DiscoveredService
213 }
214 return ""
215 }
216
217 func (x *Service) GetCreateTime() *timestamppb.Timestamp {
218 if x != nil {
219 return x.CreateTime
220 }
221 return nil
222 }
223
224 func (x *Service) GetUpdateTime() *timestamppb.Timestamp {
225 if x != nil {
226 return x.UpdateTime
227 }
228 return nil
229 }
230
231 func (x *Service) GetUid() string {
232 if x != nil {
233 return x.Uid
234 }
235 return ""
236 }
237
238 func (x *Service) GetState() Service_State {
239 if x != nil {
240 return x.State
241 }
242 return Service_STATE_UNSPECIFIED
243 }
244
245 // Reference to an underlying networking resource that can comprise a Service.
246 type ServiceReference struct {
247 state protoimpl.MessageState
248 sizeCache protoimpl.SizeCache
249 unknownFields protoimpl.UnknownFields
250
251 // Output only. The underlying resource URI. For example, URI of Forwarding
252 // Rule, URL Map, and Backend Service.
253 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
254 }
255
256 func (x *ServiceReference) Reset() {
257 *x = ServiceReference{}
258 mi := &file_google_cloud_apphub_v1_service_proto_msgTypes[1]
259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
260 ms.StoreMessageInfo(mi)
261 }
262
263 func (x *ServiceReference) String() string {
264 return protoimpl.X.MessageStringOf(x)
265 }
266
267 func (*ServiceReference) ProtoMessage() {}
268
269 func (x *ServiceReference) ProtoReflect() protoreflect.Message {
270 mi := &file_google_cloud_apphub_v1_service_proto_msgTypes[1]
271 if x != nil {
272 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
273 if ms.LoadMessageInfo() == nil {
274 ms.StoreMessageInfo(mi)
275 }
276 return ms
277 }
278 return mi.MessageOf(x)
279 }
280
281 // Deprecated: Use ServiceReference.ProtoReflect.Descriptor instead.
282 func (*ServiceReference) Descriptor() ([]byte, []int) {
283 return file_google_cloud_apphub_v1_service_proto_rawDescGZIP(), []int{1}
284 }
285
286 func (x *ServiceReference) GetUri() string {
287 if x != nil {
288 return x.Uri
289 }
290 return ""
291 }
292
293 // Properties of an underlying cloud resource that can comprise a Service.
294 type ServiceProperties struct {
295 state protoimpl.MessageState
296 sizeCache protoimpl.SizeCache
297 unknownFields protoimpl.UnknownFields
298
299 // Output only. The service project identifier that the underlying cloud
300 // resource resides in.
301 GcpProject string `protobuf:"bytes,1,opt,name=gcp_project,json=gcpProject,proto3" json:"gcp_project,omitempty"`
302 // Output only. The location that the underlying resource resides in, for
303 // example, us-west1.
304 Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
305 // Output only. The location that the underlying resource resides in if it is
306 // zonal, for example, us-west1-a).
307 Zone string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
308 }
309
310 func (x *ServiceProperties) Reset() {
311 *x = ServiceProperties{}
312 mi := &file_google_cloud_apphub_v1_service_proto_msgTypes[2]
313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
314 ms.StoreMessageInfo(mi)
315 }
316
317 func (x *ServiceProperties) String() string {
318 return protoimpl.X.MessageStringOf(x)
319 }
320
321 func (*ServiceProperties) ProtoMessage() {}
322
323 func (x *ServiceProperties) ProtoReflect() protoreflect.Message {
324 mi := &file_google_cloud_apphub_v1_service_proto_msgTypes[2]
325 if x != nil {
326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
327 if ms.LoadMessageInfo() == nil {
328 ms.StoreMessageInfo(mi)
329 }
330 return ms
331 }
332 return mi.MessageOf(x)
333 }
334
335 // Deprecated: Use ServiceProperties.ProtoReflect.Descriptor instead.
336 func (*ServiceProperties) Descriptor() ([]byte, []int) {
337 return file_google_cloud_apphub_v1_service_proto_rawDescGZIP(), []int{2}
338 }
339
340 func (x *ServiceProperties) GetGcpProject() string {
341 if x != nil {
342 return x.GcpProject
343 }
344 return ""
345 }
346
347 func (x *ServiceProperties) GetLocation() string {
348 if x != nil {
349 return x.Location
350 }
351 return ""
352 }
353
354 func (x *ServiceProperties) GetZone() string {
355 if x != nil {
356 return x.Zone
357 }
358 return ""
359 }
360
361 // DiscoveredService is a network or API interface that exposes some
362 // functionality to clients for consumption over the network. A discovered
363 // service can be registered to a App Hub service.
364 type DiscoveredService struct {
365 state protoimpl.MessageState
366 sizeCache protoimpl.SizeCache
367 unknownFields protoimpl.UnknownFields
368
369 // Identifier. The resource name of the discovered service. Format:
370 // `"projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}"`
371 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
372 // Output only. Reference to an underlying networking resource that can
373 // comprise a Service. These are immutable.
374 ServiceReference *ServiceReference `protobuf:"bytes,2,opt,name=service_reference,json=serviceReference,proto3" json:"service_reference,omitempty"`
375 // Output only. Properties of an underlying compute resource that can comprise
376 // a Service. These are immutable.
377 ServiceProperties *ServiceProperties `protobuf:"bytes,3,opt,name=service_properties,json=serviceProperties,proto3" json:"service_properties,omitempty"`
378 }
379
380 func (x *DiscoveredService) Reset() {
381 *x = DiscoveredService{}
382 mi := &file_google_cloud_apphub_v1_service_proto_msgTypes[3]
383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
384 ms.StoreMessageInfo(mi)
385 }
386
387 func (x *DiscoveredService) String() string {
388 return protoimpl.X.MessageStringOf(x)
389 }
390
391 func (*DiscoveredService) ProtoMessage() {}
392
393 func (x *DiscoveredService) ProtoReflect() protoreflect.Message {
394 mi := &file_google_cloud_apphub_v1_service_proto_msgTypes[3]
395 if x != nil {
396 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
397 if ms.LoadMessageInfo() == nil {
398 ms.StoreMessageInfo(mi)
399 }
400 return ms
401 }
402 return mi.MessageOf(x)
403 }
404
405 // Deprecated: Use DiscoveredService.ProtoReflect.Descriptor instead.
406 func (*DiscoveredService) Descriptor() ([]byte, []int) {
407 return file_google_cloud_apphub_v1_service_proto_rawDescGZIP(), []int{3}
408 }
409
410 func (x *DiscoveredService) GetName() string {
411 if x != nil {
412 return x.Name
413 }
414 return ""
415 }
416
417 func (x *DiscoveredService) GetServiceReference() *ServiceReference {
418 if x != nil {
419 return x.ServiceReference
420 }
421 return nil
422 }
423
424 func (x *DiscoveredService) GetServiceProperties() *ServiceProperties {
425 if x != nil {
426 return x.ServiceProperties
427 }
428 return nil
429 }
430
431 var File_google_cloud_apphub_v1_service_proto protoreflect.FileDescriptor
432
433 var file_google_cloud_apphub_v1_service_proto_rawDesc = []byte{
434 0x0a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
435 0x70, 0x70, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
436 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
437 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x70, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x1a, 0x1f,
438 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
439 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
440 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
441 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
442 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
443 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
444 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x70, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x2f,
445 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
446 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
447 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
448 0x6f, 0x22, 0xa3, 0x07, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x17, 0x0a,
449 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08,
450 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
451 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
452 0x01, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25,
453 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
454 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
455 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
456 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
457 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
458 0x61, 0x70, 0x70, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
459 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
460 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
461 0x65, 0x12, 0x5d, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f,
462 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e,
463 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x70,
464 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72,
465 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x73,
466 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73,
467 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x06,
468 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
469 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x70, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74,
470 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x61,
471 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x61, 0x0a, 0x12, 0x64, 0x69, 0x73,
472 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18,
473 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x29,
474 0x12, 0x27, 0x61, 0x70, 0x70, 0x68, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
475 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
476 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x11, 0x64, 0x69, 0x73, 0x63, 0x6f,
477 0x76, 0x65, 0x72, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x40, 0x0a, 0x0b,
478 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
479 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
480 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
481 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40,
482 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20,
483 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
484 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42,
485 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
486 0x12, 0x1d, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xe0,
487 0x41, 0x03, 0xe2, 0x8c, 0xcf, 0xd7, 0x08, 0x02, 0x08, 0x01, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12,
488 0x40, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25,
489 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70,
490 0x70, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
491 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74,
492 0x65, 0x22, 0x54, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54,
493 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
494 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12,
495 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44,
496 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x54,
497 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, 0x04, 0x3a, 0x8d, 0x01, 0xea, 0x41, 0x89, 0x01, 0x0a, 0x1d,
498 0x61, 0x70, 0x70, 0x68, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
499 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x55, 0x70,
500 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
501 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63,
502 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69,
503 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
504 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76,
505 0x69, 0x63, 0x65, 0x7d, 0x2a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x32, 0x07,
506 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x29, 0x0a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x69,
507 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75,
508 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75,
509 0x72, 0x69, 0x22, 0x73, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f,
510 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x67, 0x63, 0x70, 0x5f, 0x70,
511 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
512 0x03, 0x52, 0x0a, 0x67, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1f, 0x0a,
513 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
514 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17,
515 0x0a, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
516 0x03, 0x52, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x8f, 0x03, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x63,
517 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x17, 0x0a,
518 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08,
519 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
520 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
521 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
522 0x2e, 0x61, 0x70, 0x70, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69,
523 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03,
524 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
525 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x72,
526 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29,
527 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70,
528 0x70, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50,
529 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11,
530 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,
531 0x73, 0x3a, 0xa5, 0x01, 0xea, 0x41, 0xa1, 0x01, 0x0a, 0x27, 0x61, 0x70, 0x70, 0x68, 0x75, 0x62,
532 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
533 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
534 0x65, 0x12, 0x4f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
535 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
536 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f,
537 0x76, 0x65, 0x72, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x64,
538 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
539 0x65, 0x7d, 0x2a, 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x53, 0x65,
540 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x32, 0x11, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
541 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0xae, 0x01, 0x0a, 0x1a, 0x63, 0x6f,
542 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
543 0x70, 0x70, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
544 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
545 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70,
546 0x70, 0x68, 0x75, 0x62, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x68, 0x75,
547 0x62, 0x70, 0x62, 0x3b, 0x61, 0x70, 0x70, 0x68, 0x75, 0x62, 0x70, 0x62, 0xaa, 0x02, 0x16, 0x47,
548 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x70, 0x70, 0x48,
549 0x75, 0x62, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43,
550 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x70, 0x70, 0x48, 0x75, 0x62, 0x5c, 0x56, 0x31, 0xea, 0x02,
551 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
552 0x41, 0x70, 0x70, 0x48, 0x75, 0x62, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
553 0x6f, 0x33,
554 }
555
556 var (
557 file_google_cloud_apphub_v1_service_proto_rawDescOnce sync.Once
558 file_google_cloud_apphub_v1_service_proto_rawDescData = file_google_cloud_apphub_v1_service_proto_rawDesc
559 )
560
561 func file_google_cloud_apphub_v1_service_proto_rawDescGZIP() []byte {
562 file_google_cloud_apphub_v1_service_proto_rawDescOnce.Do(func() {
563 file_google_cloud_apphub_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_apphub_v1_service_proto_rawDescData)
564 })
565 return file_google_cloud_apphub_v1_service_proto_rawDescData
566 }
567
568 var file_google_cloud_apphub_v1_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
569 var file_google_cloud_apphub_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
570 var file_google_cloud_apphub_v1_service_proto_goTypes = []any{
571 (Service_State)(0), // 0: google.cloud.apphub.v1.Service.State
572 (*Service)(nil), // 1: google.cloud.apphub.v1.Service
573 (*ServiceReference)(nil), // 2: google.cloud.apphub.v1.ServiceReference
574 (*ServiceProperties)(nil), // 3: google.cloud.apphub.v1.ServiceProperties
575 (*DiscoveredService)(nil), // 4: google.cloud.apphub.v1.DiscoveredService
576 (*Attributes)(nil), // 5: google.cloud.apphub.v1.Attributes
577 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
578 }
579 var file_google_cloud_apphub_v1_service_proto_depIdxs = []int32{
580 2, // 0: google.cloud.apphub.v1.Service.service_reference:type_name -> google.cloud.apphub.v1.ServiceReference
581 3, // 1: google.cloud.apphub.v1.Service.service_properties:type_name -> google.cloud.apphub.v1.ServiceProperties
582 5, // 2: google.cloud.apphub.v1.Service.attributes:type_name -> google.cloud.apphub.v1.Attributes
583 6, // 3: google.cloud.apphub.v1.Service.create_time:type_name -> google.protobuf.Timestamp
584 6, // 4: google.cloud.apphub.v1.Service.update_time:type_name -> google.protobuf.Timestamp
585 0, // 5: google.cloud.apphub.v1.Service.state:type_name -> google.cloud.apphub.v1.Service.State
586 2, // 6: google.cloud.apphub.v1.DiscoveredService.service_reference:type_name -> google.cloud.apphub.v1.ServiceReference
587 3, // 7: google.cloud.apphub.v1.DiscoveredService.service_properties:type_name -> google.cloud.apphub.v1.ServiceProperties
588 8, // [8:8] is the sub-list for method output_type
589 8, // [8:8] is the sub-list for method input_type
590 8, // [8:8] is the sub-list for extension type_name
591 8, // [8:8] is the sub-list for extension extendee
592 0, // [0:8] is the sub-list for field type_name
593 }
594
595 func init() { file_google_cloud_apphub_v1_service_proto_init() }
596 func file_google_cloud_apphub_v1_service_proto_init() {
597 if File_google_cloud_apphub_v1_service_proto != nil {
598 return
599 }
600 file_google_cloud_apphub_v1_attributes_proto_init()
601 type x struct{}
602 out := protoimpl.TypeBuilder{
603 File: protoimpl.DescBuilder{
604 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
605 RawDescriptor: file_google_cloud_apphub_v1_service_proto_rawDesc,
606 NumEnums: 1,
607 NumMessages: 4,
608 NumExtensions: 0,
609 NumServices: 0,
610 },
611 GoTypes: file_google_cloud_apphub_v1_service_proto_goTypes,
612 DependencyIndexes: file_google_cloud_apphub_v1_service_proto_depIdxs,
613 EnumInfos: file_google_cloud_apphub_v1_service_proto_enumTypes,
614 MessageInfos: file_google_cloud_apphub_v1_service_proto_msgTypes,
615 }.Build()
616 File_google_cloud_apphub_v1_service_proto = out.File
617 file_google_cloud_apphub_v1_service_proto_rawDesc = nil
618 file_google_cloud_apphub_v1_service_proto_goTypes = nil
619 file_google_cloud_apphub_v1_service_proto_depIdxs = nil
620 }