vanity

package
v0.0.0-...-2824937 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: MIT, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Default_B_Int32 int32 = 1234

Variables

View Source
var (
	ErrInvalidLengthGogovanity = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGogovanity   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthProto3 = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProto3   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthVanity = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVanity   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type A

type A struct {
	Strings              string   `protobuf:"bytes,1,opt,name=Strings" json:"Strings"`
	Int                  int64    `protobuf:"varint,2,req,name=Int" json:"Int"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*A) Descriptor

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

func (*A) GetInt

func (m *A) GetInt() int64

func (*A) GetStrings

func (m *A) GetStrings() string

func (*A) Marshal

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

func (*A) MarshalTo

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

func (*A) ProtoMessage

func (*A) ProtoMessage()

func (*A) Reset

func (m *A) Reset()

func (*A) Size

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

func (*A) String

func (m *A) String() string

func (*A) Unmarshal

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

func (*A) XXX_DiscardUnknown

func (m *A) XXX_DiscardUnknown()

func (*A) XXX_Marshal

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

func (*A) XXX_Merge

func (dst *A) XXX_Merge(src proto.Message)

func (*A) XXX_Size

func (m *A) XXX_Size() int

func (*A) XXX_Unmarshal

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

type Aproto3

type Aproto3 struct {
	B                    string   `protobuf:"bytes,1,opt,name=B,proto3" json:"B,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Aproto3) Descriptor

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

func (*Aproto3) GetB

func (m *Aproto3) GetB() string

func (*Aproto3) Marshal

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

func (*Aproto3) MarshalTo

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

func (*Aproto3) ProtoMessage

func (*Aproto3) ProtoMessage()

func (*Aproto3) Reset

func (m *Aproto3) Reset()

func (*Aproto3) Size

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

func (*Aproto3) String

func (m *Aproto3) String() string

func (*Aproto3) Unmarshal

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

func (*Aproto3) XXX_DiscardUnknown

func (m *Aproto3) XXX_DiscardUnknown()

func (*Aproto3) XXX_Marshal

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

func (*Aproto3) XXX_Merge

func (dst *Aproto3) XXX_Merge(src proto.Message)

func (*Aproto3) XXX_Size

func (m *Aproto3) XXX_Size() int

func (*Aproto3) XXX_Unmarshal

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

type B

type B struct {
	String_              *string  `protobuf:"bytes,1,opt,name=String" json:"String,omitempty"`
	Int64                int64    `protobuf:"varint,2,opt,name=Int64" json:"Int64"`
	Int32                *int32   `protobuf:"varint,3,opt,name=Int32,def=1234" json:"Int32,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*B) Descriptor

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

func (*B) GetInt32

func (m *B) GetInt32() int32

func (*B) GetInt64

func (m *B) GetInt64() int64

func (*B) GetString_

func (m *B) GetString_() string

func (*B) Marshal

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

func (*B) MarshalTo

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

func (*B) ProtoMessage

func (*B) ProtoMessage()

func (*B) Reset

func (m *B) Reset()

func (*B) Size

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

func (*B) String

func (m *B) String() string

func (*B) Unmarshal

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

func (*B) XXX_DiscardUnknown

func (m *B) XXX_DiscardUnknown()

func (*B) XXX_Marshal

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

func (*B) XXX_Merge

func (dst *B) XXX_Merge(src proto.Message)

func (*B) XXX_Size

func (m *B) XXX_Size() int

func (*B) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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