Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: common/api/logdog_coordinator/registration/v1/service.pb.go

Issue 1967273002: LogDog: Implement RegisterPrefix RPC. (Closed) Base URL: https://github.com/luci/luci-go@logdog-butler-register-coordinator-endpoint
Patch Set: Updated patchset dependency Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Code generated by protoc-gen-go. 1 // Code generated by protoc-gen-go.
2 // source: service.proto 2 // source: service.proto
3 // DO NOT EDIT! 3 // DO NOT EDIT!
4 4
5 /* 5 /*
6 Package logdog is a generated protocol buffer package. 6 Package logdog is a generated protocol buffer package.
7 7
8 It is generated from these files: 8 It is generated from these files:
9 service.proto 9 service.proto
10 10
(...skipping 22 matching lines...) Expand all
33 var _ = math.Inf 33 var _ = math.Inf
34 34
35 // This is a compile-time assertion to ensure that this generated file 35 // This is a compile-time assertion to ensure that this generated file
36 // is compatible with the proto package it is being compiled against. 36 // is compatible with the proto package it is being compiled against.
37 const _ = proto.ProtoPackageIsVersion1 37 const _ = proto.ProtoPackageIsVersion1
38 38
39 // RegisterPrefixRequest registers a new Prefix with the Coordinator. 39 // RegisterPrefixRequest registers a new Prefix with the Coordinator.
40 type RegisterPrefixRequest struct { 40 type RegisterPrefixRequest struct {
41 // The log stream's project. 41 // The log stream's project.
42 Project string `protobuf:"bytes,1,opt,name=project" json:"project,omitem pty"` 42 Project string `protobuf:"bytes,1,opt,name=project" json:"project,omitem pty"`
43 // The log stream prefix to register.
44 Prefix string `protobuf:"bytes,2,opt,name=prefix" json:"prefix,omitempty "`
43 // Optional information about the registering agent. 45 // Optional information about the registering agent.
44 » SourceInfo []string `protobuf:"bytes,2,rep,name=source_info,json=sourceI nfo" json:"source_info,omitempty"` 46 » SourceInfo []string `protobuf:"bytes,3,rep,name=source_info,json=sourceI nfo" json:"source_info,omitempty"`
45 » // The protobuf version string for this stream.
46 » ProtoVersion string `protobuf:"bytes,3,opt,name=proto_version,json=proto Version" json:"proto_version,omitempty"`
47 » // The serialized LogStreamDescriptor protobuf for this stream. The stre am's
48 » // path is extracted from this field.
49 » Desc []byte `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempt y"`
50 // The prefix expiration time. If <= 0, the project's default prefix 47 // The prefix expiration time. If <= 0, the project's default prefix
51 // expiration period will be applied. 48 // expiration period will be applied.
52 // 49 //
53 // The prefix will be closed by the Coordinator after its expiration per iod. 50 // The prefix will be closed by the Coordinator after its expiration per iod.
54 // Once closed, new stream registration requests will no longer be accep ted. 51 // Once closed, new stream registration requests will no longer be accep ted.
55 // 52 //
56 // If supplied, this value should exceed the timeout of the local task, else 53 // If supplied, this value should exceed the timeout of the local task, else
57 // some of the task's streams may be dropped due to failing registration . 54 // some of the task's streams may be dropped due to failing registration .
58 » Expiration *google_protobuf.Duration `protobuf:"bytes,5,opt,name=expirat ion" json:"expiration,omitempty"` 55 » Expiration *google_protobuf.Duration `protobuf:"bytes,10,opt,name=expira tion" json:"expiration,omitempty"`
59 } 56 }
60 57
61 func (m *RegisterPrefixRequest) Reset() { *m = RegisterPrefix Request{} } 58 func (m *RegisterPrefixRequest) Reset() { *m = RegisterPrefix Request{} }
62 func (m *RegisterPrefixRequest) String() string { return proto.Compac tTextString(m) } 59 func (m *RegisterPrefixRequest) String() string { return proto.Compac tTextString(m) }
63 func (*RegisterPrefixRequest) ProtoMessage() {} 60 func (*RegisterPrefixRequest) ProtoMessage() {}
64 func (*RegisterPrefixRequest) Descriptor() ([]byte, []int) { return fileDescript or0, []int{0} } 61 func (*RegisterPrefixRequest) Descriptor() ([]byte, []int) { return fileDescript or0, []int{0} }
65 62
66 func (m *RegisterPrefixRequest) GetExpiration() *google_protobuf.Duration { 63 func (m *RegisterPrefixRequest) GetExpiration() *google_protobuf.Duration {
67 if m != nil { 64 if m != nil {
68 return m.Expiration 65 return m.Expiration
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 Methods: []grpc.MethodDesc{ 190 Methods: []grpc.MethodDesc{
194 { 191 {
195 MethodName: "RegisterPrefix", 192 MethodName: "RegisterPrefix",
196 Handler: _Registration_RegisterPrefix_Handler, 193 Handler: _Registration_RegisterPrefix_Handler,
197 }, 194 },
198 }, 195 },
199 Streams: []grpc.StreamDesc{}, 196 Streams: []grpc.StreamDesc{},
200 } 197 }
201 198
202 var fileDescriptor0 = []byte{ 199 var fileDescriptor0 = []byte{
203 » // 290 bytes of a gzipped FileDescriptorProto 200 » // 266 bytes of a gzipped FileDescriptorProto
204 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x90, 0xc1, 0x4a, 0x03, 0x31, 201 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x90, 0x4d, 0x4b, 0xc3, 0x40,
205 » 0x10, 0x86, 0xa9, 0xad, 0x2b, 0x4e, 0xb7, 0x45, 0x02, 0x96, 0x58, 0xb0, 0x96, 0x7a, 0xe9, 0x29, 202 » 0x10, 0x86, 0x89, 0x85, 0x88, 0xd3, 0x5a, 0x64, 0xc1, 0x12, 0x0b, 0xd6, 0xd2, 0x53, 0x4f, 0x5b,
206 » 0x85, 0x7a, 0xf2, 0x2a, 0x5e, 0x3c, 0x29, 0x41, 0x3c, 0x78, 0x59, 0xdc, 0xec, 0xec, 0x12, 0x59, 203 » 0xa8, 0x27, 0xaf, 0xe2, 0xc5, 0x93, 0x12, 0x3c, 0x79, 0x09, 0x66, 0x33, 0x59, 0x56, 0x42, 0x66,
207 » 0x76, 0xd6, 0x24, 0x5b, 0xfa, 0x84, 0x3e, 0x97, 0x69, 0xd2, 0x82, 0x8a, 0xde, 0x92, 0xef, 0x1f, 204 » 0xdd, 0x0f, 0xe9, 0x1f, 0xf2, 0x7f, 0xba, 0xdd, 0x4d, 0x41, 0xc5, 0x1e, 0xe7, 0x99, 0x37, 0x99,
208 » 0x66, 0xe6, 0x1b, 0x18, 0x59, 0x34, 0x1b, 0xad, 0x50, 0xb4, 0x86, 0x1c, 0xb1, 0xa4, 0xa6, 0xaa, 205 » 0x67, 0x5f, 0x38, 0xb7, 0x68, 0x3e, 0x95, 0x40, 0xae, 0x0d, 0x39, 0x62, 0x79, 0x47, 0xb2, 0x21,
209 » 0xa0, 0x6a, 0x3a, 0xab, 0x88, 0xaa, 0x1a, 0x57, 0x81, 0xe6, 0x5d, 0xb9, 0x2a, 0x3a, 0xf3, 0xe6, 206 » 0x39, 0x5f, 0x48, 0x22, 0xd9, 0xe1, 0x26, 0xd2, 0xda, 0xb7, 0x9b, 0xc6, 0x9b, 0x37, 0xa7, 0xa8,
210 » 0x34, 0x35, 0xb1, 0x6e, 0xf1, 0xd9, 0x83, 0x73, 0x89, 0x95, 0xb6, 0x0e, 0xcd, 0x93, 0xc1, 0x52, 207 » 0x4f, 0xb9, 0xd5, 0x57, 0x06, 0x97, 0x25, 0x4a, 0x65, 0x1d, 0x9a, 0x67, 0x83, 0xad, 0xda, 0x95,
211 » 0x6f, 0x25, 0x7e, 0x74, 0x68, 0x1d, 0xe3, 0x70, 0xe2, 0x4b, 0xde, 0x51, 0x39, 0xde, 0x9b, 0xf7, 208 » 0xf8, 0xe1, 0xd1, 0x3a, 0x56, 0xc0, 0x69, 0x88, 0xbc, 0xa3, 0x70, 0x45, 0xb6, 0xcc, 0xd6, 0x67,
212 » 0x96, 0xa7, 0xf2, 0xf0, 0x65, 0x57, 0x30, 0xb4, 0xd4, 0x19, 0x85, 0x99, 0x6e, 0x4a, 0xe2, 0x47, 209 » 0xe5, 0x61, 0x64, 0x33, 0xc8, 0x75, 0x8c, 0x16, 0x27, 0x71, 0x31, 0x4c, 0xec, 0x06, 0xc6, 0x96,
213 » 0xf3, 0xbe, 0x4f, 0x21, 0xa2, 0x07, 0x4f, 0xd8, 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b, 0x82, 0xe9, 0xef, 0x5b, 0xec, 0x9a, 0xa7, 0x3a, 0xf9,
219 » 0x3a, 0xf6, 0xfc, 0x2e, 0xe0, 0xe7, 0x1d, 0x5d, 0x67, 0x90, 0xc6, 0xde, 0x71, 0x16, 0x7b, 0x84, 216 » 0xbf, 0x55, 0xcd, 0x17, 0xc7, 0xd6, 0x49, 0xb1, 0xce, 0xe3, 0xdb, 0x6e, 0xbf, 0x03, 0x00, 0x00,
220 » 0xf1, 0xcf, 0x59, 0xec, 0x52, 0xc4, 0x7b, 0x8b, 0x3f, 0x6f, 0x39, 0x9d, 0xfd, 0x17, 0xc7, 0x15, 217 » 0xff, 0xff, 0x70, 0xdd, 0xcb, 0x0b, 0xa4, 0x01, 0x00, 0x00,
221 » 0xf3, 0x24, 0xb8, 0xdd, 0x7c, 0x05, 0x00, 0x00, 0xff, 0xff, 0xda, 0x7f, 0x26, 0x0d, 0xc5, 0x01,
222 » 0x00, 0x00,
223 } 218 }
OLDNEW
« no previous file with comments | « common/api/logdog_coordinator/registration/v1/service.proto ('k') | common/logdog/types/streamname.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698