Documentation ¶
Overview ¶
Package loggregator_v2 is a generated protocol buffer package.
It is generated from these files:
egress.proto envelope.proto ingress.proto
It has these top-level messages:
EgressRequest EgressBatchRequest Selector LogSelector GaugeSelector CounterSelector TimerSelector EventSelector Envelope EnvelopeBatch Value Log Counter Gauge GaugeValue Timer Event IngressResponse BatchSenderResponse SendResponse
Index ¶
- Variables
- func RegisterEgressServer(s *grpc.Server, srv EgressServer)
- func RegisterIngressServer(s *grpc.Server, srv IngressServer)
- type BatchSenderResponse
- type Counter
- type CounterSelector
- type EgressBatchRequest
- func (*EgressBatchRequest) Descriptor() ([]byte, []int)
- func (m *EgressBatchRequest) GetDeterministicName() string
- func (m *EgressBatchRequest) GetLegacySelector() *Selector
- func (m *EgressBatchRequest) GetSelectors() []*Selector
- func (m *EgressBatchRequest) GetShardId() string
- func (m *EgressBatchRequest) GetUsePreferredTags() bool
- func (*EgressBatchRequest) ProtoMessage()
- func (m *EgressBatchRequest) Reset()
- func (m *EgressBatchRequest) String() string
- type EgressClient
- type EgressRequest
- func (*EgressRequest) Descriptor() ([]byte, []int)
- func (m *EgressRequest) GetDeterministicName() string
- func (m *EgressRequest) GetLegacySelector() *Selector
- func (m *EgressRequest) GetSelectors() []*Selector
- func (m *EgressRequest) GetShardId() string
- func (m *EgressRequest) GetUsePreferredTags() bool
- func (*EgressRequest) ProtoMessage()
- func (m *EgressRequest) Reset()
- func (m *EgressRequest) String() string
- type EgressServer
- type Egress_BatchedReceiverClient
- type Egress_BatchedReceiverServer
- type Egress_ReceiverClient
- type Egress_ReceiverServer
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)
- func (m *Envelope) GetCounter() *Counter
- func (m *Envelope) GetDeprecatedTags() map[string]*Value
- func (m *Envelope) GetEvent() *Event
- func (m *Envelope) GetGauge() *Gauge
- func (m *Envelope) GetInstanceId() string
- func (m *Envelope) GetLog() *Log
- func (m *Envelope) GetMessage() isEnvelope_Message
- func (m *Envelope) GetSourceId() string
- func (m *Envelope) GetTags() map[string]string
- func (m *Envelope) GetTimer() *Timer
- func (m *Envelope) GetTimestamp() int64
- func (*Envelope) ProtoMessage()
- func (m *Envelope) Reset()
- func (m *Envelope) String() string
- func (m *Envelope) Syslog(opts ...SyslogOption) ([][]byte, error)
- func (*Envelope) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type EnvelopeBatch
- type Envelope_Counter
- type Envelope_Event
- type Envelope_Gauge
- type Envelope_Log
- type Envelope_Timer
- type Event
- type EventSelector
- type Gauge
- type GaugeSelector
- type GaugeValue
- type IngressClient
- type IngressResponse
- type IngressServer
- type Ingress_BatchSenderClient
- type Ingress_BatchSenderServer
- type Ingress_SenderClient
- type Ingress_SenderServer
- type Log
- type LogSelector
- type Log_Type
- type Selector
- func (*Selector) Descriptor() ([]byte, []int)
- func (m *Selector) GetCounter() *CounterSelector
- func (m *Selector) GetEvent() *EventSelector
- func (m *Selector) GetGauge() *GaugeSelector
- func (m *Selector) GetLog() *LogSelector
- func (m *Selector) GetMessage() isSelector_Message
- func (m *Selector) GetSourceId() string
- func (m *Selector) GetTimer() *TimerSelector
- func (*Selector) ProtoMessage()
- func (m *Selector) Reset()
- func (m *Selector) String() string
- func (*Selector) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Selector_Counter
- type Selector_Event
- type Selector_Gauge
- type Selector_Log
- type Selector_Timer
- type SendResponse
- type SyslogOption
- type Timer
- type TimerSelector
- type Value
- func (*Value) Descriptor() ([]byte, []int)
- func (m *Value) GetData() isValue_Data
- func (m *Value) GetDecimal() float64
- func (m *Value) GetInteger() int64
- func (m *Value) GetText() string
- func (*Value) ProtoMessage()
- func (m *Value) Reset()
- func (m *Value) String() string
- func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Value_Decimal
- type Value_Integer
- type Value_Text
Constants ¶
This section is empty.
Variables ¶
var Log_Type_name = map[int32]string{
0: "OUT",
1: "ERR",
}
var Log_Type_value = map[string]int32{
"OUT": 0,
"ERR": 1,
}
Functions ¶
func RegisterEgressServer ¶
func RegisterEgressServer(s *grpc.Server, srv EgressServer)
func RegisterIngressServer ¶
func RegisterIngressServer(s *grpc.Server, srv IngressServer)
Types ¶
type BatchSenderResponse ¶
type BatchSenderResponse struct { }
func (*BatchSenderResponse) Descriptor ¶
func (*BatchSenderResponse) Descriptor() ([]byte, []int)
func (*BatchSenderResponse) ProtoMessage ¶
func (*BatchSenderResponse) ProtoMessage()
func (*BatchSenderResponse) Reset ¶
func (m *BatchSenderResponse) Reset()
func (*BatchSenderResponse) String ¶
func (m *BatchSenderResponse) String() string
type Counter ¶
type Counter struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Delta uint64 `protobuf:"varint,2,opt,name=delta" json:"delta,omitempty"` Total uint64 `protobuf:"varint,3,opt,name=total" json:"total,omitempty"` }
func (*Counter) Descriptor ¶
func (*Counter) ProtoMessage ¶
func (*Counter) ProtoMessage()
type CounterSelector ¶
type CounterSelector struct { // Any egress Counter envelope must have the given name. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
CounterSelector instructs Loggregator to egress Counter envelopes to the given subscription
func (*CounterSelector) Descriptor ¶
func (*CounterSelector) Descriptor() ([]byte, []int)
func (*CounterSelector) GetName ¶
func (m *CounterSelector) GetName() string
func (*CounterSelector) ProtoMessage ¶
func (*CounterSelector) ProtoMessage()
func (*CounterSelector) Reset ¶
func (m *CounterSelector) Reset()
func (*CounterSelector) String ¶
func (m *CounterSelector) String() string
type EgressBatchRequest ¶
type EgressBatchRequest struct { // shard_id instructs Loggregator to shard envelopes between other // subscriptions with the same shard_id. Loggregator will do its best to // split the load evenly between subscriptions with the same shard_id // (unless deterministic_name is set). ShardId string `protobuf:"bytes,1,opt,name=shard_id,json=shardId" json:"shard_id,omitempty"` // deterministic_name is used to enable deterministic routing. This implies // that gauges and counters are routed based on name. If this is excluded, // then they are routed to split load evenly. DeterministicName string `protobuf:"bytes,5,opt,name=deterministic_name,json=deterministicName" json:"deterministic_name,omitempty"` // TODO: This can be removed once selector has been around long enough. LegacySelector *Selector `protobuf:"bytes,2,opt,name=legacy_selector,json=legacySelector" json:"legacy_selector,omitempty"` // selector is the preferred (over legacy_selector) mechanism to select // what envelope types the subscription wants. If there are no selectors // given, no data will be sent. Selectors []*Selector `protobuf:"bytes,4,rep,name=selectors" json:"selectors,omitempty"` // TODO: This can be removed once the envelope.deprecated_tags is removed. UsePreferredTags bool `protobuf:"varint,3,opt,name=use_preferred_tags,json=usePreferredTags" json:"use_preferred_tags,omitempty"` }
func (*EgressBatchRequest) Descriptor ¶
func (*EgressBatchRequest) Descriptor() ([]byte, []int)
func (*EgressBatchRequest) GetDeterministicName ¶
func (m *EgressBatchRequest) GetDeterministicName() string
func (*EgressBatchRequest) GetLegacySelector ¶
func (m *EgressBatchRequest) GetLegacySelector() *Selector
func (*EgressBatchRequest) GetSelectors ¶
func (m *EgressBatchRequest) GetSelectors() []*Selector
func (*EgressBatchRequest) GetShardId ¶
func (m *EgressBatchRequest) GetShardId() string
func (*EgressBatchRequest) GetUsePreferredTags ¶
func (m *EgressBatchRequest) GetUsePreferredTags() bool
func (*EgressBatchRequest) ProtoMessage ¶
func (*EgressBatchRequest) ProtoMessage()
func (*EgressBatchRequest) Reset ¶
func (m *EgressBatchRequest) Reset()
func (*EgressBatchRequest) String ¶
func (m *EgressBatchRequest) String() string
type EgressClient ¶
type EgressClient interface { Receiver(ctx context.Context, in *EgressRequest, opts ...grpc.CallOption) (Egress_ReceiverClient, error) BatchedReceiver(ctx context.Context, in *EgressBatchRequest, opts ...grpc.CallOption) (Egress_BatchedReceiverClient, error) }
func NewEgressClient ¶
func NewEgressClient(cc *grpc.ClientConn) EgressClient
type EgressRequest ¶
type EgressRequest struct { // shard_id instructs Loggregator to shard envelopes between other // subscriptions with the same shard_id. Loggregator will do its best to // split the load evenly between subscriptions with the same shard_id // (unless deterministic_name is set). ShardId string `protobuf:"bytes,1,opt,name=shard_id,json=shardId" json:"shard_id,omitempty"` // deterministic_name is used to enable deterministic routing. This implies // that gauges and counters are routed based on name. If this is excluded, // then they are routed to split load evenly. DeterministicName string `protobuf:"bytes,5,opt,name=deterministic_name,json=deterministicName" json:"deterministic_name,omitempty"` // TODO: This can be removed once selector has been around long enough. LegacySelector *Selector `protobuf:"bytes,2,opt,name=legacy_selector,json=legacySelector" json:"legacy_selector,omitempty"` // selector is the preferred (over legacy_selector) mechanism to select // what envelope types the subscription wants. If there are no selectors // given, no data will be sent. Selectors []*Selector `protobuf:"bytes,4,rep,name=selectors" json:"selectors,omitempty"` // TODO: This can be removed once the envelope.deprecated_tags is removed. UsePreferredTags bool `protobuf:"varint,3,opt,name=use_preferred_tags,json=usePreferredTags" json:"use_preferred_tags,omitempty"` }
func (*EgressRequest) Descriptor ¶
func (*EgressRequest) Descriptor() ([]byte, []int)
func (*EgressRequest) GetDeterministicName ¶
func (m *EgressRequest) GetDeterministicName() string
func (*EgressRequest) GetLegacySelector ¶
func (m *EgressRequest) GetLegacySelector() *Selector
func (*EgressRequest) GetSelectors ¶
func (m *EgressRequest) GetSelectors() []*Selector
func (*EgressRequest) GetShardId ¶
func (m *EgressRequest) GetShardId() string
func (*EgressRequest) GetUsePreferredTags ¶
func (m *EgressRequest) GetUsePreferredTags() bool
func (*EgressRequest) ProtoMessage ¶
func (*EgressRequest) ProtoMessage()
func (*EgressRequest) Reset ¶
func (m *EgressRequest) Reset()
func (*EgressRequest) String ¶
func (m *EgressRequest) String() string
type EgressServer ¶
type EgressServer interface { Receiver(*EgressRequest, Egress_ReceiverServer) error BatchedReceiver(*EgressBatchRequest, Egress_BatchedReceiverServer) error }
type Egress_BatchedReceiverClient ¶
type Egress_BatchedReceiverClient interface { Recv() (*EnvelopeBatch, error) grpc.ClientStream }
type Egress_BatchedReceiverServer ¶
type Egress_BatchedReceiverServer interface { Send(*EnvelopeBatch) error grpc.ServerStream }
type Egress_ReceiverClient ¶
type Egress_ReceiverClient interface { Recv() (*Envelope, error) grpc.ClientStream }
type Egress_ReceiverServer ¶
type Egress_ReceiverServer interface { Send(*Envelope) error grpc.ServerStream }
type Envelope ¶
type Envelope struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` SourceId string `protobuf:"bytes,2,opt,name=source_id" json:"source_id,omitempty"` InstanceId string `protobuf:"bytes,8,opt,name=instance_id" json:"instance_id,omitempty"` DeprecatedTags map[string]*Value `` /* 150-byte string literal not displayed */ Tags map[string]string `` /* 128-byte string literal not displayed */ // Types that are valid to be assigned to Message: // *Envelope_Log // *Envelope_Counter // *Envelope_Gauge // *Envelope_Timer // *Envelope_Event Message isEnvelope_Message `protobuf_oneof:"message"` }
func (*Envelope) Descriptor ¶
func (*Envelope) GetCounter ¶
func (*Envelope) GetDeprecatedTags ¶
func (*Envelope) GetInstanceId ¶
func (*Envelope) GetMessage ¶
func (m *Envelope) GetMessage() isEnvelope_Message
func (*Envelope) GetSourceId ¶
func (*Envelope) GetTimestamp ¶
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) Syslog ¶
func (m *Envelope) Syslog(opts ...SyslogOption) ([][]byte, error)
Syslog converts an envelope into RFC 5424 compliant syslog messages. Typically, this will be a one to one (envelope to syslog) but for certain envelope type such as gauges a single envelope maps to multiple syslog messages (one per gauge metric).
type EnvelopeBatch ¶
type EnvelopeBatch struct {
Batch []*Envelope `protobuf:"bytes,1,rep,name=batch" json:"batch,omitempty"`
}
func (*EnvelopeBatch) Descriptor ¶
func (*EnvelopeBatch) Descriptor() ([]byte, []int)
func (*EnvelopeBatch) GetBatch ¶
func (m *EnvelopeBatch) GetBatch() []*Envelope
func (*EnvelopeBatch) ProtoMessage ¶
func (*EnvelopeBatch) ProtoMessage()
func (*EnvelopeBatch) Reset ¶
func (m *EnvelopeBatch) Reset()
func (*EnvelopeBatch) String ¶
func (m *EnvelopeBatch) String() string
type Envelope_Counter ¶
type Envelope_Counter struct {
Counter *Counter `protobuf:"bytes,5,opt,name=counter,oneof"`
}
type Envelope_Event ¶
type Envelope_Event struct {
Event *Event `protobuf:"bytes,10,opt,name=event,oneof"`
}
type Envelope_Gauge ¶
type Envelope_Gauge struct {
Gauge *Gauge `protobuf:"bytes,6,opt,name=gauge,oneof"`
}
type Envelope_Log ¶
type Envelope_Log struct {
Log *Log `protobuf:"bytes,4,opt,name=log,oneof"`
}
type Envelope_Timer ¶
type Envelope_Timer struct {
Timer *Timer `protobuf:"bytes,7,opt,name=timer,oneof"`
}
type Event ¶
type Event struct { Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` Body string `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"` }
func (*Event) Descriptor ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type EventSelector ¶
type EventSelector struct { }
EventSelector instructs Loggregator to egress Event envelopes to the given subscription.
func (*EventSelector) Descriptor ¶
func (*EventSelector) Descriptor() ([]byte, []int)
func (*EventSelector) ProtoMessage ¶
func (*EventSelector) ProtoMessage()
func (*EventSelector) Reset ¶
func (m *EventSelector) Reset()
func (*EventSelector) String ¶
func (m *EventSelector) String() string
type Gauge ¶
type Gauge struct {
Metrics map[string]*GaugeValue `` /* 134-byte string literal not displayed */
}
func (*Gauge) Descriptor ¶
func (*Gauge) GetMetrics ¶
func (m *Gauge) GetMetrics() map[string]*GaugeValue
func (*Gauge) ProtoMessage ¶
func (*Gauge) ProtoMessage()
type GaugeSelector ¶
type GaugeSelector struct { // Any egress Gauge envelope must consist of the given names. Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` }
GaugeSelector instructs Loggregator to egress Gauge envelopes to the given subscription.
func (*GaugeSelector) Descriptor ¶
func (*GaugeSelector) Descriptor() ([]byte, []int)
func (*GaugeSelector) GetNames ¶
func (m *GaugeSelector) GetNames() []string
func (*GaugeSelector) ProtoMessage ¶
func (*GaugeSelector) ProtoMessage()
func (*GaugeSelector) Reset ¶
func (m *GaugeSelector) Reset()
func (*GaugeSelector) String ¶
func (m *GaugeSelector) String() string
type GaugeValue ¶
type GaugeValue struct { Unit string `protobuf:"bytes,1,opt,name=unit" json:"unit,omitempty"` Value float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"` }
func (*GaugeValue) Descriptor ¶
func (*GaugeValue) Descriptor() ([]byte, []int)
func (*GaugeValue) GetUnit ¶
func (m *GaugeValue) GetUnit() string
func (*GaugeValue) GetValue ¶
func (m *GaugeValue) GetValue() float64
func (*GaugeValue) ProtoMessage ¶
func (*GaugeValue) ProtoMessage()
func (*GaugeValue) Reset ¶
func (m *GaugeValue) Reset()
func (*GaugeValue) String ¶
func (m *GaugeValue) String() string
type IngressClient ¶
type IngressClient interface { Sender(ctx context.Context, opts ...grpc.CallOption) (Ingress_SenderClient, error) BatchSender(ctx context.Context, opts ...grpc.CallOption) (Ingress_BatchSenderClient, error) Send(ctx context.Context, in *EnvelopeBatch, opts ...grpc.CallOption) (*SendResponse, error) }
func NewIngressClient ¶
func NewIngressClient(cc *grpc.ClientConn) IngressClient
type IngressResponse ¶
type IngressResponse struct { }
func (*IngressResponse) Descriptor ¶
func (*IngressResponse) Descriptor() ([]byte, []int)
func (*IngressResponse) ProtoMessage ¶
func (*IngressResponse) ProtoMessage()
func (*IngressResponse) Reset ¶
func (m *IngressResponse) Reset()
func (*IngressResponse) String ¶
func (m *IngressResponse) String() string
type IngressServer ¶
type IngressServer interface { Sender(Ingress_SenderServer) error BatchSender(Ingress_BatchSenderServer) error Send(context.Context, *EnvelopeBatch) (*SendResponse, error) }
type Ingress_BatchSenderClient ¶
type Ingress_BatchSenderClient interface { Send(*EnvelopeBatch) error CloseAndRecv() (*BatchSenderResponse, error) grpc.ClientStream }
type Ingress_BatchSenderServer ¶
type Ingress_BatchSenderServer interface { SendAndClose(*BatchSenderResponse) error Recv() (*EnvelopeBatch, error) grpc.ServerStream }
type Ingress_SenderClient ¶
type Ingress_SenderClient interface { Send(*Envelope) error CloseAndRecv() (*IngressResponse, error) grpc.ClientStream }
type Ingress_SenderServer ¶
type Ingress_SenderServer interface { SendAndClose(*IngressResponse) error Recv() (*Envelope, error) grpc.ServerStream }
type Log ¶
type Log struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Type Log_Type `protobuf:"varint,2,opt,name=type,enum=loggregator.v2.Log_Type" json:"type,omitempty"` }
func (*Log) Descriptor ¶
func (*Log) GetPayload ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
type LogSelector ¶
type LogSelector struct { }
LogSelector instructs Loggregator to egress Log envelopes to the given subscription.
func (*LogSelector) Descriptor ¶
func (*LogSelector) Descriptor() ([]byte, []int)
func (*LogSelector) ProtoMessage ¶
func (*LogSelector) ProtoMessage()
func (*LogSelector) Reset ¶
func (m *LogSelector) Reset()
func (*LogSelector) String ¶
func (m *LogSelector) String() string
type Selector ¶
type Selector struct { SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId" json:"source_id,omitempty"` // Types that are valid to be assigned to Message: // *Selector_Log // *Selector_Counter // *Selector_Gauge // *Selector_Timer // *Selector_Event Message isSelector_Message `protobuf_oneof:"Message"` }
Selector instructs Loggregator to only send envelopes that match the given criteria.
func (*Selector) Descriptor ¶
func (*Selector) GetCounter ¶
func (m *Selector) GetCounter() *CounterSelector
func (*Selector) GetEvent ¶
func (m *Selector) GetEvent() *EventSelector
func (*Selector) GetGauge ¶
func (m *Selector) GetGauge() *GaugeSelector
func (*Selector) GetLog ¶
func (m *Selector) GetLog() *LogSelector
func (*Selector) GetMessage ¶
func (m *Selector) GetMessage() isSelector_Message
func (*Selector) GetSourceId ¶
func (*Selector) GetTimer ¶
func (m *Selector) GetTimer() *TimerSelector
func (*Selector) ProtoMessage ¶
func (*Selector) ProtoMessage()
type Selector_Counter ¶
type Selector_Counter struct {
Counter *CounterSelector `protobuf:"bytes,3,opt,name=counter,oneof"`
}
type Selector_Event ¶
type Selector_Event struct {
Event *EventSelector `protobuf:"bytes,6,opt,name=event,oneof"`
}
type Selector_Gauge ¶
type Selector_Gauge struct {
Gauge *GaugeSelector `protobuf:"bytes,4,opt,name=gauge,oneof"`
}
type Selector_Log ¶
type Selector_Log struct {
Log *LogSelector `protobuf:"bytes,2,opt,name=log,oneof"`
}
type Selector_Timer ¶
type Selector_Timer struct {
Timer *TimerSelector `protobuf:"bytes,5,opt,name=timer,oneof"`
}
type SendResponse ¶
type SendResponse struct { }
func (*SendResponse) Descriptor ¶
func (*SendResponse) Descriptor() ([]byte, []int)
func (*SendResponse) ProtoMessage ¶
func (*SendResponse) ProtoMessage()
func (*SendResponse) Reset ¶
func (m *SendResponse) Reset()
func (*SendResponse) String ¶
func (m *SendResponse) String() string
type SyslogOption ¶
type SyslogOption func(*syslogConfig)
SyslogOption configures the behavior of Envelope.Syslog.
func WithSyslogAppName ¶
func WithSyslogAppName(appName string) SyslogOption
WithSyslogAppName changes the app name of the resulting syslog messages.
func WithSyslogHostname ¶
func WithSyslogHostname(hostname string) SyslogOption
WithSyslogHostname changes the hostname of the resulting syslog messages.
func WithSyslogProcessID ¶
func WithSyslogProcessID(processID string) SyslogOption
WithSyslogProcessID changes the process id of the resulting syslog messages.
type Timer ¶
type Timer struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Start int64 `protobuf:"varint,2,opt,name=start" json:"start,omitempty"` Stop int64 `protobuf:"varint,3,opt,name=stop" json:"stop,omitempty"` }
func (*Timer) Descriptor ¶
func (*Timer) ProtoMessage ¶
func (*Timer) ProtoMessage()
type TimerSelector ¶
type TimerSelector struct { }
TimerSelector instructs Loggregator to egress Timer envelopes to the given subscription.
func (*TimerSelector) Descriptor ¶
func (*TimerSelector) Descriptor() ([]byte, []int)
func (*TimerSelector) ProtoMessage ¶
func (*TimerSelector) ProtoMessage()
func (*TimerSelector) Reset ¶
func (m *TimerSelector) Reset()
func (*TimerSelector) String ¶
func (m *TimerSelector) String() string
type Value ¶
type Value struct { // Types that are valid to be assigned to Data: // *Value_Text // *Value_Integer // *Value_Decimal Data isValue_Data `protobuf_oneof:"data"` }
func (*Value) Descriptor ¶
func (*Value) GetDecimal ¶
func (*Value) GetInteger ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
type Value_Decimal ¶
type Value_Decimal struct {
Decimal float64 `protobuf:"fixed64,3,opt,name=decimal,oneof"`
}
type Value_Integer ¶
type Value_Integer struct {
Integer int64 `protobuf:"varint,2,opt,name=integer,oneof"`
}
type Value_Text ¶
type Value_Text struct {
Text string `protobuf:"bytes,1,opt,name=text,oneof"`
}