 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- type FOO
- func (FOO) Descriptor() protoreflect.EnumDescriptor
- func (x FOO) Enum() *FOO
- func (FOO) EnumDescriptor() ([]byte, []int)deprecated
- func (t FOO) Equal(target FOO) bool
- func (t FOO) IsIn(targets ...FOO) bool
- func (t FOO) MarshalJSON() ([]byte, error)
- func (x FOO) Number() protoreflect.EnumNumber
- func (x FOO) String() string
- func (FOO) Type() protoreflect.EnumType
- func (t *FOO) UnmarshalJSON(b []byte) error
 
- type Test
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var ( FOO_name = map[int32]string{ 0: "X", } FOO_value = map[string]int32{ "X": 0, } )
Enum value maps for FOO.
      View Source
      
  
var File_mcube_pb_example_test_proto protoreflect.FileDescriptor
    Functions ¶
This section is empty.
Types ¶
type FOO ¶
type FOO int32
const (
	FOO_X FOO = 0
)
    func ParseFOOFromString ¶
ParseFOOFromString Parse FOO from string
func (FOO) Descriptor ¶
func (FOO) Descriptor() protoreflect.EnumDescriptor
        
          
            func (FOO) EnumDescriptor
            deprecated
            
          
  
    
  
      
      
    func (FOO) Number ¶
func (x FOO) Number() protoreflect.EnumNumber
func (FOO) Type ¶
func (FOO) Type() protoreflect.EnumType
type Test ¶
type Test struct {
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Type  int32  `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	Reps  int64  `protobuf:"varint,3,opt,name=reps,proto3" json:"reps,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Test) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
 Click to show internal directories. 
   Click to hide internal directories.