api_endpoint.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.proto
6
7 package endpoint
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 reflect "reflect"
13 sync "sync"
14 unsafe "unsafe"
15 )
16
17 const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 type ApiEndpoint struct {
25 state protoimpl.MessageState `protogen:"open.v1"`
26 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
27 Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
28 unknownFields protoimpl.UnknownFields
29 sizeCache protoimpl.SizeCache
30 }
31
32 func (x *ApiEndpoint) Reset() {
33 *x = ApiEndpoint{}
34 mi := &file_yandex_cloud_endpoint_api_endpoint_proto_msgTypes[0]
35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
36 ms.StoreMessageInfo(mi)
37 }
38
39 func (x *ApiEndpoint) String() string {
40 return protoimpl.X.MessageStringOf(x)
41 }
42
43 func (*ApiEndpoint) ProtoMessage() {}
44
45 func (x *ApiEndpoint) ProtoReflect() protoreflect.Message {
46 mi := &file_yandex_cloud_endpoint_api_endpoint_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 ApiEndpoint.ProtoReflect.Descriptor instead.
58 func (*ApiEndpoint) Descriptor() ([]byte, []int) {
59 return file_yandex_cloud_endpoint_api_endpoint_proto_rawDescGZIP(), []int{0}
60 }
61
62 func (x *ApiEndpoint) GetId() string {
63 if x != nil {
64 return x.Id
65 }
66 return ""
67 }
68
69 func (x *ApiEndpoint) GetAddress() string {
70 if x != nil {
71 return x.Address
72 }
73 return ""
74 }
75
76 var File_yandex_cloud_endpoint_api_endpoint_proto protoreflect.FileDescriptor
77
78 const file_yandex_cloud_endpoint_api_endpoint_proto_rawDesc = "" +
79 "\n" +
80 "(yandex/cloud/endpoint/api_endpoint.proto\x12\x15yandex.cloud.endpoint\"7\n" +
81 "\vApiEndpoint\x12\x0e\n" +
82 "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
83 "\aaddress\x18\x02 \x01(\tR\aaddressB_\n" +
84 "\x19yandex.cloud.api.endpointZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/endpoint;endpointb\x06proto3"
85
86 var (
87 file_yandex_cloud_endpoint_api_endpoint_proto_rawDescOnce sync.Once
88 file_yandex_cloud_endpoint_api_endpoint_proto_rawDescData []byte
89 )
90
91 func file_yandex_cloud_endpoint_api_endpoint_proto_rawDescGZIP() []byte {
92 file_yandex_cloud_endpoint_api_endpoint_proto_rawDescOnce.Do(func() {
93 file_yandex_cloud_endpoint_api_endpoint_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_endpoint_api_endpoint_proto_rawDesc), len(file_yandex_cloud_endpoint_api_endpoint_proto_rawDesc)))
94 })
95 return file_yandex_cloud_endpoint_api_endpoint_proto_rawDescData
96 }
97
98 var file_yandex_cloud_endpoint_api_endpoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
99 var file_yandex_cloud_endpoint_api_endpoint_proto_goTypes = []any{
100 (*ApiEndpoint)(nil), // 0: yandex.cloud.endpoint.ApiEndpoint
101 }
102 var file_yandex_cloud_endpoint_api_endpoint_proto_depIdxs = []int32{
103 0, // [0:0] is the sub-list for method output_type
104 0, // [0:0] is the sub-list for method input_type
105 0, // [0:0] is the sub-list for extension type_name
106 0, // [0:0] is the sub-list for extension extendee
107 0, // [0:0] is the sub-list for field type_name
108 }
109
110 func init() { file_yandex_cloud_endpoint_api_endpoint_proto_init() }
111 func file_yandex_cloud_endpoint_api_endpoint_proto_init() {
112 if File_yandex_cloud_endpoint_api_endpoint_proto != nil {
113 return
114 }
115 type x struct{}
116 out := protoimpl.TypeBuilder{
117 File: protoimpl.DescBuilder{
118 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
119 RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_endpoint_api_endpoint_proto_rawDesc), len(file_yandex_cloud_endpoint_api_endpoint_proto_rawDesc)),
120 NumEnums: 0,
121 NumMessages: 1,
122 NumExtensions: 0,
123 NumServices: 0,
124 },
125 GoTypes: file_yandex_cloud_endpoint_api_endpoint_proto_goTypes,
126 DependencyIndexes: file_yandex_cloud_endpoint_api_endpoint_proto_depIdxs,
127 MessageInfos: file_yandex_cloud_endpoint_api_endpoint_proto_msgTypes,
128 }.Build()
129 File_yandex_cloud_endpoint_api_endpoint_proto = out.File
130 file_yandex_cloud_endpoint_api_endpoint_proto_goTypes = nil
131 file_yandex_cloud_endpoint_api_endpoint_proto_depIdxs = nil
132 }
133