Back to godoc.org

Package irregular

v1.25.0
Latest Go to latest

The latest major version is .

Published: Jun 22, 2020 | License: BSD-3-Clause | Module: google.golang.org/protobuf

Index

Variables

var File_internal_testprotos_irregular_test_proto protoreflect.FileDescriptor

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 */

	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 */

}

func (*Message) Descriptor

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"`
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier