Documentation
¶
Index ¶
- Variables
- type CustomType
- func (*CustomType) Descriptor() ([]byte, []int)deprecated
- func (x *CustomType) GetEnabled() bool
- func (x *CustomType) GetName() string
- func (x *CustomType) GetValue() int32
- func (*CustomType) ProtoMessage()
- func (x *CustomType) ProtoReflect() protoreflect.Message
- func (x *CustomType) Reset()
- func (x *CustomType) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tests_types_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CustomType ¶
type CustomType struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
CustomType represents a custom type for testing
func (*CustomType) Descriptor
deprecated
func (*CustomType) Descriptor() ([]byte, []int)
Deprecated: Use CustomType.ProtoReflect.Descriptor instead.
func (*CustomType) GetEnabled ¶
func (x *CustomType) GetEnabled() bool
func (*CustomType) GetName ¶
func (x *CustomType) GetName() string
func (*CustomType) GetValue ¶
func (x *CustomType) GetValue() int32
func (*CustomType) ProtoMessage ¶
func (*CustomType) ProtoMessage()
func (*CustomType) ProtoReflect ¶
func (x *CustomType) ProtoReflect() protoreflect.Message
func (*CustomType) Reset ¶
func (x *CustomType) Reset()
func (*CustomType) String ¶
func (x *CustomType) String() string
Click to show internal directories.
Click to hide internal directories.