irregular

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_testprotos_irregular_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AberrantMessage

type AberrantMessage int

func (AberrantMessage) Marshal

func (m AberrantMessage) Marshal() ([]byte, error)

func (AberrantMessage) ProtoMessage

func (m AberrantMessage) ProtoMessage()

func (AberrantMessage) Reset

func (m AberrantMessage) Reset()

func (AberrantMessage) String

func (m AberrantMessage) String() string

func (AberrantMessage) Unmarshal

func (m AberrantMessage) Unmarshal([]byte) error

type IrregularMessage

type IrregularMessage struct {
	// contains filtered or unexported fields
}

func (*IrregularMessage) ProtoReflect

func (m *IrregularMessage) ProtoReflect() pref.Message

type Message

type Message struct {
	OptionalMessage *IrregularMessage            `protobuf:"bytes,1,opt,name=optional_message,json=optionalMessage" json:"optional_message,omitempty"`
	RepeatedMessage []*IrregularMessage          `protobuf:"bytes,2,rep,name=repeated_message,json=repeatedMessage" json:"repeated_message,omitempty"`
	RequiredMessage *IrregularMessage            `protobuf:"bytes,3,req,name=required_message,json=requiredMessage" json:"required_message,omitempty"`
	MapMessage      map[string]*IrregularMessage `` /* 158-byte string literal not displayed */
	// Types that are assignable to Union:
	//	*Message_OneofMessage
	//	*Message_OneofAberrantMessage
	Union                   isMessage_Union             `protobuf_oneof:"union"`
	OptionalAberrantMessage *AberrantMessage            `protobuf:"bytes,7,opt,name=optional_aberrant_message,json=optionalAberrantMessage" json:"optional_aberrant_message,omitempty"`
	RepeatedAberrantMessage []*AberrantMessage          `protobuf:"bytes,8,rep,name=repeated_aberrant_message,json=repeatedAberrantMessage" json:"repeated_aberrant_message,omitempty"`
	RequiredAberrantMessage *AberrantMessage            `protobuf:"bytes,9,req,name=required_aberrant_message,json=requiredAberrantMessage" json:"required_aberrant_message,omitempty"`
	MapAberrantMessage      map[string]*AberrantMessage `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetMapAberrantMessage

func (x *Message) GetMapAberrantMessage() map[string]*AberrantMessage

func (*Message) GetMapMessage

func (x *Message) GetMapMessage() map[string]*IrregularMessage

func (*Message) GetOneofAberrantMessage

func (x *Message) GetOneofAberrantMessage() *AberrantMessage

func (*Message) GetOneofMessage

func (x *Message) GetOneofMessage() *IrregularMessage

func (*Message) GetOptionalAberrantMessage

func (x *Message) GetOptionalAberrantMessage() *AberrantMessage

func (*Message) GetOptionalMessage

func (x *Message) GetOptionalMessage() *IrregularMessage

func (*Message) GetRepeatedAberrantMessage

func (x *Message) GetRepeatedAberrantMessage() []*AberrantMessage

func (*Message) GetRepeatedMessage

func (x *Message) GetRepeatedMessage() []*IrregularMessage

func (*Message) GetRequiredAberrantMessage

func (x *Message) GetRequiredAberrantMessage() *AberrantMessage

func (*Message) GetRequiredMessage

func (x *Message) GetRequiredMessage() *IrregularMessage

func (*Message) GetUnion

func (m *Message) GetUnion() isMessage_Union

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Message_OneofAberrantMessage

type Message_OneofAberrantMessage struct {
	OneofAberrantMessage *AberrantMessage `protobuf:"bytes,6,opt,name=oneof_aberrant_message,json=oneofAberrantMessage,oneof"`
}

type Message_OneofMessage

type Message_OneofMessage struct {
	OneofMessage *IrregularMessage `protobuf:"bytes,5,opt,name=oneof_message,json=oneofMessage,oneof"`
}

Jump to

Keyboard shortcuts

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