代码拉取完成,页面将自动刷新
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: values.proto
package octosql
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
duration "github.com/golang/protobuf/ptypes/duration"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
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 Value struct {
// Types that are valid to be assigned to Value:
// *Value_Null
// *Value_Phantom
// *Value_Int
// *Value_Float
// *Value_Bool
// *Value_String_
// *Value_Time
// *Value_Duration
// *Value_Tuple
// *Value_Object
Value isValue_Value `protobuf_oneof:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Value) Reset() { *m = Value{} }
func (m *Value) String() string { return proto.CompactTextString(m) }
func (*Value) ProtoMessage() {}
func (*Value) Descriptor() ([]byte, []int) {
return fileDescriptor_5d19e76c3b90e014, []int{0}
}
func (m *Value) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Value.Unmarshal(m, b)
}
func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Value.Marshal(b, m, deterministic)
}
func (m *Value) XXX_Merge(src proto.Message) {
xxx_messageInfo_Value.Merge(m, src)
}
func (m *Value) XXX_Size() int {
return xxx_messageInfo_Value.Size(m)
}
func (m *Value) XXX_DiscardUnknown() {
xxx_messageInfo_Value.DiscardUnknown(m)
}
var xxx_messageInfo_Value proto.InternalMessageInfo
type isValue_Value interface {
isValue_Value()
}
type Value_Null struct {
Null bool `protobuf:"varint,1,opt,name=null,proto3,oneof"`
}
type Value_Phantom struct {
Phantom bool `protobuf:"varint,2,opt,name=phantom,proto3,oneof"`
}
type Value_Int struct {
Int int64 `protobuf:"varint,3,opt,name=int,proto3,oneof"`
}
type Value_Float struct {
Float float64 `protobuf:"fixed64,4,opt,name=float,proto3,oneof"`
}
type Value_Bool struct {
Bool bool `protobuf:"varint,5,opt,name=bool,proto3,oneof"`
}
type Value_String_ struct {
String_ string `protobuf:"bytes,6,opt,name=string,proto3,oneof"`
}
type Value_Time struct {
Time *timestamp.Timestamp `protobuf:"bytes,7,opt,name=time,proto3,oneof"`
}
type Value_Duration struct {
Duration *duration.Duration `protobuf:"bytes,8,opt,name=duration,proto3,oneof"`
}
type Value_Tuple struct {
Tuple *Tuple `protobuf:"bytes,9,opt,name=tuple,proto3,oneof"`
}
type Value_Object struct {
Object *Object `protobuf:"bytes,10,opt,name=object,proto3,oneof"`
}
func (*Value_Null) isValue_Value() {}
func (*Value_Phantom) isValue_Value() {}
func (*Value_Int) isValue_Value() {}
func (*Value_Float) isValue_Value() {}
func (*Value_Bool) isValue_Value() {}
func (*Value_String_) isValue_Value() {}
func (*Value_Time) isValue_Value() {}
func (*Value_Duration) isValue_Value() {}
func (*Value_Tuple) isValue_Value() {}
func (*Value_Object) isValue_Value() {}
func (m *Value) GetValue() isValue_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *Value) GetNull() bool {
if x, ok := m.GetValue().(*Value_Null); ok {
return x.Null
}
return false
}
func (m *Value) GetPhantom() bool {
if x, ok := m.GetValue().(*Value_Phantom); ok {
return x.Phantom
}
return false
}
func (m *Value) GetInt() int64 {
if x, ok := m.GetValue().(*Value_Int); ok {
return x.Int
}
return 0
}
func (m *Value) GetFloat() float64 {
if x, ok := m.GetValue().(*Value_Float); ok {
return x.Float
}
return 0
}
func (m *Value) GetBool() bool {
if x, ok := m.GetValue().(*Value_Bool); ok {
return x.Bool
}
return false
}
func (m *Value) GetString_() string {
if x, ok := m.GetValue().(*Value_String_); ok {
return x.String_
}
return ""
}
func (m *Value) GetTime() *timestamp.Timestamp {
if x, ok := m.GetValue().(*Value_Time); ok {
return x.Time
}
return nil
}
func (m *Value) GetDuration() *duration.Duration {
if x, ok := m.GetValue().(*Value_Duration); ok {
return x.Duration
}
return nil
}
func (m *Value) GetTuple() *Tuple {
if x, ok := m.GetValue().(*Value_Tuple); ok {
return x.Tuple
}
return nil
}
func (m *Value) GetObject() *Object {
if x, ok := m.GetValue().(*Value_Object); ok {
return x.Object
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Value) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Value_Null)(nil),
(*Value_Phantom)(nil),
(*Value_Int)(nil),
(*Value_Float)(nil),
(*Value_Bool)(nil),
(*Value_String_)(nil),
(*Value_Time)(nil),
(*Value_Duration)(nil),
(*Value_Tuple)(nil),
(*Value_Object)(nil),
}
}
type Tuple struct {
Fields []*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Tuple) Reset() { *m = Tuple{} }
func (m *Tuple) String() string { return proto.CompactTextString(m) }
func (*Tuple) ProtoMessage() {}
func (*Tuple) Descriptor() ([]byte, []int) {
return fileDescriptor_5d19e76c3b90e014, []int{1}
}
func (m *Tuple) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Tuple.Unmarshal(m, b)
}
func (m *Tuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Tuple.Marshal(b, m, deterministic)
}
func (m *Tuple) XXX_Merge(src proto.Message) {
xxx_messageInfo_Tuple.Merge(m, src)
}
func (m *Tuple) XXX_Size() int {
return xxx_messageInfo_Tuple.Size(m)
}
func (m *Tuple) XXX_DiscardUnknown() {
xxx_messageInfo_Tuple.DiscardUnknown(m)
}
var xxx_messageInfo_Tuple proto.InternalMessageInfo
func (m *Tuple) GetFields() []*Value {
if m != nil {
return m.Fields
}
return nil
}
type Object struct {
Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Object) Reset() { *m = Object{} }
func (m *Object) String() string { return proto.CompactTextString(m) }
func (*Object) ProtoMessage() {}
func (*Object) Descriptor() ([]byte, []int) {
return fileDescriptor_5d19e76c3b90e014, []int{2}
}
func (m *Object) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Object.Unmarshal(m, b)
}
func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Object.Marshal(b, m, deterministic)
}
func (m *Object) XXX_Merge(src proto.Message) {
xxx_messageInfo_Object.Merge(m, src)
}
func (m *Object) XXX_Size() int {
return xxx_messageInfo_Object.Size(m)
}
func (m *Object) XXX_DiscardUnknown() {
xxx_messageInfo_Object.DiscardUnknown(m)
}
var xxx_messageInfo_Object proto.InternalMessageInfo
func (m *Object) GetFields() map[string]*Value {
if m != nil {
return m.Fields
}
return nil
}
func init() {
proto.RegisterType((*Value)(nil), "octosql.Value")
proto.RegisterType((*Tuple)(nil), "octosql.Tuple")
proto.RegisterType((*Object)(nil), "octosql.Object")
proto.RegisterMapType((map[string]*Value)(nil), "octosql.Object.FieldsEntry")
}
func init() { proto.RegisterFile("values.proto", fileDescriptor_5d19e76c3b90e014) }
var fileDescriptor_5d19e76c3b90e014 = []byte{
// 369 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x51, 0xcd, 0x4a, 0xc3, 0x40,
0x10, 0xce, 0x36, 0x4d, 0xd2, 0x4e, 0x45, 0x65, 0x10, 0x59, 0x23, 0x68, 0x28, 0x52, 0xe2, 0x25,
0x15, 0x7b, 0x50, 0x3c, 0x8a, 0x4a, 0x3c, 0x09, 0x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0xb3, 0xd1, 0x9e, 0x52, 0x9d, 0xec, 0xa8, 0x1e, 0x1a, 0x42, 0x68, 0x44, 0x1b, 0x32, 0x8e, 0xc0,
0x12, 0x75, 0xc1, 0x52, 0xda, 0x57, 0xaa, 0xfd, 0xa0, 0x59, 0x6e, 0x30, 0x95, 0x5d, 0x19, 0x41,
0xc1, 0x78, 0x09, 0x36, 0x4f, 0xde, 0xd3, 0x99, 0xa0, 0xa0, 0x88, 0x07, 0x1b, 0xe2, 0x8b, 0x6a,
0xcb, 0xe9, 0x35, 0xe1, 0xde, 0x01, 0x4b, 0xdd, 0x6b, 0x38, 0x06, 0x4b, 0xb9, 0xe0, 0x08, 0xec,
0x45, 0x96, 0xb2, 0x79, 0x45, 0x89, 0x67, 0xfe, 0xfb, 0x45, 0x6d, 0x3f, 0x6a, 0xd0, 0xe1, 0x37,
0x01, 0x5b, 0xdb, 0xe1, 0x64, 0x4b, 0x72, 0xba, 0xf5, 0x5f, 0xf0, 0xa4, 0xd0, 0xc7, 0x5c, 0x94,
0xeb, 0x56, 0xef, 0x3e, 0xc3, 0xe0, 0x4f, 0x1b, 0x0f, 0xc1, 0xfc, 0x48, 0xd7, 0xea, 0xa6, 0xfd,
0x48, 0x3e, 0xf1, 0xa2, 0x19, 0x4d, 0x9d, 0x73, 0x77, 0x0e, 0x0d, 0xde, 0x75, 0x6e, 0x49, 0x62,
0xab, 0xb5, 0x4d, 0x7e, 0x03, 0x00, 0x00, 0xff, 0xff, 0x3e, 0xba, 0x26, 0x88, 0x7b, 0x02, 0x00,
0x00,
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。