required

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRequiredexample        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRequiredexample          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRequiredexample = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type NestedNinOptNative

type NestedNinOptNative struct {
	NestedNinOpts        []*NinOptNative `protobuf:"bytes,1,rep,name=NestedNinOpts" json:"NestedNinOpts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func NewPopulatedNestedNinOptNative

func NewPopulatedNestedNinOptNative(r randyRequiredexample, easy bool) *NestedNinOptNative

func (*NestedNinOptNative) Descriptor

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

func (*NestedNinOptNative) GetNestedNinOpts

func (m *NestedNinOptNative) GetNestedNinOpts() []*NinOptNative

func (*NestedNinOptNative) Marshal

func (m *NestedNinOptNative) Marshal() (dAtA []byte, err error)

func (*NestedNinOptNative) MarshalTo

func (m *NestedNinOptNative) MarshalTo(dAtA []byte) (int, error)

func (*NestedNinOptNative) MarshalToSizedBuffer

func (m *NestedNinOptNative) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NestedNinOptNative) ProtoMessage

func (*NestedNinOptNative) ProtoMessage()

func (*NestedNinOptNative) Reset

func (m *NestedNinOptNative) Reset()

func (*NestedNinOptNative) Size

func (m *NestedNinOptNative) Size() (n int)

func (*NestedNinOptNative) String

func (m *NestedNinOptNative) String() string

func (*NestedNinOptNative) Unmarshal

func (m *NestedNinOptNative) Unmarshal(dAtA []byte) error

func (*NestedNinOptNative) XXX_DiscardUnknown

func (m *NestedNinOptNative) XXX_DiscardUnknown()

func (*NestedNinOptNative) XXX_Marshal

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

func (*NestedNinOptNative) XXX_Merge

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

func (*NestedNinOptNative) XXX_Size

func (m *NestedNinOptNative) XXX_Size() int

func (*NestedNinOptNative) XXX_Unmarshal

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

type NidOptNative

type NidOptNative struct {
	Field1               float64  `protobuf:"fixed64,1,req,name=Field1" json:"Field1"`
	Field2               float32  `protobuf:"fixed32,2,req,name=Field2" json:"Field2"`
	Field3               int32    `protobuf:"varint,3,req,name=Field3" json:"Field3"`
	Field4               int64    `protobuf:"varint,4,req,name=Field4" json:"Field4"`
	Field5               uint32   `protobuf:"varint,5,req,name=Field5" json:"Field5"`
	Field6               uint64   `protobuf:"varint,6,req,name=Field6" json:"Field6"`
	Field7               int32    `protobuf:"zigzag32,7,req,name=Field7" json:"Field7"`
	Field8               int64    `protobuf:"zigzag64,8,req,name=Field8" json:"Field8"`
	Field9               uint32   `protobuf:"fixed32,9,req,name=Field9" json:"Field9"`
	Field10              int32    `protobuf:"fixed32,10,req,name=Field10" json:"Field10"`
	Field11              uint64   `protobuf:"fixed64,11,req,name=Field11" json:"Field11"`
	Field12              int64    `protobuf:"fixed64,12,req,name=Field12" json:"Field12"`
	Field13              bool     `protobuf:"varint,13,req,name=Field13" json:"Field13"`
	Field14              string   `protobuf:"bytes,14,req,name=Field14" json:"Field14"`
	Field15              []byte   `protobuf:"bytes,15,req,name=Field15" json:"Field15"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedNidOptNative

func NewPopulatedNidOptNative(r randyRequiredexample, easy bool) *NidOptNative

func (*NidOptNative) Descriptor

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

func (*NidOptNative) GetField1

func (m *NidOptNative) GetField1() float64

func (*NidOptNative) GetField10

func (m *NidOptNative) GetField10() int32

func (*NidOptNative) GetField11

func (m *NidOptNative) GetField11() uint64

func (*NidOptNative) GetField12

func (m *NidOptNative) GetField12() int64

func (*NidOptNative) GetField13

func (m *NidOptNative) GetField13() bool

func (*NidOptNative) GetField14

func (m *NidOptNative) GetField14() string

func (*NidOptNative) GetField15

func (m *NidOptNative) GetField15() []byte

func (*NidOptNative) GetField2

func (m *NidOptNative) GetField2() float32

func (*NidOptNative) GetField3

func (m *NidOptNative) GetField3() int32

func (*NidOptNative) GetField4

func (m *NidOptNative) GetField4() int64

func (*NidOptNative) GetField5

func (m *NidOptNative) GetField5() uint32

func (*NidOptNative) GetField6

func (m *NidOptNative) GetField6() uint64

func (*NidOptNative) GetField7

func (m *NidOptNative) GetField7() int32

func (*NidOptNative) GetField8

func (m *NidOptNative) GetField8() int64

func (*NidOptNative) GetField9

func (m *NidOptNative) GetField9() uint32

func (*NidOptNative) Marshal

func (m *NidOptNative) Marshal() (dAtA []byte, err error)

func (*NidOptNative) MarshalTo

func (m *NidOptNative) MarshalTo(dAtA []byte) (int, error)

func (*NidOptNative) MarshalToSizedBuffer

func (m *NidOptNative) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NidOptNative) ProtoMessage

func (*NidOptNative) ProtoMessage()

func (*NidOptNative) Reset

func (m *NidOptNative) Reset()

func (*NidOptNative) Size

func (m *NidOptNative) Size() (n int)

func (*NidOptNative) String

func (m *NidOptNative) String() string

func (*NidOptNative) Unmarshal

func (m *NidOptNative) Unmarshal(dAtA []byte) error

func (*NidOptNative) XXX_DiscardUnknown

func (m *NidOptNative) XXX_DiscardUnknown()

func (*NidOptNative) XXX_Marshal

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

func (*NidOptNative) XXX_Merge

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

func (*NidOptNative) XXX_Size

func (m *NidOptNative) XXX_Size() int

func (*NidOptNative) XXX_Unmarshal

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

type NinOptNative

type NinOptNative struct {
	Field1               *float64 `protobuf:"fixed64,1,req,name=Field1" json:"Field1,omitempty"`
	Field2               *float32 `protobuf:"fixed32,2,req,name=Field2" json:"Field2,omitempty"`
	Field3               *int32   `protobuf:"varint,3,req,name=Field3" json:"Field3,omitempty"`
	Field4               *int64   `protobuf:"varint,4,req,name=Field4" json:"Field4,omitempty"`
	Field5               *uint32  `protobuf:"varint,5,req,name=Field5" json:"Field5,omitempty"`
	Field6               *uint64  `protobuf:"varint,6,req,name=Field6" json:"Field6,omitempty"`
	Field7               *int32   `protobuf:"zigzag32,7,req,name=Field7" json:"Field7,omitempty"`
	Field8               *int64   `protobuf:"zigzag64,8,req,name=Field8" json:"Field8,omitempty"`
	Field9               *uint32  `protobuf:"fixed32,9,req,name=Field9" json:"Field9,omitempty"`
	Field10              *int32   `protobuf:"fixed32,10,req,name=Field10" json:"Field10,omitempty"`
	Field11              *uint64  `protobuf:"fixed64,11,req,name=Field11" json:"Field11,omitempty"`
	Field12              *int64   `protobuf:"fixed64,12,req,name=Field12" json:"Field12,omitempty"`
	Field13              *bool    `protobuf:"varint,13,req,name=Field13" json:"Field13,omitempty"`
	Field14              *string  `protobuf:"bytes,14,req,name=Field14" json:"Field14,omitempty"`
	Field15              []byte   `protobuf:"bytes,15,req,name=Field15" json:"Field15,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedNinOptNative

func NewPopulatedNinOptNative(r randyRequiredexample, easy bool) *NinOptNative

func (*NinOptNative) Descriptor

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

func (*NinOptNative) GetField1

func (m *NinOptNative) GetField1() float64

func (*NinOptNative) GetField10

func (m *NinOptNative) GetField10() int32

func (*NinOptNative) GetField11

func (m *NinOptNative) GetField11() uint64

func (*NinOptNative) GetField12

func (m *NinOptNative) GetField12() int64

func (*NinOptNative) GetField13

func (m *NinOptNative) GetField13() bool

func (*NinOptNative) GetField14

func (m *NinOptNative) GetField14() string

func (*NinOptNative) GetField15

func (m *NinOptNative) GetField15() []byte

func (*NinOptNative) GetField2

func (m *NinOptNative) GetField2() float32

func (*NinOptNative) GetField3

func (m *NinOptNative) GetField3() int32

func (*NinOptNative) GetField4

func (m *NinOptNative) GetField4() int64

func (*NinOptNative) GetField5

func (m *NinOptNative) GetField5() uint32

func (*NinOptNative) GetField6

func (m *NinOptNative) GetField6() uint64

func (*NinOptNative) GetField7

func (m *NinOptNative) GetField7() int32

func (*NinOptNative) GetField8

func (m *NinOptNative) GetField8() int64

func (*NinOptNative) GetField9

func (m *NinOptNative) GetField9() uint32

func (*NinOptNative) Marshal

func (m *NinOptNative) Marshal() (dAtA []byte, err error)

func (*NinOptNative) MarshalTo

func (m *NinOptNative) MarshalTo(dAtA []byte) (int, error)

func (*NinOptNative) MarshalToSizedBuffer

func (m *NinOptNative) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NinOptNative) ProtoMessage

func (*NinOptNative) ProtoMessage()

func (*NinOptNative) Reset

func (m *NinOptNative) Reset()

func (*NinOptNative) Size

func (m *NinOptNative) Size() (n int)

func (*NinOptNative) String

func (m *NinOptNative) String() string

func (*NinOptNative) Unmarshal

func (m *NinOptNative) Unmarshal(dAtA []byte) error

func (*NinOptNative) XXX_DiscardUnknown

func (m *NinOptNative) XXX_DiscardUnknown()

func (*NinOptNative) XXX_Marshal

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

func (*NinOptNative) XXX_Merge

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

func (*NinOptNative) XXX_Size

func (m *NinOptNative) XXX_Size() int

func (*NinOptNative) XXX_Unmarshal

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

type RequiredExample

type RequiredExample struct {
	TheRequiredString    *string  `protobuf:"bytes,1,req,name=theRequiredString" json:"theRequiredString,omitempty"`
	TheOptionalString    *string  `protobuf:"bytes,2,opt,name=theOptionalString" json:"theOptionalString,omitempty"`
	TheRepeatedStrings   []string `protobuf:"bytes,3,rep,name=theRepeatedStrings" json:"theRepeatedStrings,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedRequiredExample

func NewPopulatedRequiredExample(r randyRequiredexample, easy bool) *RequiredExample

func (*RequiredExample) Descriptor

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

func (*RequiredExample) GetTheOptionalString

func (m *RequiredExample) GetTheOptionalString() string

func (*RequiredExample) GetTheRepeatedStrings

func (m *RequiredExample) GetTheRepeatedStrings() []string

func (*RequiredExample) GetTheRequiredString

func (m *RequiredExample) GetTheRequiredString() string

func (*RequiredExample) Marshal

func (m *RequiredExample) Marshal() (dAtA []byte, err error)

func (*RequiredExample) MarshalTo

func (m *RequiredExample) MarshalTo(dAtA []byte) (int, error)

func (*RequiredExample) MarshalToSizedBuffer

func (m *RequiredExample) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequiredExample) ProtoMessage

func (*RequiredExample) ProtoMessage()

func (*RequiredExample) Reset

func (m *RequiredExample) Reset()

func (*RequiredExample) Size

func (m *RequiredExample) Size() (n int)

func (*RequiredExample) String

func (m *RequiredExample) String() string

func (*RequiredExample) Unmarshal

func (m *RequiredExample) Unmarshal(dAtA []byte) error

func (*RequiredExample) XXX_DiscardUnknown

func (m *RequiredExample) XXX_DiscardUnknown()

func (*RequiredExample) XXX_Marshal

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

func (*RequiredExample) XXX_Merge

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

func (*RequiredExample) XXX_Size

func (m *RequiredExample) XXX_Size() int

func (*RequiredExample) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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