diff --git a/api/yorkie/v1/resources.pb.go b/api/yorkie/v1/resources.pb.go index 86d88e3d4..511ff2cbd 100644 --- a/api/yorkie/v1/resources.pb.go +++ b/api/yorkie/v1/resources.pb.go @@ -3260,7 +3260,7 @@ func (m *TimeTicket) GetActorId() []byte { type DocEvent struct { Type DocEventType `protobuf:"varint,1,opt,name=type,proto3,enum=yorkie.v1.DocEventType" json:"type,omitempty"` - Publisher []byte `protobuf:"bytes,2,opt,name=publisher,proto3" json:"publisher,omitempty"` + Publisher string `protobuf:"bytes,2,opt,name=publisher,proto3" json:"publisher,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -3306,11 +3306,11 @@ func (m *DocEvent) GetType() DocEventType { return DocEventType_DOC_EVENT_TYPE_DOCUMENT_CHANGED } -func (m *DocEvent) GetPublisher() []byte { +func (m *DocEvent) GetPublisher() string { if m != nil { return m.Publisher } - return nil + return "" } func init() { @@ -3374,169 +3374,169 @@ func init() { func init() { proto.RegisterFile("yorkie/v1/resources.proto", fileDescriptor_36361b2f5d0f0896) } var fileDescriptor_36361b2f5d0f0896 = []byte{ - // 2587 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0xdd, 0x6f, 0x1b, 0x59, - 0x15, 0xcf, 0x8c, 0xc7, 0x1f, 0x73, 0x92, 0x26, 0xee, 0x4d, 0x3f, 0x5c, 0xb7, 0xcd, 0xa6, 0x2e, - 0xbb, 0xa4, 0x2d, 0x38, 0x1f, 0xb4, 0xcb, 0xd2, 0x52, 0xc0, 0xb1, 0xa7, 0x4d, 0xba, 0xa9, 0x13, - 0xc6, 0x4e, 0x97, 0xae, 0x40, 0xa3, 0xc9, 0xcc, 0x4d, 0x32, 0x1b, 0x7b, 0xc6, 0x3b, 0x33, 0xf6, - 0xd6, 0x12, 0x12, 0x12, 0x02,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, 0x57, 0xe2, - 0x03, 0x75, 0xcd, 0x6a, 0xb6, 0x1a, 0x41, 0x78, 0x44, 0x6f, 0xc3, 0x2c, 0x7e, 0x86, 0x8d, 0x36, - 0x57, 0x41, 0x1a, 0xa7, 0x02, 0x04, 0xc8, 0x92, 0x9f, 0xff, 0x87, 0x00, 0x89, 0x92, 0x69, 0x9e, - 0x86, 0x21, 0xf7, 0x69, 0x24, 0xe8, 0x44, 0x3b, 0x10, 0xc7, 0x75, 0x70, 0x86, 0xa0, 0x7b, 0xe2, - 0x9f, 0xa7, 0xd5, 0xff, 0x14, 0x40, 0x22, 0xcb, 0xeb, 0x15, 0x30, 0xfb, 0x36, 0x40, 0x44, 0x32, - 0x31, 0x4e, 0x52, 0x36, 0x42, 0xa9, 0x69, 0x0d, 0xff, 0x58, 0x80, 0x14, 0x0b, 0x12, 0xa7, 0x61, - 0x7a, 0xbf, 0xee, 0xe2, 0x74, 0xba, 0x27, 0x26, 0xd5, 0xfd, 0x57, 0x12, 0x48, 0x74, 0xf5, 0x9e, - 0x82, 0xe6, 0x37, 0x41, 0x3a, 0x74, 0x9d, 0x26, 0xd7, 0x39, 0x9a, 0x0a, 0xd5, 0xf1, 0x33, 0xbf, - 0xea, 0x98, 0x78, 0xcf, 0xf1, 0x54, 0x8a, 0x41, 0x6f, 0x81, 0xe8, 0x3b, 0x5c, 0xcd, 0x51, 0x48, - 0xd1, 0x77, 0xd0, 0x31, 0x5c, 0xec, 0xe9, 0xa3, 0x35, 0xf5, 0x96, 0x76, 0xd0, 0xd5, 0xe8, 0xd6, - 0xc2, 0x13, 0x85, 0x8d, 0x91, 0xe1, 0xb7, 0x18, 0x6a, 0xf6, 0x58, 0x6f, 0x6d, 0x76, 0x4b, 0x44, - 0x88, 0x25, 0x54, 0x8b, 0xc6, 0x70, 0x0b, 0xd9, 0xc3, 0x0d, 0xc7, 0xf6, 0xb1, 0xcd, 0x02, 0xbb, - 0xac, 0x06, 0xc5, 0xc1, 0xb9, 0x4d,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0x8f, 0x5d, 0x1e, 0x00, 0x96, 0x46, 0x48, 0x95, 0x19, 0x6a, 0x6b, 0x46, 0x0d, - 0x04, 0xe8, 0x70, 0x2e, 0x0e, 0x8e, 0xc7, 0x23, 0x87, 0x73, 0x31, 0x3d, 0xf1, 0x13, 0x68, 0xfe, - 0x53, 0x01, 0xa0, 0x37, 0x87, 0x68, 0x05, 0x92, 0x36, 0x89, 0x4a, 0x39, 0x81, 0xae, 0xa4, 0xe8, - 0xaa, 0x53, 0xb7, 0xea, 0x24, 0x60, 0xa9, 0x0c, 0x30, 0x65, 0x56, 0x1e, 0xe5, 0x64, 0x62, 0x0a, - 0x4e, 0x4a, 0x93, 0x71, 0x32, 0xff, 0x07, 0x01, 0xe4, 0xd0, 0xab, 0x63, 0xad, 0x7a, 0x58, 0x7a, - 0x7d, 0xac, 0xfa, 0xab, 0x00, 0x72, 0xc8, 0xb4, 0x70, 0xdd, 0x09, 0x93, 0xaf, 0x3b, 0x31, 0xb2, - 0xee, 0xa6, 0x3c, 0x13, 0x46, 0x6d, 0x95, 0xa6, 0xb0, 0x35, 0x39, 0xa1, 0xad, 0xbf, 0x17, 0x40, - 0x22, 0x0b, 0x03, 0xdd, 0xe8, 0x77, 0xde, 0x62, 0x4c, 0xee, 0xf7, 0x7a, 0x78, 0xef, 0x2f, 0x02, - 0xa4, 0xf9, 0xa2, 0xfd, 0x7f, 0xf0, 0x9d, 0x8b, 0xf1, 0x58, 0xdf, 0xf1, 0x04, 0xe8, 0xb5, 0xf0, - 0x5d, 0xb8, 0x3f, 0x3f, 0x86, 0x34, 0x8f, 0x83, 0x31, 0xdb, 0xfb, 0x1a, 0xa4, 0x31, 0x8b, 0xb1, - 0x31, 0x27, 0x9a, 0xe8, 0xe5, 0x47, 0x00, 0x2b, 0x18, 0x90, 0xe6, 0x01, 0x88, 0x24, 0x45, 0x36, - 0xd9, 0x2a, 0x84, 0xa1, 0x74, 0x27, 0x08, 0x51, 0xb4, 0x7d, 0x8a, 0x41,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x39, 0x4e, 0x16, 0x02, 0xf8, 0x10, 0x1f, 0x53, 0x2f, 0xc3, 0xc7, 0xbf, 0x09, 0xbd, 0x67, 0x23, - 0xfc, 0x59, 0xc3, 0x3b, 0x7d, 0x19, 0xf9, 0x17, 0x46, 0x3e, 0x2b, 0xe0, 0xef, 0x1c, 0x22, 0x19, - 0xfa, 0x2a, 0x64, 0x82, 0x97, 0x06, 0xe3, 0x5e, 0x98, 0x84, 0xa0, 0x42, 0x33, 0x78, 0x5f, 0x42, - 0x3a, 0x41, 0x97, 0xe1, 0x62, 0x79, 0xab, 0x54, 0x7d, 0xa8, 0x68, 0xf5, 0xa7, 0x7b, 0x8a, 0xb6, - 0x5f, 0xad, 0xed, 0x29, 0xe5, 0xed, 0x07, 0xdb, 0x4a, 0x25, 0x3b, 0x83, 0x16, 0x61, 0x21, 0xda, - 0xb8, 0xb7, 0x5f, 0xcf, 0x0a, 0xe8, 0x02, 0xa0, 0x68, 0x65, 0x45, 0xd9, 0x51, 0xea, 0x4a, 0x56, - 0x44, 0xe7, 0xe1, 0x6c, 0xb4, 0xbe, 0xbc, 0xa3, 0x94, 0xd4, 0x6c, 0xa2, 0xd0, 0x81, 0x4c, 0xa0, - 0x04, 0x5a, 0x07, 0x89, 0x50, 0x99, 0xef, 0x3e, 0x57, 0x63, 0xf4, 0x2c, 0x56, 0x74, 0x5f, 0x67, - 0x5b, 0x23, 0x85, 0xe6, 0xbf, 0x0a, 0x72, 0x58, 0xf5, 0x32, 0xff, 0xb4, 0x0a, 0x55, 0x62, 0x66, - 0xf8, 0xd8, 0xa5, 0xff, 0x45, 0x85, 0x10, 0xf7, 0xa2, 0xa2, 0xff, 0x4d, 0x86, 0x38, 0xf0, 0x26, - 0xa3, 0xf0, 0x23, 0x01, 0x66, 0x23, 0x7f, 0xfb, 0x4f, 0x77, 0x3f, 0x44, 0x5f, 0x84, 0x05, 0x17, - 0x37, 0x74, 0x72, 0xb2, 0xd6, 0x38, 0x20, 0x41, 0x01, 0xf3, 0x41, 0xf5, 0x2e, 0xdb, 0x38, 0x0d, - 0x80, 0x5e, 0xcf, 0xd1, 0x57, 0x20, 0xc2, 0xf0, 0x2b, 0x90, 0x2b, 0x20, 0x9b, 0xb8, 0x41, 0x0e, - 0xec, 0xd8, 0x0d, 0x0c, 0x0a, 0x2b, 0xfa, 0xde, 0x88, 0x24, 0xfa, 0xdf, 0x88, 0xec, 0x43, 0xa6, - 0xe2, 0x18, 0x4a, 0x07, 0xdb, 0x3e, 0xba, 0xd5, 0xc7, 0xcc, 0x8b, 0x11, 0x0b, 0x03, 0x48, 0x84, - 0x8c, 0x57, 0x80, 0xed, 0x53, 0xde, 0x31, 0x1f, 0x71, 0x4e, 0xed, 0x55, 0xdc, 0xfc, 0x54, 0x04, - 0x39, 0x3c, 0x60, 0x12, 0x72, 0x3d, 0x29, 0xed, 0xec, 0x73, 0xba, 0x54, 0xf7, 0x77, 0x76, 0xb2, - 0x33, 0x84, 0x5c, 0x91, 0xca, 0xcd, 0xdd, 0xdd, 0x1d, 0xa5, 0x54, 0x65, 0xa4, 0x8b, 0xd4, 0x6f, - 0x57, 0xeb, 0xca, 0x43, 0x45, 0xcd, 0x8a, 0x03, 0x9d, 0xec, 0xec, 0x56, 0x1f, 0x66, 0x13, 0x84, - 0x89, 0x91, 0xca, 0xca, 0xee, 0xfe, 0xe6, 0x8e, 0x92, 0x95, 0x06, 0xaa, 0x6b, 0x75, 0x75, 0xbb, - 0xfa, 0x30, 0x9b, 0x44, 0xe7, 0x20, 0x1b, 0x1d, 0xf2, 0x69, 0x5d, 0xa9, 0x65, 0x53, 0x03, 0x1d, - 0x57, 0x4a, 0x75, 0x25, 0x9b, 0x46, 0x79, 0xb8, 0x10, 0xa9, 0x24, 0xc7, 0x1d, 0x6d, 0x77, 0xf3, - 0x91, 0x52, 0xae, 0x67, 0x33, 0xe8, 0x12, 0x9c, 0x1f, 0x6c, 0x2b, 0xa9, 0x6a, 0xe9, 0x69, 0x56, - 0x1e, 0xe8, 0xab, 0xae, 0x7c, 0xa7, 0x9e, 0x85, 0x81, 0xbe, 0xb8, 0x45, 0x5a, 0xb9, 0x5a, 0xcf, - 0xce, 0xa2, 0x8b, 0xb0, 0x38, 0x60, 0x15, 0x6d, 0x98, 0x1b, 0xec, 0x49, 0x55, 0x94, 0xec, 0x99, - 0x9b, 0x3f, 0x80, 0xb9, 0xa8, 0x2b, 0xd0, 0x75, 0x78, 0xa3, 0xb2, 0x5b, 0xd6, 0x94, 0x27, 0x4a, - 0xb5, 0x1e, 0x4c, 0x41, 0x79, 0xff, 0x31, 0x29, 0xb1, 0x05, 0x4a, 0x96, 0xf6, 0x18, 0xd0, 0x7b, - 0xa5, 0x7a, 0x79, 0x4b, 0xa9, 0x64, 0x05, 0xf4, 0x26, 0x5c, 0x1b, 0x05, 0xda, 0xaf, 0x06, 0x30, - 0x71, 0xf3, 0xd6, 0x6f, 0x9e, 0x2f, 0x09, 0x9f, 0x3c, 0x5f, 0x12, 0xfe, 0xf4, 0x7c, 0x49, 0xf8, - 0xd9, 0x9f, 0x97, 0x66, 0xe0, 0xac, 0x89, 0x3b, 0x01, 0x53, 0xf4, 0x96, 0x55, 0xec, 0xac, 0xef, - 0x09, 0xef, 0x4b, 0xc5, 0x7b, 0x9d, 0xf5, 0x83, 0x14, 0x8d, 0x8d, 0x5f, 0xf9, 0x4f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x2c, 0xaf, 0x2e, 0x02, 0x1d, 0x28, 0x00, 0x00, + // 2588 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0xcd, 0x8f, 0x1b, 0x49, + 0x15, 0x9f, 0x6e, 0xb7, 0x3f, 0xfa, 0x4d, 0x32, 0xe3, 0xd4, 0xe4, 0xc3, 0x71, 0x92, 0xd9, 0x89, + 0x97, 0x5d, 0x66, 0x13, 0xf0, 0x7c, 0xb0, 0xbb, 0x2c, 0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x67, + 0xd0, 0xad, 0x85, 0x27, 0x0a, 0x9b, 0x63, 0xc3, 0x6f, 0x31, 0xd2, 0xec, 0x81, 0xd9, 0xde, 0xea, + 0x95, 0x88, 0x10, 0x4b, 0xa8, 0x96, 0xac, 0xd1, 0x16, 0xb2, 0x87, 0x5b, 0x6e, 0x2b, 0xc0, 0x2d, + 0x16, 0xd8, 0x55, 0x3d, 0x2c, 0x0e, 0xcf, 0x6d, 0x6a, 0xca, 0xb9, 0x45, 0x3b, 0x00, 0x66, 0x10, + 0x78, 0xce, 0x61, 0x27, 0xc0, 0x7e, 0x2e, 0x4d, 0xd5, 0x7d, 0x6d, 0xbc, 0xba, 0xa5, 0x08, 0xcb, + 0xb4, 0x14, 0x84, 0xf3, 0xdf, 0x83, 0xdc, 0x38, 0x6b, 0x62, 0x32, 0xc0, 0xdb, 0x83, 0x19, 0xe0, + 0x18, 0x55, 0xfb, 0x39, 0x60, 0xfe, 0x0e, 0x2c, 0x0e, 0x8d, 0x1e, 0xd3, 0xeb, 0x45, 0xb1, 0x57, + 0x55, 0x14, 0xff, 0xa3, 0x04, 0x29, 0xb6, 0x7b, 0x3d, 0xaf, 0x34, 0x9a, 0x75, 0x69, 0x7f, 0x26, + 0x43, 0x92, 0x6e, 0x4e, 0xcf, 0xab, 0x61, 0xf7, 0x07, 0x38, 0xc6, 0x96, 0xc4, 0xad, 0xf1, 0x89, + 0xc2, 0x24, 0x92, 0x0d, 0x4f, 0x52, 0x72, 0xda, 0x49, 0xfa, 0x2f, 0xd9, 0xf3, 0xb1, 0x04, 0x99, + 0x30, 0x1d, 0x39, 0x8b, 0x69, 0xde, 0x1c, 0x64, 0xff, 0x2c, 0x7b, 0xde, 0xd4, 0xe1, 0xf3, 0x93, + 0x04, 0x64, 0xc2, 0x64, 0xe8, 0x2c, 0x74, 0x7f, 0x75, 0x80, 0x22, 0x48, 0x94, 0xf2, 0xb0, 0x40, + 0x8f, 0x82, 0x40, 0x8f, 0x38, 0x14, 0xa1, 0x46, 0xe3, 0x69, 0xa1, 0xf3, 0xcd, 0x89, 0xb9, 0xdd, + 0x33, 0x86, 0xcf, 0x75, 0xc8, 0xf0, 0x78, 0xe9, 0xe7, 0x92, 0x23, 0xc7, 0x1c, 0xd2, 0x29, 0xa1, + 0xad, 0xaf, 0x47, 0xa8, 0x59, 0xc3, 0xea, 0xff, 0x3a, 0x16, 0x7e, 0x26, 0x83, 0x1a, 0x25, 0xa8, + 0xcf, 0x9b, 0x4f, 0xab, 0x31, 0xcb, 0xbd, 0x38, 0x39, 0xc7, 0x7e, 0x0e, 0x97, 0xfc, 0x56, 0x0a, + 0x94, 0x43, 0xd7, 0xee, 0x15, 0xfe, 0x2e, 0xc1, 0x85, 0x91, 0x35, 0x39, 0x94, 0x01, 0x49, 0x53, + 0x66, 0x40, 0xeb, 0x90, 0xa1, 0x87, 0xf7, 0xa7, 0x66, 0x4d, 0x69, 0x0a, 0x63, 0x99, 0x16, 0xff, + 0x03, 0xf0, 0xf4, 0x2c, 0x91, 0x03, 0x4b, 0x01, 0x5a, 0x05, 0x25, 0xe8, 0xb5, 0xd9, 0x91, 0x71, + 0x61, 0x80, 0xe4, 0x0f, 0x89, 0x7d, 0xf5, 0x5e, 0x1b, 0xeb, 0x14, 0xd1, 0xb7, 0x3f, 0x49, 0x4f, + 0xc4, 0xac, 0x50, 0xf8, 0xc5, 0x79, 0x98, 0x17, 0x6c, 0x46, 0x15, 0x98, 0xff, 0xc0, 0x77, 0x5b, + 0x86, 0x7b, 0xf8, 0x01, 0x39, 0x21, 0x32, 0x73, 0x6f, 0xc6, 0x07, 0x2d, 0xfa, 0xbd, 0x47, 0x81, + 0xdb, 0x73, 0x3a, 0x10, 0x39, 0x56, 0x42, 0x25, 0xa0, 0x25, 0xc3, 0xf4, 0x3c, 0xb3, 0xc7, 0xed, + 0x5f, 0x99, 0xd0, 0x49, 0x89, 0xe0, 0xc8, 0xf1, 0x8b, 0x48, 0xd1, 0x02, 0xfb, 0x3b, 0xe5, 0x34, + 0x9d, 0xc0, 0x89, 0xce, 0xd0, 0xe3, 0x7a, 0xd8, 0x0f, 0x71, 0xa4, 0x87, 0x48, 0x08, 0x6d, 0x80, + 0x12, 0xe0, 0xc7, 0x21, 0x8d, 0xae, 0x8d, 0x11, 0x26, 0x5b, 0x18, 0x39, 0x1a, 0x13, 0x28, 0x7a, + 0x9b, 0x64, 0x5d, 0x9d, 0x56, 0x80, 0x3d, 0x1e, 0x00, 0x96, 0xc7, 0x48, 0x95, 0x19, 0x6a, 0x7b, + 0x4e, 0x0f, 0x05, 0xe8, 0x70, 0x1e, 0x0e, 0x8f, 0xc7, 0x63, 0x87, 0xf3, 0x30, 0x3d, 0xf1, 0x13, + 0x68, 0xfe, 0x53, 0x09, 0xa0, 0x3f, 0x87, 0x68, 0x15, 0x92, 0x2d, 0x12, 0x95, 0x72, 0x12, 0x5d, + 0x49, 0xe2, 0xaa, 0xd3, 0xb7, 0xeb, 0x24, 0x60, 0xe9, 0x0c, 0x30, 0x63, 0x56, 0x2e, 0x72, 0x32, + 0x31, 0x03, 0x27, 0x95, 0xe9, 0x38, 0x99, 0xff, 0x83, 0x04, 0x6a, 0xe4, 0xd5, 0x89, 0x56, 0xdd, + 0x2b, 0xbd, 0x38, 0x56, 0xfd, 0x55, 0x02, 0x35, 0x62, 0x5a, 0xb4, 0xee, 0xa4, 0xe9, 0xd7, 0x9d, + 0x2c, 0xac, 0xbb, 0x19, 0xcf, 0x84, 0xa2, 0xad, 0xca, 0x0c, 0xb6, 0x26, 0xa7, 0xb4, 0xf5, 0xf7, + 0x12, 0x28, 0x64, 0x61, 0xa0, 0xd7, 0x06, 0x9d, 0xb7, 0x14, 0x93, 0xfb, 0xbd, 0x18, 0xde, 0xfb, + 0x8b, 0x04, 0x69, 0xbe, 0x68, 0xff, 0x1f, 0x7c, 0xe7, 0x61, 0x3c, 0xd1, 0x77, 0x3c, 0x01, 0x7a, + 0x21, 0x7c, 0x17, 0xed, 0xcf, 0x0f, 0x20, 0xcd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b1, 0xcb, 0xe0, 0x8b, 0x0a, 0x29, 0xee, 0x45, 0xc5, 0xe0, 0x9b, 0x0c, 0x79, 0xe8, + 0x4d, 0x46, 0xe1, 0x47, 0x12, 0xcc, 0x0b, 0x7f, 0xfb, 0xcf, 0x76, 0x3f, 0x44, 0x5f, 0x84, 0x45, + 0x0f, 0x37, 0x4c, 0x72, 0xb2, 0x36, 0x38, 0x20, 0x41, 0x01, 0x0b, 0x61, 0xf5, 0x1e, 0xdb, 0x38, + 0x2d, 0x80, 0x7e, 0xcf, 0xe2, 0x2b, 0x10, 0x69, 0xf4, 0x15, 0xc8, 0x75, 0x50, 0x6d, 0xdc, 0x20, + 0x07, 0x76, 0xec, 0x85, 0x06, 0x45, 0x15, 0x03, 0x6f, 0x44, 0x12, 0x83, 0x6f, 0x44, 0x0e, 0x20, + 0x53, 0x71, 0x2d, 0xad, 0x8b, 0x5b, 0x01, 0xba, 0x3d, 0xc0, 0xcc, 0x2b, 0x82, 0x85, 0x21, 0x44, + 0x20, 0xe3, 0x75, 0x60, 0xfb, 0x94, 0x7f, 0xc2, 0x47, 0x0c, 0x37, 0x2e, 0x52, 0x71, 0xeb, 0x53, + 0x19, 0xd4, 0xe8, 0x80, 0x49, 0xc8, 0xf5, 0xb0, 0xb4, 0x7b, 0xc0, 0xe9, 0x52, 0x3d, 0xd8, 0xdd, + 0xcd, 0xce, 0x11, 0x72, 0x09, 0x95, 0x5b, 0x7b, 0x7b, 0xbb, 0x5a, 0xa9, 0xca, 0x48, 0x27, 0xd4, + 0xef, 0x54, 0xeb, 0xda, 0x3d, 0x4d, 0xcf, 0xca, 0x43, 0x9d, 0xec, 0xee, 0x55, 0xef, 0x65, 0x13, + 0x84, 0x89, 0x42, 0x65, 0x65, 0xef, 0x60, 0x6b, 0x57, 0xcb, 0x2a, 0x43, 0xd5, 0xb5, 0xba, 0xbe, + 0x53, 0xbd, 0x97, 0x4d, 0xa2, 0x8b, 0x90, 0x15, 0x87, 0x7c, 0x54, 0x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, err error) { @@ -16763,7 +16763,7 @@ func (m *DocEvent) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Publisher", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowResources @@ -16773,25 +16773,23 @@ func (m *DocEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthResources } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthResources } if postIndex > l { return io.ErrUnexpectedEOF } - m.Publisher = append(m.Publisher[:0], dAtA[iNdEx:postIndex]...) - if m.Publisher == nil { - m.Publisher = []byte{} - } + m.Publisher = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/api/yorkie/v1/resources.proto b/api/yorkie/v1/resources.proto index aa2636878..fd09dd601 100644 --- a/api/yorkie/v1/resources.proto +++ b/api/yorkie/v1/resources.proto @@ -360,5 +360,5 @@ enum DocEventType { message DocEvent { DocEventType type = 1; - bytes publisher = 2; + string publisher = 2; } diff --git a/api/yorkie/v1/yorkie.pb.go b/api/yorkie/v1/yorkie.pb.go index 46abb9033..8af66bd68 100644 --- a/api/yorkie/v1/yorkie.pb.go +++ b/api/yorkie/v1/yorkie.pb.go @@ -74,7 +74,7 @@ func (m *ActivateClientRequest) GetClientKey() string { } type ActivateClientResponse struct { - ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -113,15 +113,15 @@ func (m *ActivateClientResponse) XXX_DiscardUnknown() { var xxx_messageInfo_ActivateClientResponse proto.InternalMessageInfo -func (m *ActivateClientResponse) GetClientId() []byte { +func (m *ActivateClientResponse) GetClientId() string { if m != nil { return m.ClientId } - return nil + return "" } type DeactivateClientRequest struct { - ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -160,11 +160,11 @@ func (m *DeactivateClientRequest) XXX_DiscardUnknown() { var xxx_messageInfo_DeactivateClientRequest proto.InternalMessageInfo -func (m *DeactivateClientRequest) GetClientId() []byte { +func (m *DeactivateClientRequest) GetClientId() string { if m != nil { return m.ClientId } - return nil + return "" } type DeactivateClientResponse struct { @@ -207,7 +207,7 @@ func (m *DeactivateClientResponse) XXX_DiscardUnknown() { var xxx_messageInfo_DeactivateClientResponse proto.InternalMessageInfo type AttachDocumentRequest struct { - ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,2,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -247,11 +247,11 @@ func (m *AttachDocumentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_AttachDocumentRequest proto.InternalMessageInfo -func (m *AttachDocumentRequest) GetClientId() []byte { +func (m *AttachDocumentRequest) GetClientId() string { if m != nil { return m.ClientId } - return nil + return "" } func (m *AttachDocumentRequest) GetChangePack() *ChangePack { @@ -317,7 +317,7 @@ func (m *AttachDocumentResponse) GetChangePack() *ChangePack { } type DetachDocumentRequest struct { - ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,3,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` RemoveIfNotAttached bool `protobuf:"varint,4,opt,name=remove_if_not_attached,json=removeIfNotAttached,proto3" json:"remove_if_not_attached,omitempty"` @@ -359,11 +359,11 @@ func (m *DetachDocumentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_DetachDocumentRequest proto.InternalMessageInfo -func (m *DetachDocumentRequest) GetClientId() []byte { +func (m *DetachDocumentRequest) GetClientId() string { if m != nil { return m.ClientId } - return nil + return "" } func (m *DetachDocumentRequest) GetDocumentId() string { @@ -435,7 +435,7 @@ func (m *DetachDocumentResponse) GetChangePack() *ChangePack { } type WatchDocumentRequest struct { - ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -475,11 +475,11 @@ func (m *WatchDocumentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_WatchDocumentRequest proto.InternalMessageInfo -func (m *WatchDocumentRequest) GetClientId() []byte { +func (m *WatchDocumentRequest) GetClientId() string { if m != nil { return m.ClientId } - return nil + return "" } func (m *WatchDocumentRequest) GetDocumentId() string { @@ -578,7 +578,7 @@ func (*WatchDocumentResponse) XXX_OneofWrappers() []interface{} { } type WatchDocumentResponse_Initialization struct { - ClientIds [][]byte `protobuf:"bytes,1,rep,name=client_ids,json=clientIds,proto3" json:"client_ids,omitempty"` + ClientIds []string `protobuf:"bytes,1,rep,name=client_ids,json=clientIds,proto3" json:"client_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -617,7 +617,7 @@ func (m *WatchDocumentResponse_Initialization) XXX_DiscardUnknown() { var xxx_messageInfo_WatchDocumentResponse_Initialization proto.InternalMessageInfo -func (m *WatchDocumentResponse_Initialization) GetClientIds() [][]byte { +func (m *WatchDocumentResponse_Initialization) GetClientIds() []string { if m != nil { return m.ClientIds } @@ -625,7 +625,7 @@ func (m *WatchDocumentResponse_Initialization) GetClientIds() [][]byte { } type RemoveDocumentRequest struct { - ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,3,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -666,11 +666,11 @@ func (m *RemoveDocumentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_RemoveDocumentRequest proto.InternalMessageInfo -func (m *RemoveDocumentRequest) GetClientId() []byte { +func (m *RemoveDocumentRequest) GetClientId() string { if m != nil { return m.ClientId } - return nil + return "" } func (m *RemoveDocumentRequest) GetDocumentId() string { @@ -735,7 +735,7 @@ func (m *RemoveDocumentResponse) GetChangePack() *ChangePack { } type PushPullChangesRequest struct { - ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,3,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` PushOnly bool `protobuf:"varint,4,opt,name=push_only,json=pushOnly,proto3" json:"push_only,omitempty"` @@ -777,11 +777,11 @@ func (m *PushPullChangesRequest) XXX_DiscardUnknown() { var xxx_messageInfo_PushPullChangesRequest proto.InternalMessageInfo -func (m *PushPullChangesRequest) GetClientId() []byte { +func (m *PushPullChangesRequest) GetClientId() string { if m != nil { return m.ClientId } - return nil + return "" } func (m *PushPullChangesRequest) GetDocumentId() string { @@ -873,48 +873,48 @@ func init() { func init() { proto.RegisterFile("yorkie/v1/yorkie.proto", fileDescriptor_40070c858814ab24) } var fileDescriptor_40070c858814ab24 = []byte{ - // 653 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xce, 0xf6, 0x4f, 0xcd, 0xa4, 0x2d, 0xb0, 0x25, 0x69, 0x48, 0x45, 0x1a, 0x96, 0x4b, 0xa4, - 0x4a, 0x09, 0x69, 0x45, 0x2f, 0x9c, 0xda, 0x06, 0xa9, 0x11, 0x12, 0x04, 0x83, 0xa8, 0x5a, 0x09, - 0x59, 0xae, 0xbd, 0x25, 0xab, 0xb8, 0xde, 0xd4, 0x5e, 0x5b, 0x32, 0x0f, 0xc0, 0x8d, 0x3b, 0xef, - 0xc0, 0x5b, 0x70, 0xe2, 0xc8, 0x91, 0x23, 0x2a, 0x2f, 0x82, 0x62, 0x3b, 0xc1, 0xeb, 0x2e, 0x69, - 0xa0, 0x48, 0x70, 0xdb, 0xcc, 0x7e, 0xf3, 0xcd, 0xb7, 0x93, 0x99, 0x4f, 0x86, 0x52, 0xc8, 0xdd, - 0x3e, 0xa3, 0xcd, 0xa0, 0xd5, 0x8c, 0x4f, 0x8d, 0x81, 0xcb, 0x05, 0xc7, 0xf9, 0xe4, 0x57, 0xd0, - 0xaa, 0xdc, 0xf9, 0x09, 0x71, 0xa9, 0xc7, 0x7d, 0xd7, 0xa4, 0x5e, 0x8c, 0x22, 0x3b, 0x50, 0xdc, - 0x35, 0x05, 0x0b, 0x0c, 0x41, 0xf7, 0x6d, 0x46, 0x1d, 0xa1, 0xd1, 0x73, 0x9f, 0x7a, 0x02, 0xdf, - 0x05, 0x30, 0xa3, 0x80, 0xde, 0xa7, 0x61, 0x19, 0xd5, 0x50, 0x3d, 0xaf, 0xe5, 0xe3, 0xc8, 0x13, - 0x1a, 0x92, 0x87, 0x50, 0xca, 0xe6, 0x79, 0x03, 0xee, 0x78, 0x14, 0xaf, 0x43, 0x02, 0xd3, 0x99, - 0x15, 0xe5, 0x2d, 0x69, 0x8b, 0x71, 0xa0, 0x63, 0x91, 0x1d, 0x58, 0x6b, 0x53, 0x43, 0x59, 0x70, - 0x62, 0x5e, 0x05, 0xca, 0x97, 0xf3, 0xe2, 0x82, 0xc4, 0x86, 0xe2, 0xae, 0x10, 0x86, 0xd9, 0x6b, - 0x73, 0xd3, 0x3f, 0x9b, 0x92, 0x11, 0xef, 0x40, 0xc1, 0xec, 0x19, 0xce, 0x1b, 0xaa, 0x0f, 0x0c, - 0xb3, 0x5f, 0x9e, 0xa9, 0xa1, 0x7a, 0x61, 0xab, 0xd8, 0x18, 0x37, 0xad, 0xb1, 0x1f, 0xdd, 0x76, - 0x0d, 0xb3, 0xaf, 0x81, 0x39, 0x3e, 0x93, 0x73, 0x28, 0x65, 0xab, 0x25, 0x0f, 0xdf, 0x80, 0x82, - 0x95, 0xc4, 0x46, 0x05, 0xf3, 0x1a, 0x8c, 0x42, 0xd7, 0x28, 0xf9, 0x09, 0x41, 0xb1, 0x4d, 0x7f, - 0xfb, 0x85, 0x19, 0x3d, 0x33, 0x57, 0xe9, 0x99, 0x9d, 0x52, 0x0f, 0xde, 0x86, 0x92, 0x4b, 0xcf, - 0x78, 0x40, 0x75, 0x76, 0xaa, 0x3b, 0x5c, 0xe8, 0x46, 0xd4, 0x10, 0x6a, 0x95, 0xe7, 0x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e8, 0x05, 0x75, 0x03, 0x66, 0x52, 0x7c, 0x08, 0x2b, 0xb2, 0x51, - 0xe3, 0x5a, 0x8a, 0x46, 0xe9, 0xfd, 0x95, 0x7b, 0x13, 0x10, 0x89, 0xe9, 0xe6, 0xf0, 0x6b, 0xb8, - 0x99, 0xb5, 0x64, 0x4c, 0xd2, 0x83, 0xab, 0xf6, 0xf9, 0xca, 0xfd, 0x89, 0x98, 0x31, 0xfd, 0x50, - 0xb7, 0xe4, 0xb3, 0xb2, 0x6e, 0x95, 0xe1, 0xcb, 0xba, 0x95, 0x26, 0x1d, 0x13, 0xcb, 0x46, 0x24, - 0x11, 0x2b, 0x7d, 0x56, 0x22, 0x56, 0xbb, 0x58, 0x4c, 0x2c, 0x8f, 0xb3, 0x44, 0xac, 0x5c, 0x3c, - 0x89, 0x58, 0xbd, 0x0b, 0x24, 0x87, 0x8f, 0xe1, 0x46, 0x66, 0x4e, 0x70, 0x3a, 0x4f, 0x3d, 0xf0, - 0x15, 0x32, 0x09, 0x32, 0xe6, 0x7e, 0x05, 0xcb, 0x92, 0x67, 0xe1, 0x8d, 0x5f, 0xbb, 0x59, 0xcc, - 0x5b, 0xbb, 0xca, 0xee, 0x48, 0xee, 0x01, 0xda, 0xdb, 0xfc, 0x7c, 0x51, 0x45, 0x5f, 0x2e, 0xaa, - 0xe8, 0xdb, 0x45, 0x15, 0x7d, 0xf8, 0x5e, 0xcd, 0xc1, 0x2d, 0x8b, 0x06, 0xa3, 0x54, 0x63, 0xc0, - 0x1a, 0x41, 0xab, 0x8b, 0x8e, 0xe7, 0x1a, 0x8f, 0x82, 0xd6, 0xc9, 0x42, 0xf4, 0x2d, 0xb2, 0xfd, - 0x23, 0x00, 0x00, 0xff, 0xff, 0x35, 0xf8, 0x9f, 0xdf, 0xcb, 0x08, 0x00, 0x00, + // 650 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x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2e, + 0x90, 0x12, 0x3e, 0x84, 0xff, 0x0a, 0x73, 0x82, 0xf3, 0x79, 0xea, 0x81, 0x6f, 0x90, 0x49, 0x90, + 0x31, 0xf7, 0x2b, 0x58, 0x90, 0x3c, 0x0b, 0xaf, 0xfe, 0xdc, 0xcd, 0x52, 0x5e, 0xed, 0x2a, 0xbb, + 0x23, 0xa5, 0x07, 0x68, 0x67, 0xfd, 0xf3, 0x59, 0x13, 0x7d, 0x39, 0x6b, 0xa2, 0x6f, 0x67, 0x4d, + 0xf4, 0xe1, 0x7b, 0xb3, 0x04, 0xb7, 0x1c, 0x1a, 0x9d, 0xa7, 0x5a, 0x43, 0xa6, 0x47, 0xed, 0x1e, + 0x3a, 0x9c, 0xd1, 0x1f, 0x45, 0xed, 0xa3, 0xb9, 0xe4, 0x5b, 0x64, 0xf3, 0x47, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x8c, 0xb9, 0x33, 0xc1, 0xcb, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2133,8 +2133,8 @@ func (m *WatchDocumentResponse_Initialization) Size() (n int) { var l int _ = l if len(m.ClientIds) > 0 { - for _, b := range m.ClientIds { - l = len(b) + for _, s := range m.ClientIds { + l = len(s) n += 1 + l + sovYorkie(uint64(l)) } } @@ -2349,7 +2349,7 @@ func (m *ActivateClientResponse) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ClientId", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowYorkie @@ -2359,25 +2359,23 @@ func (m *ActivateClientResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthYorkie } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthYorkie } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClientId = append(m.ClientId[:0], dAtA[iNdEx:postIndex]...) - if m.ClientId == nil { - m.ClientId = []byte{} - } + m.ClientId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -2434,7 +2432,7 @@ func (m *DeactivateClientRequest) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ClientId", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowYorkie @@ -2444,25 +2442,23 @@ func (m *DeactivateClientRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthYorkie } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthYorkie } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClientId = append(m.ClientId[:0], dAtA[iNdEx:postIndex]...) - if m.ClientId == nil { - m.ClientId = []byte{} - } + m.ClientId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -2570,7 +2566,7 @@ func (m *AttachDocumentRequest) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ClientId", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowYorkie @@ -2580,25 +2576,23 @@ func (m *AttachDocumentRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthYorkie } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthYorkie } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClientId = append(m.ClientId[:0], dAtA[iNdEx:postIndex]...) - if m.ClientId == nil { - m.ClientId = []byte{} - } + m.ClientId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -2810,7 +2804,7 @@ func (m *DetachDocumentRequest) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ClientId", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowYorkie @@ -2820,25 +2814,23 @@ func (m *DetachDocumentRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthYorkie } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthYorkie } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClientId = append(m.ClientId[:0], dAtA[iNdEx:postIndex]...) - if m.ClientId == nil { - m.ClientId = []byte{} - } + m.ClientId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -3070,7 +3062,7 @@ func (m *WatchDocumentRequest) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ClientId", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowYorkie @@ -3080,25 +3072,23 @@ func (m *WatchDocumentRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthYorkie } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthYorkie } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClientId = append(m.ClientId[:0], dAtA[iNdEx:postIndex]...) - if m.ClientId == nil { - m.ClientId = []byte{} - } + m.ClientId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -3308,7 +3298,7 @@ func (m *WatchDocumentResponse_Initialization) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ClientIds", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowYorkie @@ -3318,23 +3308,23 @@ func (m *WatchDocumentResponse_Initialization) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthYorkie } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthYorkie } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClientIds = append(m.ClientIds, make([]byte, postIndex-iNdEx)) - copy(m.ClientIds[len(m.ClientIds)-1], dAtA[iNdEx:postIndex]) + m.ClientIds = append(m.ClientIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -3391,7 +3381,7 @@ func (m *RemoveDocumentRequest) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ClientId", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowYorkie @@ -3401,25 +3391,23 @@ func (m *RemoveDocumentRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthYorkie } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthYorkie } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClientId = append(m.ClientId[:0], dAtA[iNdEx:postIndex]...) - if m.ClientId == nil { - m.ClientId = []byte{} - } + m.ClientId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -3631,7 +3619,7 @@ func (m *PushPullChangesRequest) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ClientId", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowYorkie @@ -3641,25 +3629,23 @@ func (m *PushPullChangesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthYorkie } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthYorkie } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClientId = append(m.ClientId[:0], dAtA[iNdEx:postIndex]...) - if m.ClientId == nil { - m.ClientId = []byte{} - } + m.ClientId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { diff --git a/api/yorkie/v1/yorkie.proto b/api/yorkie/v1/yorkie.proto index 4fc9f6f93..639ddd37d 100644 --- a/api/yorkie/v1/yorkie.proto +++ b/api/yorkie/v1/yorkie.proto @@ -42,18 +42,18 @@ message ActivateClientRequest { } message ActivateClientResponse { - bytes client_id = 1; + string client_id = 1; } message DeactivateClientRequest { - bytes client_id = 1; + string client_id = 1; } message DeactivateClientResponse { } message AttachDocumentRequest { - bytes client_id = 1; + string client_id = 1; ChangePack change_pack = 2; } @@ -63,7 +63,7 @@ message AttachDocumentResponse { } message DetachDocumentRequest { - bytes client_id = 1; + string client_id = 1; string document_id = 2; ChangePack change_pack = 3; bool remove_if_not_attached = 4; @@ -74,13 +74,13 @@ message DetachDocumentResponse { } message WatchDocumentRequest { - bytes client_id = 1; + string client_id = 1; string document_id = 2; } message WatchDocumentResponse { message Initialization { - repeated bytes client_ids = 1; + repeated string client_ids = 1; } oneof body { @@ -90,7 +90,7 @@ message WatchDocumentResponse { } message RemoveDocumentRequest { - bytes client_id = 1; + string client_id = 1; string document_id = 2; ChangePack change_pack = 3; } @@ -100,7 +100,7 @@ message RemoveDocumentResponse { } message PushPullChangesRequest { - bytes client_id = 1; + string client_id = 1; string document_id = 2; ChangePack change_pack = 3; bool push_only = 4; diff --git a/client/client.go b/client/client.go index 34254b4d3..453fccbb6 100644 --- a/client/client.go +++ b/client/client.go @@ -214,7 +214,7 @@ func (c *Client) Activate(ctx context.Context) error { return err } - clientID, err := time.ActorIDFromBytes(response.ClientId) + clientID, err := time.ActorIDFromHex(response.ClientId) if err != nil { return err } @@ -232,7 +232,7 @@ func (c *Client) Deactivate(ctx context.Context) error { } _, err := c.client.DeactivateClient(withShardKey(ctx, c.options.APIKey), &api.DeactivateClientRequest{ - ClientId: c.id.Bytes(), + ClientId: c.id.String(), }) if err != nil { return err @@ -276,7 +276,7 @@ func (c *Client) Attach(ctx context.Context, doc *document.Document, options ... res, err := c.client.AttachDocument( withShardKey(ctx, c.options.APIKey, doc.Key().String()), &api.AttachDocumentRequest{ - ClientId: c.id.Bytes(), + ClientId: c.id.String(), ChangePack: pbChangePack, }, ) @@ -349,7 +349,7 @@ func (c *Client) Detach(ctx context.Context, doc *document.Document, options ... res, err := c.client.DetachDocument( withShardKey(ctx, c.options.APIKey, doc.Key().String()), &api.DetachDocumentRequest{ - ClientId: c.id.Bytes(), + ClientId: c.id.String(), DocumentId: attachment.docID.String(), ChangePack: pbChangePack, RemoveIfNotAttached: opts.removeIfNotAttached, @@ -412,7 +412,7 @@ func (c *Client) Watch( stream, err := c.client.WatchDocument( withShardKey(ctx, c.options.APIKey, doc.Key().String()), &api.WatchDocumentRequest{ - ClientId: c.id.Bytes(), + ClientId: c.id.String(), DocumentId: attachment.docID.String(), }, ) @@ -425,7 +425,7 @@ func (c *Client) Watch( case *api.WatchDocumentResponse_Initialization_: var clientIDs []string for _, clientID := range resp.Initialization.ClientIds { - id, err := time.ActorIDFromBytes(clientID) + id, err := time.ActorIDFromHex(clientID) if err != nil { return nil, err } @@ -440,7 +440,7 @@ func (c *Client) Watch( return nil, err } - cli, err := time.ActorIDFromBytes(resp.Event.Publisher) + cli, err := time.ActorIDFromHex(resp.Event.Publisher) if err != nil { return nil, err } @@ -581,7 +581,7 @@ func (c *Client) pushPullChanges(ctx context.Context, opt SyncOptions) error { res, err := c.client.PushPullChanges( withShardKey(ctx, c.options.APIKey, opt.key.String()), &api.PushPullChangesRequest{ - ClientId: c.id.Bytes(), + ClientId: c.id.String(), DocumentId: attachment.docID.String(), ChangePack: pbChangePack, PushOnly: opt.mode == types.SyncModePushOnly, @@ -626,7 +626,7 @@ func (c *Client) Remove(ctx context.Context, doc *document.Document) error { res, err := c.client.RemoveDocument( withShardKey(ctx, c.options.APIKey, doc.Key().String()), &api.RemoveDocumentRequest{ - ClientId: c.id.Bytes(), + ClientId: c.id.String(), DocumentId: attachment.docID.String(), ChangePack: pbChangePack, }, diff --git a/server/rpc/server_test.go b/server/rpc/server_test.go index 41eb63f75..faad247e8 100644 --- a/server/rpc/server_test.go +++ b/server/rpc/server_test.go @@ -48,9 +48,9 @@ var ( defaultProjectName = "default" invalidSlugName = "@#$%^&*()_+" - nilClientID, _ = hex.DecodeString("000000000000000000000000") - emptyClientID, _ = hex.DecodeString("") - invalidClientID, _ = hex.DecodeString("invalid") + nilClientID = "000000000000000000000000" + emptyClientID = "" + invalidClientID = "invalid" testRPCServer *rpc.Server testRPCAddr = fmt.Sprintf("localhost:%d", helper.RPCPort) @@ -387,6 +387,7 @@ func TestSDKRPCServerBackend(t *testing.T) { ) assert.NoError(t, err) + actorID, _ := hex.DecodeString(activateResp.ClientId) resPack, err := testClient.AttachDocument( context.Background(), &api.AttachDocumentRequest{ @@ -398,7 +399,7 @@ func TestSDKRPCServerBackend(t *testing.T) { Id: &api.ChangeID{ ClientSeq: 1, Lamport: 1, - ActorId: activateResp.ClientId, + ActorId: actorID, }, }}, }, @@ -418,7 +419,7 @@ func TestSDKRPCServerBackend(t *testing.T) { Id: &api.ChangeID{ ClientSeq: 2, Lamport: 2, - ActorId: activateResp.ClientId, + ActorId: actorID, }, }}, }, @@ -438,7 +439,7 @@ func TestSDKRPCServerBackend(t *testing.T) { Id: &api.ChangeID{ ClientSeq: 3, Lamport: 3, - ActorId: activateResp.ClientId, + ActorId: actorID, }, }}, }, diff --git a/server/rpc/yorkie_server.go b/server/rpc/yorkie_server.go index 1eeae3026..c0c2aef09 100644 --- a/server/rpc/yorkie_server.go +++ b/server/rpc/yorkie_server.go @@ -69,13 +69,8 @@ func (s *yorkieServer) ActivateClient( return nil, err } - pbClientID, err := cli.ID.Bytes() - if err != nil { - return nil, err - } - return &api.ActivateClientResponse{ - ClientId: pbClientID, + ClientId: cli.ID.String(), }, nil } @@ -84,7 +79,7 @@ func (s *yorkieServer) DeactivateClient( ctx context.Context, req *api.DeactivateClientRequest, ) (*api.DeactivateClientResponse, error) { - actorID, err := time.ActorIDFromBytes(req.ClientId) + actorID, err := time.ActorIDFromHex(req.ClientId) if err != nil { return nil, err } @@ -109,7 +104,7 @@ func (s *yorkieServer) AttachDocument( ctx context.Context, req *api.AttachDocumentRequest, ) (*api.AttachDocumentResponse, error) { - actorID, err := time.ActorIDFromBytes(req.ClientId) + actorID, err := time.ActorIDFromHex(req.ClientId) if err != nil { return nil, err } @@ -178,7 +173,7 @@ func (s *yorkieServer) DetachDocument( ctx context.Context, req *api.DetachDocumentRequest, ) (*api.DetachDocumentResponse, error) { - actorID, err := time.ActorIDFromBytes(req.ClientId) + actorID, err := time.ActorIDFromHex(req.ClientId) if err != nil { return nil, err } @@ -260,7 +255,7 @@ func (s *yorkieServer) PushPullChanges( ctx context.Context, req *api.PushPullChangesRequest, ) (*api.PushPullChangesResponse, error) { - actorID, err := time.ActorIDFromBytes(req.ClientId) + actorID, err := time.ActorIDFromHex(req.ClientId) if err != nil { return nil, err } @@ -340,7 +335,7 @@ func (s *yorkieServer) WatchDocument( req *api.WatchDocumentRequest, stream api.YorkieService_WatchDocumentServer, ) error { - clientID, err := time.ActorIDFromBytes(req.ClientId) + clientID, err := time.ActorIDFromHex(req.ClientId) if err != nil { return err } @@ -396,9 +391,9 @@ func (s *yorkieServer) WatchDocument( s.unwatchDoc(subscription, docID) }() - var pbClientIDs [][]byte + var pbClientIDs []string for _, id := range clientIDs { - pbClientIDs = append(pbClientIDs, id.Bytes()) + pbClientIDs = append(pbClientIDs, id.String()) } if err := stream.Send(&api.WatchDocumentResponse{ Body: &api.WatchDocumentResponse_Initialization_{ @@ -426,7 +421,7 @@ func (s *yorkieServer) WatchDocument( Body: &api.WatchDocumentResponse_Event{ Event: &api.DocEvent{ Type: eventType, - Publisher: event.Publisher.Bytes(), + Publisher: event.Publisher.String(), }, }, }); err != nil { @@ -441,7 +436,7 @@ func (s *yorkieServer) RemoveDocument( ctx context.Context, req *api.RemoveDocumentRequest, ) (*api.RemoveDocumentResponse, error) { - actorID, err := time.ActorIDFromBytes(req.ClientId) + actorID, err := time.ActorIDFromHex(req.ClientId) if err != nil { return nil, err }