Documentation ¶
Index ¶
- Variables
- type ExternalSimple
- func (*ExternalSimple) Descriptor() ([]byte, []int)
- func (m *ExternalSimple) GetFieldC() uint32
- func (m *ExternalSimple) GetFieldD() *ExternalSimple_ExternalNested
- func (m *ExternalSimple) Marshal() (dAtA []byte, err error)
- func (this *ExternalSimple) MarshalJSON() ([]byte, error)
- func (m *ExternalSimple) MarshalTo(dAtA []byte) (int, error)
- func (m *ExternalSimple) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExternalSimple) ProtoMessage()
- func (m *ExternalSimple) Reset()
- func (m *ExternalSimple) Size() (n int)
- func (m *ExternalSimple) String() string
- func (m *ExternalSimple) Unmarshal(dAtA []byte) error
- func (this *ExternalSimple) UnmarshalJSON(b []byte) error
- func (m *ExternalSimple) XXX_DiscardUnknown()
- func (m *ExternalSimple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExternalSimple) XXX_Merge(src proto.Message)
- func (m *ExternalSimple) XXX_Size() int
- func (m *ExternalSimple) XXX_Unmarshal(b []byte) error
- type ExternalSimple_ExternalNested
- func (*ExternalSimple_ExternalNested) Descriptor() ([]byte, []int)
- func (m *ExternalSimple_ExternalNested) GetFieldA() map[string]string
- func (m *ExternalSimple_ExternalNested) Marshal() (dAtA []byte, err error)
- func (this *ExternalSimple_ExternalNested) MarshalJSON() ([]byte, error)
- func (m *ExternalSimple_ExternalNested) MarshalTo(dAtA []byte) (int, error)
- func (m *ExternalSimple_ExternalNested) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExternalSimple_ExternalNested) ProtoMessage()
- func (m *ExternalSimple_ExternalNested) Reset()
- func (m *ExternalSimple_ExternalNested) Size() (n int)
- func (m *ExternalSimple_ExternalNested) String() string
- func (m *ExternalSimple_ExternalNested) Unmarshal(dAtA []byte) error
- func (this *ExternalSimple_ExternalNested) UnmarshalJSON(b []byte) error
- func (m *ExternalSimple_ExternalNested) XXX_DiscardUnknown()
- func (m *ExternalSimple_ExternalNested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExternalSimple_ExternalNested) XXX_Merge(src proto.Message)
- func (m *ExternalSimple_ExternalNested) XXX_Size() int
- func (m *ExternalSimple_ExternalNested) XXX_Unmarshal(b []byte) error
- type ImportedReference
- func (*ImportedReference) Descriptor() ([]byte, []int)
- func (m *ImportedReference) GetFieldA() uint32
- func (m *ImportedReference) GetFieldB() *ExternalSimple
- func (m *ImportedReference) Marshal() (dAtA []byte, err error)
- func (this *ImportedReference) MarshalJSON() ([]byte, error)
- func (m *ImportedReference) MarshalTo(dAtA []byte) (int, error)
- func (m *ImportedReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ImportedReference) ProtoMessage()
- func (m *ImportedReference) Reset()
- func (m *ImportedReference) Size() (n int)
- func (m *ImportedReference) String() string
- func (m *ImportedReference) Unmarshal(dAtA []byte) error
- func (this *ImportedReference) UnmarshalJSON(b []byte) error
- func (m *ImportedReference) XXX_DiscardUnknown()
- func (m *ImportedReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportedReference) XXX_Merge(src proto.Message)
- func (m *ImportedReference) XXX_Size() int
- func (m *ImportedReference) XXX_Unmarshal(b []byte) error
- type ReferencedMap
- func (*ReferencedMap) Descriptor() ([]byte, []int)
- func (m *ReferencedMap) GetFieldA() string
- func (m *ReferencedMap) GetFieldB() *SimpleWithMap_Nested
- func (m *ReferencedMap) Marshal() (dAtA []byte, err error)
- func (this *ReferencedMap) MarshalJSON() ([]byte, error)
- func (m *ReferencedMap) MarshalTo(dAtA []byte) (int, error)
- func (m *ReferencedMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReferencedMap) ProtoMessage()
- func (m *ReferencedMap) Reset()
- func (m *ReferencedMap) Size() (n int)
- func (m *ReferencedMap) String() string
- func (m *ReferencedMap) Unmarshal(dAtA []byte) error
- func (this *ReferencedMap) UnmarshalJSON(b []byte) error
- func (m *ReferencedMap) XXX_DiscardUnknown()
- func (m *ReferencedMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReferencedMap) XXX_Merge(src proto.Message)
- func (m *ReferencedMap) XXX_Size() int
- func (m *ReferencedMap) XXX_Unmarshal(b []byte) error
- type Simple
- func (*Simple) Descriptor() ([]byte, []int)
- func (m *Simple) GetFieldA() uint32
- func (m *Simple) GetFieldB() string
- func (m *Simple) GetFieldC() isSimple_FieldC
- func (m *Simple) GetName() string
- func (m *Simple) GetNumber() uint32
- func (m *Simple) Marshal() (dAtA []byte, err error)
- func (this *Simple) MarshalJSON() ([]byte, error)
- func (m *Simple) MarshalTo(dAtA []byte) (int, error)
- func (m *Simple) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Simple) ProtoMessage()
- func (m *Simple) Reset()
- func (m *Simple) Size() (n int)
- func (m *Simple) String() string
- func (m *Simple) Unmarshal(dAtA []byte) error
- func (this *Simple) UnmarshalJSON(b []byte) error
- func (m *Simple) XXX_DiscardUnknown()
- func (m *Simple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Simple) XXX_Merge(src proto.Message)
- func (*Simple) XXX_OneofWrappers() []interface{}
- func (m *Simple) XXX_Size() int
- func (m *Simple) XXX_Unmarshal(b []byte) error
- type SimpleWithMap
- func (*SimpleWithMap) Descriptor() ([]byte, []int)
- func (m *SimpleWithMap) GetFieldA() uint32
- func (m *SimpleWithMap) GetFieldB() string
- func (m *SimpleWithMap) GetFieldC() map[string]string
- func (m *SimpleWithMap) GetFieldD() *SimpleWithMap_Nested
- func (m *SimpleWithMap) Marshal() (dAtA []byte, err error)
- func (this *SimpleWithMap) MarshalJSON() ([]byte, error)
- func (m *SimpleWithMap) MarshalTo(dAtA []byte) (int, error)
- func (m *SimpleWithMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimpleWithMap) ProtoMessage()
- func (m *SimpleWithMap) Reset()
- func (m *SimpleWithMap) Size() (n int)
- func (m *SimpleWithMap) String() string
- func (m *SimpleWithMap) Unmarshal(dAtA []byte) error
- func (this *SimpleWithMap) UnmarshalJSON(b []byte) error
- func (m *SimpleWithMap) XXX_DiscardUnknown()
- func (m *SimpleWithMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimpleWithMap) XXX_Merge(src proto.Message)
- func (m *SimpleWithMap) XXX_Size() int
- func (m *SimpleWithMap) XXX_Unmarshal(b []byte) error
- type SimpleWithMap_Nested
- func (*SimpleWithMap_Nested) Descriptor() ([]byte, []int)
- func (m *SimpleWithMap_Nested) GetNestedFieldD() map[string]string
- func (m *SimpleWithMap_Nested) Marshal() (dAtA []byte, err error)
- func (this *SimpleWithMap_Nested) MarshalJSON() ([]byte, error)
- func (m *SimpleWithMap_Nested) MarshalTo(dAtA []byte) (int, error)
- func (m *SimpleWithMap_Nested) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimpleWithMap_Nested) ProtoMessage()
- func (m *SimpleWithMap_Nested) Reset()
- func (m *SimpleWithMap_Nested) Size() (n int)
- func (m *SimpleWithMap_Nested) String() string
- func (m *SimpleWithMap_Nested) Unmarshal(dAtA []byte) error
- func (this *SimpleWithMap_Nested) UnmarshalJSON(b []byte) error
- func (m *SimpleWithMap_Nested) XXX_DiscardUnknown()
- func (m *SimpleWithMap_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimpleWithMap_Nested) XXX_Merge(src proto.Message)
- func (m *SimpleWithMap_Nested) XXX_Size() int
- func (m *SimpleWithMap_Nested) XXX_Unmarshal(b []byte) error
- type Simple_Name
- type Simple_Number
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthExternal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowExternal = fmt.Errorf("proto: integer overflow") )
var ( ExternalMarshaler = &github_com_gogo_protobuf_jsonpb.Marshaler{} ExternalUnmarshaler = &github_com_gogo_protobuf_jsonpb.Unmarshaler{AllowUnknownFields: true} )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") )
var ( TypesMarshaler = &github_com_gogo_protobuf_jsonpb.Marshaler{} TypesUnmarshaler = &github_com_gogo_protobuf_jsonpb.Unmarshaler{AllowUnknownFields: true} )
Functions ¶
This section is empty.
Types ¶
type ExternalSimple ¶
type ExternalSimple struct { FieldC uint32 `protobuf:"varint,1,opt,name=fieldC,proto3" json:"fieldC,omitempty"` FieldD *ExternalSimple_ExternalNested `protobuf:"bytes,2,opt,name=fieldD,proto3" json:"fieldD,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExternalSimple) Descriptor ¶
func (*ExternalSimple) Descriptor() ([]byte, []int)
func (*ExternalSimple) GetFieldC ¶
func (m *ExternalSimple) GetFieldC() uint32
func (*ExternalSimple) GetFieldD ¶
func (m *ExternalSimple) GetFieldD() *ExternalSimple_ExternalNested
func (*ExternalSimple) Marshal ¶
func (m *ExternalSimple) Marshal() (dAtA []byte, err error)
func (*ExternalSimple) MarshalJSON ¶
func (this *ExternalSimple) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for ExternalSimple
func (*ExternalSimple) MarshalToSizedBuffer ¶
func (m *ExternalSimple) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExternalSimple) ProtoMessage ¶
func (*ExternalSimple) ProtoMessage()
func (*ExternalSimple) Reset ¶
func (m *ExternalSimple) Reset()
func (*ExternalSimple) Size ¶
func (m *ExternalSimple) Size() (n int)
func (*ExternalSimple) String ¶
func (m *ExternalSimple) String() string
func (*ExternalSimple) Unmarshal ¶
func (m *ExternalSimple) Unmarshal(dAtA []byte) error
func (*ExternalSimple) UnmarshalJSON ¶
func (this *ExternalSimple) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for ExternalSimple
func (*ExternalSimple) XXX_DiscardUnknown ¶
func (m *ExternalSimple) XXX_DiscardUnknown()
func (*ExternalSimple) XXX_Marshal ¶
func (m *ExternalSimple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExternalSimple) XXX_Merge ¶
func (m *ExternalSimple) XXX_Merge(src proto.Message)
func (*ExternalSimple) XXX_Size ¶
func (m *ExternalSimple) XXX_Size() int
func (*ExternalSimple) XXX_Unmarshal ¶
func (m *ExternalSimple) XXX_Unmarshal(b []byte) error
type ExternalSimple_ExternalNested ¶
type ExternalSimple_ExternalNested struct { FieldA map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExternalSimple_ExternalNested) Descriptor ¶
func (*ExternalSimple_ExternalNested) Descriptor() ([]byte, []int)
func (*ExternalSimple_ExternalNested) GetFieldA ¶
func (m *ExternalSimple_ExternalNested) GetFieldA() map[string]string
func (*ExternalSimple_ExternalNested) Marshal ¶
func (m *ExternalSimple_ExternalNested) Marshal() (dAtA []byte, err error)
func (*ExternalSimple_ExternalNested) MarshalJSON ¶
func (this *ExternalSimple_ExternalNested) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for ExternalSimple_ExternalNested
func (*ExternalSimple_ExternalNested) MarshalTo ¶
func (m *ExternalSimple_ExternalNested) MarshalTo(dAtA []byte) (int, error)
func (*ExternalSimple_ExternalNested) MarshalToSizedBuffer ¶
func (m *ExternalSimple_ExternalNested) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExternalSimple_ExternalNested) ProtoMessage ¶
func (*ExternalSimple_ExternalNested) ProtoMessage()
func (*ExternalSimple_ExternalNested) Reset ¶
func (m *ExternalSimple_ExternalNested) Reset()
func (*ExternalSimple_ExternalNested) Size ¶
func (m *ExternalSimple_ExternalNested) Size() (n int)
func (*ExternalSimple_ExternalNested) String ¶
func (m *ExternalSimple_ExternalNested) String() string
func (*ExternalSimple_ExternalNested) Unmarshal ¶
func (m *ExternalSimple_ExternalNested) Unmarshal(dAtA []byte) error
func (*ExternalSimple_ExternalNested) UnmarshalJSON ¶
func (this *ExternalSimple_ExternalNested) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for ExternalSimple_ExternalNested
func (*ExternalSimple_ExternalNested) XXX_DiscardUnknown ¶
func (m *ExternalSimple_ExternalNested) XXX_DiscardUnknown()
func (*ExternalSimple_ExternalNested) XXX_Marshal ¶
func (m *ExternalSimple_ExternalNested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExternalSimple_ExternalNested) XXX_Merge ¶
func (m *ExternalSimple_ExternalNested) XXX_Merge(src proto.Message)
func (*ExternalSimple_ExternalNested) XXX_Size ¶
func (m *ExternalSimple_ExternalNested) XXX_Size() int
func (*ExternalSimple_ExternalNested) XXX_Unmarshal ¶
func (m *ExternalSimple_ExternalNested) XXX_Unmarshal(b []byte) error
type ImportedReference ¶
type ImportedReference struct { FieldA uint32 `protobuf:"varint,1,opt,name=fieldA,proto3" json:"fieldA,omitempty"` FieldB *ExternalSimple `protobuf:"bytes,2,opt,name=fieldB,proto3" json:"fieldB,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
verify no MarshalJSON/UnmarshalJSON functions are created for imported map
func (*ImportedReference) Descriptor ¶
func (*ImportedReference) Descriptor() ([]byte, []int)
func (*ImportedReference) GetFieldA ¶
func (m *ImportedReference) GetFieldA() uint32
func (*ImportedReference) GetFieldB ¶
func (m *ImportedReference) GetFieldB() *ExternalSimple
func (*ImportedReference) Marshal ¶
func (m *ImportedReference) Marshal() (dAtA []byte, err error)
func (*ImportedReference) MarshalJSON ¶
func (this *ImportedReference) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for ImportedReference
func (*ImportedReference) MarshalTo ¶
func (m *ImportedReference) MarshalTo(dAtA []byte) (int, error)
func (*ImportedReference) MarshalToSizedBuffer ¶
func (m *ImportedReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ImportedReference) ProtoMessage ¶
func (*ImportedReference) ProtoMessage()
func (*ImportedReference) Reset ¶
func (m *ImportedReference) Reset()
func (*ImportedReference) Size ¶
func (m *ImportedReference) Size() (n int)
func (*ImportedReference) String ¶
func (m *ImportedReference) String() string
func (*ImportedReference) Unmarshal ¶
func (m *ImportedReference) Unmarshal(dAtA []byte) error
func (*ImportedReference) UnmarshalJSON ¶
func (this *ImportedReference) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for ImportedReference
func (*ImportedReference) XXX_DiscardUnknown ¶
func (m *ImportedReference) XXX_DiscardUnknown()
func (*ImportedReference) XXX_Marshal ¶
func (m *ImportedReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportedReference) XXX_Merge ¶
func (m *ImportedReference) XXX_Merge(src proto.Message)
func (*ImportedReference) XXX_Size ¶
func (m *ImportedReference) XXX_Size() int
func (*ImportedReference) XXX_Unmarshal ¶
func (m *ImportedReference) XXX_Unmarshal(b []byte) error
type ReferencedMap ¶
type ReferencedMap struct { FieldA string `protobuf:"bytes,1,opt,name=fieldA,proto3" json:"fieldA,omitempty"` FieldB *SimpleWithMap_Nested `protobuf:"bytes,2,opt,name=fieldB,proto3" json:"fieldB,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
verify no MarshalJSON/UnmarshalJSON functions are created for referenced map
func (*ReferencedMap) Descriptor ¶
func (*ReferencedMap) Descriptor() ([]byte, []int)
func (*ReferencedMap) GetFieldA ¶
func (m *ReferencedMap) GetFieldA() string
func (*ReferencedMap) GetFieldB ¶
func (m *ReferencedMap) GetFieldB() *SimpleWithMap_Nested
func (*ReferencedMap) Marshal ¶
func (m *ReferencedMap) Marshal() (dAtA []byte, err error)
func (*ReferencedMap) MarshalJSON ¶
func (this *ReferencedMap) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for ReferencedMap
func (*ReferencedMap) MarshalToSizedBuffer ¶
func (m *ReferencedMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReferencedMap) ProtoMessage ¶
func (*ReferencedMap) ProtoMessage()
func (*ReferencedMap) Reset ¶
func (m *ReferencedMap) Reset()
func (*ReferencedMap) Size ¶
func (m *ReferencedMap) Size() (n int)
func (*ReferencedMap) String ¶
func (m *ReferencedMap) String() string
func (*ReferencedMap) Unmarshal ¶
func (m *ReferencedMap) Unmarshal(dAtA []byte) error
func (*ReferencedMap) UnmarshalJSON ¶
func (this *ReferencedMap) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for ReferencedMap
func (*ReferencedMap) XXX_DiscardUnknown ¶
func (m *ReferencedMap) XXX_DiscardUnknown()
func (*ReferencedMap) XXX_Marshal ¶
func (m *ReferencedMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReferencedMap) XXX_Merge ¶
func (m *ReferencedMap) XXX_Merge(src proto.Message)
func (*ReferencedMap) XXX_Size ¶
func (m *ReferencedMap) XXX_Size() int
func (*ReferencedMap) XXX_Unmarshal ¶
func (m *ReferencedMap) XXX_Unmarshal(b []byte) error
type Simple ¶
type Simple struct { FieldA uint32 `protobuf:"varint,1,opt,name=fieldA,proto3" json:"fieldA,omitempty"` FieldB string `protobuf:"bytes,2,opt,name=fieldB,proto3" json:"fieldB,omitempty"` // Types that are valid to be assigned to FieldC: // *Simple_Name // *Simple_Number FieldC isSimple_FieldC `protobuf_oneof:"fieldC"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Simple case
func (*Simple) Descriptor ¶
func (*Simple) MarshalJSON ¶
MarshalJSON is a custom marshaler for Simple
func (*Simple) MarshalToSizedBuffer ¶
func (*Simple) ProtoMessage ¶
func (*Simple) ProtoMessage()
func (*Simple) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Simple
func (*Simple) XXX_DiscardUnknown ¶
func (m *Simple) XXX_DiscardUnknown()
func (*Simple) XXX_Marshal ¶
func (*Simple) XXX_OneofWrappers ¶
func (*Simple) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Simple) XXX_Unmarshal ¶
type SimpleWithMap ¶
type SimpleWithMap struct { FieldA uint32 `protobuf:"varint,1,opt,name=fieldA,proto3" json:"fieldA,omitempty"` FieldB string `protobuf:"bytes,2,opt,name=fieldB,proto3" json:"fieldB,omitempty"` FieldC map[string]string `` /* 153-byte string literal not displayed */ FieldD *SimpleWithMap_Nested `protobuf:"bytes,4,opt,name=fieldD,proto3" json:"fieldD,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Simple case with map and map field should not have MarshalJSON/UnmarshalJSON
func (*SimpleWithMap) Descriptor ¶
func (*SimpleWithMap) Descriptor() ([]byte, []int)
func (*SimpleWithMap) GetFieldA ¶
func (m *SimpleWithMap) GetFieldA() uint32
func (*SimpleWithMap) GetFieldB ¶
func (m *SimpleWithMap) GetFieldB() string
func (*SimpleWithMap) GetFieldC ¶
func (m *SimpleWithMap) GetFieldC() map[string]string
func (*SimpleWithMap) GetFieldD ¶
func (m *SimpleWithMap) GetFieldD() *SimpleWithMap_Nested
func (*SimpleWithMap) Marshal ¶
func (m *SimpleWithMap) Marshal() (dAtA []byte, err error)
func (*SimpleWithMap) MarshalJSON ¶
func (this *SimpleWithMap) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for SimpleWithMap
func (*SimpleWithMap) MarshalToSizedBuffer ¶
func (m *SimpleWithMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimpleWithMap) ProtoMessage ¶
func (*SimpleWithMap) ProtoMessage()
func (*SimpleWithMap) Reset ¶
func (m *SimpleWithMap) Reset()
func (*SimpleWithMap) Size ¶
func (m *SimpleWithMap) Size() (n int)
func (*SimpleWithMap) String ¶
func (m *SimpleWithMap) String() string
func (*SimpleWithMap) Unmarshal ¶
func (m *SimpleWithMap) Unmarshal(dAtA []byte) error
func (*SimpleWithMap) UnmarshalJSON ¶
func (this *SimpleWithMap) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for SimpleWithMap
func (*SimpleWithMap) XXX_DiscardUnknown ¶
func (m *SimpleWithMap) XXX_DiscardUnknown()
func (*SimpleWithMap) XXX_Marshal ¶
func (m *SimpleWithMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimpleWithMap) XXX_Merge ¶
func (m *SimpleWithMap) XXX_Merge(src proto.Message)
func (*SimpleWithMap) XXX_Size ¶
func (m *SimpleWithMap) XXX_Size() int
func (*SimpleWithMap) XXX_Unmarshal ¶
func (m *SimpleWithMap) XXX_Unmarshal(b []byte) error
type SimpleWithMap_Nested ¶
type SimpleWithMap_Nested struct { NestedFieldD map[string]string `` /* 165-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SimpleWithMap_Nested) Descriptor ¶
func (*SimpleWithMap_Nested) Descriptor() ([]byte, []int)
func (*SimpleWithMap_Nested) GetNestedFieldD ¶
func (m *SimpleWithMap_Nested) GetNestedFieldD() map[string]string
func (*SimpleWithMap_Nested) Marshal ¶
func (m *SimpleWithMap_Nested) Marshal() (dAtA []byte, err error)
func (*SimpleWithMap_Nested) MarshalJSON ¶
func (this *SimpleWithMap_Nested) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for SimpleWithMap_Nested
func (*SimpleWithMap_Nested) MarshalTo ¶
func (m *SimpleWithMap_Nested) MarshalTo(dAtA []byte) (int, error)
func (*SimpleWithMap_Nested) MarshalToSizedBuffer ¶
func (m *SimpleWithMap_Nested) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimpleWithMap_Nested) ProtoMessage ¶
func (*SimpleWithMap_Nested) ProtoMessage()
func (*SimpleWithMap_Nested) Reset ¶
func (m *SimpleWithMap_Nested) Reset()
func (*SimpleWithMap_Nested) Size ¶
func (m *SimpleWithMap_Nested) Size() (n int)
func (*SimpleWithMap_Nested) String ¶
func (m *SimpleWithMap_Nested) String() string
func (*SimpleWithMap_Nested) Unmarshal ¶
func (m *SimpleWithMap_Nested) Unmarshal(dAtA []byte) error
func (*SimpleWithMap_Nested) UnmarshalJSON ¶
func (this *SimpleWithMap_Nested) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for SimpleWithMap_Nested
func (*SimpleWithMap_Nested) XXX_DiscardUnknown ¶
func (m *SimpleWithMap_Nested) XXX_DiscardUnknown()
func (*SimpleWithMap_Nested) XXX_Marshal ¶
func (m *SimpleWithMap_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimpleWithMap_Nested) XXX_Merge ¶
func (m *SimpleWithMap_Nested) XXX_Merge(src proto.Message)
func (*SimpleWithMap_Nested) XXX_Size ¶
func (m *SimpleWithMap_Nested) XXX_Size() int
func (*SimpleWithMap_Nested) XXX_Unmarshal ¶
func (m *SimpleWithMap_Nested) XXX_Unmarshal(b []byte) error
type Simple_Name ¶
type Simple_Name struct {
Name string `protobuf:"bytes,3,opt,name=name,proto3,oneof"`
}
func (*Simple_Name) MarshalToSizedBuffer ¶
func (m *Simple_Name) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Simple_Name) Size ¶
func (m *Simple_Name) Size() (n int)
type Simple_Number ¶
type Simple_Number struct {
Number uint32 `protobuf:"varint,4,opt,name=number,proto3,oneof"`
}
func (*Simple_Number) MarshalToSizedBuffer ¶
func (m *Simple_Number) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Simple_Number) Size ¶
func (m *Simple_Number) Size() (n int)