Debian Codegraph @

examples/v2/foo.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.26.0
4 // protoc v3.18.1
5 // source: github.com/containerd/protobuild/examples/v2/foo.proto
6
7 package v2
8
9 import (
10 internal "github.com/containerd/protobuild/internal"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
14 reflect "reflect"
15 sync "sync"
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 DoRequest struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
31 }
32
33 func (x *DoRequest) Reset() {
34 *x = DoRequest{}
35 if protoimpl.UnsafeEnabled {
36 mi := &file_github_com_containerd_protobuild_examples_v2_foo_proto_msgTypes[0]
37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
38 ms.StoreMessageInfo(mi)
39 }
40 }
41
42 func (x *DoRequest) String() string {
43 return protoimpl.X.MessageStringOf(x)
44 }
45
46 func (*DoRequest) ProtoMessage() {}
47
48 func (x *DoRequest) ProtoReflect() protoreflect.Message {
49 mi := &file_github_com_containerd_protobuild_examples_v2_foo_proto_msgTypes[0]
50 if protoimpl.UnsafeEnabled && x != nil {
51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52 if ms.LoadMessageInfo() == nil {
53 ms.StoreMessageInfo(mi)
54 }
55 return ms
56 }
57 return mi.MessageOf(x)
58 }
59
60 // Deprecated: Use DoRequest.ProtoReflect.Descriptor instead.
61 func (*DoRequest) Descriptor() ([]byte, []int) {
62 return file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDescGZIP(), []int{0}
63 }
64
65 func (x *DoRequest) GetTimestamp() *timestamppb.Timestamp {
66 if x != nil {
67 return x.Timestamp
68 }
69 return nil
70 }
71
72 var File_github_com_containerd_protobuild_examples_v2_foo_proto protoreflect.FileDescriptor
73
74 var file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDesc = []byte{
75 0x0a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6e,
76 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x69,
77 0x6c, 0x64, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x66,
78 0x6f, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
79 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x32, 0x1a,
80 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
81 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
82 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
83 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a,
84 0x09, 0x44, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69,
85 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
86 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
87 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
88 0x74, 0x61, 0x6d, 0x70, 0x32, 0x45, 0x0a, 0x03, 0x46, 0x6f, 0x6f, 0x12, 0x3e, 0x0a, 0x02, 0x44,
89 0x6f, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x65,
90 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x6f, 0x52, 0x65, 0x71, 0x75,
91 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
92 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x32, 0x5a, 0x30, 0x67,
93 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
94 0x6e, 0x65, 0x72, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f,
95 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x3b, 0x76, 0x32, 0x62,
96 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
97 }
98
99 var (
100 file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDescOnce sync.Once
101 file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDescData = file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDesc
102 )
103
104 func file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDescGZIP() []byte {
105 file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDescOnce.Do(func() {
106 file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDescData)
107 })
108 return file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDescData
109 }
110
111 var file_github_com_containerd_protobuild_examples_v2_foo_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
112 var file_github_com_containerd_protobuild_examples_v2_foo_proto_goTypes = []interface{}{
113 (*DoRequest)(nil), // 0: protobuild.example.v2.DoRequest
114 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
115 (*internal.Empty)(nil), // 2: google.protobuf.Empty
116 }
117 var file_github_com_containerd_protobuild_examples_v2_foo_proto_depIdxs = []int32{
118 1, // 0: protobuild.example.v2.DoRequest.timestamp:type_name -> google.protobuf.Timestamp
119 0, // 1: protobuild.example.v2.Foo.Do:input_type -> protobuild.example.v2.DoRequest
120 2, // 2: protobuild.example.v2.Foo.Do:output_type -> google.protobuf.Empty
121 2, // [2:3] is the sub-list for method output_type
122 1, // [1:2] is the sub-list for method input_type
123 1, // [1:1] is the sub-list for extension type_name
124 1, // [1:1] is the sub-list for extension extendee
125 0, // [0:1] is the sub-list for field type_name
126 }
127
128 func init() { file_github_com_containerd_protobuild_examples_v2_foo_proto_init() }
129 func file_github_com_containerd_protobuild_examples_v2_foo_proto_init() {
130 if File_github_com_containerd_protobuild_examples_v2_foo_proto != nil {
131 return
132 }
133 if !protoimpl.UnsafeEnabled {
134 file_github_com_containerd_protobuild_examples_v2_foo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
135 switch v := v.(*DoRequest); i {
136 case 0:
137 return &v.state
138 case 1:
139 return &v.sizeCache
140 case 2:
141 return &v.unknownFields
142 default:
143 return nil
144 }
145 }
146 }
147 type x struct{}
148 out := protoimpl.TypeBuilder{
149 File: protoimpl.DescBuilder{
150 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
151 RawDescriptor: file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDesc,
152 NumEnums: 0,
153 NumMessages: 1,
154 NumExtensions: 0,
155 NumServices: 1,
156 },
157 GoTypes: file_github_com_containerd_protobuild_examples_v2_foo_proto_goTypes,
158 DependencyIndexes: file_github_com_containerd_protobuild_examples_v2_foo_proto_depIdxs,
159 MessageInfos: file_github_com_containerd_protobuild_examples_v2_foo_proto_msgTypes,
160 }.Build()
161 File_github_com_containerd_protobuild_examples_v2_foo_proto = out.File
162 file_github_com_containerd_protobuild_examples_v2_foo_proto_rawDesc = nil
163 file_github_com_containerd_protobuild_examples_v2_foo_proto_goTypes = nil
164 file_github_com_containerd_protobuild_examples_v2_foo_proto_depIdxs = nil
165 }