Enum value maps for AnnotationsTestEnum.
var (
AnnotationsTestEnum_name = map[int32]string{
0: "ANNOTATIONS_TEST_ENUM_VALUE",
}
AnnotationsTestEnum_value = map[string]int32{
"ANNOTATIONS_TEST_ENUM_VALUE": 0,
}
)
var File_cmd_protoc_gen_go_testdata_annotations_annotations_proto protoreflect.FileDescriptor
type AnnotationsTestEnum int32
const (
AnnotationsTestEnum_ANNOTATIONS_TEST_ENUM_VALUE AnnotationsTestEnum = 0
)
func (AnnotationsTestEnum) Descriptor() protoreflect.EnumDescriptor
func (x AnnotationsTestEnum) Enum() *AnnotationsTestEnum
func (AnnotationsTestEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnnotationsTestEnum.Descriptor instead.
func (x AnnotationsTestEnum) Number() protoreflect.EnumNumber
func (x AnnotationsTestEnum) String() string
func (AnnotationsTestEnum) Type() protoreflect.EnumType
func (x *AnnotationsTestEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type AnnotationsTestMessage struct {
AnnotationsTestField *string `protobuf:"bytes,1,opt,name=AnnotationsTestField" json:"AnnotationsTestField,omitempty"`
XXX_weak_M struct{} `protobuf:"bytes,2,opt,name=m,weak=fmt.M" json:"m,omitempty"`
// contains filtered or unexported fields
}
func (*AnnotationsTestMessage) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationsTestMessage.ProtoReflect.Descriptor instead.
func (x *AnnotationsTestMessage) GetAnnotationsTestField() string
func (x *AnnotationsTestMessage) GetM() proto.Message
func (*AnnotationsTestMessage) ProtoMessage()
func (x *AnnotationsTestMessage) ProtoReflect() protoreflect.Message
func (x *AnnotationsTestMessage) Reset()
func (x *AnnotationsTestMessage) SetM(v proto.Message)
func (x *AnnotationsTestMessage) String() string