| OLD | NEW |
| 1 // Code generated by protoc-gen-go. | 1 // Code generated by protoc-gen-go. |
| 2 // source: state.proto | 2 // source: state.proto |
| 3 // DO NOT EDIT! | 3 // DO NOT EDIT! |
| 4 | 4 |
| 5 package logdog | 5 package logdog |
| 6 | 6 |
| 7 import proto "github.com/golang/protobuf/proto" | 7 import proto "github.com/golang/protobuf/proto" |
| 8 import fmt "fmt" | 8 import fmt "fmt" |
| 9 import math "math" | 9 import math "math" |
| 10 | 10 |
| 11 // Reference imports to suppress errors if they are not otherwise used. | 11 // Reference imports to suppress errors if they are not otherwise used. |
| 12 var _ = proto.Marshal | 12 var _ = proto.Marshal |
| 13 var _ = fmt.Errorf | 13 var _ = fmt.Errorf |
| 14 var _ = math.Inf | 14 var _ = math.Inf |
| 15 | 15 |
| 16 // LogStreamState is the log stream state value communicated to services. | 16 // LogStreamState is the log stream state value communicated to services. |
| 17 type LogStreamState struct { | 17 type LogStreamState struct { |
| 18 // The log stream's project. |
| 19 Project string `protobuf:"bytes,1,opt,name=project" json:"project,omitem
pty"` |
| 18 // Path is the log stream's path. | 20 // Path is the log stream's path. |
| 19 » Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` | 21 » Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` |
| 20 // The log stream's secret. | 22 // The log stream's secret. |
| 21 // | 23 // |
| 22 // Note that the secret is returned! This is okay, since this endpoint i
s only | 24 // Note that the secret is returned! This is okay, since this endpoint i
s only |
| 23 // accessible to trusted services. The secret can be cached by services
to | 25 // accessible to trusted services. The secret can be cached by services
to |
| 24 // validate stream information without needing to ping the Coordinator i
n | 26 // validate stream information without needing to ping the Coordinator i
n |
| 25 // between each update. | 27 // between each update. |
| 26 » Secret []byte `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,om
itempty"` | 28 » Secret []byte `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,om
itempty"` |
| 27 // ProtoVersion is the protobuf version for this stream. | 29 // ProtoVersion is the protobuf version for this stream. |
| 28 » ProtoVersion string `protobuf:"bytes,3,opt,name=proto_version,json=proto
Version" json:"proto_version,omitempty"` | 30 » ProtoVersion string `protobuf:"bytes,4,opt,name=proto_version,json=proto
Version" json:"proto_version,omitempty"` |
| 29 // The stream index of the log stream's terminal message. If the value i
s -1, | 31 // The stream index of the log stream's terminal message. If the value i
s -1, |
| 30 // the log is still streaming. | 32 // the log is still streaming. |
| 31 » TerminalIndex int64 `protobuf:"varint,4,opt,name=terminal_index,json=ter
minalIndex" json:"terminal_index,omitempty"` | 33 » TerminalIndex int64 `protobuf:"varint,5,opt,name=terminal_index,json=ter
minalIndex" json:"terminal_index,omitempty"` |
| 32 // If the log stream has been archived. | 34 // If the log stream has been archived. |
| 33 » Archived bool `protobuf:"varint,5,opt,name=archived" json:"archived,omit
empty"` | 35 » Archived bool `protobuf:"varint,6,opt,name=archived" json:"archived,omit
empty"` |
| 34 // If the log stream has been purged. | 36 // If the log stream has been purged. |
| 35 » Purged bool `protobuf:"varint,6,opt,name=purged" json:"purged,omitempty"
` | 37 » Purged bool `protobuf:"varint,7,opt,name=purged" json:"purged,omitempty"
` |
| 36 } | 38 } |
| 37 | 39 |
| 38 func (m *LogStreamState) Reset() { *m = LogStreamState{} } | 40 func (m *LogStreamState) Reset() { *m = LogStreamState{} } |
| 39 func (m *LogStreamState) String() string { return proto.CompactTextSt
ring(m) } | 41 func (m *LogStreamState) String() string { return proto.CompactTextSt
ring(m) } |
| 40 func (*LogStreamState) ProtoMessage() {} | 42 func (*LogStreamState) ProtoMessage() {} |
| 41 func (*LogStreamState) Descriptor() ([]byte, []int) { return fileDescriptor1, []
int{0} } | 43 func (*LogStreamState) Descriptor() ([]byte, []int) { return fileDescriptor1, []
int{0} } |
| 42 | 44 |
| 43 func init() { | 45 func init() { |
| 44 proto.RegisterType((*LogStreamState)(nil), "logdog.LogStreamState") | 46 proto.RegisterType((*LogStreamState)(nil), "logdog.LogStreamState") |
| 45 } | 47 } |
| 46 | 48 |
| 47 var fileDescriptor1 = []byte{ | 49 var fileDescriptor1 = []byte{ |
| 48 » // 186 bytes of a gzipped FileDescriptorProto | 50 » // 197 bytes of a gzipped FileDescriptorProto |
| 49 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x3c, 0x8d,
0xb1, 0x0e, 0x82, 0x30, | 51 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x3c, 0x8d,
0xb1, 0x4e, 0x80, 0x30, |
| 50 » 0x14, 0x45, 0x83, 0x60, 0x83, 0x15, 0x18, 0x3a, 0x98, 0xc6, 0xc9, 0x68,
0x4c, 0x9c, 0x5c, 0xfc, | 52 » 0x10, 0x86, 0x83, 0x60, 0xc1, 0x13, 0x18, 0x6e, 0x30, 0x8d, 0x93, 0xd1,
0x98, 0x38, 0xb9, 0xf8, |
| 51 » 0x0a, 0x13, 0xa7, 0x92, 0xb8, 0x92, 0x0a, 0x2f, 0xa5, 0x09, 0x50, 0x52,
0x9e, 0xc4, 0x8f, 0xf3, | 53 » 0x14, 0x26, 0x4e, 0x25, 0x71, 0x25, 0x15, 0x2e, 0xa5, 0x06, 0x28, 0x29,
0x27, 0xf1, 0x49, 0x7d, |
| 52 » 0xe3, 0x2c, 0x15, 0xdd, 0x7a, 0xcf, 0x3d, 0x7d, 0x97, 0xae, 0x07, 0x94,
0x08, 0xe7, 0xde, 0x1a, | 54 » 0x1e, 0x4b, 0x05, 0xb7, 0x7e, 0xdf, 0x7d, 0xcd, 0x0f, 0xd7, 0x2b, 0x6b,
0xa6, 0xe7, 0xc5, 0x3b, |
| 53 » 0x34, 0x8c, 0x34, 0x46, 0x55, 0x46, 0xed, 0xdf, 0x01, 0xcd, 0x6e, 0x46,
0xe5, 0x68, 0x41, 0xb6, | 55 » 0x76, 0x28, 0x46, 0x67, 0x7a, 0x67, 0xee, 0x7f, 0x12, 0xa8, 0xdf, 0x9c,
0x69, 0xd8, 0x93, 0x9e, |
| 54 » 0xf9, 0x24, 0x30, 0x46, 0xa3, 0x5e, 0x62, 0xcd, 0x83, 0x5d, 0x70, 0x5a,
0x09, 0xff, 0x66, 0x1b, | 56 » 0x9a, 0x3d, 0x40, 0x09, 0x79, 0x68, 0x3e, 0xa9, 0x63, 0x99, 0xdc, 0x25,
0x4f, 0x57, 0xea, 0x44, |
| 55 » 0x4a, 0x06, 0x28, 0x2d, 0x20, 0x5f, 0x38, 0x9a, 0x88, 0x39, 0xb1, 0x03,
0x4d, 0xfd, 0xbd, 0x62, | 57 » 0x44, 0xc8, 0x16, 0xcd, 0x83, 0xbc, 0x88, 0x3a, 0xbe, 0xf1, 0x06, 0xc4,
0x4a, 0x9d, 0x27, 0x96, |
| 56 » 0x04, 0x3b, 0x68, 0xd3, 0xf1, 0xd0, 0x7f, 0x4a, 0x3c, 0xbc, 0x7f, 0x19,
0x3b, 0xd2, 0x0c, 0xc1, | 58 » 0x69, 0xb0, 0xa5, 0x3a, 0x08, 0x1f, 0xa0, 0x8a, 0x4b, 0xed, 0x46, 0x7e,
0xb5, 0x6e, 0x96, 0x59, |
| 57 » 0xb6, 0xba, 0x93, 0x4d, 0xa1, 0xbb, 0x0a, 0x5e, 0x3c, 0x72, 0x56, 0x28,
0xd2, 0x1f, 0xbd, 0x4e, | 59 » 0xfc, 0x54, 0x46, 0xf9, 0xfe, 0xe7, 0xf0, 0x11, 0x6a, 0x26, 0x3f, 0xd9,
0x59, 0x8f, 0xad, 0x9d, |
| 58 » 0x90, 0x6d, 0x69, 0x2c, 0x6d, 0x59, 0xeb, 0x11, 0x2a, 0xbe, 0x74, 0x42,
0x2c, 0xfe, 0x79, 0xda, | 60 » 0x7b, 0xfa, 0x96, 0x97, 0xa1, 0x4a, 0x55, 0x75, 0xda, 0xd7, 0x5d, 0xe2,
0x2d, 0x14, 0xda, 0x77, |
| 59 » 0xef, 0x9f, 0x56, 0xb9, 0x86, 0xf8, 0x66, 0x4e, 0x0f, 0xe2, 0x87, 0x2e,
0x9f, 0x00, 0x00, 0x00, | 61 » 0x83, 0xdd, 0xa8, 0x97, 0x22, 0x04, 0x85, 0xfa, 0xe7, 0x7d, 0x7f, 0xf9,
0xf2, 0x26, 0x5c, 0xf2, |
| 60 » 0xff, 0xff, 0x71, 0x15, 0x92, 0xb3, 0xdc, 0x00, 0x00, 0x00, | 62 » 0x78, 0x39, 0xe8, 0x43, 0xc4, 0xa1, 0x97, 0xdf, 0x00, 0x00, 0x00, 0xff,
0xff, 0xb8, 0x78, 0x10, |
| 63 » 0xef, 0xf6, 0x00, 0x00, 0x00, |
| 61 } | 64 } |
| OLD | NEW |