Documentation ¶
Index ¶
- Constants
- Variables
- type A
- func (*A) Descriptor() ([]byte, []int)
- func (m *A) GetInt() int64
- func (m *A) GetStrings() string
- func (m *A) Marshal() (dAtA []byte, err error)
- func (m *A) MarshalTo(dAtA []byte) (int, error)
- func (m *A) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*A) ProtoMessage()
- func (m *A) Reset()
- func (m *A) Size() (n int)
- func (m *A) String() string
- func (m *A) Unmarshal(dAtA []byte) error
- func (m *A) XXX_DiscardUnknown()
- func (m *A) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *A) XXX_Merge(src proto.Message)
- func (m *A) XXX_Size() int
- func (m *A) XXX_Unmarshal(b []byte) error
- type Aproto3
- func (*Aproto3) Descriptor() ([]byte, []int)
- func (m *Aproto3) GetB() string
- func (m *Aproto3) Marshal() (dAtA []byte, err error)
- func (m *Aproto3) MarshalTo(dAtA []byte) (int, error)
- func (m *Aproto3) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Aproto3) ProtoMessage()
- func (m *Aproto3) Reset()
- func (m *Aproto3) Size() (n int)
- func (m *Aproto3) String() string
- func (m *Aproto3) Unmarshal(dAtA []byte) error
- func (m *Aproto3) XXX_DiscardUnknown()
- func (m *Aproto3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Aproto3) XXX_Merge(src proto.Message)
- func (m *Aproto3) XXX_Size() int
- func (m *Aproto3) XXX_Unmarshal(b []byte) error
- type B
- func (*B) Descriptor() ([]byte, []int)
- func (m *B) GetInt32() int32
- func (m *B) GetInt64() int64
- func (m *B) GetString_() string
- func (m *B) Marshal() (dAtA []byte, err error)
- func (m *B) MarshalTo(dAtA []byte) (int, error)
- func (m *B) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*B) ProtoMessage()
- func (m *B) Reset()
- func (m *B) Size() (n int)
- func (m *B) String() string
- func (m *B) Unmarshal(dAtA []byte) error
- func (m *B) XXX_DiscardUnknown()
- func (m *B) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *B) XXX_Merge(src proto.Message)
- func (m *B) XXX_Size() int
- func (m *B) XXX_Unmarshal(b []byte) error
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") ErrUnexpectedEndOfGroupGogovanity = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
This section is empty.
Types ¶
type A ¶
type A struct { Strings *string `protobuf:"bytes,1,opt,name=Strings" json:"Strings,omitempty"` Int *int64 `protobuf:"varint,2,req,name=Int" json:"Int,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*A) Descriptor ¶
func (*A) GetStrings ¶
func (*A) MarshalToSizedBuffer ¶ added in v1.3.7
func (*A) ProtoMessage ¶
func (*A) ProtoMessage()
func (*A) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *A) XXX_DiscardUnknown()
func (*A) XXX_Marshal ¶ added in v1.1.0
func (*A) XXX_Unmarshal ¶ added in v1.1.0
type Aproto3 ¶
type Aproto3 struct { B string `protobuf:"bytes,1,opt,name=B,proto3" json:"B,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Aproto3) Descriptor ¶
func (*Aproto3) MarshalToSizedBuffer ¶ added in v1.3.7
func (*Aproto3) ProtoMessage ¶
func (*Aproto3) ProtoMessage()
func (*Aproto3) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *Aproto3) XXX_DiscardUnknown()
func (*Aproto3) XXX_Marshal ¶ added in v1.1.0
func (*Aproto3) XXX_Unmarshal ¶ added in v1.1.0
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,omitempty"` Int32 *int32 `protobuf:"varint,3,opt,name=Int32,def=1234" json:"Int32,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*B) Descriptor ¶
func (*B) GetString_ ¶
func (*B) MarshalToSizedBuffer ¶ added in v1.3.7
func (*B) ProtoMessage ¶
func (*B) ProtoMessage()
func (*B) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *B) XXX_DiscardUnknown()
func (*B) XXX_Marshal ¶ added in v1.1.0
func (*B) XXX_Unmarshal ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.