googlev2

package
v0.0.0-...-3587a5d Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 9 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",
	}
	EventType_value = map[string]int32{
		"EVENT_TYPE_UNDEFINED": 0,
		"EVENT_TYPE_ONE":       1,
		"EVENT_TYPE_TWO":       2,
	}
)

Enum value maps for EventType.

View Source
var File_googlev2_proto3_example_proto protoreflect.FileDescriptor

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      `` /* 138-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"`
	// 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 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"`
	// 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
const (
	EventType_EVENT_TYPE_UNDEFINED EventType = 0
	EventType_EVENT_TYPE_ONE       EventType = 1
	EventType_EVENT_TYPE_TWO       EventType = 2
)

func (EventType) Descriptor

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

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

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

type EventUsingWKTs

type EventUsingWKTs struct {
	Name      string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Ts        *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"`
	EventType EventType              `` /* 148-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,proto3,oneof"`
}

type I18NVariable_OptTwo

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

type MapObject

type MapObject struct {
	Name       string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Ts         *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"`
	Attributes map[string]string      `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MapObject) Descriptor deprecated

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

Deprecated: Use MapObject.ProtoReflect.Descriptor instead.

func (*MapObject) GetAttributes

func (x *MapObject) GetAttributes() map[string]string

func (*MapObject) GetName

func (x *MapObject) GetName() string

func (*MapObject) GetTs

func (x *MapObject) GetTs() *timestamppb.Timestamp

func (*MapObject) Marshal

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

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

func (*MapObject) MarshalTo

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

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

func (*MapObject) ProtoMessage

func (*MapObject) ProtoMessage()

func (*MapObject) ProtoReflect

func (x *MapObject) ProtoReflect() protoreflect.Message

func (*MapObject) Reset

func (x *MapObject) Reset()

func (*MapObject) Size

func (m *MapObject) Size() int

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

func (*MapObject) String

func (x *MapObject) String() string

func (*MapObject) Unmarshal

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

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

type Maps

type Maps struct {
	Bools      map[string]bool                   `` /* 152-byte string literal not displayed */
	Strings    map[string]string                 `` /* 155-byte string literal not displayed */
	Int32S     map[int32]int32                   `` /* 155-byte string literal not displayed */
	Int64S     map[int64]int64                   `` /* 155-byte string literal not displayed */
	Uint32S    map[uint32]uint32                 `` /* 157-byte string literal not displayed */
	Uint64S    map[uint64]uint64                 `` /* 157-byte string literal not displayed */
	Sint32S    map[int32]int32                   `` /* 161-byte string literal not displayed */
	Sint64S    map[int64]int64                   `` /* 161-byte string literal not displayed */
	Fixed32S   map[uint32]uint32                 `` /* 161-byte string literal not displayed */
	Fixed64S   map[uint64]uint64                 `` /* 162-byte string literal not displayed */
	Sfixed32S  map[int32]int32                   `` /* 164-byte string literal not displayed */
	Sfixed64S  map[int64]int64                   `` /* 164-byte string literal not displayed */
	Floats     map[string]float32                `` /* 156-byte string literal not displayed */
	Doubles    map[string]float64                `` /* 158-byte string literal not displayed */
	Nulls      map[string]structpb.NullValue     `` /* 184-byte string literal not displayed */
	Structs    map[string]*structpb.Struct       `` /* 156-byte string literal not displayed */
	Timestamps map[string]*timestamppb.Timestamp `` /* 162-byte string literal not displayed */
	Objects    map[string]*MapObject             `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Maps) Descriptor deprecated

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

Deprecated: Use Maps.ProtoReflect.Descriptor instead.

func (*Maps) GetBools

func (x *Maps) GetBools() map[string]bool

func (*Maps) GetDoubles

func (x *Maps) GetDoubles() map[string]float64

func (*Maps) GetFixed32S

func (x *Maps) GetFixed32S() map[uint32]uint32

func (*Maps) GetFixed64S

func (x *Maps) GetFixed64S() map[uint64]uint64

func (*Maps) GetFloats

func (x *Maps) GetFloats() map[string]float32

func (*Maps) GetInt32S

func (x *Maps) GetInt32S() map[int32]int32

func (*Maps) GetInt64S

func (x *Maps) GetInt64S() map[int64]int64

func (*Maps) GetNulls

func (x *Maps) GetNulls() map[string]structpb.NullValue

func (*Maps) GetObjects

func (x *Maps) GetObjects() map[string]*MapObject

func (*Maps) GetSfixed32S

func (x *Maps) GetSfixed32S() map[int32]int32

func (*Maps) GetSfixed64S

func (x *Maps) GetSfixed64S() map[int64]int64

func (*Maps) GetSint32S

func (x *Maps) GetSint32S() map[int32]int32

func (*Maps) GetSint64S

func (x *Maps) GetSint64S() map[int64]int64

func (*Maps) GetStrings

func (x *Maps) GetStrings() map[string]string

func (*Maps) GetStructs

func (x *Maps) GetStructs() map[string]*structpb.Struct

func (*Maps) GetTimestamps

func (x *Maps) GetTimestamps() map[string]*timestamppb.Timestamp

func (*Maps) GetUint32S

func (x *Maps) GetUint32S() map[uint32]uint32

func (*Maps) GetUint64S

func (x *Maps) GetUint64S() map[uint64]uint64

func (*Maps) Marshal

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

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

func (*Maps) MarshalTo

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

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

func (*Maps) ProtoMessage

func (*Maps) ProtoMessage()

func (*Maps) ProtoReflect

func (x *Maps) ProtoReflect() protoreflect.Message

func (*Maps) Reset

func (x *Maps) Reset()

func (*Maps) Size

func (m *Maps) Size() int

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

func (*Maps) String

func (x *Maps) String() string

func (*Maps) Unmarshal

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

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Msg.ProtoReflect.Descriptor instead.

func (*Msg) GetOneOfValues

func (m *Msg) GetOneOfValues() isMsg_OneOfValues

func (*Msg) GetTags

func (x *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) ProtoReflect

func (x *Msg) ProtoReflect() protoreflect.Message

func (*Msg) Reset

func (x *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 (x *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.

type Msg_Tags

type Msg_Tags struct {
	Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*Msg_Tags) Descriptor deprecated

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

Deprecated: Use Msg_Tags.ProtoReflect.Descriptor instead.

func (*Msg_Tags) GetTags

func (x *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) ProtoReflect

func (x *Msg_Tags) ProtoReflect() protoreflect.Message

func (*Msg_Tags) Reset

func (x *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 (x *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.

type Msg_Tags_

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

type OneOfs

type OneOfs struct {

	// Types that are assignable to Thing:
	//
	//	*OneOfs_Bools
	//	*OneOfs_Strings
	//	*OneOfs_Int32S
	//	*OneOfs_Int64S
	//	*OneOfs_Uint32S
	//	*OneOfs_Uint64S
	//	*OneOfs_Sint32S
	//	*OneOfs_Sint64S
	//	*OneOfs_Fixed32S
	//	*OneOfs_Fixed64S
	//	*OneOfs_Sfixed32S
	//	*OneOfs_Sfixed64S
	//	*OneOfs_Floats
	//	*OneOfs_Doubles
	//	*OneOfs_Nulls
	//	*OneOfs_Structs
	//	*OneOfs_Timestamps
	//	*OneOfs_Objects
	Thing isOneOfs_Thing `protobuf_oneof:"thing"`
	// contains filtered or unexported fields
}

func (*OneOfs) Descriptor deprecated

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

Deprecated: Use OneOfs.ProtoReflect.Descriptor instead.

func (*OneOfs) GetBools

func (x *OneOfs) GetBools() bool

func (*OneOfs) GetDoubles

func (x *OneOfs) GetDoubles() float64

func (*OneOfs) GetFixed32S

func (x *OneOfs) GetFixed32S() uint32

func (*OneOfs) GetFixed64S

func (x *OneOfs) GetFixed64S() uint64

func (*OneOfs) GetFloats

func (x *OneOfs) GetFloats() float32

func (*OneOfs) GetInt32S

func (x *OneOfs) GetInt32S() int32

func (*OneOfs) GetInt64S

func (x *OneOfs) GetInt64S() int64

func (*OneOfs) GetNulls

func (x *OneOfs) GetNulls() structpb.NullValue

func (*OneOfs) GetObjects

func (x *OneOfs) GetObjects() *MapObject

func (*OneOfs) GetSfixed32S

func (x *OneOfs) GetSfixed32S() int32

func (*OneOfs) GetSfixed64S

func (x *OneOfs) GetSfixed64S() int64

func (*OneOfs) GetSint32S

func (x *OneOfs) GetSint32S() int32

func (*OneOfs) GetSint64S

func (x *OneOfs) GetSint64S() int64

func (*OneOfs) GetStrings

func (x *OneOfs) GetStrings() string

func (*OneOfs) GetStructs

func (x *OneOfs) GetStructs() *structpb.Struct

func (*OneOfs) GetThing

func (m *OneOfs) GetThing() isOneOfs_Thing

func (*OneOfs) GetTimestamps

func (x *OneOfs) GetTimestamps() *timestamppb.Timestamp

func (*OneOfs) GetUint32S

func (x *OneOfs) GetUint32S() uint32

func (*OneOfs) GetUint64S

func (x *OneOfs) GetUint64S() uint64

func (*OneOfs) Marshal

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

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

func (*OneOfs) MarshalTo

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

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

func (*OneOfs) ProtoMessage

func (*OneOfs) ProtoMessage()

func (*OneOfs) ProtoReflect

func (x *OneOfs) ProtoReflect() protoreflect.Message

func (*OneOfs) Reset

func (x *OneOfs) Reset()

func (*OneOfs) Size

func (m *OneOfs) Size() int

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

func (*OneOfs) String

func (x *OneOfs) String() string

func (*OneOfs) Unmarshal

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

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

type OneOfs_Bools

type OneOfs_Bools struct {
	Bools bool `protobuf:"varint,1,opt,name=bools,proto3,oneof"`
}

type OneOfs_Doubles

type OneOfs_Doubles struct {
	Doubles float64 `protobuf:"fixed64,17,opt,name=doubles,proto3,oneof"`
}

type OneOfs_Fixed32S

type OneOfs_Fixed32S struct {
	Fixed32S uint32 `protobuf:"fixed32,9,opt,name=fixed32s,proto3,oneof"`
}

type OneOfs_Fixed64S

type OneOfs_Fixed64S struct {
	Fixed64S uint64 `protobuf:"fixed64,10,opt,name=fixed64s,proto3,oneof"`
}

type OneOfs_Floats

type OneOfs_Floats struct {
	Floats float32 `protobuf:"fixed32,16,opt,name=floats,proto3,oneof"`
}

type OneOfs_Int32S

type OneOfs_Int32S struct {
	Int32S int32 `protobuf:"varint,3,opt,name=int32s,proto3,oneof"`
}

type OneOfs_Int64S

type OneOfs_Int64S struct {
	Int64S int64 `protobuf:"varint,4,opt,name=int64s,proto3,oneof"`
}

type OneOfs_Nulls

type OneOfs_Nulls struct {
	Nulls structpb.NullValue `protobuf:"varint,13,opt,name=nulls,proto3,enum=google.protobuf.NullValue,oneof"`
}

type OneOfs_Objects

type OneOfs_Objects struct {
	Objects *MapObject `protobuf:"bytes,30,opt,name=objects,proto3,oneof"`
}

type OneOfs_Sfixed32S

type OneOfs_Sfixed32S struct {
	Sfixed32S int32 `protobuf:"fixed32,11,opt,name=sfixed32s,proto3,oneof"`
}

type OneOfs_Sfixed64S

type OneOfs_Sfixed64S struct {
	Sfixed64S int64 `protobuf:"fixed64,12,opt,name=sfixed64s,proto3,oneof"`
}

type OneOfs_Sint32S

type OneOfs_Sint32S struct {
	Sint32S int32 `protobuf:"zigzag32,7,opt,name=sint32s,proto3,oneof"`
}

type OneOfs_Sint64S

type OneOfs_Sint64S struct {
	Sint64S int64 `protobuf:"zigzag64,8,opt,name=sint64s,proto3,oneof"`
}

type OneOfs_Strings

type OneOfs_Strings struct {
	Strings string `protobuf:"bytes,2,opt,name=strings,proto3,oneof"`
}

type OneOfs_Structs

type OneOfs_Structs struct {
	Structs *structpb.Struct `protobuf:"bytes,14,opt,name=structs,proto3,oneof"`
}

type OneOfs_Timestamps

type OneOfs_Timestamps struct {
	Timestamps *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=timestamps,proto3,oneof"`
}

type OneOfs_Uint32S

type OneOfs_Uint32S struct {
	Uint32S uint32 `protobuf:"varint,5,opt,name=uint32s,proto3,oneof"`
}

type OneOfs_Uint64S

type OneOfs_Uint64S struct {
	Uint64S uint64 `protobuf:"varint,6,opt,name=uint64s,proto3,oneof"`
}

type Optionals

type Optionals struct {
	OptionalString   *string        `protobuf:"bytes,2,opt,name=optional_string,json=optionalString,proto3,oneof" json:"optional_string,omitempty"`
	OptionalBool     *bool          `protobuf:"varint,3,opt,name=optional_bool,json=optionalBool,proto3,oneof" json:"optional_bool,omitempty"`
	OptionalInt32    *int32         `protobuf:"varint,4,opt,name=optional_int32,json=optionalInt32,proto3,oneof" json:"optional_int32,omitempty"`
	OptionalInt64    *int64         `protobuf:"varint,5,opt,name=optional_int64,json=optionalInt64,proto3,oneof" json:"optional_int64,omitempty"`
	OptionalUint32   *uint32        `protobuf:"varint,6,opt,name=optional_uint32,json=optionalUint32,proto3,oneof" json:"optional_uint32,omitempty"`
	OptionalUint64   *uint64        `protobuf:"varint,7,opt,name=optional_uint64,json=optionalUint64,proto3,oneof" json:"optional_uint64,omitempty"`
	OptionalSint32   *int32         `protobuf:"zigzag32,8,opt,name=optional_sint32,json=optionalSint32,proto3,oneof" json:"optional_sint32,omitempty"`
	OptionalSint64   *int64         `protobuf:"zigzag64,9,opt,name=optional_sint64,json=optionalSint64,proto3,oneof" json:"optional_sint64,omitempty"`
	OptionalFixed32  *uint32        `protobuf:"fixed32,10,opt,name=optional_fixed32,json=optionalFixed32,proto3,oneof" json:"optional_fixed32,omitempty"`
	OptionalFixed64  *uint64        `protobuf:"fixed64,11,opt,name=optional_fixed64,json=optionalFixed64,proto3,oneof" json:"optional_fixed64,omitempty"`
	OptionalSfixed32 *int32         `protobuf:"fixed32,12,opt,name=optional_sfixed32,json=optionalSfixed32,proto3,oneof" json:"optional_sfixed32,omitempty"`
	OptionalSfixed64 *int64         `protobuf:"fixed64,13,opt,name=optional_sfixed64,json=optionalSfixed64,proto3,oneof" json:"optional_sfixed64,omitempty"`
	OptionalFloat    *float32       `protobuf:"fixed32,14,opt,name=optional_float,json=optionalFloat,proto3,oneof" json:"optional_float,omitempty"`
	OptionalDouble   *float64       `protobuf:"fixed64,15,opt,name=optional_double,json=optionalDouble,proto3,oneof" json:"optional_double,omitempty"`
	OptionalEnum     *EventType     `` /* 164-byte string literal not displayed */
	OptionalBytes    []byte         `protobuf:"bytes,17,opt,name=optional_bytes,json=optionalBytes,proto3,oneof" json:"optional_bytes,omitempty"`
	OptionalMessage  *EmbeddedEvent `protobuf:"bytes,18,opt,name=optional_message,json=optionalMessage,proto3,oneof" json:"optional_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Optionals) Descriptor deprecated

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

Deprecated: Use Optionals.ProtoReflect.Descriptor instead.

func (*Optionals) GetOptionalBool

func (x *Optionals) GetOptionalBool() bool

func (*Optionals) GetOptionalBytes

func (x *Optionals) GetOptionalBytes() []byte

func (*Optionals) GetOptionalDouble

func (x *Optionals) GetOptionalDouble() float64

func (*Optionals) GetOptionalEnum

func (x *Optionals) GetOptionalEnum() EventType

func (*Optionals) GetOptionalFixed32

func (x *Optionals) GetOptionalFixed32() uint32

func (*Optionals) GetOptionalFixed64

func (x *Optionals) GetOptionalFixed64() uint64

func (*Optionals) GetOptionalFloat

func (x *Optionals) GetOptionalFloat() float32

func (*Optionals) GetOptionalInt32

func (x *Optionals) GetOptionalInt32() int32

func (*Optionals) GetOptionalInt64

func (x *Optionals) GetOptionalInt64() int64

func (*Optionals) GetOptionalMessage

func (x *Optionals) GetOptionalMessage() *EmbeddedEvent

func (*Optionals) GetOptionalSfixed32

func (x *Optionals) GetOptionalSfixed32() int32

func (*Optionals) GetOptionalSfixed64

func (x *Optionals) GetOptionalSfixed64() int64

func (*Optionals) GetOptionalSint32

func (x *Optionals) GetOptionalSint32() int32

func (*Optionals) GetOptionalSint64

func (x *Optionals) GetOptionalSint64() int64

func (*Optionals) GetOptionalString

func (x *Optionals) GetOptionalString() string

func (*Optionals) GetOptionalUint32

func (x *Optionals) GetOptionalUint32() uint32

func (*Optionals) GetOptionalUint64

func (x *Optionals) GetOptionalUint64() uint64

func (*Optionals) Marshal

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

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

func (*Optionals) MarshalTo

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

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

func (*Optionals) ProtoMessage

func (*Optionals) ProtoMessage()

func (*Optionals) ProtoReflect

func (x *Optionals) ProtoReflect() protoreflect.Message

func (*Optionals) Reset

func (x *Optionals) Reset()

func (*Optionals) Size

func (m *Optionals) Size() int

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

func (*Optionals) String

func (x *Optionals) String() string

func (*Optionals) Unmarshal

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

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

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      `` /* 147-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"`
	// 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,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 assignable 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      *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=ts,proto3" json:"ts,omitempty"`
	NullVal structpb.NullValue     `protobuf:"varint,11,opt,name=nullVal,proto3,enum=google.protobuf.NullValue" json:"nullVal,omitempty"`
	// Types that are assignable to Oneofs:
	//
	//	*TestEvent_Timestamps
	//	*TestEvent_Structs
	Oneofs isTestEvent_Oneofs `protobuf_oneof:"oneofs"`
	// contains filtered or unexported fields
}

func (*TestEvent) Descriptor deprecated

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

Deprecated: Use TestEvent.ProtoReflect.Descriptor instead.

func (*TestEvent) GetEmbedded

func (x *TestEvent) GetEmbedded() *EmbeddedEvent

func (*TestEvent) GetInfo

func (x *TestEvent) GetInfo() string

func (*TestEvent) GetIsAwesome

func (x *TestEvent) GetIsAwesome() bool

func (*TestEvent) GetJedi

func (x *TestEvent) GetJedi() bool

func (*TestEvent) GetLabels

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

func (*TestEvent) GetName

func (x *TestEvent) GetName() string

func (*TestEvent) GetNested

func (x *TestEvent) GetNested() *TestEvent_NestedMsg

func (*TestEvent) GetNullVal

func (x *TestEvent) GetNullVal() structpb.NullValue

func (*TestEvent) GetOneofs

func (m *TestEvent) GetOneofs() isTestEvent_Oneofs

func (*TestEvent) GetOther

func (x *TestEvent) GetOther() string

func (*TestEvent) GetPath

func (m *TestEvent) GetPath() isTestEvent_Path

func (*TestEvent) GetSith

func (x *TestEvent) GetSith() bool

func (*TestEvent) GetStructs

func (x *TestEvent) GetStructs() *structpb.Struct

func (*TestEvent) GetTimestamps

func (x *TestEvent) GetTimestamps() *timestamppb.Timestamp

func (*TestEvent) GetTs

func (x *TestEvent) GetTs() *timestamppb.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) ProtoReflect

func (x *TestEvent) ProtoReflect() protoreflect.Message

func (*TestEvent) Reset

func (x *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 (x *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.

type TestEvent_Jedi

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

type TestEvent_NestedMsg

type TestEvent_NestedMsg struct {
	Details string `protobuf:"bytes,1,opt,name=details,proto3" 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,proto3,oneof"`
}

type TestEvent_Sith

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

type TestEvent_Structs

type TestEvent_Structs struct {
	Structs *structpb.Struct `protobuf:"bytes,13,opt,name=structs,proto3,oneof"`
}

type TestEvent_Timestamps

type TestEvent_Timestamps struct {
	Timestamps *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=timestamps,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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