proto3_proto

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Message_Humour_name = map[int32]string{
	0: "UNKNOWN",
	1: "PUNS",
	2: "SLAPSTICK",
	3: "BILL_BAILEY",
}
View Source
var Message_Humour_value = map[string]int32{
	"UNKNOWN":     0,
	"PUNS":        1,
	"SLAPSTICK":   2,
	"BILL_BAILEY": 3,
}

Functions

This section is empty.

Types

type IntMap

type IntMap struct {
	Rtt                  map[int32]int32 `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*IntMap) Descriptor

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

func (*IntMap) GetRtt

func (m *IntMap) GetRtt() map[int32]int32

func (*IntMap) IsNil added in v1.4.9

func (m *IntMap) IsNil() bool

func (*IntMap) ProtoMessage

func (*IntMap) ProtoMessage()

func (*IntMap) Reset

func (m *IntMap) Reset()

func (*IntMap) SetRtt_ added in v1.4.9

func (m *IntMap) SetRtt_(val map[int32]int32)

func (*IntMap) String

func (m *IntMap) String() string

func (*IntMap) Validate added in v1.4.9

func (this *IntMap) Validate() error

func (*IntMap) XXX_DiscardUnknown added in v1.1.0

func (m *IntMap) XXX_DiscardUnknown()

func (*IntMap) XXX_Marshal added in v1.1.0

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

func (*IntMap) XXX_Merge added in v1.1.0

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

func (*IntMap) XXX_Size added in v1.1.0

func (m *IntMap) XXX_Size() int

func (*IntMap) XXX_Unmarshal added in v1.1.0

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

type IntMaps

type IntMaps struct {
	Maps                 []*IntMap `protobuf:"bytes,1,rep,name=maps,proto3" json:"maps,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*IntMaps) Descriptor

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

func (*IntMaps) GetMaps

func (m *IntMaps) GetMaps() []*IntMap

func (*IntMaps) IsNil added in v1.4.9

func (m *IntMaps) IsNil() bool

func (*IntMaps) ProtoMessage

func (*IntMaps) ProtoMessage()

func (*IntMaps) Reset

func (m *IntMaps) Reset()

func (*IntMaps) SetMaps_ added in v1.4.9

func (m *IntMaps) SetMaps_(val []*IntMap)

func (*IntMaps) String

func (m *IntMaps) String() string

func (*IntMaps) Validate added in v1.4.9

func (this *IntMaps) Validate() error

func (*IntMaps) XXX_DiscardUnknown added in v1.1.0

func (m *IntMaps) XXX_DiscardUnknown()

func (*IntMaps) XXX_Marshal added in v1.1.0

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

func (*IntMaps) XXX_Merge added in v1.1.0

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

func (*IntMaps) XXX_Size added in v1.1.0

func (m *IntMaps) XXX_Size() int

func (*IntMaps) XXX_Unmarshal added in v1.1.0

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

type Message

type Message struct {
	Name                 string                             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Hilarity             Message_Humour                     `protobuf:"varint,2,opt,name=hilarity,proto3,enum=proto3_proto.Message_Humour" json:"hilarity,omitempty"`
	HeightInCm           uint32                             `protobuf:"varint,3,opt,name=height_in_cm,json=heightInCm,proto3" json:"height_in_cm,omitempty"`
	Data                 []byte                             `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	ResultCount          int64                              `protobuf:"varint,7,opt,name=result_count,json=resultCount,proto3" json:"result_count,omitempty"`
	TrueScotsman         bool                               `protobuf:"varint,8,opt,name=true_scotsman,json=trueScotsman,proto3" json:"true_scotsman,omitempty"`
	Score                float32                            `protobuf:"fixed32,9,opt,name=score,proto3" json:"score,omitempty"`
	Key                  []uint64                           `protobuf:"varint,5,rep,packed,name=key,proto3" json:"key,omitempty"`
	ShortKey             []int32                            `protobuf:"varint,19,rep,packed,name=short_key,json=shortKey,proto3" json:"short_key,omitempty"`
	Nested               *Nested                            `protobuf:"bytes,6,opt,name=nested,proto3" json:"nested,omitempty"`
	RFunny               []Message_Humour                   `protobuf:"varint,16,rep,packed,name=r_funny,json=rFunny,proto3,enum=proto3_proto.Message_Humour" json:"r_funny,omitempty"`
	Terrain              map[string]*Nested                 `` /* 156-byte string literal not displayed */
	Proto2Field          *test_proto.SubDefaults            `protobuf:"bytes,11,opt,name=proto2_field,json=proto2Field,proto3" json:"proto2_field,omitempty"`
	Proto2Value          map[string]*test_proto.SubDefaults `` /* 183-byte string literal not displayed */
	Anything             *anypb.Any                         `protobuf:"bytes,14,opt,name=anything,proto3" json:"anything,omitempty"`
	ManyThings           []*anypb.Any                       `protobuf:"bytes,15,rep,name=many_things,json=manyThings,proto3" json:"many_things,omitempty"`
	Submessage           *Message                           `protobuf:"bytes,17,opt,name=submessage,proto3" json:"submessage,omitempty"`
	Children             []*Message                         `protobuf:"bytes,18,rep,name=children,proto3" json:"children,omitempty"`
	StringMap            map[string]string                  `` /* 177-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*Message) Descriptor

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

func (*Message) GetAnything

func (m *Message) GetAnything() *anypb.Any

func (*Message) GetChildren

func (m *Message) GetChildren() []*Message

func (*Message) GetData

func (m *Message) GetData() []byte

func (*Message) GetHeightInCm

func (m *Message) GetHeightInCm() uint32

func (*Message) GetHilarity

func (m *Message) GetHilarity() Message_Humour

func (*Message) GetKey

func (m *Message) GetKey() []uint64

func (*Message) GetManyThings

func (m *Message) GetManyThings() []*anypb.Any

func (*Message) GetName

func (m *Message) GetName() string

func (*Message) GetNested

func (m *Message) GetNested() *Nested

func (*Message) GetProto2Field

func (m *Message) GetProto2Field() *test_proto.SubDefaults

func (*Message) GetProto2Value

func (m *Message) GetProto2Value() map[string]*test_proto.SubDefaults

func (*Message) GetRFunny

func (m *Message) GetRFunny() []Message_Humour

func (*Message) GetResultCount

func (m *Message) GetResultCount() int64

func (*Message) GetScore

func (m *Message) GetScore() float32

func (*Message) GetShortKey

func (m *Message) GetShortKey() []int32

func (*Message) GetStringMap added in v1.1.0

func (m *Message) GetStringMap() map[string]string

func (*Message) GetSubmessage

func (m *Message) GetSubmessage() *Message

func (*Message) GetTerrain

func (m *Message) GetTerrain() map[string]*Nested

func (*Message) GetTrueScotsman

func (m *Message) GetTrueScotsman() bool

func (*Message) IsNil added in v1.4.9

func (m *Message) IsNil() bool

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) SetAnything_ added in v1.4.9

func (m *Message) SetAnything_(val *anypb.Any)

func (*Message) SetChildren_ added in v1.4.9

func (m *Message) SetChildren_(val []*Message)

func (*Message) SetData_ added in v1.4.9

func (m *Message) SetData_(val []byte)

func (*Message) SetHeightInCm_ added in v1.4.9

func (m *Message) SetHeightInCm_(val uint32)

func (*Message) SetHilarity_ added in v1.4.9

func (m *Message) SetHilarity_(val Message_Humour)

func (*Message) SetKey_ added in v1.4.9

func (m *Message) SetKey_(val []uint64)

func (*Message) SetManyThings_ added in v1.4.9

func (m *Message) SetManyThings_(val []*anypb.Any)

func (*Message) SetName_ added in v1.4.9

func (m *Message) SetName_(val string)

func (*Message) SetNested_ added in v1.4.9

func (m *Message) SetNested_(val *Nested)

func (*Message) SetProto2Field_ added in v1.4.9

func (m *Message) SetProto2Field_(val *test_proto.SubDefaults)

func (*Message) SetProto2Value_ added in v1.4.9

func (m *Message) SetProto2Value_(val map[string]*test_proto.SubDefaults)

func (*Message) SetRFunny_ added in v1.4.9

func (m *Message) SetRFunny_(val []Message_Humour)

func (*Message) SetResultCount_ added in v1.4.9

func (m *Message) SetResultCount_(val int64)

func (*Message) SetScore_ added in v1.4.9

func (m *Message) SetScore_(val float32)

func (*Message) SetShortKey_ added in v1.4.9

func (m *Message) SetShortKey_(val []int32)

func (*Message) SetStringMap_ added in v1.4.9

func (m *Message) SetStringMap_(val map[string]string)

func (*Message) SetSubmessage_ added in v1.4.9

func (m *Message) SetSubmessage_(val *Message)

func (*Message) SetTerrain_ added in v1.4.9

func (m *Message) SetTerrain_(val map[string]*Nested)

func (*Message) SetTrueScotsman_ added in v1.4.9

func (m *Message) SetTrueScotsman_(val bool)

func (*Message) String

func (m *Message) String() string

func (*Message) Validate added in v1.4.9

func (this *Message) Validate() error

func (*Message) XXX_DiscardUnknown added in v1.1.0

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal added in v1.1.0

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

func (*Message) XXX_Merge added in v1.1.0

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

func (*Message) XXX_Size added in v1.1.0

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal added in v1.1.0

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

type MessageWithMap

type MessageWithMap struct {
	ByteMapping          map[bool][]byte `` /* 183-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*MessageWithMap) Descriptor

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

func (*MessageWithMap) GetByteMapping

func (m *MessageWithMap) GetByteMapping() map[bool][]byte

func (*MessageWithMap) IsNil added in v1.4.9

func (m *MessageWithMap) IsNil() bool

func (*MessageWithMap) ProtoMessage

func (*MessageWithMap) ProtoMessage()

func (*MessageWithMap) Reset

func (m *MessageWithMap) Reset()

func (*MessageWithMap) SetByteMapping_ added in v1.4.9

func (m *MessageWithMap) SetByteMapping_(val map[bool][]byte)

func (*MessageWithMap) String

func (m *MessageWithMap) String() string

func (*MessageWithMap) Validate added in v1.4.9

func (this *MessageWithMap) Validate() error

func (*MessageWithMap) XXX_DiscardUnknown added in v1.1.0

func (m *MessageWithMap) XXX_DiscardUnknown()

func (*MessageWithMap) XXX_Marshal added in v1.1.0

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

func (*MessageWithMap) XXX_Merge added in v1.1.0

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

func (*MessageWithMap) XXX_Size added in v1.1.0

func (m *MessageWithMap) XXX_Size() int

func (*MessageWithMap) XXX_Unmarshal added in v1.1.0

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

type Message_Humour

type Message_Humour int32
const (
	Message_UNKNOWN     Message_Humour = 0
	Message_PUNS        Message_Humour = 1
	Message_SLAPSTICK   Message_Humour = 2
	Message_BILL_BAILEY Message_Humour = 3
)

func (Message_Humour) EnumDescriptor

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

func (Message_Humour) String

func (x Message_Humour) String() string

type Nested

type Nested struct {
	Bunny                string   `protobuf:"bytes,1,opt,name=bunny,proto3" json:"bunny,omitempty"`
	Cute                 bool     `protobuf:"varint,2,opt,name=cute,proto3" json:"cute,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Nested) Descriptor

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

func (*Nested) GetBunny

func (m *Nested) GetBunny() string

func (*Nested) GetCute

func (m *Nested) GetCute() bool

func (*Nested) IsNil added in v1.4.9

func (m *Nested) IsNil() bool

func (*Nested) ProtoMessage

func (*Nested) ProtoMessage()

func (*Nested) Reset

func (m *Nested) Reset()

func (*Nested) SetBunny_ added in v1.4.9

func (m *Nested) SetBunny_(val string)

func (*Nested) SetCute_ added in v1.4.9

func (m *Nested) SetCute_(val bool)

func (*Nested) String

func (m *Nested) String() string

func (*Nested) Validate added in v1.4.9

func (this *Nested) Validate() error

func (*Nested) XXX_DiscardUnknown added in v1.1.0

func (m *Nested) XXX_DiscardUnknown()

func (*Nested) XXX_Marshal added in v1.1.0

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

func (*Nested) XXX_Merge added in v1.1.0

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

func (*Nested) XXX_Size added in v1.1.0

func (m *Nested) XXX_Size() int

func (*Nested) XXX_Unmarshal added in v1.1.0

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

type TestUTF8 added in v1.2.0

type TestUTF8 struct {
	Scalar string   `protobuf:"bytes,1,opt,name=scalar,proto3" json:"scalar,omitempty"`
	Vector []string `protobuf:"bytes,2,rep,name=vector,proto3" json:"vector,omitempty"`
	// Types that are valid to be assigned to Oneof:
	//
	//	*TestUTF8_Field
	Oneof                isTestUTF8_Oneof `protobuf_oneof:"oneof"`
	MapKey               map[string]int64 `` /* 168-byte string literal not displayed */
	MapValue             map[int64]string `` /* 174-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*TestUTF8) Descriptor added in v1.2.0

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

func (*TestUTF8) GetField added in v1.2.0

func (m *TestUTF8) GetField() string

func (*TestUTF8) GetMapKey added in v1.2.0

func (m *TestUTF8) GetMapKey() map[string]int64

func (*TestUTF8) GetMapValue added in v1.2.0

func (m *TestUTF8) GetMapValue() map[int64]string

func (*TestUTF8) GetOneof added in v1.2.0

func (m *TestUTF8) GetOneof() isTestUTF8_Oneof

func (*TestUTF8) GetScalar added in v1.2.0

func (m *TestUTF8) GetScalar() string

func (*TestUTF8) GetVector added in v1.2.0

func (m *TestUTF8) GetVector() []string

func (*TestUTF8) IsNil added in v1.4.9

func (m *TestUTF8) IsNil() bool

func (*TestUTF8) ProtoMessage added in v1.2.0

func (*TestUTF8) ProtoMessage()

func (*TestUTF8) Reset added in v1.2.0

func (m *TestUTF8) Reset()

func (*TestUTF8) SetMapKey_ added in v1.4.9

func (m *TestUTF8) SetMapKey_(val map[string]int64)

func (*TestUTF8) SetMapValue_ added in v1.4.9

func (m *TestUTF8) SetMapValue_(val map[int64]string)

func (*TestUTF8) SetScalar_ added in v1.4.9

func (m *TestUTF8) SetScalar_(val string)

func (*TestUTF8) SetVector_ added in v1.4.9

func (m *TestUTF8) SetVector_(val []string)

func (*TestUTF8) String added in v1.2.0

func (m *TestUTF8) String() string

func (*TestUTF8) Validate added in v1.4.9

func (this *TestUTF8) Validate() error

func (*TestUTF8) XXX_DiscardUnknown added in v1.2.0

func (m *TestUTF8) XXX_DiscardUnknown()

func (*TestUTF8) XXX_Marshal added in v1.2.0

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

func (*TestUTF8) XXX_Merge added in v1.2.0

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

func (*TestUTF8) XXX_OneofWrappers added in v1.3.9

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*TestUTF8) XXX_Size added in v1.2.0

func (m *TestUTF8) XXX_Size() int

func (*TestUTF8) XXX_Unmarshal added in v1.2.0

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

type TestUTF8_Field added in v1.2.0

type TestUTF8_Field struct {
	Field string `protobuf:"bytes,3,opt,name=field,proto3,oneof" json:"field,omitempty"`
}

Jump to

Keyboard shortcuts

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