pbtypes

package
v0.0.0-...-a63ec68 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEmpty        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEmpty          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEmpty = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthString        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowString          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupString = fmt.Errorf("proto: unexpected end of group")
)

Functions

func GetString

func GetString(s *String) *string

func GetStringEmpty

func GetStringEmpty(s *String) string

Types

type Empty

type Empty struct {
}

func NewPopulatedEmpty

func NewPopulatedEmpty(r randyEmpty, easy bool) *Empty

func (*Empty) Descriptor

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

func (*Empty) Equal

func (this *Empty) Equal(that interface{}) bool

func (*Empty) GoString

func (this *Empty) GoString() string

func (*Empty) Marshal

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

func (*Empty) MarshalTo

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

func (*Empty) MarshalToSizedBuffer

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) Size

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

func (*Empty) String

func (this *Empty) String() string

func (*Empty) Unmarshal

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

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

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

func (*Empty) XXX_Merge

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

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

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

type String

type String struct {
	Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"`
}

func NewPopulatedString

func NewPopulatedString(r randyString, easy bool) *String

func (*String) Descriptor

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

func (*String) Equal

func (this *String) Equal(that interface{}) bool

func (*String) GoString

func (this *String) GoString() string

func (*String) Marshal

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

func (*String) MarshalTo

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

func (*String) MarshalToSizedBuffer

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

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) Reset

func (m *String) Reset()

func (*String) Size

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

func (*String) String

func (this *String) String() string

func (*String) Unmarshal

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

func (*String) XXX_DiscardUnknown

func (m *String) XXX_DiscardUnknown()

func (*String) XXX_Marshal

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

func (*String) XXX_Merge

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

func (*String) XXX_Size

func (m *String) XXX_Size() int

func (*String) XXX_Unmarshal

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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