Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
geobuf.proto
It has these top-level messages:
Data
Index ¶
- Variables
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetDataType() isData_DataType
- func (m *Data) GetDimensions() uint32
- func (m *Data) GetFeature() *Data_Feature
- func (m *Data) GetFeatureCollection() *Data_FeatureCollection
- func (m *Data) GetGeometry() *Data_Geometry
- func (m *Data) GetKeys() []string
- func (m *Data) GetPrecision() uint32
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- func (*Data) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, ...)
- type Data_Feature
- func (*Data_Feature) Descriptor() ([]byte, []int)
- func (m *Data_Feature) GetCustomProperties() []uint32
- func (m *Data_Feature) GetGeometry() *Data_Geometry
- func (m *Data_Feature) GetId() string
- func (m *Data_Feature) GetIdType() isData_Feature_IdType
- func (m *Data_Feature) GetIntId() int64
- func (m *Data_Feature) GetProperties() []uint32
- func (m *Data_Feature) GetValues() []*Data_Value
- func (*Data_Feature) ProtoMessage()
- func (m *Data_Feature) Reset()
- func (m *Data_Feature) String() string
- func (*Data_Feature) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, ...)
- type Data_FeatureCollection
- func (*Data_FeatureCollection) Descriptor() ([]byte, []int)
- func (m *Data_FeatureCollection) GetCustomProperties() []uint32
- func (m *Data_FeatureCollection) GetFeatures() []*Data_Feature
- func (m *Data_FeatureCollection) GetValues() []*Data_Value
- func (*Data_FeatureCollection) ProtoMessage()
- func (m *Data_FeatureCollection) Reset()
- func (m *Data_FeatureCollection) String() string
- type Data_FeatureCollection_
- type Data_Feature_
- type Data_Feature_Id
- type Data_Feature_IntId
- type Data_Geometry
- func (*Data_Geometry) Descriptor() ([]byte, []int)
- func (m *Data_Geometry) GetCoords() []int64
- func (m *Data_Geometry) GetCustomProperties() []uint32
- func (m *Data_Geometry) GetGeometries() []*Data_Geometry
- func (m *Data_Geometry) GetLengths() []uint32
- func (m *Data_Geometry) GetType() Data_Geometry_Type
- func (m *Data_Geometry) GetValues() []*Data_Value
- func (*Data_Geometry) ProtoMessage()
- func (m *Data_Geometry) Reset()
- func (m *Data_Geometry) String() string
- type Data_Geometry_
- type Data_Geometry_Type
- type Data_Value
- func (*Data_Value) Descriptor() ([]byte, []int)
- func (m *Data_Value) GetBoolValue() bool
- func (m *Data_Value) GetDoubleValue() float64
- func (m *Data_Value) GetJsonValue() string
- func (m *Data_Value) GetNegIntValue() uint64
- func (m *Data_Value) GetPosIntValue() uint64
- func (m *Data_Value) GetStringValue() string
- func (m *Data_Value) GetValueType() isData_Value_ValueType
- func (*Data_Value) ProtoMessage()
- func (m *Data_Value) Reset()
- func (m *Data_Value) String() string
- func (*Data_Value) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, ...)
- type Data_Value_BoolValue
- type Data_Value_DoubleValue
- type Data_Value_JsonValue
- type Data_Value_NegIntValue
- type Data_Value_PosIntValue
- type Data_Value_StringValue
Constants ¶
This section is empty.
Variables ¶
View Source
var Data_Geometry_Type_name = map[int32]string{
0: "POINT",
1: "MULTIPOINT",
2: "LINESTRING",
3: "MULTILINESTRING",
4: "POLYGON",
5: "MULTIPOLYGON",
6: "GEOMETRYCOLLECTION",
}
View Source
var Data_Geometry_Type_value = map[string]int32{
"POINT": 0,
"MULTIPOINT": 1,
"LINESTRING": 2,
"MULTILINESTRING": 3,
"POLYGON": 4,
"MULTIPOLYGON": 5,
"GEOMETRYCOLLECTION": 6,
}
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Keys []string `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"` Dimensions uint32 `protobuf:"varint,2,opt,name=dimensions" json:"dimensions,omitempty"` Precision uint32 `protobuf:"varint,3,opt,name=precision" json:"precision,omitempty"` // Types that are valid to be assigned to DataType: // *Data_FeatureCollection_ // *Data_Feature_ // *Data_Geometry_ DataType isData_DataType `protobuf_oneof:"data_type"` }
func (*Data) Descriptor ¶
func (*Data) GetDataType ¶
func (m *Data) GetDataType() isData_DataType
func (*Data) GetDimensions ¶
func (*Data) GetFeature ¶
func (m *Data) GetFeature() *Data_Feature
func (*Data) GetFeatureCollection ¶
func (m *Data) GetFeatureCollection() *Data_FeatureCollection
func (*Data) GetGeometry ¶
func (m *Data) GetGeometry() *Data_Geometry
func (*Data) GetPrecision ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
type Data_Feature ¶
type Data_Feature struct { Geometry *Data_Geometry `protobuf:"bytes,1,opt,name=geometry" json:"geometry,omitempty"` // Types that are valid to be assigned to IdType: // *Data_Feature_Id // *Data_Feature_IntId IdType isData_Feature_IdType `protobuf_oneof:"id_type"` Values []*Data_Value `protobuf:"bytes,13,rep,name=values" json:"values,omitempty"` Properties []uint32 `protobuf:"varint,14,rep,packed,name=properties" json:"properties,omitempty"` CustomProperties []uint32 `protobuf:"varint,15,rep,packed,name=custom_properties,json=customProperties" json:"custom_properties,omitempty"` }
func (*Data_Feature) Descriptor ¶
func (*Data_Feature) Descriptor() ([]byte, []int)
func (*Data_Feature) GetCustomProperties ¶
func (m *Data_Feature) GetCustomProperties() []uint32
func (*Data_Feature) GetGeometry ¶
func (m *Data_Feature) GetGeometry() *Data_Geometry
func (*Data_Feature) GetId ¶
func (m *Data_Feature) GetId() string
func (*Data_Feature) GetIdType ¶
func (m *Data_Feature) GetIdType() isData_Feature_IdType
func (*Data_Feature) GetIntId ¶
func (m *Data_Feature) GetIntId() int64
func (*Data_Feature) GetProperties ¶
func (m *Data_Feature) GetProperties() []uint32
func (*Data_Feature) GetValues ¶
func (m *Data_Feature) GetValues() []*Data_Value
func (*Data_Feature) ProtoMessage ¶
func (*Data_Feature) ProtoMessage()
func (*Data_Feature) Reset ¶
func (m *Data_Feature) Reset()
func (*Data_Feature) String ¶
func (m *Data_Feature) String() string
func (*Data_Feature) XXX_OneofFuncs ¶
func (*Data_Feature) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type Data_FeatureCollection ¶
type Data_FeatureCollection struct { Features []*Data_Feature `protobuf:"bytes,1,rep,name=features" json:"features,omitempty"` Values []*Data_Value `protobuf:"bytes,13,rep,name=values" json:"values,omitempty"` CustomProperties []uint32 `protobuf:"varint,15,rep,packed,name=custom_properties,json=customProperties" json:"custom_properties,omitempty"` }
func (*Data_FeatureCollection) Descriptor ¶
func (*Data_FeatureCollection) Descriptor() ([]byte, []int)
func (*Data_FeatureCollection) GetCustomProperties ¶
func (m *Data_FeatureCollection) GetCustomProperties() []uint32
func (*Data_FeatureCollection) GetFeatures ¶
func (m *Data_FeatureCollection) GetFeatures() []*Data_Feature
func (*Data_FeatureCollection) GetValues ¶
func (m *Data_FeatureCollection) GetValues() []*Data_Value
func (*Data_FeatureCollection) ProtoMessage ¶
func (*Data_FeatureCollection) ProtoMessage()
func (*Data_FeatureCollection) Reset ¶
func (m *Data_FeatureCollection) Reset()
func (*Data_FeatureCollection) String ¶
func (m *Data_FeatureCollection) String() string
type Data_FeatureCollection_ ¶
type Data_FeatureCollection_ struct {
FeatureCollection *Data_FeatureCollection `protobuf:"bytes,4,opt,name=feature_collection,json=featureCollection,oneof"`
}
type Data_Feature_ ¶
type Data_Feature_ struct {
Feature *Data_Feature `protobuf:"bytes,5,opt,name=feature,oneof"`
}
type Data_Feature_Id ¶
type Data_Feature_Id struct {
Id string `protobuf:"bytes,11,opt,name=id,oneof"`
}
type Data_Feature_IntId ¶
type Data_Feature_IntId struct {
IntId int64 `protobuf:"zigzag64,12,opt,name=int_id,json=intId,oneof"`
}
type Data_Geometry ¶
type Data_Geometry struct { Type Data_Geometry_Type `protobuf:"varint,1,opt,name=type,enum=proto.Data_Geometry_Type" json:"type,omitempty"` Lengths []uint32 `protobuf:"varint,2,rep,packed,name=lengths" json:"lengths,omitempty"` Coords []int64 `protobuf:"zigzag64,3,rep,packed,name=coords" json:"coords,omitempty"` Geometries []*Data_Geometry `protobuf:"bytes,4,rep,name=geometries" json:"geometries,omitempty"` Values []*Data_Value `protobuf:"bytes,13,rep,name=values" json:"values,omitempty"` CustomProperties []uint32 `protobuf:"varint,15,rep,packed,name=custom_properties,json=customProperties" json:"custom_properties,omitempty"` }
func (*Data_Geometry) Descriptor ¶
func (*Data_Geometry) Descriptor() ([]byte, []int)
func (*Data_Geometry) GetCoords ¶
func (m *Data_Geometry) GetCoords() []int64
func (*Data_Geometry) GetCustomProperties ¶
func (m *Data_Geometry) GetCustomProperties() []uint32
func (*Data_Geometry) GetGeometries ¶
func (m *Data_Geometry) GetGeometries() []*Data_Geometry
func (*Data_Geometry) GetLengths ¶
func (m *Data_Geometry) GetLengths() []uint32
func (*Data_Geometry) GetType ¶
func (m *Data_Geometry) GetType() Data_Geometry_Type
func (*Data_Geometry) GetValues ¶
func (m *Data_Geometry) GetValues() []*Data_Value
func (*Data_Geometry) ProtoMessage ¶
func (*Data_Geometry) ProtoMessage()
func (*Data_Geometry) Reset ¶
func (m *Data_Geometry) Reset()
func (*Data_Geometry) String ¶
func (m *Data_Geometry) String() string
type Data_Geometry_ ¶
type Data_Geometry_ struct {
Geometry *Data_Geometry `protobuf:"bytes,6,opt,name=geometry,oneof"`
}
type Data_Geometry_Type ¶
type Data_Geometry_Type int32
const ( Data_Geometry_POINT Data_Geometry_Type = 0 Data_Geometry_MULTIPOINT Data_Geometry_Type = 1 Data_Geometry_LINESTRING Data_Geometry_Type = 2 Data_Geometry_MULTILINESTRING Data_Geometry_Type = 3 Data_Geometry_POLYGON Data_Geometry_Type = 4 Data_Geometry_MULTIPOLYGON Data_Geometry_Type = 5 Data_Geometry_GEOMETRYCOLLECTION Data_Geometry_Type = 6 )
func (Data_Geometry_Type) EnumDescriptor ¶
func (Data_Geometry_Type) EnumDescriptor() ([]byte, []int)
func (Data_Geometry_Type) String ¶
func (x Data_Geometry_Type) String() string
type Data_Value ¶
type Data_Value struct { // Types that are valid to be assigned to ValueType: // *Data_Value_StringValue // *Data_Value_DoubleValue // *Data_Value_PosIntValue // *Data_Value_NegIntValue // *Data_Value_BoolValue // *Data_Value_JsonValue ValueType isData_Value_ValueType `protobuf_oneof:"value_type"` }
func (*Data_Value) Descriptor ¶
func (*Data_Value) Descriptor() ([]byte, []int)
func (*Data_Value) GetBoolValue ¶
func (m *Data_Value) GetBoolValue() bool
func (*Data_Value) GetDoubleValue ¶
func (m *Data_Value) GetDoubleValue() float64
func (*Data_Value) GetJsonValue ¶
func (m *Data_Value) GetJsonValue() string
func (*Data_Value) GetNegIntValue ¶
func (m *Data_Value) GetNegIntValue() uint64
func (*Data_Value) GetPosIntValue ¶
func (m *Data_Value) GetPosIntValue() uint64
func (*Data_Value) GetStringValue ¶
func (m *Data_Value) GetStringValue() string
func (*Data_Value) GetValueType ¶
func (m *Data_Value) GetValueType() isData_Value_ValueType
func (*Data_Value) ProtoMessage ¶
func (*Data_Value) ProtoMessage()
func (*Data_Value) Reset ¶
func (m *Data_Value) Reset()
func (*Data_Value) String ¶
func (m *Data_Value) String() string
func (*Data_Value) XXX_OneofFuncs ¶
func (*Data_Value) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type Data_Value_BoolValue ¶
type Data_Value_BoolValue struct {
BoolValue bool `protobuf:"varint,5,opt,name=bool_value,json=boolValue,oneof"`
}
type Data_Value_DoubleValue ¶
type Data_Value_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,oneof"`
}
type Data_Value_JsonValue ¶
type Data_Value_JsonValue struct {
JsonValue string `protobuf:"bytes,6,opt,name=json_value,json=jsonValue,oneof"`
}
type Data_Value_NegIntValue ¶
type Data_Value_NegIntValue struct {
NegIntValue uint64 `protobuf:"varint,4,opt,name=neg_int_value,json=negIntValue,oneof"`
}
type Data_Value_PosIntValue ¶
type Data_Value_PosIntValue struct {
PosIntValue uint64 `protobuf:"varint,3,opt,name=pos_int_value,json=posIntValue,oneof"`
}
type Data_Value_StringValue ¶
type Data_Value_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,oneof"`
}
Click to show internal directories.
Click to hide internal directories.