108 lines
3.9 KiB
Go
108 lines
3.9 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: community_shard_key.proto
|
|
|
|
package protobuf
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type CommunityShardKey struct {
|
|
CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
|
|
PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
|
|
Clock uint64 `protobuf:"varint,3,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
Shard *Shard `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CommunityShardKey) Reset() { *m = CommunityShardKey{} }
|
|
func (m *CommunityShardKey) String() string { return proto.CompactTextString(m) }
|
|
func (*CommunityShardKey) ProtoMessage() {}
|
|
func (*CommunityShardKey) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_03da8310cde9b7b2, []int{0}
|
|
}
|
|
|
|
func (m *CommunityShardKey) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CommunityShardKey.Unmarshal(m, b)
|
|
}
|
|
func (m *CommunityShardKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CommunityShardKey.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CommunityShardKey) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CommunityShardKey.Merge(m, src)
|
|
}
|
|
func (m *CommunityShardKey) XXX_Size() int {
|
|
return xxx_messageInfo_CommunityShardKey.Size(m)
|
|
}
|
|
func (m *CommunityShardKey) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CommunityShardKey.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CommunityShardKey proto.InternalMessageInfo
|
|
|
|
func (m *CommunityShardKey) GetCommunityId() []byte {
|
|
if m != nil {
|
|
return m.CommunityId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CommunityShardKey) GetPrivateKey() []byte {
|
|
if m != nil {
|
|
return m.PrivateKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CommunityShardKey) GetClock() uint64 {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CommunityShardKey) GetShard() *Shard {
|
|
if m != nil {
|
|
return m.Shard
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*CommunityShardKey)(nil), "protobuf.CommunityShardKey")
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("community_shard_key.proto", fileDescriptor_03da8310cde9b7b2)
|
|
}
|
|
|
|
var fileDescriptor_03da8310cde9b7b2 = []byte{
|
|
// 173 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xce, 0xcf, 0xcd,
|
|
0x2d, 0xcd, 0xcb, 0x2c, 0xa9, 0x8c, 0x2f, 0xce, 0x48, 0x2c, 0x4a, 0x89, 0xcf, 0x4e, 0xad, 0xd4,
|
|
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x52, 0xdc, 0x60, 0x29,
|
|
0x88, 0xb0, 0xd2, 0x14, 0x46, 0x2e, 0x41, 0x67, 0x98, 0xa6, 0x60, 0x90, 0x84, 0x77, 0x6a, 0xa5,
|
|
0x90, 0x22, 0x17, 0x0f, 0xc2, 0xa4, 0xcc, 0x14, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x9e, 0x20, 0x6e,
|
|
0xb8, 0x98, 0x67, 0x8a, 0x90, 0x3c, 0x17, 0x77, 0x41, 0x51, 0x66, 0x59, 0x62, 0x49, 0x2a, 0xc8,
|
|
0x12, 0x09, 0x26, 0xb0, 0x0a, 0x2e, 0xa8, 0x10, 0xc8, 0x0c, 0x11, 0x2e, 0xd6, 0xe4, 0x9c, 0xfc,
|
|
0xe4, 0x6c, 0x09, 0x66, 0x05, 0x46, 0x0d, 0x96, 0x20, 0x08, 0x47, 0x48, 0x95, 0x8b, 0x15, 0x6c,
|
|
0xbd, 0x04, 0x8b, 0x02, 0xa3, 0x06, 0xb7, 0x11, 0xbf, 0x1e, 0xcc, 0x59, 0x7a, 0x60, 0xcb, 0x83,
|
|
0x20, 0xb2, 0x4e, 0xbc, 0x51, 0xdc, 0x7a, 0xfa, 0xd6, 0x30, 0xb9, 0x24, 0x36, 0x30, 0xcb, 0x18,
|
|
0x10, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xda, 0x17, 0x6d, 0xe0, 0x00, 0x00, 0x00,
|
|
}
|