gogo

package
v0.0.0-...-2cf177e Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EventType_name = map[int32]string{
	0: "EVENT_TYPE_UNDEFINED",
	1: "EVENT_TYPE_ONE",
	2: "EVENT_TYPE_TWO",
}
View Source
var EventType_value = map[string]int32{
	"EVENT_TYPE_UNDEFINED": 0,
	"EVENT_TYPE_ONE":       1,
	"EVENT_TYPE_TWO":       2,
}

Functions

This section is empty.

Types

type AllTheThings

type AllTheThings struct {
	ID                   int32          `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	TheString            string         `protobuf:"bytes,2,opt,name=theString,proto3" json:"theString,omitempty"`
	TheBool              bool           `protobuf:"varint,3,opt,name=theBool,proto3" json:"theBool,omitempty"`
	TheInt32             int32          `protobuf:"varint,4,opt,name=theInt32,proto3" json:"theInt32,omitempty"`
	TheInt64             int64          `protobuf:"varint,5,opt,name=theInt64,proto3" json:"theInt64,omitempty"`
	TheUInt32            uint32         `protobuf:"varint,6,opt,name=theUInt32,proto3" json:"theUInt32,omitempty"`
	TheUInt64            uint64         `protobuf:"varint,7,opt,name=theUInt64,proto3" json:"theUInt64,omitempty"`
	TheSInt32            int32          `protobuf:"zigzag32,8,opt,name=theSInt32,proto3" json:"theSInt32,omitempty"`
	TheSInt64            int64          `protobuf:"zigzag64,9,opt,name=theSInt64,proto3" json:"theSInt64,omitempty"`
	TheFixed32           uint32         `protobuf:"fixed32,10,opt,name=theFixed32,proto3" json:"theFixed32,omitempty"`
	TheFixed64           uint64         `protobuf:"fixed64,11,opt,name=theFixed64,proto3" json:"theFixed64,omitempty"`
	TheSFixed32          int32          `protobuf:"fixed32,12,opt,name=theSFixed32,proto3" json:"theSFixed32,omitempty"`
	TheSFixed64          int64          `protobuf:"fixed64,13,opt,name=theSFixed64,proto3" json:"theSFixed64,omitempty"`
	TheFloat             float32        `protobuf:"fixed32,14,opt,name=theFloat,proto3" json:"theFloat,omitempty"`
	TheDouble            float64        `protobuf:"fixed64,15,opt,name=theDouble,proto3" json:"theDouble,omitempty"`
	TheEventType         EventType      `` /* 134-byte string literal not displayed */
	TheBytes             []byte         `protobuf:"bytes,17,opt,name=theBytes,proto3" json:"theBytes,omitempty"`
	TheMessage           *EmbeddedEvent `protobuf:"bytes,18,opt,name=theMessage,proto3" json:"theMessage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AllTheThings) Descriptor

func (*AllTheThings) Descriptor() ([]byte, []int)

func (*AllTheThings) GetID

func (m *AllTheThings) GetID() int32

func (*AllTheThings) GetTheBool

func (m *AllTheThings) GetTheBool() bool

func (*AllTheThings) GetTheBytes

func (m *AllTheThings) GetTheBytes() []byte

func (*AllTheThings) GetTheDouble

func (m *AllTheThings) GetTheDouble() float64

func (*AllTheThings) GetTheEventType

func (m *AllTheThings) GetTheEventType() EventType

func (*AllTheThings) GetTheFixed32

func (m *AllTheThings) GetTheFixed32() uint32

func (*AllTheThings) GetTheFixed64

func (m *AllTheThings) GetTheFixed64() uint64

func (*AllTheThings) GetTheFloat

func (m *AllTheThings) GetTheFloat() float32

func (*AllTheThings) GetTheInt32

func (m *AllTheThings) GetTheInt32() int32

func (*AllTheThings) GetTheInt64

func (m *AllTheThings) GetTheInt64() int64

func (*AllTheThings) GetTheMessage

func (m *AllTheThings) GetTheMessage() *EmbeddedEvent

func (*AllTheThings) GetTheSFixed32

func (m *AllTheThings) GetTheSFixed32() int32

func (*AllTheThings) GetTheSFixed64

func (m *AllTheThings) GetTheSFixed64() int64

func (*AllTheThings) GetTheSInt32

func (m *AllTheThings) GetTheSInt32() int32

func (*AllTheThings) GetTheSInt64

func (m *AllTheThings) GetTheSInt64() int64

func (*AllTheThings) GetTheString

func (m *AllTheThings) GetTheString() string

func (*AllTheThings) GetTheUInt32

func (m *AllTheThings) GetTheUInt32() uint32

func (*AllTheThings) GetTheUInt64

func (m *AllTheThings) GetTheUInt64() uint64

func (*AllTheThings) Marshal

func (m *AllTheThings) Marshal() ([]byte, error)

Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.

func (*AllTheThings) MarshalTo

func (m *AllTheThings) MarshalTo(dest []byte) error

MarshalTo converts the contents of m to the Protobuf binary encoding and writes the result to dest.

func (*AllTheThings) ProtoMessage

func (*AllTheThings) ProtoMessage()

func (*AllTheThings) Reset

func (m *AllTheThings) Reset()

func (*AllTheThings) Size

func (m *AllTheThings) Size() int

Size calculates and returns the size, in bytes, required to hold the contents of m using the Protobuf binary encoding.

func (*AllTheThings) String

func (m *AllTheThings) String() string

func (*AllTheThings) Unmarshal

func (m *AllTheThings) Unmarshal(p []byte) error

Unmarshal decodes a binary encoded Protobuf message from p and populates m with the result.

func (*AllTheThings) XXX_DiscardUnknown

func (m *AllTheThings) XXX_DiscardUnknown()

func (*AllTheThings) XXX_Marshal

func (m *AllTheThings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllTheThings) XXX_Merge

func (m *AllTheThings) XXX_Merge(src proto.Message)

func (*AllTheThings) XXX_Size

func (m *AllTheThings) XXX_Size() int

func (*AllTheThings) XXX_Unmarshal

func (m *AllTheThings) XXX_Unmarshal(b []byte) error

type EmbeddedEvent

type EmbeddedEvent struct {
	ID                   int32    `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Stuff                string   `protobuf:"bytes,2,opt,name=stuff,proto3" json:"stuff,omitempty"`
	FavoriteNumbers      []int32  `protobuf:"varint,3,rep,packed,name=favoriteNumbers,proto3" json:"favoriteNumbers,omitempty"`
	RandomThings         [][]byte `protobuf:"bytes,4,rep,name=randomThings,proto3" json:"randomThings,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EmbeddedEvent) Descriptor

func (*EmbeddedEvent) Descriptor() ([]byte, []int)

func (*EmbeddedEvent) GetFavoriteNumbers

func (m *EmbeddedEvent) GetFavoriteNumbers() []int32

func (*EmbeddedEvent) GetID

func (m *EmbeddedEvent) GetID() int32

func (*EmbeddedEvent) GetRandomThings

func (m *EmbeddedEvent) GetRandomThings() [][]byte

func (*EmbeddedEvent) GetStuff

func (m *EmbeddedEvent) GetStuff() string

func (*EmbeddedEvent) Marshal

func (m *EmbeddedEvent) Marshal() ([]byte, error)

Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.

func (*EmbeddedEvent) MarshalTo

func (m *EmbeddedEvent) MarshalTo(dest []byte) error

MarshalTo converts the contents of m to the Protobuf binary encoding and writes the result to dest.

func (*EmbeddedEvent) ProtoMessage

func (*EmbeddedEvent) ProtoMessage()

func (*EmbeddedEvent) Reset

func (m *EmbeddedEvent) Reset()

func (*EmbeddedEvent) Size

func (m *EmbeddedEvent) Size() int

Size calculates and returns the size, in bytes, required to hold the contents of m using the Protobuf binary encoding.

func (*EmbeddedEvent) String

func (m *EmbeddedEvent) String() string

func (*EmbeddedEvent) Unmarshal

func (m *EmbeddedEvent) Unmarshal(p []byte) error

Unmarshal decodes a binary encoded Protobuf message from p and populates m with the result.

func (*EmbeddedEvent) XXX_DiscardUnknown

func (m *EmbeddedEvent) XXX_DiscardUnknown()

func (*EmbeddedEvent) XXX_Marshal

func (m *EmbeddedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmbeddedEvent) XXX_Merge

func (m *EmbeddedEvent) XXX_Merge(src proto.Message)

func (*EmbeddedEvent) XXX_Size

func (m *EmbeddedEvent) XXX_Size() int

func (*EmbeddedEvent) XXX_Unmarshal

func (m *EmbeddedEvent) XXX_Unmarshal(b []byte) error

type EventType

type EventType int32
const (
	EventType_EVENT_TYPE_UNDEFINED EventType = 0
	EventType_EVENT_TYPE_ONE       EventType = 1
	EventType_EVENT_TYPE_TWO       EventType = 2
)

func (EventType) EnumDescriptor

func (EventType) EnumDescriptor() ([]byte, []int)

func (EventType) String

func (x EventType) String() string

type EventUsingWKTs

type EventUsingWKTs struct {
	Name                 string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Ts                   *types.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"`
	EventType            EventType        `` /* 144-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*EventUsingWKTs) Descriptor

func (*EventUsingWKTs) Descriptor() ([]byte, []int)

func (*EventUsingWKTs) GetEventType

func (m *EventUsingWKTs) GetEventType() EventType

func (*EventUsingWKTs) GetName

func (m *EventUsingWKTs) GetName() string

func (*EventUsingWKTs) GetTs

func (m *EventUsingWKTs) GetTs() *types.Timestamp

func (*EventUsingWKTs) Marshal

func (m *EventUsingWKTs) Marshal() ([]byte, error)

Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.

func (*EventUsingWKTs) MarshalTo

func (m *EventUsingWKTs) MarshalTo(dest []byte) error

MarshalTo converts the contents of m to the Protobuf binary encoding and writes the result to dest.

func (*EventUsingWKTs) ProtoMessage

func (*EventUsingWKTs) ProtoMessage()

func (*EventUsingWKTs) Reset

func (m *EventUsingWKTs) Reset()

func (*EventUsingWKTs) Size

func (m *EventUsingWKTs) Size() int

Size calculates and returns the size, in bytes, required to hold the contents of m using the Protobuf binary encoding.

func (*EventUsingWKTs) String

func (m *EventUsingWKTs) String() string

func (*EventUsingWKTs) Unmarshal

func (m *EventUsingWKTs) Unmarshal(p []byte) error

Unmarshal decodes a binary encoded Protobuf message from p and populates m with the result.

func (*EventUsingWKTs) XXX_DiscardUnknown

func (m *EventUsingWKTs) XXX_DiscardUnknown()

func (*EventUsingWKTs) XXX_Marshal

func (m *EventUsingWKTs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventUsingWKTs) XXX_Merge

func (m *EventUsingWKTs) XXX_Merge(src proto.Message)

func (*EventUsingWKTs) XXX_Size

func (m *EventUsingWKTs) XXX_Size() int

func (*EventUsingWKTs) XXX_Unmarshal

func (m *EventUsingWKTs) XXX_Unmarshal(b []byte) error

type I18NVariable

type I18NVariable struct {
	// Types that are valid to be assigned to OneOfValues:
	//
	//	*I18NVariable_OptOne
	//	*I18NVariable_OptTwo
	OneOfValues          isI18NVariable_OneOfValues `protobuf_oneof:"one_of_values"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

see https://github.com/CrowdStrike/csproto/pull/124

func (*I18NVariable) Descriptor

func (*I18NVariable) Descriptor() ([]byte, []int)

func (*I18NVariable) GetOneOfValues

func (m *I18NVariable) GetOneOfValues() isI18NVariable_OneOfValues

func (*I18NVariable) GetOptOne

func (m *I18NVariable) GetOptOne() string

func (*I18NVariable) GetOptTwo

func (m *I18NVariable) GetOptTwo() string

func (*I18NVariable) Marshal

func (m *I18NVariable) Marshal() ([]byte, error)

Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.

func (*I18NVariable) MarshalTo

func (m *I18NVariable) MarshalTo(dest []byte) error

MarshalTo converts the contents of m to the Protobuf binary encoding and writes the result to dest.

func (*I18NVariable) ProtoMessage

func (*I18NVariable) ProtoMessage()

func (*I18NVariable) Reset

func (m *I18NVariable) Reset()

func (*I18NVariable) Size

func (m *I18NVariable) Size() int

Size calculates and returns the size, in bytes, required to hold the contents of m using the Protobuf binary encoding.

func (*I18NVariable) String

func (m *I18NVariable) String() string

func (*I18NVariable) Unmarshal

func (m *I18NVariable) Unmarshal(p []byte) error

Unmarshal decodes a binary encoded Protobuf message from p and populates m with the result.

func (*I18NVariable) XXX_DiscardUnknown

func (m *I18NVariable) XXX_DiscardUnknown()

func (*I18NVariable) XXX_Marshal

func (m *I18NVariable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*I18NVariable) XXX_Merge

func (m *I18NVariable) XXX_Merge(src proto.Message)

func (*I18NVariable) XXX_OneofWrappers

func (*I18NVariable) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*I18NVariable) XXX_Size

func (m *I18NVariable) XXX_Size() int

func (*I18NVariable) XXX_Unmarshal

func (m *I18NVariable) XXX_Unmarshal(b []byte) error

type I18NVariable_OptOne

type I18NVariable_OptOne struct {
	OptOne string `protobuf:"bytes,1,opt,name=opt_one,json=optOne,proto3,oneof" json:"opt_one,omitempty"`
}

type I18NVariable_OptTwo

type I18NVariable_OptTwo struct {
	OptTwo string `protobuf:"bytes,2,opt,name=opt_two,json=optTwo,proto3,oneof" json:"opt_two,omitempty"`
}

type Msg

type Msg struct {
	// Types that are valid to be assigned to OneOfValues:
	//
	//	*Msg_Tags_
	OneOfValues          isMsg_OneOfValues `protobuf_oneof:"one_of_values"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Msg) Descriptor

func (*Msg) Descriptor() ([]byte, []int)

func (*Msg) GetOneOfValues

func (m *Msg) GetOneOfValues() isMsg_OneOfValues

func (*Msg) GetTags

func (m *Msg) GetTags() *Msg_Tags

func (*Msg) Marshal

func (m *Msg) Marshal() ([]byte, error)

Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.

func (*Msg) MarshalTo

func (m *Msg) MarshalTo(dest []byte) error

MarshalTo converts the contents of m to the Protobuf binary encoding and writes the result to dest.

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) Reset

func (m *Msg) Reset()

func (*Msg) Size

func (m *Msg) Size() int

Size calculates and returns the size, in bytes, required to hold the contents of m using the Protobuf binary encoding.

func (*Msg) String

func (m *Msg) String() string

func (*Msg) Unmarshal

func (m *Msg) Unmarshal(p []byte) error

Unmarshal decodes a binary encoded Protobuf message from p and populates m with the result.

func (*Msg) XXX_DiscardUnknown

func (m *Msg) XXX_DiscardUnknown()

func (*Msg) XXX_Marshal

func (m *Msg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Msg) XXX_Merge

func (m *Msg) XXX_Merge(src proto.Message)

func (*Msg) XXX_OneofWrappers

func (*Msg) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Msg) XXX_Size

func (m *Msg) XXX_Size() int

func (*Msg) XXX_Unmarshal

func (m *Msg) XXX_Unmarshal(b []byte) error

type Msg_Tags

type Msg_Tags struct {
	Tags                 []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Msg_Tags) Descriptor

func (*Msg_Tags) Descriptor() ([]byte, []int)

func (*Msg_Tags) GetTags

func (m *Msg_Tags) GetTags() []string

func (*Msg_Tags) Marshal

func (m *Msg_Tags) Marshal() ([]byte, error)

Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.

func (*Msg_Tags) MarshalTo

func (m *Msg_Tags) MarshalTo(dest []byte) error

MarshalTo converts the contents of m to the Protobuf binary encoding and writes the result to dest.

func (*Msg_Tags) ProtoMessage

func (*Msg_Tags) ProtoMessage()

func (*Msg_Tags) Reset

func (m *Msg_Tags) Reset()

func (*Msg_Tags) Size

func (m *Msg_Tags) Size() int

Size calculates and returns the size, in bytes, required to hold the contents of m using the Protobuf binary encoding.

func (*Msg_Tags) String

func (m *Msg_Tags) String() string

func (*Msg_Tags) Unmarshal

func (m *Msg_Tags) Unmarshal(p []byte) error

Unmarshal decodes a binary encoded Protobuf message from p and populates m with the result.

func (*Msg_Tags) XXX_DiscardUnknown

func (m *Msg_Tags) XXX_DiscardUnknown()

func (*Msg_Tags) XXX_Marshal

func (m *Msg_Tags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Msg_Tags) XXX_Merge

func (m *Msg_Tags) XXX_Merge(src proto.Message)

func (*Msg_Tags) XXX_Size

func (m *Msg_Tags) XXX_Size() int

func (*Msg_Tags) XXX_Unmarshal

func (m *Msg_Tags) XXX_Unmarshal(b []byte) error

type Msg_Tags_

type Msg_Tags_ struct {
	Tags *Msg_Tags `protobuf:"bytes,1,opt,name=tags,proto3,oneof" json:"tags,omitempty"`
}

type RepeatAllTheThings

type RepeatAllTheThings struct {
	ID                   int32            `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	TheStrings           []string         `protobuf:"bytes,2,rep,name=theStrings,proto3" json:"theStrings,omitempty"`
	TheBools             []bool           `protobuf:"varint,3,rep,packed,name=theBools,proto3" json:"theBools,omitempty"`
	TheInt32S            []int32          `protobuf:"varint,4,rep,packed,name=theInt32s,proto3" json:"theInt32s,omitempty"`
	TheInt64S            []int64          `protobuf:"varint,5,rep,packed,name=theInt64s,proto3" json:"theInt64s,omitempty"`
	TheUInt32S           []uint32         `protobuf:"varint,6,rep,packed,name=theUInt32s,proto3" json:"theUInt32s,omitempty"`
	TheUInt64S           []uint64         `protobuf:"varint,7,rep,packed,name=theUInt64s,proto3" json:"theUInt64s,omitempty"`
	TheSInt32S           []int32          `protobuf:"zigzag32,8,rep,packed,name=theSInt32s,proto3" json:"theSInt32s,omitempty"`
	TheSInt64S           []int64          `protobuf:"zigzag64,9,rep,packed,name=theSInt64s,proto3" json:"theSInt64s,omitempty"`
	TheFixed32S          []uint32         `protobuf:"fixed32,10,rep,packed,name=theFixed32s,proto3" json:"theFixed32s,omitempty"`
	TheFixed64S          []uint64         `protobuf:"fixed64,11,rep,packed,name=theFixed64s,proto3" json:"theFixed64s,omitempty"`
	TheSFixed32S         []int32          `protobuf:"fixed32,12,rep,packed,name=theSFixed32s,proto3" json:"theSFixed32s,omitempty"`
	TheSFixed64S         []int64          `protobuf:"fixed64,13,rep,packed,name=theSFixed64s,proto3" json:"theSFixed64s,omitempty"`
	TheFloats            []float32        `protobuf:"fixed32,14,rep,packed,name=theFloats,proto3" json:"theFloats,omitempty"`
	TheDoubles           []float64        `protobuf:"fixed64,15,rep,packed,name=theDoubles,proto3" json:"theDoubles,omitempty"`
	TheEventTypes        []EventType      `` /* 143-byte string literal not displayed */
	TheBytes             [][]byte         `protobuf:"bytes,17,rep,name=theBytes,proto3" json:"theBytes,omitempty"`
	TheMessages          []*EmbeddedEvent `protobuf:"bytes,18,rep,name=theMessages,proto3" json:"theMessages,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*RepeatAllTheThings) Descriptor

func (*RepeatAllTheThings) Descriptor() ([]byte, []int)

func (*RepeatAllTheThings) GetID

func (m *RepeatAllTheThings) GetID() int32

func (*RepeatAllTheThings) GetTheBools

func (m *RepeatAllTheThings) GetTheBools() []bool

func (*RepeatAllTheThings) GetTheBytes

func (m *RepeatAllTheThings) GetTheBytes() [][]byte

func (*RepeatAllTheThings) GetTheDoubles

func (m *RepeatAllTheThings) GetTheDoubles() []float64

func (*RepeatAllTheThings) GetTheEventTypes

func (m *RepeatAllTheThings) GetTheEventTypes() []EventType

func (*RepeatAllTheThings) GetTheFixed32S

func (m *RepeatAllTheThings) GetTheFixed32S() []uint32

func (*RepeatAllTheThings) GetTheFixed64S

func (m *RepeatAllTheThings) GetTheFixed64S() []uint64

func (*RepeatAllTheThings) GetTheFloats

func (m *RepeatAllTheThings) GetTheFloats() []float32

func (*RepeatAllTheThings) GetTheInt32S

func (m *RepeatAllTheThings) GetTheInt32S() []int32

func (*RepeatAllTheThings) GetTheInt64S

func (m *RepeatAllTheThings) GetTheInt64S() []int64

func (*RepeatAllTheThings) GetTheMessages

func (m *RepeatAllTheThings) GetTheMessages() []*EmbeddedEvent

func (*RepeatAllTheThings) GetTheSFixed32S

func (m *RepeatAllTheThings) GetTheSFixed32S() []int32

func (*RepeatAllTheThings) GetTheSFixed64S

func (m *RepeatAllTheThings) GetTheSFixed64S() []int64

func (*RepeatAllTheThings) GetTheSInt32S

func (m *RepeatAllTheThings) GetTheSInt32S() []int32

func (*RepeatAllTheThings) GetTheSInt64S

func (m *RepeatAllTheThings) GetTheSInt64S() []int64

func (*RepeatAllTheThings) GetTheStrings

func (m *RepeatAllTheThings) GetTheStrings() []string

func (*RepeatAllTheThings) GetTheUInt32S

func (m *RepeatAllTheThings) GetTheUInt32S() []uint32

func (*RepeatAllTheThings) GetTheUInt64S

func (m *RepeatAllTheThings) GetTheUInt64S() []uint64

func (*RepeatAllTheThings) Marshal

func (m *RepeatAllTheThings) Marshal() ([]byte, error)

Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.

func (*RepeatAllTheThings) MarshalTo

func (m *RepeatAllTheThings) MarshalTo(dest []byte) error

MarshalTo converts the contents of m to the Protobuf binary encoding and writes the result to dest.

func (*RepeatAllTheThings) ProtoMessage

func (*RepeatAllTheThings) ProtoMessage()

func (*RepeatAllTheThings) Reset

func (m *RepeatAllTheThings) Reset()

func (*RepeatAllTheThings) Size

func (m *RepeatAllTheThings) Size() int

Size calculates and returns the size, in bytes, required to hold the contents of m using the Protobuf binary encoding.

func (*RepeatAllTheThings) String

func (m *RepeatAllTheThings) String() string

func (*RepeatAllTheThings) Unmarshal

func (m *RepeatAllTheThings) Unmarshal(p []byte) error

Unmarshal decodes a binary encoded Protobuf message from p and populates m with the result.

func (*RepeatAllTheThings) XXX_DiscardUnknown

func (m *RepeatAllTheThings) XXX_DiscardUnknown()

func (*RepeatAllTheThings) XXX_Marshal

func (m *RepeatAllTheThings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepeatAllTheThings) XXX_Merge

func (m *RepeatAllTheThings) XXX_Merge(src proto.Message)

func (*RepeatAllTheThings) XXX_Size

func (m *RepeatAllTheThings) XXX_Size() int

func (*RepeatAllTheThings) XXX_Unmarshal

func (m *RepeatAllTheThings) XXX_Unmarshal(b []byte) error

type TestEvent

type TestEvent struct {
	Name      string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Info      string         `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	IsAwesome bool           `protobuf:"varint,3,opt,name=isAwesome,proto3" json:"isAwesome,omitempty"`
	Labels    []string       `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
	Embedded  *EmbeddedEvent `protobuf:"bytes,5,opt,name=embedded,proto3" json:"embedded,omitempty"`
	// Types that are valid to be assigned to Path:
	//
	//	*TestEvent_Jedi
	//	*TestEvent_Sith
	//	*TestEvent_Other
	Path                 isTestEvent_Path     `protobuf_oneof:"path"`
	Nested               *TestEvent_NestedMsg `protobuf:"bytes,9,opt,name=nested,proto3" json:"nested,omitempty"`
	Ts                   *types.Timestamp     `protobuf:"bytes,10,opt,name=ts,proto3" json:"ts,omitempty"`
	NullVal              types.NullValue      `protobuf:"varint,11,opt,name=nullVal,proto3,enum=google.protobuf.NullValue" json:"nullVal,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TestEvent) Descriptor

func (*TestEvent) Descriptor() ([]byte, []int)

func (*TestEvent) GetEmbedded

func (m *TestEvent) GetEmbedded() *EmbeddedEvent

func (*TestEvent) GetInfo

func (m *TestEvent) GetInfo() string

func (*TestEvent) GetIsAwesome

func (m *TestEvent) GetIsAwesome() bool

func (*TestEvent) GetJedi

func (m *TestEvent) GetJedi() bool

func (*TestEvent) GetLabels

func (m *TestEvent) GetLabels() []string

func (*TestEvent) GetName

func (m *TestEvent) GetName() string

func (*TestEvent) GetNested

func (m *TestEvent) GetNested() *TestEvent_NestedMsg

func (*TestEvent) GetNullVal

func (m *TestEvent) GetNullVal() types.NullValue

func (*TestEvent) GetOther

func (m *TestEvent) GetOther() string

func (*TestEvent) GetPath

func (m *TestEvent) GetPath() isTestEvent_Path

func (*TestEvent) GetSith

func (m *TestEvent) GetSith() bool

func (*TestEvent) GetTs

func (m *TestEvent) GetTs() *types.Timestamp

func (*TestEvent) Marshal

func (m *TestEvent) Marshal() ([]byte, error)

Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.

func (*TestEvent) MarshalTo

func (m *TestEvent) MarshalTo(dest []byte) error

MarshalTo converts the contents of m to the Protobuf binary encoding and writes the result to dest.

func (*TestEvent) ProtoMessage

func (*TestEvent) ProtoMessage()

func (*TestEvent) Reset

func (m *TestEvent) Reset()

func (*TestEvent) Size

func (m *TestEvent) Size() int

Size calculates and returns the size, in bytes, required to hold the contents of m using the Protobuf binary encoding.

func (*TestEvent) String

func (m *TestEvent) String() string

func (*TestEvent) Unmarshal

func (m *TestEvent) Unmarshal(p []byte) error

Unmarshal decodes a binary encoded Protobuf message from p and populates m with the result.

func (*TestEvent) XXX_DiscardUnknown

func (m *TestEvent) XXX_DiscardUnknown()

func (*TestEvent) XXX_Marshal

func (m *TestEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestEvent) XXX_Merge

func (m *TestEvent) XXX_Merge(src proto.Message)

func (*TestEvent) XXX_OneofWrappers

func (*TestEvent) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TestEvent) XXX_Size

func (m *TestEvent) XXX_Size() int

func (*TestEvent) XXX_Unmarshal

func (m *TestEvent) XXX_Unmarshal(b []byte) error

type TestEvent_Jedi

type TestEvent_Jedi struct {
	Jedi bool `protobuf:"varint,6,opt,name=jedi,proto3,oneof" json:"jedi,omitempty"`
}

type TestEvent_NestedMsg

type TestEvent_NestedMsg struct {
	Details              string   `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TestEvent_NestedMsg) Descriptor

func (*TestEvent_NestedMsg) Descriptor() ([]byte, []int)

func (*TestEvent_NestedMsg) GetDetails

func (m *TestEvent_NestedMsg) GetDetails() string

func (*TestEvent_NestedMsg) Marshal

func (m *TestEvent_NestedMsg) Marshal() ([]byte, error)

Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.

func (*TestEvent_NestedMsg) MarshalTo

func (m *TestEvent_NestedMsg) MarshalTo(dest []byte) error

MarshalTo converts the contents of m to the Protobuf binary encoding and writes the result to dest.

func (*TestEvent_NestedMsg) ProtoMessage

func (*TestEvent_NestedMsg) ProtoMessage()

func (*TestEvent_NestedMsg) Reset

func (m *TestEvent_NestedMsg) Reset()

func (*TestEvent_NestedMsg) Size

func (m *TestEvent_NestedMsg) Size() int

Size calculates and returns the size, in bytes, required to hold the contents of m using the Protobuf binary encoding.

func (*TestEvent_NestedMsg) String

func (m *TestEvent_NestedMsg) String() string

func (*TestEvent_NestedMsg) Unmarshal

func (m *TestEvent_NestedMsg) Unmarshal(p []byte) error

Unmarshal decodes a binary encoded Protobuf message from p and populates m with the result.

func (*TestEvent_NestedMsg) XXX_DiscardUnknown

func (m *TestEvent_NestedMsg) XXX_DiscardUnknown()

func (*TestEvent_NestedMsg) XXX_Marshal

func (m *TestEvent_NestedMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestEvent_NestedMsg) XXX_Merge

func (m *TestEvent_NestedMsg) XXX_Merge(src proto.Message)

func (*TestEvent_NestedMsg) XXX_Size

func (m *TestEvent_NestedMsg) XXX_Size() int

func (*TestEvent_NestedMsg) XXX_Unmarshal

func (m *TestEvent_NestedMsg) XXX_Unmarshal(b []byte) error

type TestEvent_Other

type TestEvent_Other struct {
	Other string `protobuf:"bytes,8,opt,name=other,proto3,oneof" json:"other,omitempty"`
}

type TestEvent_Sith

type TestEvent_Sith struct {
	Sith bool `protobuf:"varint,7,opt,name=sith,proto3,oneof" json:"sith,omitempty"`
}

Jump to

Keyboard shortcuts

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