Documentation ¶
Index ¶
- Variables
- type NidOptEnum
- func (*NidOptEnum) Descriptor() ([]byte, []int)
- func (this *NidOptEnum) Equal(that interface{}) bool
- func (m *NidOptEnum) GetField1() TheTestEnum
- func (*NidOptEnum) ProtoMessage()
- func (m *NidOptEnum) Reset()
- func (m *NidOptEnum) String() string
- func (this *NidOptEnum) VerboseEqual(that interface{}) error
- func (m *NidOptEnum) XXX_DiscardUnknown()
- func (m *NidOptEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NidOptEnum) XXX_Merge(src proto.Message)
- func (m *NidOptEnum) XXX_Size() int
- func (m *NidOptEnum) XXX_Unmarshal(b []byte) error
- type NidRepEnum
- func (*NidRepEnum) Descriptor() ([]byte, []int)
- func (this *NidRepEnum) Equal(that interface{}) bool
- func (m *NidRepEnum) GetField1() []TheTestEnum
- func (*NidRepEnum) ProtoMessage()
- func (m *NidRepEnum) Reset()
- func (m *NidRepEnum) String() string
- func (this *NidRepEnum) VerboseEqual(that interface{}) error
- func (m *NidRepEnum) XXX_DiscardUnknown()
- func (m *NidRepEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NidRepEnum) XXX_Merge(src proto.Message)
- func (m *NidRepEnum) XXX_Size() int
- func (m *NidRepEnum) XXX_Unmarshal(b []byte) error
- type NinOptEnum
- func (*NinOptEnum) Descriptor() ([]byte, []int)
- func (this *NinOptEnum) Equal(that interface{}) bool
- func (m *NinOptEnum) GetField1() TheTestEnum
- func (*NinOptEnum) ProtoMessage()
- func (m *NinOptEnum) Reset()
- func (m *NinOptEnum) String() string
- func (this *NinOptEnum) VerboseEqual(that interface{}) error
- func (m *NinOptEnum) XXX_DiscardUnknown()
- func (m *NinOptEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NinOptEnum) XXX_Merge(src proto.Message)
- func (m *NinOptEnum) XXX_Size() int
- func (m *NinOptEnum) XXX_Unmarshal(b []byte) error
- type NinRepEnum
- func (*NinRepEnum) Descriptor() ([]byte, []int)
- func (this *NinRepEnum) Equal(that interface{}) bool
- func (m *NinRepEnum) GetField1() []TheTestEnum
- func (*NinRepEnum) ProtoMessage()
- func (m *NinRepEnum) Reset()
- func (m *NinRepEnum) String() string
- func (this *NinRepEnum) VerboseEqual(that interface{}) error
- func (m *NinRepEnum) XXX_DiscardUnknown()
- func (m *NinRepEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NinRepEnum) XXX_Merge(src proto.Message)
- func (m *NinRepEnum) XXX_Size() int
- func (m *NinRepEnum) XXX_Unmarshal(b []byte) error
- type TheTestEnum
Constants ¶
This section is empty.
Variables ¶
View Source
var TheTestEnum_name = map[int32]string{
0: "A",
1: "B",
2: "C",
}
View Source
var TheTestEnum_value = map[string]int32{
"A": 0,
"B": 1,
"C": 2,
}
Functions ¶
This section is empty.
Types ¶
type NidOptEnum ¶
type NidOptEnum struct { Field1 TheTestEnum `protobuf:"varint,1,opt,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedNidOptEnum ¶
func NewPopulatedNidOptEnum(r randyEnumstringer, easy bool) *NidOptEnum
func (*NidOptEnum) Descriptor ¶
func (*NidOptEnum) Descriptor() ([]byte, []int)
func (*NidOptEnum) Equal ¶
func (this *NidOptEnum) Equal(that interface{}) bool
func (*NidOptEnum) GetField1 ¶
func (m *NidOptEnum) GetField1() TheTestEnum
func (*NidOptEnum) ProtoMessage ¶
func (*NidOptEnum) ProtoMessage()
func (*NidOptEnum) Reset ¶
func (m *NidOptEnum) Reset()
func (*NidOptEnum) String ¶
func (m *NidOptEnum) String() string
func (*NidOptEnum) VerboseEqual ¶
func (this *NidOptEnum) VerboseEqual(that interface{}) error
func (*NidOptEnum) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *NidOptEnum) XXX_DiscardUnknown()
func (*NidOptEnum) XXX_Marshal ¶ added in v1.1.0
func (m *NidOptEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NidOptEnum) XXX_Merge ¶ added in v1.1.0
func (dst *NidOptEnum) XXX_Merge(src proto.Message)
func (*NidOptEnum) XXX_Size ¶ added in v1.1.0
func (m *NidOptEnum) XXX_Size() int
func (*NidOptEnum) XXX_Unmarshal ¶ added in v1.1.0
func (m *NidOptEnum) XXX_Unmarshal(b []byte) error
type NidRepEnum ¶
type NidRepEnum struct { Field1 []TheTestEnum `protobuf:"varint,1,rep,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedNidRepEnum ¶
func NewPopulatedNidRepEnum(r randyEnumstringer, easy bool) *NidRepEnum
func (*NidRepEnum) Descriptor ¶
func (*NidRepEnum) Descriptor() ([]byte, []int)
func (*NidRepEnum) Equal ¶
func (this *NidRepEnum) Equal(that interface{}) bool
func (*NidRepEnum) GetField1 ¶
func (m *NidRepEnum) GetField1() []TheTestEnum
func (*NidRepEnum) ProtoMessage ¶
func (*NidRepEnum) ProtoMessage()
func (*NidRepEnum) Reset ¶
func (m *NidRepEnum) Reset()
func (*NidRepEnum) String ¶
func (m *NidRepEnum) String() string
func (*NidRepEnum) VerboseEqual ¶
func (this *NidRepEnum) VerboseEqual(that interface{}) error
func (*NidRepEnum) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *NidRepEnum) XXX_DiscardUnknown()
func (*NidRepEnum) XXX_Marshal ¶ added in v1.1.0
func (m *NidRepEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NidRepEnum) XXX_Merge ¶ added in v1.1.0
func (dst *NidRepEnum) XXX_Merge(src proto.Message)
func (*NidRepEnum) XXX_Size ¶ added in v1.1.0
func (m *NidRepEnum) XXX_Size() int
func (*NidRepEnum) XXX_Unmarshal ¶ added in v1.1.0
func (m *NidRepEnum) XXX_Unmarshal(b []byte) error
type NinOptEnum ¶
type NinOptEnum struct { Field1 *TheTestEnum `protobuf:"varint,1,opt,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedNinOptEnum ¶
func NewPopulatedNinOptEnum(r randyEnumstringer, easy bool) *NinOptEnum
func (*NinOptEnum) Descriptor ¶
func (*NinOptEnum) Descriptor() ([]byte, []int)
func (*NinOptEnum) Equal ¶
func (this *NinOptEnum) Equal(that interface{}) bool
func (*NinOptEnum) GetField1 ¶
func (m *NinOptEnum) GetField1() TheTestEnum
func (*NinOptEnum) ProtoMessage ¶
func (*NinOptEnum) ProtoMessage()
func (*NinOptEnum) Reset ¶
func (m *NinOptEnum) Reset()
func (*NinOptEnum) String ¶
func (m *NinOptEnum) String() string
func (*NinOptEnum) VerboseEqual ¶
func (this *NinOptEnum) VerboseEqual(that interface{}) error
func (*NinOptEnum) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *NinOptEnum) XXX_DiscardUnknown()
func (*NinOptEnum) XXX_Marshal ¶ added in v1.1.0
func (m *NinOptEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NinOptEnum) XXX_Merge ¶ added in v1.1.0
func (dst *NinOptEnum) XXX_Merge(src proto.Message)
func (*NinOptEnum) XXX_Size ¶ added in v1.1.0
func (m *NinOptEnum) XXX_Size() int
func (*NinOptEnum) XXX_Unmarshal ¶ added in v1.1.0
func (m *NinOptEnum) XXX_Unmarshal(b []byte) error
type NinRepEnum ¶
type NinRepEnum struct { Field1 []TheTestEnum `protobuf:"varint,1,rep,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedNinRepEnum ¶
func NewPopulatedNinRepEnum(r randyEnumstringer, easy bool) *NinRepEnum
func (*NinRepEnum) Descriptor ¶
func (*NinRepEnum) Descriptor() ([]byte, []int)
func (*NinRepEnum) Equal ¶
func (this *NinRepEnum) Equal(that interface{}) bool
func (*NinRepEnum) GetField1 ¶
func (m *NinRepEnum) GetField1() []TheTestEnum
func (*NinRepEnum) ProtoMessage ¶
func (*NinRepEnum) ProtoMessage()
func (*NinRepEnum) Reset ¶
func (m *NinRepEnum) Reset()
func (*NinRepEnum) String ¶
func (m *NinRepEnum) String() string
func (*NinRepEnum) VerboseEqual ¶
func (this *NinRepEnum) VerboseEqual(that interface{}) error
func (*NinRepEnum) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *NinRepEnum) XXX_DiscardUnknown()
func (*NinRepEnum) XXX_Marshal ¶ added in v1.1.0
func (m *NinRepEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NinRepEnum) XXX_Merge ¶ added in v1.1.0
func (dst *NinRepEnum) XXX_Merge(src proto.Message)
func (*NinRepEnum) XXX_Size ¶ added in v1.1.0
func (m *NinRepEnum) XXX_Size() int
func (*NinRepEnum) XXX_Unmarshal ¶ added in v1.1.0
func (m *NinRepEnum) XXX_Unmarshal(b []byte) error
type TheTestEnum ¶
type TheTestEnum int32
const ( TheTestEnum_A TheTestEnum = 0 TheTestEnum_B TheTestEnum = 1 TheTestEnum_C TheTestEnum = 2 )
func (TheTestEnum) Enum ¶
func (x TheTestEnum) Enum() *TheTestEnum
func (TheTestEnum) EnumDescriptor ¶
func (TheTestEnum) EnumDescriptor() ([]byte, []int)
func (TheTestEnum) MarshalJSON ¶
func (x TheTestEnum) MarshalJSON() ([]byte, error)
func (TheTestEnum) String ¶
func (this TheTestEnum) String() string
func (*TheTestEnum) UnmarshalJSON ¶
func (x *TheTestEnum) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.