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) GetHasNegativeFlag() bool
- func (x *FlagInfo) GetName() string
- 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"` // contains filtered or unexported fields }
func (*FlagInfo) Descriptor
deprecated
func (*FlagInfo) GetAbbreviation ¶
func (*FlagInfo) GetAllowsMultiple ¶
func (*FlagInfo) GetCommands ¶
func (*FlagInfo) GetDocumentation ¶
func (*FlagInfo) GetHasNegativeFlag ¶
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.