api_endpoint_service.pb.go raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.6
4 // protoc v3.21.12
5 // source: yandex/cloud/endpoint/api_endpoint_service.proto
6
7 package endpoint
8
9 import (
10 _ "google.golang.org/genproto/googleapis/api/annotations"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 unsafe "unsafe"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type GetApiEndpointRequest struct {
26 state protoimpl.MessageState `protogen:"open.v1"`
27 ApiEndpointId string `protobuf:"bytes,1,opt,name=api_endpoint_id,json=apiEndpointId,proto3" json:"api_endpoint_id,omitempty"`
28 unknownFields protoimpl.UnknownFields
29 sizeCache protoimpl.SizeCache
30 }
31
32 func (x *GetApiEndpointRequest) Reset() {
33 *x = GetApiEndpointRequest{}
34 mi := &file_yandex_cloud_endpoint_api_endpoint_service_proto_msgTypes[0]
35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
36 ms.StoreMessageInfo(mi)
37 }
38
39 func (x *GetApiEndpointRequest) String() string {
40 return protoimpl.X.MessageStringOf(x)
41 }
42
43 func (*GetApiEndpointRequest) ProtoMessage() {}
44
45 func (x *GetApiEndpointRequest) ProtoReflect() protoreflect.Message {
46 mi := &file_yandex_cloud_endpoint_api_endpoint_service_proto_msgTypes[0]
47 if x != nil {
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 if ms.LoadMessageInfo() == nil {
50 ms.StoreMessageInfo(mi)
51 }
52 return ms
53 }
54 return mi.MessageOf(x)
55 }
56
57 // Deprecated: Use GetApiEndpointRequest.ProtoReflect.Descriptor instead.
58 func (*GetApiEndpointRequest) Descriptor() ([]byte, []int) {
59 return file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDescGZIP(), []int{0}
60 }
61
62 func (x *GetApiEndpointRequest) GetApiEndpointId() string {
63 if x != nil {
64 return x.ApiEndpointId
65 }
66 return ""
67 }
68
69 type ListApiEndpointsRequest struct {
70 state protoimpl.MessageState `protogen:"open.v1"`
71 // Deprecated: Marked as deprecated in yandex/cloud/endpoint/api_endpoint_service.proto.
72 PageSize int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
73 // Deprecated: Marked as deprecated in yandex/cloud/endpoint/api_endpoint_service.proto.
74 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
75 unknownFields protoimpl.UnknownFields
76 sizeCache protoimpl.SizeCache
77 }
78
79 func (x *ListApiEndpointsRequest) Reset() {
80 *x = ListApiEndpointsRequest{}
81 mi := &file_yandex_cloud_endpoint_api_endpoint_service_proto_msgTypes[1]
82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
83 ms.StoreMessageInfo(mi)
84 }
85
86 func (x *ListApiEndpointsRequest) String() string {
87 return protoimpl.X.MessageStringOf(x)
88 }
89
90 func (*ListApiEndpointsRequest) ProtoMessage() {}
91
92 func (x *ListApiEndpointsRequest) ProtoReflect() protoreflect.Message {
93 mi := &file_yandex_cloud_endpoint_api_endpoint_service_proto_msgTypes[1]
94 if x != nil {
95 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
96 if ms.LoadMessageInfo() == nil {
97 ms.StoreMessageInfo(mi)
98 }
99 return ms
100 }
101 return mi.MessageOf(x)
102 }
103
104 // Deprecated: Use ListApiEndpointsRequest.ProtoReflect.Descriptor instead.
105 func (*ListApiEndpointsRequest) Descriptor() ([]byte, []int) {
106 return file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDescGZIP(), []int{1}
107 }
108
109 // Deprecated: Marked as deprecated in yandex/cloud/endpoint/api_endpoint_service.proto.
110 func (x *ListApiEndpointsRequest) GetPageSize() int64 {
111 if x != nil {
112 return x.PageSize
113 }
114 return 0
115 }
116
117 // Deprecated: Marked as deprecated in yandex/cloud/endpoint/api_endpoint_service.proto.
118 func (x *ListApiEndpointsRequest) GetPageToken() string {
119 if x != nil {
120 return x.PageToken
121 }
122 return ""
123 }
124
125 type ListApiEndpointsResponse struct {
126 state protoimpl.MessageState `protogen:"open.v1"`
127 Endpoints []*ApiEndpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
128 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
129 unknownFields protoimpl.UnknownFields
130 sizeCache protoimpl.SizeCache
131 }
132
133 func (x *ListApiEndpointsResponse) Reset() {
134 *x = ListApiEndpointsResponse{}
135 mi := &file_yandex_cloud_endpoint_api_endpoint_service_proto_msgTypes[2]
136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
137 ms.StoreMessageInfo(mi)
138 }
139
140 func (x *ListApiEndpointsResponse) String() string {
141 return protoimpl.X.MessageStringOf(x)
142 }
143
144 func (*ListApiEndpointsResponse) ProtoMessage() {}
145
146 func (x *ListApiEndpointsResponse) ProtoReflect() protoreflect.Message {
147 mi := &file_yandex_cloud_endpoint_api_endpoint_service_proto_msgTypes[2]
148 if x != nil {
149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
150 if ms.LoadMessageInfo() == nil {
151 ms.StoreMessageInfo(mi)
152 }
153 return ms
154 }
155 return mi.MessageOf(x)
156 }
157
158 // Deprecated: Use ListApiEndpointsResponse.ProtoReflect.Descriptor instead.
159 func (*ListApiEndpointsResponse) Descriptor() ([]byte, []int) {
160 return file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDescGZIP(), []int{2}
161 }
162
163 func (x *ListApiEndpointsResponse) GetEndpoints() []*ApiEndpoint {
164 if x != nil {
165 return x.Endpoints
166 }
167 return nil
168 }
169
170 func (x *ListApiEndpointsResponse) GetNextPageToken() string {
171 if x != nil {
172 return x.NextPageToken
173 }
174 return ""
175 }
176
177 var File_yandex_cloud_endpoint_api_endpoint_service_proto protoreflect.FileDescriptor
178
179 const file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDesc = "" +
180 "\n" +
181 "0yandex/cloud/endpoint/api_endpoint_service.proto\x12\x15yandex.cloud.endpoint\x1a\x1cgoogle/api/annotations.proto\x1a(yandex/cloud/endpoint/api_endpoint.proto\"?\n" +
182 "\x15GetApiEndpointRequest\x12&\n" +
183 "\x0fapi_endpoint_id\x18\x01 \x01(\tR\rapiEndpointId\"]\n" +
184 "\x17ListApiEndpointsRequest\x12\x1f\n" +
185 "\tpage_size\x18\x01 \x01(\x03B\x02\x18\x01R\bpageSize\x12!\n" +
186 "\n" +
187 "page_token\x18\x02 \x01(\tB\x02\x18\x01R\tpageToken\"\x84\x01\n" +
188 "\x18ListApiEndpointsResponse\x12@\n" +
189 "\tendpoints\x18\x01 \x03(\v2\".yandex.cloud.endpoint.ApiEndpointR\tendpoints\x12&\n" +
190 "\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken2\x90\x02\n" +
191 "\x12ApiEndpointService\x12}\n" +
192 "\x03Get\x12,.yandex.cloud.endpoint.GetApiEndpointRequest\x1a\".yandex.cloud.endpoint.ApiEndpoint\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/endpoints/{api_endpoint_id}\x12{\n" +
193 "\x04List\x12..yandex.cloud.endpoint.ListApiEndpointsRequest\x1a/.yandex.cloud.endpoint.ListApiEndpointsResponse\"\x12\x82\xd3\xe4\x93\x02\f\x12\n" +
194 "/endpointsB_\n" +
195 "\x19yandex.cloud.api.endpointZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/endpoint;endpointb\x06proto3"
196
197 var (
198 file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDescOnce sync.Once
199 file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDescData []byte
200 )
201
202 func file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDescGZIP() []byte {
203 file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDescOnce.Do(func() {
204 file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDesc), len(file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDesc)))
205 })
206 return file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDescData
207 }
208
209 var file_yandex_cloud_endpoint_api_endpoint_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
210 var file_yandex_cloud_endpoint_api_endpoint_service_proto_goTypes = []any{
211 (*GetApiEndpointRequest)(nil), // 0: yandex.cloud.endpoint.GetApiEndpointRequest
212 (*ListApiEndpointsRequest)(nil), // 1: yandex.cloud.endpoint.ListApiEndpointsRequest
213 (*ListApiEndpointsResponse)(nil), // 2: yandex.cloud.endpoint.ListApiEndpointsResponse
214 (*ApiEndpoint)(nil), // 3: yandex.cloud.endpoint.ApiEndpoint
215 }
216 var file_yandex_cloud_endpoint_api_endpoint_service_proto_depIdxs = []int32{
217 3, // 0: yandex.cloud.endpoint.ListApiEndpointsResponse.endpoints:type_name -> yandex.cloud.endpoint.ApiEndpoint
218 0, // 1: yandex.cloud.endpoint.ApiEndpointService.Get:input_type -> yandex.cloud.endpoint.GetApiEndpointRequest
219 1, // 2: yandex.cloud.endpoint.ApiEndpointService.List:input_type -> yandex.cloud.endpoint.ListApiEndpointsRequest
220 3, // 3: yandex.cloud.endpoint.ApiEndpointService.Get:output_type -> yandex.cloud.endpoint.ApiEndpoint
221 2, // 4: yandex.cloud.endpoint.ApiEndpointService.List:output_type -> yandex.cloud.endpoint.ListApiEndpointsResponse
222 3, // [3:5] is the sub-list for method output_type
223 1, // [1:3] is the sub-list for method input_type
224 1, // [1:1] is the sub-list for extension type_name
225 1, // [1:1] is the sub-list for extension extendee
226 0, // [0:1] is the sub-list for field type_name
227 }
228
229 func init() { file_yandex_cloud_endpoint_api_endpoint_service_proto_init() }
230 func file_yandex_cloud_endpoint_api_endpoint_service_proto_init() {
231 if File_yandex_cloud_endpoint_api_endpoint_service_proto != nil {
232 return
233 }
234 file_yandex_cloud_endpoint_api_endpoint_proto_init()
235 type x struct{}
236 out := protoimpl.TypeBuilder{
237 File: protoimpl.DescBuilder{
238 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
239 RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDesc), len(file_yandex_cloud_endpoint_api_endpoint_service_proto_rawDesc)),
240 NumEnums: 0,
241 NumMessages: 3,
242 NumExtensions: 0,
243 NumServices: 1,
244 },
245 GoTypes: file_yandex_cloud_endpoint_api_endpoint_service_proto_goTypes,
246 DependencyIndexes: file_yandex_cloud_endpoint_api_endpoint_service_proto_depIdxs,
247 MessageInfos: file_yandex_cloud_endpoint_api_endpoint_service_proto_msgTypes,
248 }.Build()
249 File_yandex_cloud_endpoint_api_endpoint_service_proto = out.File
250 file_yandex_cloud_endpoint_api_endpoint_service_proto_goTypes = nil
251 file_yandex_cloud_endpoint_api_endpoint_service_proto_depIdxs = nil
252 }
253