215 lines
7.3 KiB
Go
215 lines
7.3 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: records.proto
|
|
|
|
package records
|
|
|
|
import (
|
|
fmt "fmt"
|
|
math "math"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
)
|
|
|
|
// 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 AggregatedRecord struct {
|
|
PartitionKeyTable []string `protobuf:"bytes,1,rep,name=partition_key_table,json=partitionKeyTable" json:"partition_key_table,omitempty"`
|
|
ExplicitHashKeyTable []string `protobuf:"bytes,2,rep,name=explicit_hash_key_table,json=explicitHashKeyTable" json:"explicit_hash_key_table,omitempty"`
|
|
Records []*Record `protobuf:"bytes,3,rep,name=records" json:"records,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AggregatedRecord) Reset() { *m = AggregatedRecord{} }
|
|
func (m *AggregatedRecord) String() string { return proto.CompactTextString(m) }
|
|
func (*AggregatedRecord) ProtoMessage() {}
|
|
func (*AggregatedRecord) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6ae0159314830e16, []int{0}
|
|
}
|
|
|
|
func (m *AggregatedRecord) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AggregatedRecord.Unmarshal(m, b)
|
|
}
|
|
func (m *AggregatedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AggregatedRecord.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AggregatedRecord) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AggregatedRecord.Merge(m, src)
|
|
}
|
|
func (m *AggregatedRecord) XXX_Size() int {
|
|
return xxx_messageInfo_AggregatedRecord.Size(m)
|
|
}
|
|
func (m *AggregatedRecord) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AggregatedRecord.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AggregatedRecord proto.InternalMessageInfo
|
|
|
|
func (m *AggregatedRecord) GetPartitionKeyTable() []string {
|
|
if m != nil {
|
|
return m.PartitionKeyTable
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AggregatedRecord) GetExplicitHashKeyTable() []string {
|
|
if m != nil {
|
|
return m.ExplicitHashKeyTable
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AggregatedRecord) GetRecords() []*Record {
|
|
if m != nil {
|
|
return m.Records
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Tag struct {
|
|
Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
|
|
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Tag) Reset() { *m = Tag{} }
|
|
func (m *Tag) String() string { return proto.CompactTextString(m) }
|
|
func (*Tag) ProtoMessage() {}
|
|
func (*Tag) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6ae0159314830e16, []int{1}
|
|
}
|
|
|
|
func (m *Tag) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Tag.Unmarshal(m, b)
|
|
}
|
|
func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Tag.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Tag) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Tag.Merge(m, src)
|
|
}
|
|
func (m *Tag) XXX_Size() int {
|
|
return xxx_messageInfo_Tag.Size(m)
|
|
}
|
|
func (m *Tag) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Tag.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Tag proto.InternalMessageInfo
|
|
|
|
func (m *Tag) GetKey() string {
|
|
if m != nil && m.Key != nil {
|
|
return *m.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Tag) GetValue() string {
|
|
if m != nil && m.Value != nil {
|
|
return *m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Record struct {
|
|
PartitionKeyIndex *uint64 `protobuf:"varint,1,req,name=partition_key_index,json=partitionKeyIndex" json:"partition_key_index,omitempty"`
|
|
ExplicitHashKeyIndex *uint64 `protobuf:"varint,2,opt,name=explicit_hash_key_index,json=explicitHashKeyIndex" json:"explicit_hash_key_index,omitempty"`
|
|
Data []byte `protobuf:"bytes,3,req,name=data" json:"data,omitempty"`
|
|
Tags []*Tag `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Record) Reset() { *m = Record{} }
|
|
func (m *Record) String() string { return proto.CompactTextString(m) }
|
|
func (*Record) ProtoMessage() {}
|
|
func (*Record) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6ae0159314830e16, []int{2}
|
|
}
|
|
|
|
func (m *Record) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Record.Unmarshal(m, b)
|
|
}
|
|
func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Record.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Record) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Record.Merge(m, src)
|
|
}
|
|
func (m *Record) XXX_Size() int {
|
|
return xxx_messageInfo_Record.Size(m)
|
|
}
|
|
func (m *Record) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Record.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Record proto.InternalMessageInfo
|
|
|
|
func (m *Record) GetPartitionKeyIndex() uint64 {
|
|
if m != nil && m.PartitionKeyIndex != nil {
|
|
return *m.PartitionKeyIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Record) GetExplicitHashKeyIndex() uint64 {
|
|
if m != nil && m.ExplicitHashKeyIndex != nil {
|
|
return *m.ExplicitHashKeyIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Record) GetData() []byte {
|
|
if m != nil {
|
|
return m.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Record) GetTags() []*Tag {
|
|
if m != nil {
|
|
return m.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*AggregatedRecord)(nil), "AggregatedRecord")
|
|
proto.RegisterType((*Tag)(nil), "Tag")
|
|
proto.RegisterType((*Record)(nil), "Record")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("records.proto", fileDescriptor_6ae0159314830e16) }
|
|
|
|
var fileDescriptor_6ae0159314830e16 = []byte{
|
|
// 245 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x8f, 0xc1, 0x4a, 0xc4, 0x30,
|
|
0x10, 0x86, 0xc9, 0x26, 0xba, 0x74, 0x54, 0x58, 0xe3, 0x82, 0x39, 0xd6, 0x9e, 0x72, 0xb1, 0x07,
|
|
0xc1, 0x07, 0xf0, 0xa6, 0x78, 0x0b, 0xbd, 0x97, 0x71, 0x3b, 0xa4, 0x61, 0xcb, 0xb6, 0xa4, 0x51,
|
|
0xb6, 0xef, 0xa2, 0xef, 0x2a, 0x49, 0xdd, 0x45, 0x51, 0x6f, 0x93, 0xf9, 0xf9, 0x32, 0xff, 0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