// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0-devel // protoc v3.12.3 // source: aggregate/aggregate.proto package aggregate import ( proto "github.com/golang/protobuf/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 type AggregatedRecord struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields 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"` } func (x *AggregatedRecord) Reset() { *x = AggregatedRecord{} if protoimpl.UnsafeEnabled { mi := &file_aggregate_aggregate_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AggregatedRecord) String() string { return protoimpl.X.MessageStringOf(x) } func (*AggregatedRecord) ProtoMessage() {} func (x *AggregatedRecord) ProtoReflect() protoreflect.Message { mi := &file_aggregate_aggregate_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AggregatedRecord.ProtoReflect.Descriptor instead. func (*AggregatedRecord) Descriptor() ([]byte, []int) { return file_aggregate_aggregate_proto_rawDescGZIP(), []int{0} } func (x *AggregatedRecord) GetPartitionKeyTable() []string { if x != nil { return x.PartitionKeyTable } return nil } func (x *AggregatedRecord) GetExplicitHashKeyTable() []string { if x != nil { return x.ExplicitHashKeyTable } return nil } func (x *AggregatedRecord) GetRecords() []*Record { if x != nil { return x.Records } return nil } type Tag struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` } func (x *Tag) Reset() { *x = Tag{} if protoimpl.UnsafeEnabled { mi := &file_aggregate_aggregate_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Tag) String() string { return protoimpl.X.MessageStringOf(x) } func (*Tag) ProtoMessage() {} func (x *Tag) ProtoReflect() protoreflect.Message { mi := &file_aggregate_aggregate_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Tag.ProtoReflect.Descriptor instead. func (*Tag) Descriptor() ([]byte, []int) { return file_aggregate_aggregate_proto_rawDescGZIP(), []int{1} } func (x *Tag) GetKey() string { if x != nil && x.Key != nil { return *x.Key } return "" } func (x *Tag) GetValue() string { if x != nil && x.Value != nil { return *x.Value } return "" } type Record struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields 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"` } func (x *Record) Reset() { *x = Record{} if protoimpl.UnsafeEnabled { mi := &file_aggregate_aggregate_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Record) String() string { return protoimpl.X.MessageStringOf(x) } func (*Record) ProtoMessage() {} func (x *Record) ProtoReflect() protoreflect.Message { mi := &file_aggregate_aggregate_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Record.ProtoReflect.Descriptor instead. func (*Record) Descriptor() ([]byte, []int) { return file_aggregate_aggregate_proto_rawDescGZIP(), []int{2} } func (x *Record) GetPartitionKeyIndex() uint64 { if x != nil && x.PartitionKeyIndex != nil { return *x.PartitionKeyIndex } return 0 } func (x *Record) GetExplicitHashKeyIndex() uint64 { if x != nil && x.ExplicitHashKeyIndex != nil { return *x.ExplicitHashKeyIndex } return 0 } func (x *Record) GetData() []byte { if x != nil { return x.Data } return nil } func (x *Record) GetTags() []*Tag { if x != nil { return x.Tags } return nil } var File_aggregate_aggregate_proto protoreflect.FileDescriptor var file_aggregate_aggregate_proto_rawDesc = []byte{ 0x0a, 0x19, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x10, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x17, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x48, 0x61, 0x73, 0x68, 0x4b, 0x65, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x22, 0x2d, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x35, 0x0a, 0x17, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x48, 0x61, 0x73, 0x68, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, } var ( file_aggregate_aggregate_proto_rawDescOnce sync.Once file_aggregate_aggregate_proto_rawDescData = file_aggregate_aggregate_proto_rawDesc ) func file_aggregate_aggregate_proto_rawDescGZIP() []byte { file_aggregate_aggregate_proto_rawDescOnce.Do(func() { file_aggregate_aggregate_proto_rawDescData = protoimpl.X.CompressGZIP(file_aggregate_aggregate_proto_rawDescData) }) return file_aggregate_aggregate_proto_rawDescData } var file_aggregate_aggregate_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_aggregate_aggregate_proto_goTypes = []interface{}{ (*AggregatedRecord)(nil), // 0: aggregate.AggregatedRecord (*Tag)(nil), // 1: aggregate.Tag (*Record)(nil), // 2: aggregate.Record } var file_aggregate_aggregate_proto_depIdxs = []int32{ 2, // 0: aggregate.AggregatedRecord.records:type_name -> aggregate.Record 1, // 1: aggregate.Record.tags:type_name -> aggregate.Tag 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_aggregate_aggregate_proto_init() } func file_aggregate_aggregate_proto_init() { if File_aggregate_aggregate_proto != nil { return } if !protoimpl.UnsafeEnabled { file_aggregate_aggregate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AggregatedRecord); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_aggregate_aggregate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Tag); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_aggregate_aggregate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Record); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_aggregate_aggregate_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, }, GoTypes: file_aggregate_aggregate_proto_goTypes, DependencyIndexes: file_aggregate_aggregate_proto_depIdxs, MessageInfos: file_aggregate_aggregate_proto_msgTypes, }.Build() File_aggregate_aggregate_proto = out.File file_aggregate_aggregate_proto_rawDesc = nil file_aggregate_aggregate_proto_goTypes = nil file_aggregate_aggregate_proto_depIdxs = nil }