Documentation
¶
Index ¶
- Variables
- type Collect
- func (*Collect) Descriptor() ([]byte, []int)
- func (m *Collect) GetId() string
- func (m *Collect) GetSchema() *Schema
- func (m *Collect) GetToken() string
- func (*Collect) ProtoMessage()
- func (m *Collect) Reset()
- func (m *Collect) String() string
- func (m *Collect) XXX_DiscardUnknown()
- func (m *Collect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Collect) XXX_Merge(src proto.Message)
- func (m *Collect) XXX_Size() int
- func (m *Collect) XXX_Unmarshal(b []byte) error
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)
- func (m *Filter) GetPagesize() int32
- func (m *Filter) GetQuery() string
- func (m *Filter) GetType() Filter_Type
- func (*Filter) ProtoMessage()
- func (m *Filter) Reset()
- func (m *Filter) String() string
- func (m *Filter) XXX_DiscardUnknown()
- func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Filter) XXX_Merge(src proto.Message)
- func (m *Filter) XXX_Size() int
- func (m *Filter) XXX_Unmarshal(b []byte) error
- type Filter_Type
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) GetRequestId() string
- func (m *Info) GetSource() string
- func (m *Info) GetTimestamp() int64
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) String() string
- func (m *Info) XXX_DiscardUnknown()
- func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Info) XXX_Merge(src proto.Message)
- func (m *Info) XXX_Size() int
- func (m *Info) XXX_Unmarshal(b []byte) error
- type Manifest
- func (*Manifest) Descriptor() ([]byte, []int)
- func (m *Manifest) GetContext() *Manifest_Context
- func (m *Manifest) GetGeneric() *records.GenericRecord
- func (m *Manifest) GetHttp() *records.HTTPRecord
- func (m *Manifest) GetKafka() *records.KafkaSinkRecord
- func (m *Manifest) GetRecord() isManifest_Record
- func (*Manifest) ProtoMessage()
- func (m *Manifest) Reset()
- func (m *Manifest) String() string
- func (m *Manifest) XXX_DiscardUnknown()
- func (m *Manifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Manifest) XXX_Merge(src proto.Message)
- func (*Manifest) XXX_OneofWrappers() []interface{}
- func (m *Manifest) XXX_Size() int
- func (m *Manifest) XXX_Unmarshal(b []byte) error
- type Manifest_Context
- func (*Manifest_Context) Descriptor() ([]byte, []int)
- func (m *Manifest_Context) GetCollect() *Collect
- func (m *Manifest_Context) GetInfo() *Info
- func (m *Manifest_Context) GetTeam() *Team
- func (*Manifest_Context) ProtoMessage()
- func (m *Manifest_Context) Reset()
- func (m *Manifest_Context) String() string
- func (m *Manifest_Context) XXX_DiscardUnknown()
- func (m *Manifest_Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Manifest_Context) XXX_Merge(src proto.Message)
- func (m *Manifest_Context) XXX_Size() int
- func (m *Manifest_Context) XXX_Unmarshal(b []byte) error
- type Manifest_Generic
- type Manifest_Http
- type Manifest_Kafka
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetCollect() *Collect
- func (m *Message) GetEvent() isMessage_Event
- func (m *Message) GetInfo() *Info
- func (m *Message) GetReplay() *Replay
- func (m *Message) GetSchema() *Schema
- func (m *Message) GetTeam() *Team
- func (m *Message) GetType() Message_Type
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (*Message) XXX_OneofWrappers() []interface{}
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_Collect
- type Message_Replay
- type Message_Schema
- type Message_Type
- type Outbound
- func (*Outbound) Descriptor() ([]byte, []int)
- func (m *Outbound) GetBlob() []byte
- func (m *Outbound) GetReplayId() string
- func (*Outbound) ProtoMessage()
- func (m *Outbound) Reset()
- func (m *Outbound) String() string
- func (m *Outbound) XXX_DiscardUnknown()
- func (m *Outbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Outbound) XXX_Merge(src proto.Message)
- func (m *Outbound) XXX_Size() int
- func (m *Outbound) XXX_Unmarshal(b []byte) error
- type Replay
- func (*Replay) Descriptor() ([]byte, []int)
- func (m *Replay) GetCollectId() string
- func (m *Replay) GetDst() isReplay_Dst
- func (m *Replay) GetFilter() *Filter
- func (m *Replay) GetHttp() *destinations.HTTP
- func (m *Replay) GetId() string
- func (*Replay) ProtoMessage()
- func (m *Replay) Reset()
- func (m *Replay) String() string
- func (m *Replay) XXX_DiscardUnknown()
- func (m *Replay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Replay) XXX_Merge(src proto.Message)
- func (*Replay) XXX_OneofWrappers() []interface{}
- func (m *Replay) XXX_Size() int
- func (m *Replay) XXX_Unmarshal(b []byte) error
- type Replay_Http
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)
- func (m *Schema) GetId() string
- func (m *Schema) GetProtobufFileDescriptorSet() []byte
- func (m *Schema) GetProtobufMessageName() string
- func (m *Schema) GetRaw() map[string][]byte
- func (m *Schema) GetType() Schema_Type
- func (*Schema) ProtoMessage()
- func (m *Schema) Reset()
- func (m *Schema) String() string
- func (m *Schema) XXX_DiscardUnknown()
- func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Schema) XXX_Merge(src proto.Message)
- func (m *Schema) XXX_Size() int
- func (m *Schema) XXX_Unmarshal(b []byte) error
- type Schema_Type
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetCode() int32
- func (m *Status) GetMessage() string
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) String() string
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type Team
- func (*Team) Descriptor() ([]byte, []int)
- func (m *Team) GetId() string
- func (m *Team) GetName() string
- func (m *Team) GetUser() *User
- func (*Team) ProtoMessage()
- func (m *Team) Reset()
- func (m *Team) String() string
- func (m *Team) XXX_DiscardUnknown()
- func (m *Team) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Team) XXX_Merge(src proto.Message)
- func (m *Team) XXX_Size() int
- func (m *Team) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetEmail() string
- func (m *User) GetFirstName() string
- func (m *User) GetId() string
- func (m *User) GetLastName() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var Filter_Type_name = map[int32]string{
0: "LUCENE",
1: "ES_SQL",
}
var Filter_Type_value = map[string]int32{
"LUCENE": 0,
"ES_SQL": 1,
}
var Message_Type_name = map[int32]string{
0: "CREATE_COLLECTION",
1: "CREATE_SCHEMA",
2: "DELETE_COLLECTION",
3: "CREATE_REPLAY",
4: "DELETE_REPLAY",
5: "UPDATE_REPLAY",
6: "PAUSE_REPLAY",
7: "RESUME_REPLAY",
}
var Message_Type_value = map[string]int32{
"CREATE_COLLECTION": 0,
"CREATE_SCHEMA": 1,
"DELETE_COLLECTION": 2,
"CREATE_REPLAY": 3,
"DELETE_REPLAY": 4,
"UPDATE_REPLAY": 5,
"PAUSE_REPLAY": 6,
"RESUME_REPLAY": 7,
}
var Schema_Type_name = map[int32]string{
0: "UNKNOWN",
1: "PLAIN",
2: "JSON",
3: "PROTOBUF",
}
var Schema_Type_value = map[string]int32{
"UNKNOWN": 0,
"PLAIN": 1,
"JSON": 2,
"PROTOBUF": 3,
}
Functions ¶
This section is empty.
Types ¶
type Collect ¶
type Collect struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Schema *Schema `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This type is used to convey info about a collection request; it includes auth details that enables the collector to associate intake events with a particular team's collection request.
func (*Collect) Descriptor ¶
func (*Collect) ProtoMessage ¶
func (*Collect) ProtoMessage()
func (*Collect) XXX_DiscardUnknown ¶
func (m *Collect) XXX_DiscardUnknown()
func (*Collect) XXX_Marshal ¶
func (*Collect) XXX_Unmarshal ¶
type Filter ¶
type Filter struct { Type Filter_Type `protobuf:"varint,1,opt,name=type,proto3,enum=events.Filter_Type" json:"type,omitempty"` Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` Pagesize int32 `protobuf:"varint,3,opt,name=pagesize,proto3" json:"pagesize,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Filter) Descriptor ¶
func (*Filter) GetPagesize ¶
func (*Filter) GetType ¶
func (m *Filter) GetType() Filter_Type
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) XXX_DiscardUnknown ¶
func (m *Filter) XXX_DiscardUnknown()
func (*Filter) XXX_Marshal ¶
func (*Filter) XXX_Unmarshal ¶
type Filter_Type ¶
type Filter_Type int32
const ( Filter_LUCENE Filter_Type = 0 Filter_ES_SQL Filter_Type = 1 )
func (Filter_Type) EnumDescriptor ¶
func (Filter_Type) EnumDescriptor() ([]byte, []int)
func (Filter_Type) String ¶
func (x Filter_Type) String() string
type Info ¶
type Info struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This type is used for *internal* tracking of events/requests.
func (*Info) Descriptor ¶
func (*Info) GetRequestId ¶
func (*Info) GetTimestamp ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) XXX_DiscardUnknown ¶
func (m *Info) XXX_DiscardUnknown()
func (*Info) XXX_Unmarshal ¶
type Manifest ¶
type Manifest struct { Context *Manifest_Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // Types that are valid to be assigned to Record: // *Manifest_Kafka // *Manifest_Http // *Manifest_Generic Record isManifest_Record `protobuf_oneof:"record"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This type is used during data collection -- the collector emits it to the inbound queue which is then consumed by the writer.
func (*Manifest) Descriptor ¶
func (*Manifest) GetContext ¶
func (m *Manifest) GetContext() *Manifest_Context
func (*Manifest) GetGeneric ¶
func (m *Manifest) GetGeneric() *records.GenericRecord
func (*Manifest) GetHttp ¶
func (m *Manifest) GetHttp() *records.HTTPRecord
func (*Manifest) GetKafka ¶
func (m *Manifest) GetKafka() *records.KafkaSinkRecord
func (*Manifest) ProtoMessage ¶
func (*Manifest) ProtoMessage()
func (*Manifest) XXX_DiscardUnknown ¶
func (m *Manifest) XXX_DiscardUnknown()
func (*Manifest) XXX_Marshal ¶
func (*Manifest) XXX_OneofWrappers ¶
func (*Manifest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Manifest) XXX_Unmarshal ¶
type Manifest_Context ¶
type Manifest_Context struct { Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` Collect *Collect `protobuf:"bytes,2,opt,name=collect,proto3" json:"collect,omitempty"` Info *Info `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Info indicating which team the inbound message belongs to, what collection config the writer should use and debug info.
func (*Manifest_Context) Descriptor ¶
func (*Manifest_Context) Descriptor() ([]byte, []int)
func (*Manifest_Context) GetCollect ¶
func (m *Manifest_Context) GetCollect() *Collect
func (*Manifest_Context) GetInfo ¶
func (m *Manifest_Context) GetInfo() *Info
func (*Manifest_Context) GetTeam ¶
func (m *Manifest_Context) GetTeam() *Team
func (*Manifest_Context) ProtoMessage ¶
func (*Manifest_Context) ProtoMessage()
func (*Manifest_Context) Reset ¶
func (m *Manifest_Context) Reset()
func (*Manifest_Context) String ¶
func (m *Manifest_Context) String() string
func (*Manifest_Context) XXX_DiscardUnknown ¶
func (m *Manifest_Context) XXX_DiscardUnknown()
func (*Manifest_Context) XXX_Marshal ¶
func (m *Manifest_Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Manifest_Context) XXX_Merge ¶
func (m *Manifest_Context) XXX_Merge(src proto.Message)
func (*Manifest_Context) XXX_Size ¶
func (m *Manifest_Context) XXX_Size() int
func (*Manifest_Context) XXX_Unmarshal ¶
func (m *Manifest_Context) XXX_Unmarshal(b []byte) error
type Manifest_Generic ¶
type Manifest_Generic struct {
Generic *records.GenericRecord `protobuf:"bytes,102,opt,name=generic,proto3,oneof"`
}
type Manifest_Http ¶
type Manifest_Http struct {
Http *records.HTTPRecord `protobuf:"bytes,101,opt,name=http,proto3,oneof"`
}
type Manifest_Kafka ¶
type Manifest_Kafka struct {
Kafka *records.KafkaSinkRecord `protobuf:"bytes,100,opt,name=kafka,proto3,oneof"`
}
type Message ¶
type Message struct { // What kind of a message is this? Type Message_Type `protobuf:"varint,1,opt,name=type,proto3,enum=events.Message_Type" json:"type,omitempty"` // Who does this message pertain to? Team *Team `protobuf:"bytes,2,opt,name=team,proto3" json:"team,omitempty"` // Contains event debug info Info *Info `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` // Types that are valid to be assigned to Event: // *Message_Collect // *Message_Replay // *Message_Schema Event isMessage_Event `protobuf_oneof:"event"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message) Descriptor ¶
func (*Message) GetCollect ¶
func (*Message) GetType ¶
func (m *Message) GetType() Message_Type
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_OneofWrappers ¶
func (*Message) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Message) XXX_Unmarshal ¶
type Message_Collect ¶
type Message_Collect struct {
Collect *Collect `protobuf:"bytes,100,opt,name=collect,proto3,oneof"`
}
type Message_Replay ¶
type Message_Replay struct {
Replay *Replay `protobuf:"bytes,101,opt,name=replay,proto3,oneof"`
}
type Message_Schema ¶
type Message_Schema struct {
Schema *Schema `protobuf:"bytes,102,opt,name=schema,proto3,oneof"`
}
type Message_Type ¶
type Message_Type int32
const ( Message_CREATE_COLLECTION Message_Type = 0 Message_CREATE_SCHEMA Message_Type = 1 Message_DELETE_COLLECTION Message_Type = 2 Message_CREATE_REPLAY Message_Type = 3 Message_DELETE_REPLAY Message_Type = 4 Message_UPDATE_REPLAY Message_Type = 5 Message_PAUSE_REPLAY Message_Type = 6 Message_RESUME_REPLAY Message_Type = 7 )
func (Message_Type) EnumDescriptor ¶
func (Message_Type) EnumDescriptor() ([]byte, []int)
func (Message_Type) String ¶
func (x Message_Type) String() string
type Outbound ¶
type Outbound struct { ReplayId string `protobuf:"bytes,1,opt,name=replay_id,json=replayId,proto3" json:"replay_id,omitempty"` Blob []byte `protobuf:"bytes,2,opt,name=blob,proto3" json:"blob,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Emitted by the reader to HSB which is then consumed by the replayer
func (*Outbound) Descriptor ¶
func (*Outbound) GetReplayId ¶
func (*Outbound) ProtoMessage ¶
func (*Outbound) ProtoMessage()
func (*Outbound) XXX_DiscardUnknown ¶
func (m *Outbound) XXX_DiscardUnknown()
func (*Outbound) XXX_Marshal ¶
func (*Outbound) XXX_Unmarshal ¶
type Replay ¶
type Replay struct { // Replay id in DB Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Filter is used by the search service to find fitting events and pushing // them to HSB for consumption by the replay service. Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Used by reader to know which index to use CollectId string `protobuf:"bytes,3,opt,name=collect_id,json=collectId,proto3" json:"collect_id,omitempty"` // Used by the replay service // // Types that are valid to be assigned to Dst: // *Replay_Http Dst isReplay_Dst `protobuf_oneof:"dst"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Replay) Descriptor ¶
func (*Replay) GetCollectId ¶
func (*Replay) GetHttp ¶
func (m *Replay) GetHttp() *destinations.HTTP
func (*Replay) ProtoMessage ¶
func (*Replay) ProtoMessage()
func (*Replay) XXX_DiscardUnknown ¶
func (m *Replay) XXX_DiscardUnknown()
func (*Replay) XXX_Marshal ¶
func (*Replay) XXX_OneofWrappers ¶
func (*Replay) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Replay) XXX_Unmarshal ¶
type Replay_Http ¶
type Replay_Http struct {
Http *destinations.HTTP `protobuf:"bytes,100,opt,name=http,proto3,oneof"`
}
type Schema ¶
type Schema struct { // The collector will ONLY fill out the 'id' for incoming messages - it is // the responsibility of downstream consumers to lookup the corresponding // schema configuration by 'id'. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type Schema_Type `protobuf:"varint,2,opt,name=type,proto3,enum=events.Schema_Type" json:"type,omitempty"` Raw map[string][]byte `` /* 147-byte string literal not displayed */ // Only used when Type == PROTOBUF ProtobufMessageName string `protobuf:"bytes,4,opt,name=protobuf_message_name,json=protobufMessageName,proto3" json:"protobuf_message_name,omitempty"` ProtobufFileDescriptorSet []byte `` /* 140-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Schema) Descriptor ¶
func (*Schema) GetProtobufFileDescriptorSet ¶
func (*Schema) GetProtobufMessageName ¶
func (*Schema) GetType ¶
func (m *Schema) GetType() Schema_Type
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) XXX_DiscardUnknown ¶
func (m *Schema) XXX_DiscardUnknown()
func (*Schema) XXX_Marshal ¶
func (*Schema) XXX_Unmarshal ¶
type Schema_Type ¶
type Schema_Type int32
const ( Schema_UNKNOWN Schema_Type = 0 Schema_PLAIN Schema_Type = 1 Schema_JSON Schema_Type = 2 Schema_PROTOBUF Schema_Type = 3 )
func (Schema_Type) EnumDescriptor ¶
func (Schema_Type) EnumDescriptor() ([]byte, []int)
func (Schema_Type) String ¶
func (x Schema_Type) String() string
type Status ¶
type Status struct { // A simple error code that can be easily handled by the client. The // actual error code is defined by `google.rpc.Code`. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // A developer-facing human-readable error message in English. It should // both explain the error and offer an actionable resolution to it. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Status) Descriptor ¶
func (*Status) GetMessage ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
type Team ¶
type Team struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Team) Descriptor ¶
func (*Team) ProtoMessage ¶
func (*Team) ProtoMessage()
func (*Team) XXX_DiscardUnknown ¶
func (m *Team) XXX_DiscardUnknown()
func (*Team) XXX_Unmarshal ¶
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) GetFirstName ¶
func (*User) GetLastName ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()