flags

package
v1.509.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use FlagInfo.ProtoReflect.Descriptor instead.

func (*FlagInfo) GetAbbreviation

func (x *FlagInfo) GetAbbreviation() string

func (*FlagInfo) GetAllowsMultiple

func (x *FlagInfo) GetAllowsMultiple() bool

func (*FlagInfo) GetCommands

func (x *FlagInfo) GetCommands() []string

func (*FlagInfo) GetDocumentation

func (x *FlagInfo) GetDocumentation() string

func (*FlagInfo) GetDocumentationCategory added in v1.509.25

func (x *FlagInfo) GetDocumentationCategory() string

func (*FlagInfo) GetEffectTags added in v1.509.25

func (x *FlagInfo) GetEffectTags() []string

func (*FlagInfo) GetHasNegativeFlag

func (x *FlagInfo) GetHasNegativeFlag() bool

func (*FlagInfo) GetMetadataTags added in v1.509.25

func (x *FlagInfo) GetMetadataTags() []string

func (*FlagInfo) GetName

func (x *FlagInfo) GetName() string

func (*FlagInfo) GetRequiresValue added in v1.509.25

func (x *FlagInfo) GetRequiresValue() bool

func (*FlagInfo) ProtoMessage

func (*FlagInfo) ProtoMessage()

func (*FlagInfo) ProtoReflect

func (x *FlagInfo) ProtoReflect() protoreflect.Message

func (*FlagInfo) Reset

func (x *FlagInfo) Reset()

func (*FlagInfo) String

func (x *FlagInfo) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL