Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/content-service-api/go/content.pb.go
2496 views
1
// Copyright (c) 2020 TypeFox GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
// Code generated by protoc-gen-go. DO NOT EDIT.
6
// versions:
7
// protoc-gen-go v1.28.1
8
// protoc (unknown)
9
// source: content.proto
10
11
package api
12
13
import (
14
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16
reflect "reflect"
17
sync "sync"
18
)
19
20
const (
21
// Verify that this generated code is sufficiently up-to-date.
22
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23
// Verify that runtime/protoimpl is sufficiently up-to-date.
24
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25
)
26
27
type DeleteUserContentRequest struct {
28
state protoimpl.MessageState
29
sizeCache protoimpl.SizeCache
30
unknownFields protoimpl.UnknownFields
31
32
OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
33
}
34
35
func (x *DeleteUserContentRequest) Reset() {
36
*x = DeleteUserContentRequest{}
37
if protoimpl.UnsafeEnabled {
38
mi := &file_content_proto_msgTypes[0]
39
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40
ms.StoreMessageInfo(mi)
41
}
42
}
43
44
func (x *DeleteUserContentRequest) String() string {
45
return protoimpl.X.MessageStringOf(x)
46
}
47
48
func (*DeleteUserContentRequest) ProtoMessage() {}
49
50
func (x *DeleteUserContentRequest) ProtoReflect() protoreflect.Message {
51
mi := &file_content_proto_msgTypes[0]
52
if protoimpl.UnsafeEnabled && x != nil {
53
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54
if ms.LoadMessageInfo() == nil {
55
ms.StoreMessageInfo(mi)
56
}
57
return ms
58
}
59
return mi.MessageOf(x)
60
}
61
62
// Deprecated: Use DeleteUserContentRequest.ProtoReflect.Descriptor instead.
63
func (*DeleteUserContentRequest) Descriptor() ([]byte, []int) {
64
return file_content_proto_rawDescGZIP(), []int{0}
65
}
66
67
func (x *DeleteUserContentRequest) GetOwnerId() string {
68
if x != nil {
69
return x.OwnerId
70
}
71
return ""
72
}
73
74
type DeleteUserContentResponse struct {
75
state protoimpl.MessageState
76
sizeCache protoimpl.SizeCache
77
unknownFields protoimpl.UnknownFields
78
}
79
80
func (x *DeleteUserContentResponse) Reset() {
81
*x = DeleteUserContentResponse{}
82
if protoimpl.UnsafeEnabled {
83
mi := &file_content_proto_msgTypes[1]
84
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
85
ms.StoreMessageInfo(mi)
86
}
87
}
88
89
func (x *DeleteUserContentResponse) String() string {
90
return protoimpl.X.MessageStringOf(x)
91
}
92
93
func (*DeleteUserContentResponse) ProtoMessage() {}
94
95
func (x *DeleteUserContentResponse) ProtoReflect() protoreflect.Message {
96
mi := &file_content_proto_msgTypes[1]
97
if protoimpl.UnsafeEnabled && x != nil {
98
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
99
if ms.LoadMessageInfo() == nil {
100
ms.StoreMessageInfo(mi)
101
}
102
return ms
103
}
104
return mi.MessageOf(x)
105
}
106
107
// Deprecated: Use DeleteUserContentResponse.ProtoReflect.Descriptor instead.
108
func (*DeleteUserContentResponse) Descriptor() ([]byte, []int) {
109
return file_content_proto_rawDescGZIP(), []int{1}
110
}
111
112
var File_content_proto protoreflect.FileDescriptor
113
114
var file_content_proto_rawDesc = []byte{
115
0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
116
0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22,
117
0x35, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6e,
118
0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6f,
119
0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,
120
0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
121
0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
122
0x6e, 0x73, 0x65, 0x32, 0x7c, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x65,
123
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6a, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55,
124
0x73, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x63, 0x6f, 0x6e,
125
0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65,
126
0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71,
127
0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65,
128
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
129
0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
130
0x00, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
131
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
132
0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
133
0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
134
}
135
136
var (
137
file_content_proto_rawDescOnce sync.Once
138
file_content_proto_rawDescData = file_content_proto_rawDesc
139
)
140
141
func file_content_proto_rawDescGZIP() []byte {
142
file_content_proto_rawDescOnce.Do(func() {
143
file_content_proto_rawDescData = protoimpl.X.CompressGZIP(file_content_proto_rawDescData)
144
})
145
return file_content_proto_rawDescData
146
}
147
148
var file_content_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
149
var file_content_proto_goTypes = []interface{}{
150
(*DeleteUserContentRequest)(nil), // 0: contentservice.DeleteUserContentRequest
151
(*DeleteUserContentResponse)(nil), // 1: contentservice.DeleteUserContentResponse
152
}
153
var file_content_proto_depIdxs = []int32{
154
0, // 0: contentservice.ContentService.DeleteUserContent:input_type -> contentservice.DeleteUserContentRequest
155
1, // 1: contentservice.ContentService.DeleteUserContent:output_type -> contentservice.DeleteUserContentResponse
156
1, // [1:2] is the sub-list for method output_type
157
0, // [0:1] is the sub-list for method input_type
158
0, // [0:0] is the sub-list for extension type_name
159
0, // [0:0] is the sub-list for extension extendee
160
0, // [0:0] is the sub-list for field type_name
161
}
162
163
func init() { file_content_proto_init() }
164
func file_content_proto_init() {
165
if File_content_proto != nil {
166
return
167
}
168
if !protoimpl.UnsafeEnabled {
169
file_content_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
170
switch v := v.(*DeleteUserContentRequest); i {
171
case 0:
172
return &v.state
173
case 1:
174
return &v.sizeCache
175
case 2:
176
return &v.unknownFields
177
default:
178
return nil
179
}
180
}
181
file_content_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
182
switch v := v.(*DeleteUserContentResponse); i {
183
case 0:
184
return &v.state
185
case 1:
186
return &v.sizeCache
187
case 2:
188
return &v.unknownFields
189
default:
190
return nil
191
}
192
}
193
}
194
type x struct{}
195
out := protoimpl.TypeBuilder{
196
File: protoimpl.DescBuilder{
197
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
198
RawDescriptor: file_content_proto_rawDesc,
199
NumEnums: 0,
200
NumMessages: 2,
201
NumExtensions: 0,
202
NumServices: 1,
203
},
204
GoTypes: file_content_proto_goTypes,
205
DependencyIndexes: file_content_proto_depIdxs,
206
MessageInfos: file_content_proto_msgTypes,
207
}.Build()
208
File_content_proto = out.File
209
file_content_proto_rawDesc = nil
210
file_content_proto_goTypes = nil
211
file_content_proto_depIdxs = nil
212
}
213
214