required

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 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) IsNil added in v1.4.9

func (m *NestedNinOptNative) IsNil() bool

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 added in v1.3.9

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

func (*NestedNinOptNative) ProtoMessage

func (*NestedNinOptNative) ProtoMessage()

func (*NestedNinOptNative) Reset

func (m *NestedNinOptNative) Reset()

func (*NestedNinOptNative) SetNestedNinOpts_ added in v1.4.9

func (m *NestedNinOptNative) SetNestedNinOpts_(val []*NinOptNative)

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 added in v1.1.0

func (m *NestedNinOptNative) XXX_DiscardUnknown()

func (*NestedNinOptNative) XXX_Marshal added in v1.1.0

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

func (*NestedNinOptNative) XXX_Merge added in v1.1.0

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

func (*NestedNinOptNative) XXX_Size added in v1.1.0

func (m *NestedNinOptNative) XXX_Size() int

func (*NestedNinOptNative) XXX_Unmarshal added in v1.1.0

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) IsNil added in v1.4.9

func (m *NidOptNative) IsNil() bool

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 added in v1.3.9

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

func (*NidOptNative) ProtoMessage

func (*NidOptNative) ProtoMessage()

func (*NidOptNative) Reset

func (m *NidOptNative) Reset()

func (*NidOptNative) SetField10_ added in v1.4.9

func (m *NidOptNative) SetField10_(val int32)

func (*NidOptNative) SetField11_ added in v1.4.9

func (m *NidOptNative) SetField11_(val uint64)

func (*NidOptNative) SetField12_ added in v1.4.9

func (m *NidOptNative) SetField12_(val int64)

func (*NidOptNative) SetField13_ added in v1.4.9

func (m *NidOptNative) SetField13_(val bool)

func (*NidOptNative) SetField14_ added in v1.4.9

func (m *NidOptNative) SetField14_(val string)

func (*NidOptNative) SetField15_ added in v1.4.9

func (m *NidOptNative) SetField15_(val []byte)

func (*NidOptNative) SetField1_ added in v1.4.9

func (m *NidOptNative) SetField1_(val float64)

func (*NidOptNative) SetField2_ added in v1.4.9

func (m *NidOptNative) SetField2_(val float32)

func (*NidOptNative) SetField3_ added in v1.4.9

func (m *NidOptNative) SetField3_(val int32)

func (*NidOptNative) SetField4_ added in v1.4.9

func (m *NidOptNative) SetField4_(val int64)

func (*NidOptNative) SetField5_ added in v1.4.9

func (m *NidOptNative) SetField5_(val uint32)

func (*NidOptNative) SetField6_ added in v1.4.9

func (m *NidOptNative) SetField6_(val uint64)

func (*NidOptNative) SetField7_ added in v1.4.9

func (m *NidOptNative) SetField7_(val int32)

func (*NidOptNative) SetField8_ added in v1.4.9

func (m *NidOptNative) SetField8_(val int64)

func (*NidOptNative) SetField9_ added in v1.4.9

func (m *NidOptNative) SetField9_(val uint32)

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 added in v1.1.0

func (m *NidOptNative) XXX_DiscardUnknown()

func (*NidOptNative) XXX_Marshal added in v1.1.0

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

func (*NidOptNative) XXX_Merge added in v1.1.0

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

func (*NidOptNative) XXX_Size added in v1.1.0

func (m *NidOptNative) XXX_Size() int

func (*NidOptNative) XXX_Unmarshal added in v1.1.0

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) IsNil added in v1.4.9

func (m *NinOptNative) IsNil() bool

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 added in v1.3.9

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

func (*NinOptNative) ProtoMessage

func (*NinOptNative) ProtoMessage()

func (*NinOptNative) Reset

func (m *NinOptNative) Reset()

func (*NinOptNative) SetField10_ added in v1.4.9

func (m *NinOptNative) SetField10_(val int32)

func (*NinOptNative) SetField11_ added in v1.4.9

func (m *NinOptNative) SetField11_(val uint64)

func (*NinOptNative) SetField12_ added in v1.4.9

func (m *NinOptNative) SetField12_(val int64)

func (*NinOptNative) SetField13_ added in v1.4.9

func (m *NinOptNative) SetField13_(val bool)

func (*NinOptNative) SetField14_ added in v1.4.9

func (m *NinOptNative) SetField14_(val string)

func (*NinOptNative) SetField15_ added in v1.4.9

func (m *NinOptNative) SetField15_(val []byte)

func (*NinOptNative) SetField1_ added in v1.4.9

func (m *NinOptNative) SetField1_(val float64)

func (*NinOptNative) SetField2_ added in v1.4.9

func (m *NinOptNative) SetField2_(val float32)

func (*NinOptNative) SetField3_ added in v1.4.9

func (m *NinOptNative) SetField3_(val int32)

func (*NinOptNative) SetField4_ added in v1.4.9

func (m *NinOptNative) SetField4_(val int64)

func (*NinOptNative) SetField5_ added in v1.4.9

func (m *NinOptNative) SetField5_(val uint32)

func (*NinOptNative) SetField6_ added in v1.4.9

func (m *NinOptNative) SetField6_(val uint64)

func (*NinOptNative) SetField7_ added in v1.4.9

func (m *NinOptNative) SetField7_(val int32)

func (*NinOptNative) SetField8_ added in v1.4.9

func (m *NinOptNative) SetField8_(val int64)

func (*NinOptNative) SetField9_ added in v1.4.9

func (m *NinOptNative) SetField9_(val uint32)

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 added in v1.1.0

func (m *NinOptNative) XXX_DiscardUnknown()

func (*NinOptNative) XXX_Marshal added in v1.1.0

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

func (*NinOptNative) XXX_Merge added in v1.1.0

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

func (*NinOptNative) XXX_Size added in v1.1.0

func (m *NinOptNative) XXX_Size() int

func (*NinOptNative) XXX_Unmarshal added in v1.1.0

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) IsNil added in v1.4.9

func (m *RequiredExample) IsNil() bool

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 added in v1.3.9

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

func (*RequiredExample) ProtoMessage

func (*RequiredExample) ProtoMessage()

func (*RequiredExample) Reset

func (m *RequiredExample) Reset()

func (*RequiredExample) SetTheOptionalString_ added in v1.4.9

func (m *RequiredExample) SetTheOptionalString_(val string)

func (*RequiredExample) SetTheRepeatedStrings_ added in v1.4.9

func (m *RequiredExample) SetTheRepeatedStrings_(val []string)

func (*RequiredExample) SetTheRequiredString_ added in v1.4.9

func (m *RequiredExample) SetTheRequiredString_(val string)

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 added in v1.1.0

func (m *RequiredExample) XXX_DiscardUnknown()

func (*RequiredExample) XXX_Marshal added in v1.1.0

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

func (*RequiredExample) XXX_Merge added in v1.1.0

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

func (*RequiredExample) XXX_Size added in v1.1.0

func (m *RequiredExample) XXX_Size() int

func (*RequiredExample) XXX_Unmarshal added in v1.1.0

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