Documentation ¶
Index ¶
- Variables
- type AllTheThings
- func (*AllTheThings) Descriptor() ([]byte, []int)deprecated
- func (x *AllTheThings) GetID() int32
- func (x *AllTheThings) GetTheBool() bool
- func (x *AllTheThings) GetTheBytes() []byte
- func (x *AllTheThings) GetTheDouble() float64
- func (x *AllTheThings) GetTheEventType() EventType
- func (x *AllTheThings) GetTheFixed32() uint32
- func (x *AllTheThings) GetTheFixed64() uint64
- func (x *AllTheThings) GetTheFloat() float32
- func (x *AllTheThings) GetTheInt32() int32
- func (x *AllTheThings) GetTheInt64() int64
- func (x *AllTheThings) GetTheMessage() *EmbeddedEvent
- func (x *AllTheThings) GetTheSFixed32() int32
- func (x *AllTheThings) GetTheSFixed64() int64
- func (x *AllTheThings) GetTheSInt32() int32
- func (x *AllTheThings) GetTheSInt64() int64
- func (x *AllTheThings) GetTheString() string
- func (x *AllTheThings) GetTheUInt32() uint32
- func (x *AllTheThings) GetTheUInt64() uint64
- func (m *AllTheThings) Marshal() ([]byte, error)
- func (m *AllTheThings) MarshalTo(dest []byte) error
- func (*AllTheThings) ProtoMessage()
- func (x *AllTheThings) ProtoReflect() protoreflect.Message
- func (x *AllTheThings) Reset()
- func (m *AllTheThings) Size() int
- func (x *AllTheThings) String() string
- func (m *AllTheThings) Unmarshal(p []byte) error
- type BaseEvent
- func (*BaseEvent) Descriptor() ([]byte, []int)deprecated
- func (x *BaseEvent) GetData() []byte
- func (x *BaseEvent) GetEventID() string
- func (x *BaseEvent) GetEventType() EventType
- func (x *BaseEvent) GetSourceID() string
- func (x *BaseEvent) GetTimestamp() uint64
- func (m *BaseEvent) Marshal() ([]byte, error)
- func (m *BaseEvent) MarshalTo(dest []byte) error
- func (*BaseEvent) ProtoMessage()
- func (x *BaseEvent) ProtoReflect() protoreflect.Message
- func (x *BaseEvent) Reset()
- func (m *BaseEvent) Size() int
- func (x *BaseEvent) String() string
- func (m *BaseEvent) Unmarshal(p []byte) error
- type EmbeddedEvent
- func (*EmbeddedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *EmbeddedEvent) GetFavoriteNumbers() []int32
- func (x *EmbeddedEvent) GetID() int32
- func (x *EmbeddedEvent) GetRandomThings() [][]byte
- func (x *EmbeddedEvent) GetStuff() string
- func (m *EmbeddedEvent) Marshal() ([]byte, error)
- func (m *EmbeddedEvent) MarshalTo(dest []byte) error
- func (*EmbeddedEvent) ProtoMessage()
- func (x *EmbeddedEvent) ProtoReflect() protoreflect.Message
- func (x *EmbeddedEvent) Reset()
- func (m *EmbeddedEvent) Size() int
- func (x *EmbeddedEvent) String() string
- func (m *EmbeddedEvent) Unmarshal(p []byte) error
- type EventType
- func (EventType) Descriptor() protoreflect.EnumDescriptor
- func (x EventType) Enum() *EventType
- func (EventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventType) Number() protoreflect.EnumNumber
- func (x EventType) String() string
- func (EventType) Type() protoreflect.EnumType
- func (x *EventType) UnmarshalJSON(b []byte) errordeprecated
- type EventUsingWKTs
- func (*EventUsingWKTs) Descriptor() ([]byte, []int)deprecated
- func (x *EventUsingWKTs) GetEventType() EventType
- func (x *EventUsingWKTs) GetName() string
- func (x *EventUsingWKTs) GetTs() *timestamppb.Timestamp
- func (m *EventUsingWKTs) Marshal() ([]byte, error)
- func (m *EventUsingWKTs) MarshalTo(dest []byte) error
- func (*EventUsingWKTs) ProtoMessage()
- func (x *EventUsingWKTs) ProtoReflect() protoreflect.Message
- func (x *EventUsingWKTs) Reset()
- func (m *EventUsingWKTs) Size() int
- func (x *EventUsingWKTs) String() string
- func (m *EventUsingWKTs) Unmarshal(p []byte) error
- type I18NVariable
- func (*I18NVariable) Descriptor() ([]byte, []int)deprecated
- func (m *I18NVariable) GetOneOfValues() isI18NVariable_OneOfValues
- func (x *I18NVariable) GetOptOne() string
- func (x *I18NVariable) GetOptTwo() string
- func (m *I18NVariable) Marshal() ([]byte, error)
- func (m *I18NVariable) MarshalTo(dest []byte) error
- func (*I18NVariable) ProtoMessage()
- func (x *I18NVariable) ProtoReflect() protoreflect.Message
- func (x *I18NVariable) Reset()
- func (m *I18NVariable) Size() int
- func (x *I18NVariable) String() string
- func (m *I18NVariable) Unmarshal(p []byte) error
- type I18NVariable_OptOne
- type I18NVariable_OptTwo
- type Msg
- func (*Msg) Descriptor() ([]byte, []int)deprecated
- func (m *Msg) GetOneOfValues() isMsg_OneOfValues
- func (x *Msg) GetTags() *Msg_Tags
- func (m *Msg) Marshal() ([]byte, error)
- func (m *Msg) MarshalTo(dest []byte) error
- func (*Msg) ProtoMessage()
- func (x *Msg) ProtoReflect() protoreflect.Message
- func (x *Msg) Reset()
- func (m *Msg) Size() int
- func (x *Msg) String() string
- func (m *Msg) Unmarshal(p []byte) error
- type Msg_Tags
- func (*Msg_Tags) Descriptor() ([]byte, []int)deprecated
- func (x *Msg_Tags) GetTags() []string
- func (m *Msg_Tags) Marshal() ([]byte, error)
- func (m *Msg_Tags) MarshalTo(dest []byte) error
- func (*Msg_Tags) ProtoMessage()
- func (x *Msg_Tags) ProtoReflect() protoreflect.Message
- func (x *Msg_Tags) Reset()
- func (m *Msg_Tags) Size() int
- func (x *Msg_Tags) String() string
- func (m *Msg_Tags) Unmarshal(p []byte) error
- type Msg_Tags_
- type RepeatAllTheThings
- func (*RepeatAllTheThings) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatAllTheThings) GetID() int32
- func (x *RepeatAllTheThings) GetTheBools() []bool
- func (x *RepeatAllTheThings) GetTheBytes() [][]byte
- func (x *RepeatAllTheThings) GetTheDoubles() []float64
- func (x *RepeatAllTheThings) GetTheEventTypes() []EventType
- func (x *RepeatAllTheThings) GetTheFixed32S() []uint32
- func (x *RepeatAllTheThings) GetTheFixed64S() []uint64
- func (x *RepeatAllTheThings) GetTheFloats() []float32
- func (x *RepeatAllTheThings) GetTheInt32S() []int32
- func (x *RepeatAllTheThings) GetTheInt64S() []int64
- func (x *RepeatAllTheThings) GetTheMessages() []*EmbeddedEvent
- func (x *RepeatAllTheThings) GetTheSFixed32S() []int32
- func (x *RepeatAllTheThings) GetTheSFixed64S() []int64
- func (x *RepeatAllTheThings) GetTheSInt32S() []int32
- func (x *RepeatAllTheThings) GetTheSInt64S() []int64
- func (x *RepeatAllTheThings) GetTheStrings() []string
- func (x *RepeatAllTheThings) GetTheUInt32S() []uint32
- func (x *RepeatAllTheThings) GetTheUInt64S() []uint64
- func (m *RepeatAllTheThings) Marshal() ([]byte, error)
- func (m *RepeatAllTheThings) MarshalTo(dest []byte) error
- func (*RepeatAllTheThings) ProtoMessage()
- func (x *RepeatAllTheThings) ProtoReflect() protoreflect.Message
- func (x *RepeatAllTheThings) Reset()
- func (m *RepeatAllTheThings) Size() int
- func (x *RepeatAllTheThings) String() string
- func (m *RepeatAllTheThings) Unmarshal(p []byte) error
- type TestEvent
- func (*TestEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TestEvent) GetEmbedded() *EmbeddedEvent
- func (x *TestEvent) GetInfo() string
- func (x *TestEvent) GetIsAwesome() bool
- func (x *TestEvent) GetJedi() bool
- func (x *TestEvent) GetLabels() []string
- func (x *TestEvent) GetName() string
- func (x *TestEvent) GetNested() *TestEvent_NestedMsg
- func (x *TestEvent) GetOther() string
- func (m *TestEvent) GetPath() isTestEvent_Path
- func (x *TestEvent) GetSith() bool
- func (m *TestEvent) Marshal() ([]byte, error)
- func (m *TestEvent) MarshalTo(dest []byte) error
- func (*TestEvent) ProtoMessage()
- func (x *TestEvent) ProtoReflect() protoreflect.Message
- func (x *TestEvent) Reset()
- func (m *TestEvent) Size() int
- func (x *TestEvent) String() string
- func (m *TestEvent) Unmarshal(p []byte) error
- type TestEvent_Jedi
- type TestEvent_NestedMsg
- func (*TestEvent_NestedMsg) Descriptor() ([]byte, []int)deprecated
- func (x *TestEvent_NestedMsg) GetDetails() string
- func (m *TestEvent_NestedMsg) Marshal() ([]byte, error)
- func (m *TestEvent_NestedMsg) MarshalTo(dest []byte) error
- func (*TestEvent_NestedMsg) ProtoMessage()
- func (x *TestEvent_NestedMsg) ProtoReflect() protoreflect.Message
- func (x *TestEvent_NestedMsg) Reset()
- func (m *TestEvent_NestedMsg) Size() int
- func (x *TestEvent_NestedMsg) String() string
- func (m *TestEvent_NestedMsg) Unmarshal(p []byte) error
- type TestEvent_Other
- type TestEvent_Sith
Constants ¶
This section is empty.
Variables ¶
var ( EventType_name = map[int32]string{ 0: "EVENT_TYPE_UNDEFINED", 1: "EVENT_TYPE_ONE", 2: "EVENT_TYPE_TWO", } EventType_value = map[string]int32{ "EVENT_TYPE_UNDEFINED": 0, "EVENT_TYPE_ONE": 1, "EVENT_TYPE_TWO": 2, } )
Enum value maps for EventType.
var (
// optional crowdstrike.csproto.example.proto2.googlev1.TestEvent eventExt = 100;
E_TestEvent_EventExt = &file_googlev1_proto2_example_proto_extTypes[0]
)
Extension fields to BaseEvent.
var File_googlev1_proto2_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AllTheThings ¶
type AllTheThings struct { ID *int32 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` TheString *string `protobuf:"bytes,2,opt,name=theString" json:"theString,omitempty"` TheBool *bool `protobuf:"varint,3,opt,name=theBool" json:"theBool,omitempty"` TheInt32 *int32 `protobuf:"varint,4,opt,name=theInt32" json:"theInt32,omitempty"` TheInt64 *int64 `protobuf:"varint,5,opt,name=theInt64" json:"theInt64,omitempty"` TheUInt32 *uint32 `protobuf:"varint,6,opt,name=theUInt32" json:"theUInt32,omitempty"` TheUInt64 *uint64 `protobuf:"varint,7,opt,name=theUInt64" json:"theUInt64,omitempty"` TheSInt32 *int32 `protobuf:"zigzag32,8,opt,name=theSInt32" json:"theSInt32,omitempty"` TheSInt64 *int64 `protobuf:"zigzag64,9,opt,name=theSInt64" json:"theSInt64,omitempty"` TheFixed32 *uint32 `protobuf:"fixed32,10,opt,name=theFixed32" json:"theFixed32,omitempty"` TheFixed64 *uint64 `protobuf:"fixed64,11,opt,name=theFixed64" json:"theFixed64,omitempty"` TheSFixed32 *int32 `protobuf:"fixed32,12,opt,name=theSFixed32" json:"theSFixed32,omitempty"` TheSFixed64 *int64 `protobuf:"fixed64,13,opt,name=theSFixed64" json:"theSFixed64,omitempty"` TheFloat *float32 `protobuf:"fixed32,14,opt,name=theFloat" json:"theFloat,omitempty"` TheDouble *float64 `protobuf:"fixed64,15,opt,name=theDouble" json:"theDouble,omitempty"` TheEventType *EventType `` /* 131-byte string literal not displayed */ TheBytes []byte `protobuf:"bytes,17,opt,name=theBytes" json:"theBytes,omitempty"` TheMessage *EmbeddedEvent `protobuf:"bytes,18,opt,name=theMessage" json:"theMessage,omitempty"` // contains filtered or unexported fields }
func (*AllTheThings) Descriptor
deprecated
func (*AllTheThings) Descriptor() ([]byte, []int)
Deprecated: Use AllTheThings.ProtoReflect.Descriptor instead.
func (*AllTheThings) GetID ¶
func (x *AllTheThings) GetID() int32
func (*AllTheThings) GetTheBool ¶
func (x *AllTheThings) GetTheBool() bool
func (*AllTheThings) GetTheBytes ¶
func (x *AllTheThings) GetTheBytes() []byte
func (*AllTheThings) GetTheDouble ¶
func (x *AllTheThings) GetTheDouble() float64
func (*AllTheThings) GetTheEventType ¶
func (x *AllTheThings) GetTheEventType() EventType
func (*AllTheThings) GetTheFixed32 ¶
func (x *AllTheThings) GetTheFixed32() uint32
func (*AllTheThings) GetTheFixed64 ¶
func (x *AllTheThings) GetTheFixed64() uint64
func (*AllTheThings) GetTheFloat ¶
func (x *AllTheThings) GetTheFloat() float32
func (*AllTheThings) GetTheInt32 ¶
func (x *AllTheThings) GetTheInt32() int32
func (*AllTheThings) GetTheInt64 ¶
func (x *AllTheThings) GetTheInt64() int64
func (*AllTheThings) GetTheMessage ¶
func (x *AllTheThings) GetTheMessage() *EmbeddedEvent
func (*AllTheThings) GetTheSFixed32 ¶
func (x *AllTheThings) GetTheSFixed32() int32
func (*AllTheThings) GetTheSFixed64 ¶
func (x *AllTheThings) GetTheSFixed64() int64
func (*AllTheThings) GetTheSInt32 ¶
func (x *AllTheThings) GetTheSInt32() int32
func (*AllTheThings) GetTheSInt64 ¶
func (x *AllTheThings) GetTheSInt64() int64
func (*AllTheThings) GetTheString ¶
func (x *AllTheThings) GetTheString() string
func (*AllTheThings) GetTheUInt32 ¶
func (x *AllTheThings) GetTheUInt32() uint32
func (*AllTheThings) GetTheUInt64 ¶
func (x *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) ProtoReflect ¶
func (x *AllTheThings) ProtoReflect() protoreflect.Message
func (*AllTheThings) Reset ¶
func (x *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 (x *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.
type BaseEvent ¶
type BaseEvent struct { EventID *string `protobuf:"bytes,1,req,name=eventID" json:"eventID,omitempty"` SourceID *string `protobuf:"bytes,2,req,name=sourceID" json:"sourceID,omitempty"` Timestamp *uint64 `protobuf:"varint,3,req,name=timestamp" json:"timestamp,omitempty"` EventType *EventType `protobuf:"varint,4,req,name=eventType,enum=crowdstrike.csproto.example.proto2.googlev1.EventType" json:"eventType,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BaseEvent) Descriptor
deprecated
func (*BaseEvent) GetEventID ¶
func (*BaseEvent) GetEventType ¶
func (*BaseEvent) GetSourceID ¶
func (*BaseEvent) GetTimestamp ¶
func (*BaseEvent) Marshal ¶
Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.
func (*BaseEvent) MarshalTo ¶
MarshalTo converts the contents of m to the Protobuf binary encoding and writes the result to dest.
func (*BaseEvent) ProtoMessage ¶
func (*BaseEvent) ProtoMessage()
func (*BaseEvent) ProtoReflect ¶
func (x *BaseEvent) ProtoReflect() protoreflect.Message
type EmbeddedEvent ¶
type EmbeddedEvent struct { ID *int32 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` Stuff *string `protobuf:"bytes,2,opt,name=stuff" json:"stuff,omitempty"` FavoriteNumbers []int32 `protobuf:"varint,3,rep,name=favoriteNumbers" json:"favoriteNumbers,omitempty"` RandomThings [][]byte `protobuf:"bytes,4,rep,name=randomThings" json:"randomThings,omitempty"` // contains filtered or unexported fields }
func (*EmbeddedEvent) Descriptor
deprecated
func (*EmbeddedEvent) Descriptor() ([]byte, []int)
Deprecated: Use EmbeddedEvent.ProtoReflect.Descriptor instead.
func (*EmbeddedEvent) GetFavoriteNumbers ¶
func (x *EmbeddedEvent) GetFavoriteNumbers() []int32
func (*EmbeddedEvent) GetID ¶
func (x *EmbeddedEvent) GetID() int32
func (*EmbeddedEvent) GetRandomThings ¶
func (x *EmbeddedEvent) GetRandomThings() [][]byte
func (*EmbeddedEvent) GetStuff ¶
func (x *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) ProtoReflect ¶
func (x *EmbeddedEvent) ProtoReflect() protoreflect.Message
func (*EmbeddedEvent) Reset ¶
func (x *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 (x *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.
type EventType ¶
type EventType int32
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
func (*EventType) UnmarshalJSON
deprecated
type EventUsingWKTs ¶
type EventUsingWKTs struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Ts *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ts" json:"ts,omitempty"` EventType *EventType `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EventUsingWKTs) Descriptor
deprecated
func (*EventUsingWKTs) Descriptor() ([]byte, []int)
Deprecated: Use EventUsingWKTs.ProtoReflect.Descriptor instead.
func (*EventUsingWKTs) GetEventType ¶
func (x *EventUsingWKTs) GetEventType() EventType
func (*EventUsingWKTs) GetName ¶
func (x *EventUsingWKTs) GetName() string
func (*EventUsingWKTs) GetTs ¶
func (x *EventUsingWKTs) GetTs() *timestamppb.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) ProtoReflect ¶
func (x *EventUsingWKTs) ProtoReflect() protoreflect.Message
func (*EventUsingWKTs) Reset ¶
func (x *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 (x *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.
type I18NVariable ¶
type I18NVariable struct { // Types that are assignable to OneOfValues: // // *I18NVariable_OptOne // *I18NVariable_OptTwo OneOfValues isI18NVariable_OneOfValues `protobuf_oneof:"one_of_values"` // contains filtered or unexported fields }
see https://github.com/CrowdStrike/csproto/pull/124
func (*I18NVariable) Descriptor
deprecated
func (*I18NVariable) Descriptor() ([]byte, []int)
Deprecated: Use I18NVariable.ProtoReflect.Descriptor instead.
func (*I18NVariable) GetOneOfValues ¶
func (m *I18NVariable) GetOneOfValues() isI18NVariable_OneOfValues
func (*I18NVariable) GetOptOne ¶
func (x *I18NVariable) GetOptOne() string
func (*I18NVariable) GetOptTwo ¶
func (x *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) ProtoReflect ¶
func (x *I18NVariable) ProtoReflect() protoreflect.Message
func (*I18NVariable) Reset ¶
func (x *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 (x *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.
type I18NVariable_OptOne ¶
type I18NVariable_OptOne struct {
OptOne string `protobuf:"bytes,1,opt,name=opt_one,json=optOne,oneof"`
}
type I18NVariable_OptTwo ¶
type I18NVariable_OptTwo struct {
OptTwo string `protobuf:"bytes,2,opt,name=opt_two,json=optTwo,oneof"`
}
type Msg ¶
type Msg struct { // Types that are assignable to OneOfValues: // // *Msg_Tags_ OneOfValues isMsg_OneOfValues `protobuf_oneof:"one_of_values"` // contains filtered or unexported fields }
func (*Msg) Descriptor
deprecated
func (*Msg) GetOneOfValues ¶
func (m *Msg) GetOneOfValues() isMsg_OneOfValues
func (*Msg) Marshal ¶
Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.
func (*Msg) MarshalTo ¶
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) ProtoReflect ¶
func (x *Msg) ProtoReflect() protoreflect.Message
type Msg_Tags ¶
type Msg_Tags struct { Tags []string `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Msg_Tags) Descriptor
deprecated
func (*Msg_Tags) Marshal ¶
Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.
func (*Msg_Tags) MarshalTo ¶
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) ProtoReflect ¶
func (x *Msg_Tags) ProtoReflect() protoreflect.Message
type RepeatAllTheThings ¶
type RepeatAllTheThings struct { ID *int32 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` TheStrings []string `protobuf:"bytes,2,rep,name=theStrings" json:"theStrings,omitempty"` TheBools []bool `protobuf:"varint,3,rep,name=theBools" json:"theBools,omitempty"` TheInt32S []int32 `protobuf:"varint,4,rep,name=theInt32s" json:"theInt32s,omitempty"` TheInt64S []int64 `protobuf:"varint,5,rep,name=theInt64s" json:"theInt64s,omitempty"` TheUInt32S []uint32 `protobuf:"varint,6,rep,name=theUInt32s" json:"theUInt32s,omitempty"` TheUInt64S []uint64 `protobuf:"varint,7,rep,name=theUInt64s" json:"theUInt64s,omitempty"` TheSInt32S []int32 `protobuf:"zigzag32,8,rep,name=theSInt32s" json:"theSInt32s,omitempty"` TheSInt64S []int64 `protobuf:"zigzag64,9,rep,name=theSInt64s" json:"theSInt64s,omitempty"` TheFixed32S []uint32 `protobuf:"fixed32,10,rep,name=theFixed32s" json:"theFixed32s,omitempty"` TheFixed64S []uint64 `protobuf:"fixed64,11,rep,name=theFixed64s" json:"theFixed64s,omitempty"` TheSFixed32S []int32 `protobuf:"fixed32,12,rep,name=theSFixed32s" json:"theSFixed32s,omitempty"` TheSFixed64S []int64 `protobuf:"fixed64,13,rep,name=theSFixed64s" json:"theSFixed64s,omitempty"` TheFloats []float32 `protobuf:"fixed32,14,rep,name=theFloats" json:"theFloats,omitempty"` TheDoubles []float64 `protobuf:"fixed64,15,rep,name=theDoubles" json:"theDoubles,omitempty"` TheEventTypes []EventType `` /* 133-byte string literal not displayed */ TheBytes [][]byte `protobuf:"bytes,17,rep,name=theBytes" json:"theBytes,omitempty"` TheMessages []*EmbeddedEvent `protobuf:"bytes,18,rep,name=theMessages" json:"theMessages,omitempty"` // contains filtered or unexported fields }
func (*RepeatAllTheThings) Descriptor
deprecated
func (*RepeatAllTheThings) Descriptor() ([]byte, []int)
Deprecated: Use RepeatAllTheThings.ProtoReflect.Descriptor instead.
func (*RepeatAllTheThings) GetID ¶
func (x *RepeatAllTheThings) GetID() int32
func (*RepeatAllTheThings) GetTheBools ¶
func (x *RepeatAllTheThings) GetTheBools() []bool
func (*RepeatAllTheThings) GetTheBytes ¶
func (x *RepeatAllTheThings) GetTheBytes() [][]byte
func (*RepeatAllTheThings) GetTheDoubles ¶
func (x *RepeatAllTheThings) GetTheDoubles() []float64
func (*RepeatAllTheThings) GetTheEventTypes ¶
func (x *RepeatAllTheThings) GetTheEventTypes() []EventType
func (*RepeatAllTheThings) GetTheFixed32S ¶
func (x *RepeatAllTheThings) GetTheFixed32S() []uint32
func (*RepeatAllTheThings) GetTheFixed64S ¶
func (x *RepeatAllTheThings) GetTheFixed64S() []uint64
func (*RepeatAllTheThings) GetTheFloats ¶
func (x *RepeatAllTheThings) GetTheFloats() []float32
func (*RepeatAllTheThings) GetTheInt32S ¶
func (x *RepeatAllTheThings) GetTheInt32S() []int32
func (*RepeatAllTheThings) GetTheInt64S ¶
func (x *RepeatAllTheThings) GetTheInt64S() []int64
func (*RepeatAllTheThings) GetTheMessages ¶
func (x *RepeatAllTheThings) GetTheMessages() []*EmbeddedEvent
func (*RepeatAllTheThings) GetTheSFixed32S ¶
func (x *RepeatAllTheThings) GetTheSFixed32S() []int32
func (*RepeatAllTheThings) GetTheSFixed64S ¶
func (x *RepeatAllTheThings) GetTheSFixed64S() []int64
func (*RepeatAllTheThings) GetTheSInt32S ¶
func (x *RepeatAllTheThings) GetTheSInt32S() []int32
func (*RepeatAllTheThings) GetTheSInt64S ¶
func (x *RepeatAllTheThings) GetTheSInt64S() []int64
func (*RepeatAllTheThings) GetTheStrings ¶
func (x *RepeatAllTheThings) GetTheStrings() []string
func (*RepeatAllTheThings) GetTheUInt32S ¶
func (x *RepeatAllTheThings) GetTheUInt32S() []uint32
func (*RepeatAllTheThings) GetTheUInt64S ¶
func (x *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) ProtoReflect ¶
func (x *RepeatAllTheThings) ProtoReflect() protoreflect.Message
func (*RepeatAllTheThings) Reset ¶
func (x *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 (x *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.
type TestEvent ¶
type TestEvent struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Info *string `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"` IsAwesome *bool `protobuf:"varint,3,opt,name=isAwesome" json:"isAwesome,omitempty"` Labels []string `protobuf:"bytes,4,rep,name=labels" json:"labels,omitempty"` Embedded *EmbeddedEvent `protobuf:"bytes,5,req,name=embedded" json:"embedded,omitempty"` // Types that are assignable to Path: // // *TestEvent_Jedi // *TestEvent_Sith // *TestEvent_Other Path isTestEvent_Path `protobuf_oneof:"path"` Nested *TestEvent_NestedMsg `protobuf:"bytes,9,opt,name=nested" json:"nested,omitempty"` // contains filtered or unexported fields }
func (*TestEvent) Descriptor
deprecated
func (*TestEvent) GetEmbedded ¶
func (x *TestEvent) GetEmbedded() *EmbeddedEvent
func (*TestEvent) GetIsAwesome ¶
func (*TestEvent) GetNested ¶
func (x *TestEvent) GetNested() *TestEvent_NestedMsg
func (*TestEvent) Marshal ¶
Marshal converts the contents of m to the Protobuf binary encoding and returns the result or an error.
func (*TestEvent) MarshalTo ¶
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) ProtoReflect ¶
func (x *TestEvent) ProtoReflect() protoreflect.Message
type TestEvent_Jedi ¶
type TestEvent_Jedi struct {
Jedi bool `protobuf:"varint,6,opt,name=jedi,oneof"`
}
type TestEvent_NestedMsg ¶
type TestEvent_NestedMsg struct { Details *string `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` // contains filtered or unexported fields }
func (*TestEvent_NestedMsg) Descriptor
deprecated
func (*TestEvent_NestedMsg) Descriptor() ([]byte, []int)
Deprecated: Use TestEvent_NestedMsg.ProtoReflect.Descriptor instead.
func (*TestEvent_NestedMsg) GetDetails ¶
func (x *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) ProtoReflect ¶
func (x *TestEvent_NestedMsg) ProtoReflect() protoreflect.Message
func (*TestEvent_NestedMsg) Reset ¶
func (x *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 (x *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.
type TestEvent_Other ¶
type TestEvent_Other struct {
Other string `protobuf:"bytes,8,opt,name=other,oneof"`
}
type TestEvent_Sith ¶
type TestEvent_Sith struct {
Sith bool `protobuf:"varint,7,opt,name=sith,oneof"`
}