package gofeaturespb
import "google.golang.org/protobuf/types/gofeaturespb"
Index ¶
- Variables
- type GoFeatures
- func (*GoFeatures) Descriptor() ([]byte, []int)
- func (x *GoFeatures) GetLegacyUnmarshalJsonEnum() bool
- func (x *GoFeatures) GetStripEnumPrefix() GoFeatures_StripEnumPrefix
- func (*GoFeatures) ProtoMessage()
- func (x *GoFeatures) ProtoReflect() protoreflect.Message
- func (x *GoFeatures) Reset()
- func (x *GoFeatures) String() string
- type GoFeatures_StripEnumPrefix
- func (GoFeatures_StripEnumPrefix) Descriptor() protoreflect.EnumDescriptor
- func (x GoFeatures_StripEnumPrefix) Enum() *GoFeatures_StripEnumPrefix
- func (GoFeatures_StripEnumPrefix) EnumDescriptor() ([]byte, []int)
- func (x GoFeatures_StripEnumPrefix) Number() protoreflect.EnumNumber
- func (x GoFeatures_StripEnumPrefix) String() string
- func (GoFeatures_StripEnumPrefix) Type() protoreflect.EnumType
- func (x *GoFeatures_StripEnumPrefix) UnmarshalJSON(b []byte) error
Variables ¶
var ( GoFeatures_StripEnumPrefix_name = map[int32]string{ 0: "STRIP_ENUM_PREFIX_UNSPECIFIED", 1: "STRIP_ENUM_PREFIX_KEEP", 2: "STRIP_ENUM_PREFIX_GENERATE_BOTH", 3: "STRIP_ENUM_PREFIX_STRIP", } GoFeatures_StripEnumPrefix_value = map[string]int32{ "STRIP_ENUM_PREFIX_UNSPECIFIED": 0, "STRIP_ENUM_PREFIX_KEEP": 1, "STRIP_ENUM_PREFIX_GENERATE_BOTH": 2, "STRIP_ENUM_PREFIX_STRIP": 3, } )
Enum value maps for GoFeatures_StripEnumPrefix.
var ( // optional pb.GoFeatures go = 1002; E_Go = &file_google_protobuf_go_features_proto_extTypes[0] )
Extension fields to descriptorpb.FeatureSet.
var File_google_protobuf_go_features_proto protoreflect.FileDescriptor
Types ¶
type GoFeatures ¶
type GoFeatures struct { // Whether or not to generate the deprecated UnmarshalJSON method for enums. LegacyUnmarshalJsonEnum *bool `protobuf:"varint,1,opt,name=legacy_unmarshal_json_enum,json=legacyUnmarshalJsonEnum" json:"legacy_unmarshal_json_enum,omitempty"` StripEnumPrefix *GoFeatures_StripEnumPrefix `protobuf:"varint,3,opt,name=strip_enum_prefix,json=stripEnumPrefix,enum=pb.GoFeatures_StripEnumPrefix" json:"strip_enum_prefix,omitempty"` // contains filtered or unexported fields }
func (*GoFeatures) Descriptor ¶
func (*GoFeatures) Descriptor() ([]byte, []int)
Deprecated: Use GoFeatures.ProtoReflect.Descriptor instead.
func (*GoFeatures) GetLegacyUnmarshalJsonEnum ¶
func (x *GoFeatures) GetLegacyUnmarshalJsonEnum() bool
func (*GoFeatures) GetStripEnumPrefix ¶
func (x *GoFeatures) GetStripEnumPrefix() GoFeatures_StripEnumPrefix
func (*GoFeatures) ProtoMessage ¶
func (*GoFeatures) ProtoMessage()
func (*GoFeatures) ProtoReflect ¶
func (x *GoFeatures) ProtoReflect() protoreflect.Message
func (*GoFeatures) Reset ¶
func (x *GoFeatures) Reset()
func (*GoFeatures) String ¶
func (x *GoFeatures) String() string
type GoFeatures_StripEnumPrefix ¶
type GoFeatures_StripEnumPrefix int32
const ( GoFeatures_STRIP_ENUM_PREFIX_UNSPECIFIED GoFeatures_StripEnumPrefix = 0 GoFeatures_STRIP_ENUM_PREFIX_KEEP GoFeatures_StripEnumPrefix = 1 GoFeatures_STRIP_ENUM_PREFIX_GENERATE_BOTH GoFeatures_StripEnumPrefix = 2 GoFeatures_STRIP_ENUM_PREFIX_STRIP GoFeatures_StripEnumPrefix = 3 )
func (GoFeatures_StripEnumPrefix) Descriptor ¶
func (GoFeatures_StripEnumPrefix) Descriptor() protoreflect.EnumDescriptor
func (GoFeatures_StripEnumPrefix) Enum ¶
func (x GoFeatures_StripEnumPrefix) Enum() *GoFeatures_StripEnumPrefix
func (GoFeatures_StripEnumPrefix) EnumDescriptor ¶
func (GoFeatures_StripEnumPrefix) EnumDescriptor() ([]byte, []int)
Deprecated: Use GoFeatures_StripEnumPrefix.Descriptor instead.
func (GoFeatures_StripEnumPrefix) Number ¶
func (x GoFeatures_StripEnumPrefix) Number() protoreflect.EnumNumber
func (GoFeatures_StripEnumPrefix) String ¶
func (x GoFeatures_StripEnumPrefix) String() string
func (GoFeatures_StripEnumPrefix) Type ¶
func (GoFeatures_StripEnumPrefix) Type() protoreflect.EnumType
func (*GoFeatures_StripEnumPrefix) UnmarshalJSON ¶
func (x *GoFeatures_StripEnumPrefix) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Source Files ¶
go_features.pb.go
- Version
- v1.35.2
- Published
- Nov 14, 2024
- Platform
- darwin/amd64
- Imports
- 5 packages
- Last checked
- 23 hours ago –
Tools for package owners.