MCPcopy
hub / github.com/protocolbuffers/protobuf-go / EnumValueDescriptorProto

Struct EnumValueDescriptorProto

types/descriptorpb/descriptor.pb.go:2142–2149  ·  view source on GitHub ↗

Describes a value within an enum.

Source from the content-addressed store, hash-verified

2140
2141// Describes a value within an enum.
2142type EnumValueDescriptorProto struct {
2143 state protoimpl.MessageState `protogen:"open.v1"`
2144 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
2145 Number *int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"`
2146 Options *EnumValueOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
2147 unknownFields protoimpl.UnknownFields
2148 sizeCache protoimpl.SizeCache
2149}
2150
2151func (x *EnumValueDescriptorProto) Reset() {
2152 *x = EnumValueDescriptorProto{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected