protobuf: google.golang.org/protobuf/internal/testprotos/irregular Index | Files

package irregular

import "google.golang.org/protobuf/internal/testprotos/irregular"

Index

Package Files

irregular.go test.pb.go

Variables

var File_internal_testprotos_irregular_test_proto protoreflect.FileDescriptor

type AberrantMessage Uses

type AberrantMessage int

func (AberrantMessage) Marshal Uses

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

func (AberrantMessage) ProtoMessage Uses

func (m AberrantMessage) ProtoMessage()

func (AberrantMessage) Reset Uses

func (m AberrantMessage) Reset()

func (AberrantMessage) String Uses

func (m AberrantMessage) String() string

func (AberrantMessage) Unmarshal Uses

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

type IrregularMessage Uses

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

func (*IrregularMessage) ProtoReflect Uses

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

type Message Uses

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 `protobuf:"bytes,4,rep,name=map_message,json=mapMessage" json:"map_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    // 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 `protobuf:"bytes,10,rep,name=map_aberrant_message,json=mapAberrantMessage" json:"map_aberrant_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    // contains filtered or unexported fields
}

func (*Message) Descriptor Uses

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetMapAberrantMessage Uses

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

func (*Message) GetMapMessage Uses

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

func (*Message) GetOneofAberrantMessage Uses

func (x *Message) GetOneofAberrantMessage() *AberrantMessage

func (*Message) GetOneofMessage Uses

func (x *Message) GetOneofMessage() *IrregularMessage

func (*Message) GetOptionalAberrantMessage Uses

func (x *Message) GetOptionalAberrantMessage() *AberrantMessage

func (*Message) GetOptionalMessage Uses

func (x *Message) GetOptionalMessage() *IrregularMessage

func (*Message) GetRepeatedAberrantMessage Uses

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

func (*Message) GetRepeatedMessage Uses

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

func (*Message) GetRequiredAberrantMessage Uses

func (x *Message) GetRequiredAberrantMessage() *AberrantMessage

func (*Message) GetRequiredMessage Uses

func (x *Message) GetRequiredMessage() *IrregularMessage

func (*Message) GetUnion Uses

func (m *Message) GetUnion() isMessage_Union

func (*Message) ProtoMessage Uses

func (*Message) ProtoMessage()

func (*Message) ProtoReflect Uses

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

func (*Message) Reset Uses

func (x *Message) Reset()

func (*Message) String Uses

func (x *Message) String() string

type Message_OneofAberrantMessage Uses

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

type Message_OneofMessage Uses

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

Package irregular imports 8 packages (graph). Updated 2020-09-22. Refresh now. Tools for package owners.