Documentation ¶
Index ¶
- Constants
- Variables
- type FlagCollection
- type FlagInfo
- func (*FlagInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FlagInfo) GetAbbreviation() string
- func (x *FlagInfo) GetAllowsMultiple() bool
- func (x *FlagInfo) GetCommands() []string
- func (x *FlagInfo) GetDocumentation() string
- func (x *FlagInfo) GetDocumentationCategory() string
- func (x *FlagInfo) GetEffectTags() []string
- func (x *FlagInfo) GetHasNegativeFlag() bool
- func (x *FlagInfo) GetMetadataTags() []string
- func (x *FlagInfo) GetName() string
- func (x *FlagInfo) GetRequiresValue() bool
- func (*FlagInfo) ProtoMessage()
- func (x *FlagInfo) ProtoReflect() protoreflect.Message
- func (x *FlagInfo) Reset()
- func (x *FlagInfo) String() string
Constants ¶
View Source
const ( Default_FlagInfo_HasNegativeFlag = bool(false) Default_FlagInfo_AllowsMultiple = bool(false) )
Default values for FlagInfo fields.
Variables ¶
View Source
var File_bazel_flags_flags_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FlagCollection ¶
type FlagCollection struct { FlagInfos []*FlagInfo `protobuf:"bytes,1,rep,name=flag_infos,json=flagInfos" json:"flag_infos,omitempty"` // contains filtered or unexported fields }
func (*FlagCollection) Descriptor
deprecated
func (*FlagCollection) Descriptor() ([]byte, []int)
Deprecated: Use FlagCollection.ProtoReflect.Descriptor instead.
func (*FlagCollection) GetFlagInfos ¶
func (x *FlagCollection) GetFlagInfos() []*FlagInfo
func (*FlagCollection) ProtoMessage ¶
func (*FlagCollection) ProtoMessage()
func (*FlagCollection) ProtoReflect ¶
func (x *FlagCollection) ProtoReflect() protoreflect.Message
func (*FlagCollection) Reset ¶
func (x *FlagCollection) Reset()
func (*FlagCollection) String ¶
func (x *FlagCollection) String() string
type FlagInfo ¶
type FlagInfo struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` HasNegativeFlag *bool `protobuf:"varint,2,opt,name=has_negative_flag,json=hasNegativeFlag,def=0" json:"has_negative_flag,omitempty"` Documentation *string `protobuf:"bytes,3,opt,name=documentation" json:"documentation,omitempty"` Commands []string `protobuf:"bytes,4,rep,name=commands" json:"commands,omitempty"` Abbreviation *string `protobuf:"bytes,5,opt,name=abbreviation" json:"abbreviation,omitempty"` AllowsMultiple *bool `protobuf:"varint,6,opt,name=allows_multiple,json=allowsMultiple,def=0" json:"allows_multiple,omitempty"` EffectTags []string `protobuf:"bytes,7,rep,name=effect_tags,json=effectTags" json:"effect_tags,omitempty"` MetadataTags []string `protobuf:"bytes,8,rep,name=metadata_tags,json=metadataTags" json:"metadata_tags,omitempty"` DocumentationCategory *string `protobuf:"bytes,9,opt,name=documentation_category,json=documentationCategory" json:"documentation_category,omitempty"` RequiresValue *bool `protobuf:"varint,10,opt,name=requires_value,json=requiresValue" json:"requires_value,omitempty"` // contains filtered or unexported fields }
func (*FlagInfo) Descriptor
deprecated
func (*FlagInfo) GetAbbreviation ¶
func (*FlagInfo) GetAllowsMultiple ¶
func (*FlagInfo) GetCommands ¶
func (*FlagInfo) GetDocumentation ¶
func (*FlagInfo) GetDocumentationCategory ¶ added in v1.509.25
func (*FlagInfo) GetEffectTags ¶ added in v1.509.25
func (*FlagInfo) GetHasNegativeFlag ¶
func (*FlagInfo) GetMetadataTags ¶ added in v1.509.25
func (*FlagInfo) GetRequiresValue ¶ added in v1.509.25
func (*FlagInfo) ProtoMessage ¶
func (*FlagInfo) ProtoMessage()
func (*FlagInfo) ProtoReflect ¶
func (x *FlagInfo) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.