Help us shape the future of Go! Take the 2026 Go Developer Survey

internal

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package internal is a generated protocol buffer package.

It is generated from these files:

internal/data.proto

It has these top-level messages:

WriteShardRequest
Field
Tag
Point
WriteShardResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	Name             *string  `protobuf:"bytes,1,req" json:"Name,omitempty"`
	Int32            *int32   `protobuf:"varint,2,opt" json:"Int32,omitempty"`
	Int64            *int64   `protobuf:"varint,3,opt" json:"Int64,omitempty"`
	Float64          *float64 `protobuf:"fixed64,4,opt" json:"Float64,omitempty"`
	Bool             *bool    `protobuf:"varint,5,opt" json:"Bool,omitempty"`
	String_          *string  `protobuf:"bytes,6,opt" json:"String,omitempty"`
	Bytes            []byte   `protobuf:"bytes,7,opt" json:"Bytes,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Field) GetBool

func (m *Field) GetBool() bool

func (*Field) GetBytes

func (m *Field) GetBytes() []byte

func (*Field) GetFloat64

func (m *Field) GetFloat64() float64

func (*Field) GetInt32

func (m *Field) GetInt32() int32

func (*Field) GetInt64

func (m *Field) GetInt64() int64

func (*Field) GetName

func (m *Field) GetName() string

func (*Field) GetString_

func (m *Field) GetString_() string

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) Reset

func (m *Field) Reset()

func (*Field) String

func (m *Field) String() string

type Point

type Point struct {
	Name             *string  `protobuf:"bytes,1,req" json:"Name,omitempty"`
	Time             *int64   `protobuf:"varint,2,req" json:"Time,omitempty"`
	Fields           []*Field `protobuf:"bytes,3,rep" json:"Fields,omitempty"`
	Tags             []*Tag   `protobuf:"bytes,4,rep" json:"Tags,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Point) GetFields

func (m *Point) GetFields() []*Field

func (*Point) GetName

func (m *Point) GetName() string

func (*Point) GetTags

func (m *Point) GetTags() []*Tag

func (*Point) GetTime

func (m *Point) GetTime() int64

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) String

func (m *Point) String() string

type Tag

type Tag struct {
	Key              *string `protobuf:"bytes,1,req" json:"Key,omitempty"`
	Value            *string `protobuf:"bytes,2,req" json:"Value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Tag) GetKey

func (m *Tag) GetKey() string

func (*Tag) GetValue

func (m *Tag) GetValue() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) String

func (m *Tag) String() string

type WriteShardRequest

type WriteShardRequest struct {
	ShardID          *uint64  `protobuf:"varint,1,req" json:"ShardID,omitempty"`
	Points           []*Point `protobuf:"bytes,2,rep" json:"Points,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*WriteShardRequest) GetPoints

func (m *WriteShardRequest) GetPoints() []*Point

func (*WriteShardRequest) GetShardID

func (m *WriteShardRequest) GetShardID() uint64

func (*WriteShardRequest) ProtoMessage

func (*WriteShardRequest) ProtoMessage()

func (*WriteShardRequest) Reset

func (m *WriteShardRequest) Reset()

func (*WriteShardRequest) String

func (m *WriteShardRequest) String() string

type WriteShardResponse

type WriteShardResponse struct {
	Code             *int32  `protobuf:"varint,1,req" json:"Code,omitempty"`
	Message          *string `protobuf:"bytes,2,opt" json:"Message,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*WriteShardResponse) GetCode

func (m *WriteShardResponse) GetCode() int32

func (*WriteShardResponse) GetMessage

func (m *WriteShardResponse) GetMessage() string

func (*WriteShardResponse) ProtoMessage

func (*WriteShardResponse) ProtoMessage()

func (*WriteShardResponse) Reset

func (m *WriteShardResponse) Reset()

func (*WriteShardResponse) String

func (m *WriteShardResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL