github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/pingcap/go-hbase/proto/Aggregate.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: Aggregate.proto 3 // DO NOT EDIT! 4 5 package proto 6 7 import proto1 "github.com/insionng/yougam/libraries/golang/protobuf/proto" 8 import math "math" 9 10 // Reference imports to suppress errors if they are not otherwise used. 11 var _ = proto1.Marshal 12 var _ = math.Inf 13 14 type AggregateRequest struct { 15 // * The request passed to the AggregateService consists of three parts 16 // (1) the (canonical) classname of the ColumnInterpreter implementation 17 // (2) the Scan query 18 // (3) any bytes required to construct the ColumnInterpreter object 19 // properly 20 InterpreterClassName *string `protobuf:"bytes,1,req,name=interpreter_class_name" json:"interpreter_class_name,omitempty"` 21 Scan *Scan `protobuf:"bytes,2,req,name=scan" json:"scan,omitempty"` 22 InterpreterSpecificBytes []byte `protobuf:"bytes,3,opt,name=interpreter_specific_bytes" json:"interpreter_specific_bytes,omitempty"` 23 XXX_unrecognized []byte `json:"-"` 24 } 25 26 func (m *AggregateRequest) Reset() { *m = AggregateRequest{} } 27 func (m *AggregateRequest) String() string { return proto1.CompactTextString(m) } 28 func (*AggregateRequest) ProtoMessage() {} 29 30 func (m *AggregateRequest) GetInterpreterClassName() string { 31 if m != nil && m.InterpreterClassName != nil { 32 return *m.InterpreterClassName 33 } 34 return "" 35 } 36 37 func (m *AggregateRequest) GetScan() *Scan { 38 if m != nil { 39 return m.Scan 40 } 41 return nil 42 } 43 44 func (m *AggregateRequest) GetInterpreterSpecificBytes() []byte { 45 if m != nil { 46 return m.InterpreterSpecificBytes 47 } 48 return nil 49 } 50 51 type AggregateResponse struct { 52 // * 53 // The AggregateService methods all have a response that either is a Pair 54 // or a simple object. When it is a Pair both first_part and second_part 55 // have defined values (and the second_part is not present in the response 56 // when the response is not a pair). Refer to the AggregateImplementation 57 // class for an overview of the AggregateResponse object constructions. 58 FirstPart [][]byte `protobuf:"bytes,1,rep,name=first_part" json:"first_part,omitempty"` 59 SecondPart []byte `protobuf:"bytes,2,opt,name=second_part" json:"second_part,omitempty"` 60 XXX_unrecognized []byte `json:"-"` 61 } 62 63 func (m *AggregateResponse) Reset() { *m = AggregateResponse{} } 64 func (m *AggregateResponse) String() string { return proto1.CompactTextString(m) } 65 func (*AggregateResponse) ProtoMessage() {} 66 67 func (m *AggregateResponse) GetFirstPart() [][]byte { 68 if m != nil { 69 return m.FirstPart 70 } 71 return nil 72 } 73 74 func (m *AggregateResponse) GetSecondPart() []byte { 75 if m != nil { 76 return m.SecondPart 77 } 78 return nil 79 } 80 81 func init() { 82 }