Debian Codegraph @

apigeeconnect/apiv1/apigeeconnectpb/tether.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/apigeeconnect/v1/tether.proto
20
21 package apigeeconnectpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 status "google.golang.org/genproto/googleapis/rpc/status"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 durationpb "google.golang.org/protobuf/types/known/durationpb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // The action taken by agent.
41 type Action int32
42
43 const (
44 // Unspecified Action.
45 Action_ACTION_UNSPECIFIED Action = 0
46 // Indicates that agent should open a new stream.
47 Action_OPEN_NEW_STREAM Action = 1
48 )
49
50 // Enum value maps for Action.
51 var (
52 Action_name = map[int32]string{
53 0: "ACTION_UNSPECIFIED",
54 1: "OPEN_NEW_STREAM",
55 }
56 Action_value = map[string]int32{
57 "ACTION_UNSPECIFIED": 0,
58 "OPEN_NEW_STREAM": 1,
59 }
60 )
61
62 func (x Action) Enum() *Action {
63 p := new(Action)
64 *p = x
65 return p
66 }
67
68 func (x Action) String() string {
69 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
70 }
71
72 func (Action) Descriptor() protoreflect.EnumDescriptor {
73 return file_google_cloud_apigeeconnect_v1_tether_proto_enumTypes[0].Descriptor()
74 }
75
76 func (Action) Type() protoreflect.EnumType {
77 return &file_google_cloud_apigeeconnect_v1_tether_proto_enumTypes[0]
78 }
79
80 func (x Action) Number() protoreflect.EnumNumber {
81 return protoreflect.EnumNumber(x)
82 }
83
84 // Deprecated: Use Action.Descriptor instead.
85 func (Action) EnumDescriptor() ([]byte, []int) {
86 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{0}
87 }
88
89 // Endpoint indicates where the messages will be delivered.
90 type TetherEndpoint int32
91
92 const (
93 // Unspecified tether endpoint.
94 TetherEndpoint_TETHER_ENDPOINT_UNSPECIFIED TetherEndpoint = 0
95 // Apigee MART endpoint.
96 TetherEndpoint_APIGEE_MART TetherEndpoint = 1
97 // Apigee Runtime endpoint.
98 TetherEndpoint_APIGEE_RUNTIME TetherEndpoint = 2
99 // Apigee Mint Rating endpoint.
100 TetherEndpoint_APIGEE_MINT_RATING TetherEndpoint = 3
101 )
102
103 // Enum value maps for TetherEndpoint.
104 var (
105 TetherEndpoint_name = map[int32]string{
106 0: "TETHER_ENDPOINT_UNSPECIFIED",
107 1: "APIGEE_MART",
108 2: "APIGEE_RUNTIME",
109 3: "APIGEE_MINT_RATING",
110 }
111 TetherEndpoint_value = map[string]int32{
112 "TETHER_ENDPOINT_UNSPECIFIED": 0,
113 "APIGEE_MART": 1,
114 "APIGEE_RUNTIME": 2,
115 "APIGEE_MINT_RATING": 3,
116 }
117 )
118
119 func (x TetherEndpoint) Enum() *TetherEndpoint {
120 p := new(TetherEndpoint)
121 *p = x
122 return p
123 }
124
125 func (x TetherEndpoint) String() string {
126 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
127 }
128
129 func (TetherEndpoint) Descriptor() protoreflect.EnumDescriptor {
130 return file_google_cloud_apigeeconnect_v1_tether_proto_enumTypes[1].Descriptor()
131 }
132
133 func (TetherEndpoint) Type() protoreflect.EnumType {
134 return &file_google_cloud_apigeeconnect_v1_tether_proto_enumTypes[1]
135 }
136
137 func (x TetherEndpoint) Number() protoreflect.EnumNumber {
138 return protoreflect.EnumNumber(x)
139 }
140
141 // Deprecated: Use TetherEndpoint.Descriptor instead.
142 func (TetherEndpoint) EnumDescriptor() ([]byte, []int) {
143 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{1}
144 }
145
146 // HTTP Scheme.
147 type Scheme int32
148
149 const (
150 // Unspecified scheme.
151 Scheme_SCHEME_UNSPECIFIED Scheme = 0
152 // HTTPS protocol.
153 Scheme_HTTPS Scheme = 1
154 )
155
156 // Enum value maps for Scheme.
157 var (
158 Scheme_name = map[int32]string{
159 0: "SCHEME_UNSPECIFIED",
160 1: "HTTPS",
161 }
162 Scheme_value = map[string]int32{
163 "SCHEME_UNSPECIFIED": 0,
164 "HTTPS": 1,
165 }
166 )
167
168 func (x Scheme) Enum() *Scheme {
169 p := new(Scheme)
170 *p = x
171 return p
172 }
173
174 func (x Scheme) String() string {
175 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
176 }
177
178 func (Scheme) Descriptor() protoreflect.EnumDescriptor {
179 return file_google_cloud_apigeeconnect_v1_tether_proto_enumTypes[2].Descriptor()
180 }
181
182 func (Scheme) Type() protoreflect.EnumType {
183 return &file_google_cloud_apigeeconnect_v1_tether_proto_enumTypes[2]
184 }
185
186 func (x Scheme) Number() protoreflect.EnumNumber {
187 return protoreflect.EnumNumber(x)
188 }
189
190 // Deprecated: Use Scheme.Descriptor instead.
191 func (Scheme) EnumDescriptor() ([]byte, []int) {
192 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{2}
193 }
194
195 // gRPC request payload for tether.
196 type EgressRequest struct {
197 state protoimpl.MessageState
198 sizeCache protoimpl.SizeCache
199 unknownFields protoimpl.UnknownFields
200
201 // Unique identifier for the request.
202 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
203 // Actual payload to send to agent.
204 Payload *Payload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
205 // Tether Endpoint.
206 Endpoint TetherEndpoint `protobuf:"varint,3,opt,name=endpoint,proto3,enum=google.cloud.apigeeconnect.v1.TetherEndpoint" json:"endpoint,omitempty"`
207 // GCP Project.
208 // Format: `projects/{project_number}`.
209 Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
210 // Unique identifier for clients to trace their request/response.
211 TraceId string `protobuf:"bytes,5,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
212 // Timeout for the HTTP request.
213 Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
214 }
215
216 func (x *EgressRequest) Reset() {
217 *x = EgressRequest{}
218 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[0]
219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
220 ms.StoreMessageInfo(mi)
221 }
222
223 func (x *EgressRequest) String() string {
224 return protoimpl.X.MessageStringOf(x)
225 }
226
227 func (*EgressRequest) ProtoMessage() {}
228
229 func (x *EgressRequest) ProtoReflect() protoreflect.Message {
230 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[0]
231 if x != nil {
232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
233 if ms.LoadMessageInfo() == nil {
234 ms.StoreMessageInfo(mi)
235 }
236 return ms
237 }
238 return mi.MessageOf(x)
239 }
240
241 // Deprecated: Use EgressRequest.ProtoReflect.Descriptor instead.
242 func (*EgressRequest) Descriptor() ([]byte, []int) {
243 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{0}
244 }
245
246 func (x *EgressRequest) GetId() string {
247 if x != nil {
248 return x.Id
249 }
250 return ""
251 }
252
253 func (x *EgressRequest) GetPayload() *Payload {
254 if x != nil {
255 return x.Payload
256 }
257 return nil
258 }
259
260 func (x *EgressRequest) GetEndpoint() TetherEndpoint {
261 if x != nil {
262 return x.Endpoint
263 }
264 return TetherEndpoint_TETHER_ENDPOINT_UNSPECIFIED
265 }
266
267 func (x *EgressRequest) GetProject() string {
268 if x != nil {
269 return x.Project
270 }
271 return ""
272 }
273
274 func (x *EgressRequest) GetTraceId() string {
275 if x != nil {
276 return x.TraceId
277 }
278 return ""
279 }
280
281 func (x *EgressRequest) GetTimeout() *durationpb.Duration {
282 if x != nil {
283 return x.Timeout
284 }
285 return nil
286 }
287
288 // Payload for EgressRequest.
289 type Payload struct {
290 state protoimpl.MessageState
291 sizeCache protoimpl.SizeCache
292 unknownFields protoimpl.UnknownFields
293
294 // The kind of payload.
295 //
296 // Types that are assignable to Kind:
297 //
298 // *Payload_HttpRequest
299 // *Payload_StreamInfo
300 // *Payload_Action
301 Kind isPayload_Kind `protobuf_oneof:"kind"`
302 }
303
304 func (x *Payload) Reset() {
305 *x = Payload{}
306 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[1]
307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
308 ms.StoreMessageInfo(mi)
309 }
310
311 func (x *Payload) String() string {
312 return protoimpl.X.MessageStringOf(x)
313 }
314
315 func (*Payload) ProtoMessage() {}
316
317 func (x *Payload) ProtoReflect() protoreflect.Message {
318 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[1]
319 if x != nil {
320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
321 if ms.LoadMessageInfo() == nil {
322 ms.StoreMessageInfo(mi)
323 }
324 return ms
325 }
326 return mi.MessageOf(x)
327 }
328
329 // Deprecated: Use Payload.ProtoReflect.Descriptor instead.
330 func (*Payload) Descriptor() ([]byte, []int) {
331 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{1}
332 }
333
334 func (m *Payload) GetKind() isPayload_Kind {
335 if m != nil {
336 return m.Kind
337 }
338 return nil
339 }
340
341 func (x *Payload) GetHttpRequest() *HttpRequest {
342 if x, ok := x.GetKind().(*Payload_HttpRequest); ok {
343 return x.HttpRequest
344 }
345 return nil
346 }
347
348 func (x *Payload) GetStreamInfo() *StreamInfo {
349 if x, ok := x.GetKind().(*Payload_StreamInfo); ok {
350 return x.StreamInfo
351 }
352 return nil
353 }
354
355 func (x *Payload) GetAction() Action {
356 if x, ok := x.GetKind().(*Payload_Action); ok {
357 return x.Action
358 }
359 return Action_ACTION_UNSPECIFIED
360 }
361
362 type isPayload_Kind interface {
363 isPayload_Kind()
364 }
365
366 type Payload_HttpRequest struct {
367 // The HttpRequest proto.
368 HttpRequest *HttpRequest `protobuf:"bytes,1,opt,name=http_request,json=httpRequest,proto3,oneof"`
369 }
370
371 type Payload_StreamInfo struct {
372 // The information of stream.
373 StreamInfo *StreamInfo `protobuf:"bytes,2,opt,name=stream_info,json=streamInfo,proto3,oneof"`
374 }
375
376 type Payload_Action struct {
377 // The action taken by agent.
378 Action Action `protobuf:"varint,3,opt,name=action,proto3,enum=google.cloud.apigeeconnect.v1.Action,oneof"`
379 }
380
381 func (*Payload_HttpRequest) isPayload_Kind() {}
382
383 func (*Payload_StreamInfo) isPayload_Kind() {}
384
385 func (*Payload_Action) isPayload_Kind() {}
386
387 // The Information of bi-directional stream.
388 type StreamInfo struct {
389 state protoimpl.MessageState
390 sizeCache protoimpl.SizeCache
391 unknownFields protoimpl.UnknownFields
392
393 // Unique identifier for the stream.
394 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
395 }
396
397 func (x *StreamInfo) Reset() {
398 *x = StreamInfo{}
399 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[2]
400 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
401 ms.StoreMessageInfo(mi)
402 }
403
404 func (x *StreamInfo) String() string {
405 return protoimpl.X.MessageStringOf(x)
406 }
407
408 func (*StreamInfo) ProtoMessage() {}
409
410 func (x *StreamInfo) ProtoReflect() protoreflect.Message {
411 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[2]
412 if x != nil {
413 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
414 if ms.LoadMessageInfo() == nil {
415 ms.StoreMessageInfo(mi)
416 }
417 return ms
418 }
419 return mi.MessageOf(x)
420 }
421
422 // Deprecated: Use StreamInfo.ProtoReflect.Descriptor instead.
423 func (*StreamInfo) Descriptor() ([]byte, []int) {
424 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{2}
425 }
426
427 func (x *StreamInfo) GetId() string {
428 if x != nil {
429 return x.Id
430 }
431 return ""
432 }
433
434 // gRPC response payload for tether.
435 type EgressResponse struct {
436 state protoimpl.MessageState
437 sizeCache protoimpl.SizeCache
438 unknownFields protoimpl.UnknownFields
439
440 // Unique identifier for the response. Matches the EgressRequest's id.
441 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
442 // HttpResponse.
443 HttpResponse *HttpResponse `protobuf:"bytes,2,opt,name=http_response,json=httpResponse,proto3" json:"http_response,omitempty"`
444 // Errors from application when handling the http request.
445 Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
446 // GCP Project.
447 // Format: `projects/{project_number}`.
448 Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
449 // Unique identifier for clients to trace their request/response. Matches the
450 // EgressRequest's trace id
451 TraceId string `protobuf:"bytes,5,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
452 // Tether Endpoint.
453 Endpoint TetherEndpoint `protobuf:"varint,6,opt,name=endpoint,proto3,enum=google.cloud.apigeeconnect.v1.TetherEndpoint" json:"endpoint,omitempty"`
454 // Name is the full resource path of endpoint.
455 // Format: `projects/{project_number or project_id}/endpoints/{endpoint}`
456 Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
457 }
458
459 func (x *EgressResponse) Reset() {
460 *x = EgressResponse{}
461 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[3]
462 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
463 ms.StoreMessageInfo(mi)
464 }
465
466 func (x *EgressResponse) String() string {
467 return protoimpl.X.MessageStringOf(x)
468 }
469
470 func (*EgressResponse) ProtoMessage() {}
471
472 func (x *EgressResponse) ProtoReflect() protoreflect.Message {
473 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[3]
474 if x != nil {
475 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
476 if ms.LoadMessageInfo() == nil {
477 ms.StoreMessageInfo(mi)
478 }
479 return ms
480 }
481 return mi.MessageOf(x)
482 }
483
484 // Deprecated: Use EgressResponse.ProtoReflect.Descriptor instead.
485 func (*EgressResponse) Descriptor() ([]byte, []int) {
486 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{3}
487 }
488
489 func (x *EgressResponse) GetId() string {
490 if x != nil {
491 return x.Id
492 }
493 return ""
494 }
495
496 func (x *EgressResponse) GetHttpResponse() *HttpResponse {
497 if x != nil {
498 return x.HttpResponse
499 }
500 return nil
501 }
502
503 func (x *EgressResponse) GetStatus() *status.Status {
504 if x != nil {
505 return x.Status
506 }
507 return nil
508 }
509
510 func (x *EgressResponse) GetProject() string {
511 if x != nil {
512 return x.Project
513 }
514 return ""
515 }
516
517 func (x *EgressResponse) GetTraceId() string {
518 if x != nil {
519 return x.TraceId
520 }
521 return ""
522 }
523
524 func (x *EgressResponse) GetEndpoint() TetherEndpoint {
525 if x != nil {
526 return x.Endpoint
527 }
528 return TetherEndpoint_TETHER_ENDPOINT_UNSPECIFIED
529 }
530
531 func (x *EgressResponse) GetName() string {
532 if x != nil {
533 return x.Name
534 }
535 return ""
536 }
537
538 // The proto definition of http request.
539 type HttpRequest struct {
540 state protoimpl.MessageState
541 sizeCache protoimpl.SizeCache
542 unknownFields protoimpl.UnknownFields
543
544 // A unique identifier for the request.
545 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
546 // The HTTP request method.
547 // Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
548 Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
549 // The HTTP request URL.
550 Url *Url `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
551 // The HTTP request headers.
552 Headers []*Header `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"`
553 // HTTP request body.
554 Body []byte `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
555 }
556
557 func (x *HttpRequest) Reset() {
558 *x = HttpRequest{}
559 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[4]
560 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
561 ms.StoreMessageInfo(mi)
562 }
563
564 func (x *HttpRequest) String() string {
565 return protoimpl.X.MessageStringOf(x)
566 }
567
568 func (*HttpRequest) ProtoMessage() {}
569
570 func (x *HttpRequest) ProtoReflect() protoreflect.Message {
571 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[4]
572 if x != nil {
573 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
574 if ms.LoadMessageInfo() == nil {
575 ms.StoreMessageInfo(mi)
576 }
577 return ms
578 }
579 return mi.MessageOf(x)
580 }
581
582 // Deprecated: Use HttpRequest.ProtoReflect.Descriptor instead.
583 func (*HttpRequest) Descriptor() ([]byte, []int) {
584 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{4}
585 }
586
587 func (x *HttpRequest) GetId() string {
588 if x != nil {
589 return x.Id
590 }
591 return ""
592 }
593
594 func (x *HttpRequest) GetMethod() string {
595 if x != nil {
596 return x.Method
597 }
598 return ""
599 }
600
601 func (x *HttpRequest) GetUrl() *Url {
602 if x != nil {
603 return x.Url
604 }
605 return nil
606 }
607
608 func (x *HttpRequest) GetHeaders() []*Header {
609 if x != nil {
610 return x.Headers
611 }
612 return nil
613 }
614
615 func (x *HttpRequest) GetBody() []byte {
616 if x != nil {
617 return x.Body
618 }
619 return nil
620 }
621
622 // The proto definition of url.
623 // A url represents a URL and the general form represented is:
624 //
625 // `[scheme://][google.cloud.apigeeconnect.v1.Url.host][path]`
626 type Url struct {
627 state protoimpl.MessageState
628 sizeCache protoimpl.SizeCache
629 unknownFields protoimpl.UnknownFields
630
631 // Scheme.
632 Scheme Scheme `protobuf:"varint,1,opt,name=scheme,proto3,enum=google.cloud.apigeeconnect.v1.Scheme" json:"scheme,omitempty"`
633 // Host or Host:Port.
634 Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
635 // Path starts with `/`.
636 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
637 }
638
639 func (x *Url) Reset() {
640 *x = Url{}
641 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[5]
642 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
643 ms.StoreMessageInfo(mi)
644 }
645
646 func (x *Url) String() string {
647 return protoimpl.X.MessageStringOf(x)
648 }
649
650 func (*Url) ProtoMessage() {}
651
652 func (x *Url) ProtoReflect() protoreflect.Message {
653 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[5]
654 if x != nil {
655 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
656 if ms.LoadMessageInfo() == nil {
657 ms.StoreMessageInfo(mi)
658 }
659 return ms
660 }
661 return mi.MessageOf(x)
662 }
663
664 // Deprecated: Use Url.ProtoReflect.Descriptor instead.
665 func (*Url) Descriptor() ([]byte, []int) {
666 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{5}
667 }
668
669 func (x *Url) GetScheme() Scheme {
670 if x != nil {
671 return x.Scheme
672 }
673 return Scheme_SCHEME_UNSPECIFIED
674 }
675
676 func (x *Url) GetHost() string {
677 if x != nil {
678 return x.Host
679 }
680 return ""
681 }
682
683 func (x *Url) GetPath() string {
684 if x != nil {
685 return x.Path
686 }
687 return ""
688 }
689
690 // The http headers.
691 type Header struct {
692 state protoimpl.MessageState
693 sizeCache protoimpl.SizeCache
694 unknownFields protoimpl.UnknownFields
695
696 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
697 Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
698 }
699
700 func (x *Header) Reset() {
701 *x = Header{}
702 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[6]
703 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
704 ms.StoreMessageInfo(mi)
705 }
706
707 func (x *Header) String() string {
708 return protoimpl.X.MessageStringOf(x)
709 }
710
711 func (*Header) ProtoMessage() {}
712
713 func (x *Header) ProtoReflect() protoreflect.Message {
714 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[6]
715 if x != nil {
716 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
717 if ms.LoadMessageInfo() == nil {
718 ms.StoreMessageInfo(mi)
719 }
720 return ms
721 }
722 return mi.MessageOf(x)
723 }
724
725 // Deprecated: Use Header.ProtoReflect.Descriptor instead.
726 func (*Header) Descriptor() ([]byte, []int) {
727 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{6}
728 }
729
730 func (x *Header) GetKey() string {
731 if x != nil {
732 return x.Key
733 }
734 return ""
735 }
736
737 func (x *Header) GetValues() []string {
738 if x != nil {
739 return x.Values
740 }
741 return nil
742 }
743
744 // The proto definition of http response.
745 type HttpResponse struct {
746 state protoimpl.MessageState
747 sizeCache protoimpl.SizeCache
748 unknownFields protoimpl.UnknownFields
749
750 // A unique identifier that matches the request ID.
751 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
752 // Status of http response, e.g. "200 OK".
753 Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
754 // Status code of http response, e.g. 200.
755 StatusCode int32 `protobuf:"varint,3,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
756 // The HTTP 1.1 response body.
757 Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
758 // The HTTP response headers.
759 Headers []*Header `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
760 // Content length records the length of the associated content. The
761 // value -1 indicates that the length is unknown. Unless http method
762 // is "HEAD", values >= 0 indicate that the given number of bytes may
763 // be read from Body.
764 ContentLength int64 `protobuf:"varint,6,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
765 }
766
767 func (x *HttpResponse) Reset() {
768 *x = HttpResponse{}
769 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[7]
770 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
771 ms.StoreMessageInfo(mi)
772 }
773
774 func (x *HttpResponse) String() string {
775 return protoimpl.X.MessageStringOf(x)
776 }
777
778 func (*HttpResponse) ProtoMessage() {}
779
780 func (x *HttpResponse) ProtoReflect() protoreflect.Message {
781 mi := &file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[7]
782 if x != nil {
783 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
784 if ms.LoadMessageInfo() == nil {
785 ms.StoreMessageInfo(mi)
786 }
787 return ms
788 }
789 return mi.MessageOf(x)
790 }
791
792 // Deprecated: Use HttpResponse.ProtoReflect.Descriptor instead.
793 func (*HttpResponse) Descriptor() ([]byte, []int) {
794 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP(), []int{7}
795 }
796
797 func (x *HttpResponse) GetId() string {
798 if x != nil {
799 return x.Id
800 }
801 return ""
802 }
803
804 func (x *HttpResponse) GetStatus() string {
805 if x != nil {
806 return x.Status
807 }
808 return ""
809 }
810
811 func (x *HttpResponse) GetStatusCode() int32 {
812 if x != nil {
813 return x.StatusCode
814 }
815 return 0
816 }
817
818 func (x *HttpResponse) GetBody() []byte {
819 if x != nil {
820 return x.Body
821 }
822 return nil
823 }
824
825 func (x *HttpResponse) GetHeaders() []*Header {
826 if x != nil {
827 return x.Headers
828 }
829 return nil
830 }
831
832 func (x *HttpResponse) GetContentLength() int64 {
833 if x != nil {
834 return x.ContentLength
835 }
836 return 0
837 }
838
839 var File_google_cloud_apigeeconnect_v1_tether_proto protoreflect.FileDescriptor
840
841 var file_google_cloud_apigeeconnect_v1_tether_proto_rawDesc = []byte{
842 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
843 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2f, 0x76, 0x31, 0x2f,
844 0x74, 0x65, 0x74, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f,
845 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x67, 0x65,
846 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f,
847 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72,
848 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f,
849 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
850 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
851 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 0x02,
852 0x0a, 0x0d, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
853 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
854 0x40, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
855 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
856 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31,
857 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61,
858 0x64, 0x12, 0x49, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20,
859 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
860 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
861 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x74, 0x68, 0x65, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
862 0x6e, 0x74, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07,
863 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70,
864 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f,
865 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49,
866 0x64, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01,
867 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
868 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74,
869 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0xf1, 0x01, 0x0a, 0x07, 0x50, 0x61, 0x79, 0x6c, 0x6f,
870 0x61, 0x64, 0x12, 0x4f, 0x0a, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65,
871 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
872 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f,
873 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71,
874 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75,
875 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x6e,
876 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
877 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f,
878 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49,
879 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66,
880 0x6f, 0x12, 0x3f, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
881 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
882 0x2e, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76,
883 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69,
884 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x1c, 0x0a, 0x0a, 0x53, 0x74,
885 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
886 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xb2, 0x02, 0x0a, 0x0e, 0x45, 0x67, 0x72,
887 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
888 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x50, 0x0a, 0x0d, 0x68,
889 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01,
890 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
891 0x64, 0x2e, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e,
892 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52,
893 0x0c, 0x68, 0x74, 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a,
894 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
895 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
896 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f,
897 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a,
898 0x65, 0x63, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18,
899 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x49,
900 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e,
901 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
902 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31,
903 0x2e, 0x54, 0x65, 0x74, 0x68, 0x65, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52,
904 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
905 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc0, 0x01,
906 0x0a, 0x0b, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
907 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a,
908 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d,
909 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x34, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01,
910 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
911 0x64, 0x2e, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e,
912 0x76, 0x31, 0x2e, 0x55, 0x72, 0x6c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x3f, 0x0a, 0x07, 0x68,
913 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67,
914 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x67,
915 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61,
916 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04,
917 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79,
918 0x22, 0x6c, 0x0a, 0x03, 0x55, 0x72, 0x6c, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d,
919 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
920 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e,
921 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x06,
922 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02,
923 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61,
924 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x32,
925 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
926 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61,
927 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75,
928 0x65, 0x73, 0x22, 0xd3, 0x01, 0x0a, 0x0c, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f,
929 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
930 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20,
931 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
932 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
933 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04,
934 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79,
935 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
936 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
937 0x2e, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76,
938 0x31, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
939 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x65, 0x6e,
940 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65,
941 0x6e, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x2a, 0x35, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69,
942 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53,
943 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4f, 0x50,
944 0x45, 0x4e, 0x5f, 0x4e, 0x45, 0x57, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, 0x01, 0x2a,
945 0x6e, 0x0a, 0x0e, 0x54, 0x65, 0x74, 0x68, 0x65, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
946 0x74, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x45, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x4e, 0x44, 0x50,
947 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
948 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x50, 0x49, 0x47, 0x45, 0x45, 0x5f, 0x4d, 0x41, 0x52,
949 0x54, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x50, 0x49, 0x47, 0x45, 0x45, 0x5f, 0x52, 0x55,
950 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x50, 0x49, 0x47, 0x45,
951 0x45, 0x5f, 0x4d, 0x49, 0x4e, 0x54, 0x5f, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x2a,
952 0x2b, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x43, 0x48,
953 0x45, 0x4d, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
954 0x00, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50, 0x53, 0x10, 0x01, 0x32, 0xc7, 0x01, 0x0a,
955 0x06, 0x54, 0x65, 0x74, 0x68, 0x65, 0x72, 0x12, 0x6b, 0x0a, 0x06, 0x45, 0x67, 0x72, 0x65, 0x73,
956 0x73, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
957 0x2e, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76,
958 0x31, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
959 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
960 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31,
961 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x00,
962 0x28, 0x01, 0x30, 0x01, 0x1a, 0x50, 0xca, 0x41, 0x1c, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63,
963 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
964 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f,
965 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
966 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c,
967 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xde, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
968 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x67,
969 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x54, 0x65,
970 0x74, 0x68, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x63, 0x6c, 0x6f,
971 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
972 0x2f, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2f, 0x61,
973 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
974 0x63, 0x74, 0x70, 0x62, 0x3b, 0x61, 0x70, 0x69, 0x67, 0x65, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
975 0x63, 0x74, 0x70, 0x62, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c,
976 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x70, 0x69, 0x67, 0x65, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
977 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
978 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x70, 0x69, 0x67, 0x65, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
979 0x74, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
980 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x67, 0x65, 0x65, 0x43, 0x6f, 0x6e, 0x6e,
981 0x65, 0x63, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
982 }
983
984 var (
985 file_google_cloud_apigeeconnect_v1_tether_proto_rawDescOnce sync.Once
986 file_google_cloud_apigeeconnect_v1_tether_proto_rawDescData = file_google_cloud_apigeeconnect_v1_tether_proto_rawDesc
987 )
988
989 func file_google_cloud_apigeeconnect_v1_tether_proto_rawDescGZIP() []byte {
990 file_google_cloud_apigeeconnect_v1_tether_proto_rawDescOnce.Do(func() {
991 file_google_cloud_apigeeconnect_v1_tether_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_apigeeconnect_v1_tether_proto_rawDescData)
992 })
993 return file_google_cloud_apigeeconnect_v1_tether_proto_rawDescData
994 }
995
996 var file_google_cloud_apigeeconnect_v1_tether_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
997 var file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
998 var file_google_cloud_apigeeconnect_v1_tether_proto_goTypes = []any{
999 (Action)(0), // 0: google.cloud.apigeeconnect.v1.Action
1000 (TetherEndpoint)(0), // 1: google.cloud.apigeeconnect.v1.TetherEndpoint
1001 (Scheme)(0), // 2: google.cloud.apigeeconnect.v1.Scheme
1002 (*EgressRequest)(nil), // 3: google.cloud.apigeeconnect.v1.EgressRequest
1003 (*Payload)(nil), // 4: google.cloud.apigeeconnect.v1.Payload
1004 (*StreamInfo)(nil), // 5: google.cloud.apigeeconnect.v1.StreamInfo
1005 (*EgressResponse)(nil), // 6: google.cloud.apigeeconnect.v1.EgressResponse
1006 (*HttpRequest)(nil), // 7: google.cloud.apigeeconnect.v1.HttpRequest
1007 (*Url)(nil), // 8: google.cloud.apigeeconnect.v1.Url
1008 (*Header)(nil), // 9: google.cloud.apigeeconnect.v1.Header
1009 (*HttpResponse)(nil), // 10: google.cloud.apigeeconnect.v1.HttpResponse
1010 (*durationpb.Duration)(nil), // 11: google.protobuf.Duration
1011 (*status.Status)(nil), // 12: google.rpc.Status
1012 }
1013 var file_google_cloud_apigeeconnect_v1_tether_proto_depIdxs = []int32{
1014 4, // 0: google.cloud.apigeeconnect.v1.EgressRequest.payload:type_name -> google.cloud.apigeeconnect.v1.Payload
1015 1, // 1: google.cloud.apigeeconnect.v1.EgressRequest.endpoint:type_name -> google.cloud.apigeeconnect.v1.TetherEndpoint
1016 11, // 2: google.cloud.apigeeconnect.v1.EgressRequest.timeout:type_name -> google.protobuf.Duration
1017 7, // 3: google.cloud.apigeeconnect.v1.Payload.http_request:type_name -> google.cloud.apigeeconnect.v1.HttpRequest
1018 5, // 4: google.cloud.apigeeconnect.v1.Payload.stream_info:type_name -> google.cloud.apigeeconnect.v1.StreamInfo
1019 0, // 5: google.cloud.apigeeconnect.v1.Payload.action:type_name -> google.cloud.apigeeconnect.v1.Action
1020 10, // 6: google.cloud.apigeeconnect.v1.EgressResponse.http_response:type_name -> google.cloud.apigeeconnect.v1.HttpResponse
1021 12, // 7: google.cloud.apigeeconnect.v1.EgressResponse.status:type_name -> google.rpc.Status
1022 1, // 8: google.cloud.apigeeconnect.v1.EgressResponse.endpoint:type_name -> google.cloud.apigeeconnect.v1.TetherEndpoint
1023 8, // 9: google.cloud.apigeeconnect.v1.HttpRequest.url:type_name -> google.cloud.apigeeconnect.v1.Url
1024 9, // 10: google.cloud.apigeeconnect.v1.HttpRequest.headers:type_name -> google.cloud.apigeeconnect.v1.Header
1025 2, // 11: google.cloud.apigeeconnect.v1.Url.scheme:type_name -> google.cloud.apigeeconnect.v1.Scheme
1026 9, // 12: google.cloud.apigeeconnect.v1.HttpResponse.headers:type_name -> google.cloud.apigeeconnect.v1.Header
1027 6, // 13: google.cloud.apigeeconnect.v1.Tether.Egress:input_type -> google.cloud.apigeeconnect.v1.EgressResponse
1028 3, // 14: google.cloud.apigeeconnect.v1.Tether.Egress:output_type -> google.cloud.apigeeconnect.v1.EgressRequest
1029 14, // [14:15] is the sub-list for method output_type
1030 13, // [13:14] is the sub-list for method input_type
1031 13, // [13:13] is the sub-list for extension type_name
1032 13, // [13:13] is the sub-list for extension extendee
1033 0, // [0:13] is the sub-list for field type_name
1034 }
1035
1036 func init() { file_google_cloud_apigeeconnect_v1_tether_proto_init() }
1037 func file_google_cloud_apigeeconnect_v1_tether_proto_init() {
1038 if File_google_cloud_apigeeconnect_v1_tether_proto != nil {
1039 return
1040 }
1041 file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes[1].OneofWrappers = []any{
1042 (*Payload_HttpRequest)(nil),
1043 (*Payload_StreamInfo)(nil),
1044 (*Payload_Action)(nil),
1045 }
1046 type x struct{}
1047 out := protoimpl.TypeBuilder{
1048 File: protoimpl.DescBuilder{
1049 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1050 RawDescriptor: file_google_cloud_apigeeconnect_v1_tether_proto_rawDesc,
1051 NumEnums: 3,
1052 NumMessages: 8,
1053 NumExtensions: 0,
1054 NumServices: 1,
1055 },
1056 GoTypes: file_google_cloud_apigeeconnect_v1_tether_proto_goTypes,
1057 DependencyIndexes: file_google_cloud_apigeeconnect_v1_tether_proto_depIdxs,
1058 EnumInfos: file_google_cloud_apigeeconnect_v1_tether_proto_enumTypes,
1059 MessageInfos: file_google_cloud_apigeeconnect_v1_tether_proto_msgTypes,
1060 }.Build()
1061 File_google_cloud_apigeeconnect_v1_tether_proto = out.File
1062 file_google_cloud_apigeeconnect_v1_tether_proto_rawDesc = nil
1063 file_google_cloud_apigeeconnect_v1_tether_proto_goTypes = nil
1064 file_google_cloud_apigeeconnect_v1_tether_proto_depIdxs = nil
1065 }