Documentation
¶
Index ¶
- Constants
- Variables
- type BoolFlag
- func (*BoolFlag) Descriptor() ([]byte, []int)deprecated
- func (x *BoolFlag) GetDefault() bool
- func (x *BoolFlag) GetDeprecated() bool
- func (x *BoolFlag) GetDeprecatedUsage() string
- func (x *BoolFlag) GetDisabled() bool
- func (x *BoolFlag) GetHidden() bool
- func (x *BoolFlag) GetName() string
- func (x *BoolFlag) GetShort() string
- func (x *BoolFlag) GetUsage() string
- func (*BoolFlag) ProtoMessage()
- func (x *BoolFlag) ProtoReflect() protoreflect.Message
- func (x *BoolFlag) Reset()
- func (x *BoolFlag) String() string
- type BytesEncodingType
- func (BytesEncodingType) Descriptor() protoreflect.EnumDescriptor
- func (x BytesEncodingType) Enum() *BytesEncodingType
- func (BytesEncodingType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BytesEncodingType) Number() protoreflect.EnumNumber
- func (x BytesEncodingType) String() string
- func (BytesEncodingType) Type() protoreflect.EnumType
- type BytesFlag
- func (*BytesFlag) Descriptor() ([]byte, []int)deprecated
- func (x *BytesFlag) GetDefault() []byte
- func (x *BytesFlag) GetDeprecated() bool
- func (x *BytesFlag) GetDeprecatedUsage() string
- func (x *BytesFlag) GetDisabled() bool
- func (x *BytesFlag) GetEncoding() BytesEncodingType
- func (x *BytesFlag) GetHidden() bool
- func (x *BytesFlag) GetName() string
- func (x *BytesFlag) GetShort() string
- func (x *BytesFlag) GetUsage() string
- func (*BytesFlag) ProtoMessage()
- func (x *BytesFlag) ProtoReflect() protoreflect.Message
- func (x *BytesFlag) Reset()
- func (x *BytesFlag) String() string
- type Defaulter
- type DoubleFlag
- func (*DoubleFlag) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleFlag) GetDefault() float64
- func (x *DoubleFlag) GetDeprecated() bool
- func (x *DoubleFlag) GetDeprecatedUsage() string
- func (x *DoubleFlag) GetDisabled() bool
- func (x *DoubleFlag) GetHidden() bool
- func (x *DoubleFlag) GetName() string
- func (x *DoubleFlag) GetShort() string
- func (x *DoubleFlag) GetUsage() string
- func (*DoubleFlag) ProtoMessage()
- func (x *DoubleFlag) ProtoReflect() protoreflect.Message
- func (x *DoubleFlag) Reset()
- func (x *DoubleFlag) String() string
- type DurationFlag
- func (*DurationFlag) Descriptor() ([]byte, []int)deprecated
- func (x *DurationFlag) GetDefault() string
- func (x *DurationFlag) GetDeprecated() bool
- func (x *DurationFlag) GetDeprecatedUsage() string
- func (x *DurationFlag) GetDisabled() bool
- func (x *DurationFlag) GetHidden() bool
- func (x *DurationFlag) GetName() string
- func (x *DurationFlag) GetShort() string
- func (x *DurationFlag) GetUsage() string
- func (*DurationFlag) ProtoMessage()
- func (x *DurationFlag) ProtoReflect() protoreflect.Message
- func (x *DurationFlag) Reset()
- func (x *DurationFlag) String() string
- type EnumFlag
- func (*EnumFlag) Descriptor() ([]byte, []int)deprecated
- func (x *EnumFlag) GetDefault() int32
- func (x *EnumFlag) GetDeprecated() bool
- func (x *EnumFlag) GetDeprecatedUsage() string
- func (x *EnumFlag) GetDisabled() bool
- func (x *EnumFlag) GetHidden() bool
- func (x *EnumFlag) GetName() string
- func (x *EnumFlag) GetShort() string
- func (x *EnumFlag) GetUsage() string
- func (*EnumFlag) ProtoMessage()
- func (x *EnumFlag) ProtoReflect() protoreflect.Message
- func (x *EnumFlag) Reset()
- func (x *EnumFlag) String() string
- type FieldFlags
- func (*FieldFlags) Descriptor() ([]byte, []int)deprecated
- func (x *FieldFlags) GetBool() *BoolFlag
- func (x *FieldFlags) GetBytes() *BytesFlag
- func (x *FieldFlags) GetDouble() *DoubleFlag
- func (x *FieldFlags) GetDuration() *DurationFlag
- func (x *FieldFlags) GetEnum() *EnumFlag
- func (x *FieldFlags) GetFixed32() *Fixed32Flag
- func (x *FieldFlags) GetFixed64() *Fixed64Flag
- func (x *FieldFlags) GetFloat() *FloatFlag
- func (x *FieldFlags) GetInt32() *Int32Flag
- func (x *FieldFlags) GetInt64() *Int64Flag
- func (x *FieldFlags) GetMap() *MapFlag
- func (x *FieldFlags) GetMessage() *MessageFlag
- func (x *FieldFlags) GetRepeated() *RepeatedFlags
- func (x *FieldFlags) GetSfixed32() *Sfixed32Flag
- func (x *FieldFlags) GetSfixed64() *Sfixed64Flag
- func (x *FieldFlags) GetSint32() *Sint32Flag
- func (x *FieldFlags) GetSint64() *Sint64Flag
- func (x *FieldFlags) GetString_() *StringFlag
- func (x *FieldFlags) GetTimestamp() *TimestampFlag
- func (m *FieldFlags) GetType() isFieldFlags_Type
- func (x *FieldFlags) GetUint32() *Uint32Flag
- func (x *FieldFlags) GetUint64() *Uint64Flag
- func (*FieldFlags) ProtoMessage()
- func (x *FieldFlags) ProtoReflect() protoreflect.Message
- func (x *FieldFlags) Reset()
- func (x *FieldFlags) String() string
- type FieldFlags_Bool
- type FieldFlags_Bytes
- type FieldFlags_Double
- type FieldFlags_Duration
- type FieldFlags_Enum
- type FieldFlags_Fixed32
- type FieldFlags_Fixed64
- type FieldFlags_Float
- type FieldFlags_Int32
- type FieldFlags_Int64
- type FieldFlags_Map
- type FieldFlags_Message
- type FieldFlags_Repeated
- type FieldFlags_Sfixed32
- type FieldFlags_Sfixed64
- type FieldFlags_Sint32
- type FieldFlags_Sint64
- type FieldFlags_String_
- type FieldFlags_Timestamp
- type FieldFlags_Uint32
- type FieldFlags_Uint64
- type Fixed32Flag
- func (*Fixed32Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Fixed32Flag) GetDefault() uint32
- func (x *Fixed32Flag) GetDeprecated() bool
- func (x *Fixed32Flag) GetDeprecatedUsage() string
- func (x *Fixed32Flag) GetDisabled() bool
- func (x *Fixed32Flag) GetHidden() bool
- func (x *Fixed32Flag) GetName() string
- func (x *Fixed32Flag) GetShort() string
- func (x *Fixed32Flag) GetUsage() string
- func (*Fixed32Flag) ProtoMessage()
- func (x *Fixed32Flag) ProtoReflect() protoreflect.Message
- func (x *Fixed32Flag) Reset()
- func (x *Fixed32Flag) String() string
- type Fixed64Flag
- func (*Fixed64Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Fixed64Flag) GetDefault() uint64
- func (x *Fixed64Flag) GetDeprecated() bool
- func (x *Fixed64Flag) GetDeprecatedUsage() string
- func (x *Fixed64Flag) GetDisabled() bool
- func (x *Fixed64Flag) GetHidden() bool
- func (x *Fixed64Flag) GetName() string
- func (x *Fixed64Flag) GetShort() string
- func (x *Fixed64Flag) GetUsage() string
- func (*Fixed64Flag) ProtoMessage()
- func (x *Fixed64Flag) ProtoReflect() protoreflect.Message
- func (x *Fixed64Flag) Reset()
- func (x *Fixed64Flag) String() string
- type Flagger
- type FloatFlag
- func (*FloatFlag) Descriptor() ([]byte, []int)deprecated
- func (x *FloatFlag) GetDefault() float32
- func (x *FloatFlag) GetDeprecated() bool
- func (x *FloatFlag) GetDeprecatedUsage() string
- func (x *FloatFlag) GetDisabled() bool
- func (x *FloatFlag) GetHidden() bool
- func (x *FloatFlag) GetName() string
- func (x *FloatFlag) GetShort() string
- func (x *FloatFlag) GetUsage() string
- func (*FloatFlag) ProtoMessage()
- func (x *FloatFlag) ProtoReflect() protoreflect.Message
- func (x *FloatFlag) Reset()
- func (x *FloatFlag) String() string
- type Int32Flag
- func (*Int32Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Int32Flag) GetDefault() int32
- func (x *Int32Flag) GetDeprecated() bool
- func (x *Int32Flag) GetDeprecatedUsage() string
- func (x *Int32Flag) GetDisabled() bool
- func (x *Int32Flag) GetHidden() bool
- func (x *Int32Flag) GetName() string
- func (x *Int32Flag) GetShort() string
- func (x *Int32Flag) GetUsage() string
- func (*Int32Flag) ProtoMessage()
- func (x *Int32Flag) ProtoReflect() protoreflect.Message
- func (x *Int32Flag) Reset()
- func (x *Int32Flag) String() string
- type Int64Flag
- func (*Int64Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Int64Flag) GetDefault() int64
- func (x *Int64Flag) GetDeprecated() bool
- func (x *Int64Flag) GetDeprecatedUsage() string
- func (x *Int64Flag) GetDisabled() bool
- func (x *Int64Flag) GetHidden() bool
- func (x *Int64Flag) GetName() string
- func (x *Int64Flag) GetShort() string
- func (x *Int64Flag) GetUsage() string
- func (*Int64Flag) ProtoMessage()
- func (x *Int64Flag) ProtoReflect() protoreflect.Message
- func (x *Int64Flag) Reset()
- func (x *Int64Flag) String() string
- type MapFlag
- func (*MapFlag) Descriptor() ([]byte, []int)deprecated
- func (x *MapFlag) GetDefault() string
- func (x *MapFlag) GetDeprecated() bool
- func (x *MapFlag) GetDeprecatedUsage() string
- func (x *MapFlag) GetDisabled() bool
- func (x *MapFlag) GetFormat() MapFormatType
- func (x *MapFlag) GetHidden() bool
- func (x *MapFlag) GetName() string
- func (x *MapFlag) GetShort() string
- func (x *MapFlag) GetUsage() string
- func (*MapFlag) ProtoMessage()
- func (x *MapFlag) ProtoReflect() protoreflect.Message
- func (x *MapFlag) Reset()
- func (x *MapFlag) String() string
- type MapFormatType
- func (MapFormatType) Descriptor() protoreflect.EnumDescriptor
- func (x MapFormatType) Enum() *MapFormatType
- func (MapFormatType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MapFormatType) Number() protoreflect.EnumNumber
- func (x MapFormatType) String() string
- func (MapFormatType) Type() protoreflect.EnumType
- type MessageFlag
- type NameBuilder
- type Option
- type Options
- type PrimitiveFlag
- func (*PrimitiveFlag) Descriptor() ([]byte, []int)deprecated
- func (x *PrimitiveFlag) GetDeprecated() bool
- func (x *PrimitiveFlag) GetDeprecatedUsage() string
- func (x *PrimitiveFlag) GetDisabled() bool
- func (x *PrimitiveFlag) GetHidden() bool
- func (x *PrimitiveFlag) GetName() string
- func (x *PrimitiveFlag) GetShort() string
- func (x *PrimitiveFlag) GetUsage() string
- func (*PrimitiveFlag) ProtoMessage()
- func (x *PrimitiveFlag) ProtoReflect() protoreflect.Message
- func (x *PrimitiveFlag) Reset()
- func (x *PrimitiveFlag) String() string
- type Renamer
- type RepeatedBoolFlag
- func (*RepeatedBoolFlag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedBoolFlag) GetDefault() []bool
- func (x *RepeatedBoolFlag) GetDeprecated() bool
- func (x *RepeatedBoolFlag) GetDeprecatedUsage() string
- func (x *RepeatedBoolFlag) GetDisabled() bool
- func (x *RepeatedBoolFlag) GetHidden() bool
- func (x *RepeatedBoolFlag) GetName() string
- func (x *RepeatedBoolFlag) GetShort() string
- func (x *RepeatedBoolFlag) GetUsage() string
- func (*RepeatedBoolFlag) ProtoMessage()
- func (x *RepeatedBoolFlag) ProtoReflect() protoreflect.Message
- func (x *RepeatedBoolFlag) Reset()
- func (x *RepeatedBoolFlag) String() string
- type RepeatedBytesFlag
- func (*RepeatedBytesFlag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedBytesFlag) GetDefault() [][]byte
- func (x *RepeatedBytesFlag) GetDeprecated() bool
- func (x *RepeatedBytesFlag) GetDeprecatedUsage() string
- func (x *RepeatedBytesFlag) GetDisabled() bool
- func (x *RepeatedBytesFlag) GetEncoding() BytesEncodingType
- func (x *RepeatedBytesFlag) GetHidden() bool
- func (x *RepeatedBytesFlag) GetName() string
- func (x *RepeatedBytesFlag) GetShort() string
- func (x *RepeatedBytesFlag) GetUsage() string
- func (*RepeatedBytesFlag) ProtoMessage()
- func (x *RepeatedBytesFlag) ProtoReflect() protoreflect.Message
- func (x *RepeatedBytesFlag) Reset()
- func (x *RepeatedBytesFlag) String() string
- type RepeatedDoubleFlag
- func (*RepeatedDoubleFlag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedDoubleFlag) GetDefault() []float64
- func (x *RepeatedDoubleFlag) GetDeprecated() bool
- func (x *RepeatedDoubleFlag) GetDeprecatedUsage() string
- func (x *RepeatedDoubleFlag) GetDisabled() bool
- func (x *RepeatedDoubleFlag) GetHidden() bool
- func (x *RepeatedDoubleFlag) GetName() string
- func (x *RepeatedDoubleFlag) GetShort() string
- func (x *RepeatedDoubleFlag) GetUsage() string
- func (*RepeatedDoubleFlag) ProtoMessage()
- func (x *RepeatedDoubleFlag) ProtoReflect() protoreflect.Message
- func (x *RepeatedDoubleFlag) Reset()
- func (x *RepeatedDoubleFlag) String() string
- type RepeatedDurationFlag
- func (*RepeatedDurationFlag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedDurationFlag) GetDefault() []string
- func (x *RepeatedDurationFlag) GetDeprecated() bool
- func (x *RepeatedDurationFlag) GetDeprecatedUsage() string
- func (x *RepeatedDurationFlag) GetDisabled() bool
- func (x *RepeatedDurationFlag) GetHidden() bool
- func (x *RepeatedDurationFlag) GetName() string
- func (x *RepeatedDurationFlag) GetShort() string
- func (x *RepeatedDurationFlag) GetUsage() string
- func (*RepeatedDurationFlag) ProtoMessage()
- func (x *RepeatedDurationFlag) ProtoReflect() protoreflect.Message
- func (x *RepeatedDurationFlag) Reset()
- func (x *RepeatedDurationFlag) String() string
- type RepeatedEnumFlag
- func (*RepeatedEnumFlag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedEnumFlag) GetDefault() []int32
- func (x *RepeatedEnumFlag) GetDeprecated() bool
- func (x *RepeatedEnumFlag) GetDeprecatedUsage() string
- func (x *RepeatedEnumFlag) GetDisabled() bool
- func (x *RepeatedEnumFlag) GetHidden() bool
- func (x *RepeatedEnumFlag) GetName() string
- func (x *RepeatedEnumFlag) GetShort() string
- func (x *RepeatedEnumFlag) GetUsage() string
- func (*RepeatedEnumFlag) ProtoMessage()
- func (x *RepeatedEnumFlag) ProtoReflect() protoreflect.Message
- func (x *RepeatedEnumFlag) Reset()
- func (x *RepeatedEnumFlag) String() string
- type RepeatedFixed32Flag
- func (*RepeatedFixed32Flag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedFixed32Flag) GetDefault() []uint32
- func (x *RepeatedFixed32Flag) GetDeprecated() bool
- func (x *RepeatedFixed32Flag) GetDeprecatedUsage() string
- func (x *RepeatedFixed32Flag) GetDisabled() bool
- func (x *RepeatedFixed32Flag) GetHidden() bool
- func (x *RepeatedFixed32Flag) GetName() string
- func (x *RepeatedFixed32Flag) GetShort() string
- func (x *RepeatedFixed32Flag) GetUsage() string
- func (*RepeatedFixed32Flag) ProtoMessage()
- func (x *RepeatedFixed32Flag) ProtoReflect() protoreflect.Message
- func (x *RepeatedFixed32Flag) Reset()
- func (x *RepeatedFixed32Flag) String() string
- type RepeatedFixed64Flag
- func (*RepeatedFixed64Flag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedFixed64Flag) GetDefault() []uint64
- func (x *RepeatedFixed64Flag) GetDeprecated() bool
- func (x *RepeatedFixed64Flag) GetDeprecatedUsage() string
- func (x *RepeatedFixed64Flag) GetDisabled() bool
- func (x *RepeatedFixed64Flag) GetHidden() bool
- func (x *RepeatedFixed64Flag) GetName() string
- func (x *RepeatedFixed64Flag) GetShort() string
- func (x *RepeatedFixed64Flag) GetUsage() string
- func (*RepeatedFixed64Flag) ProtoMessage()
- func (x *RepeatedFixed64Flag) ProtoReflect() protoreflect.Message
- func (x *RepeatedFixed64Flag) Reset()
- func (x *RepeatedFixed64Flag) String() string
- type RepeatedFlags
- func (*RepeatedFlags) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedFlags) GetBool() *RepeatedBoolFlag
- func (x *RepeatedFlags) GetBytes() *RepeatedBytesFlag
- func (x *RepeatedFlags) GetDouble() *RepeatedDoubleFlag
- func (x *RepeatedFlags) GetDuration() *RepeatedDurationFlag
- func (x *RepeatedFlags) GetEnum() *RepeatedEnumFlag
- func (x *RepeatedFlags) GetFixed32() *RepeatedFixed32Flag
- func (x *RepeatedFlags) GetFixed64() *RepeatedFixed64Flag
- func (x *RepeatedFlags) GetFloat() *RepeatedFloatFlag
- func (x *RepeatedFlags) GetInt32() *RepeatedInt32Flag
- func (x *RepeatedFlags) GetInt64() *RepeatedInt64Flag
- func (x *RepeatedFlags) GetSfixed32() *RepeatedSfixed32Flag
- func (x *RepeatedFlags) GetSfixed64() *RepeatedSfixed64Flag
- func (x *RepeatedFlags) GetSint32() *RepeatedSint32Flag
- func (x *RepeatedFlags) GetSint64() *RepeatedSint64Flag
- func (x *RepeatedFlags) GetString_() *RepeatedStringFlag
- func (x *RepeatedFlags) GetTimestamp() *RepeatedTimestampFlag
- func (m *RepeatedFlags) GetType() isRepeatedFlags_Type
- func (x *RepeatedFlags) GetUint32() *RepeatedUint32Flag
- func (x *RepeatedFlags) GetUint64() *RepeatedUint64Flag
- func (*RepeatedFlags) ProtoMessage()
- func (x *RepeatedFlags) ProtoReflect() protoreflect.Message
- func (x *RepeatedFlags) Reset()
- func (x *RepeatedFlags) String() string
- type RepeatedFlags_Bool
- type RepeatedFlags_Bytes
- type RepeatedFlags_Double
- type RepeatedFlags_Duration
- type RepeatedFlags_Enum
- type RepeatedFlags_Fixed32
- type RepeatedFlags_Fixed64
- type RepeatedFlags_Float
- type RepeatedFlags_Int32
- type RepeatedFlags_Int64
- type RepeatedFlags_Sfixed32
- type RepeatedFlags_Sfixed64
- type RepeatedFlags_Sint32
- type RepeatedFlags_Sint64
- type RepeatedFlags_String_
- type RepeatedFlags_Timestamp
- type RepeatedFlags_Uint32
- type RepeatedFlags_Uint64
- type RepeatedFloatFlag
- func (*RepeatedFloatFlag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedFloatFlag) GetDefault() []float32
- func (x *RepeatedFloatFlag) GetDeprecated() bool
- func (x *RepeatedFloatFlag) GetDeprecatedUsage() string
- func (x *RepeatedFloatFlag) GetDisabled() bool
- func (x *RepeatedFloatFlag) GetHidden() bool
- func (x *RepeatedFloatFlag) GetName() string
- func (x *RepeatedFloatFlag) GetShort() string
- func (x *RepeatedFloatFlag) GetUsage() string
- func (*RepeatedFloatFlag) ProtoMessage()
- func (x *RepeatedFloatFlag) ProtoReflect() protoreflect.Message
- func (x *RepeatedFloatFlag) Reset()
- func (x *RepeatedFloatFlag) String() string
- type RepeatedInt32Flag
- func (*RepeatedInt32Flag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedInt32Flag) GetDefault() []int32
- func (x *RepeatedInt32Flag) GetDeprecated() bool
- func (x *RepeatedInt32Flag) GetDeprecatedUsage() string
- func (x *RepeatedInt32Flag) GetDisabled() bool
- func (x *RepeatedInt32Flag) GetHidden() bool
- func (x *RepeatedInt32Flag) GetName() string
- func (x *RepeatedInt32Flag) GetShort() string
- func (x *RepeatedInt32Flag) GetUsage() string
- func (*RepeatedInt32Flag) ProtoMessage()
- func (x *RepeatedInt32Flag) ProtoReflect() protoreflect.Message
- func (x *RepeatedInt32Flag) Reset()
- func (x *RepeatedInt32Flag) String() string
- type RepeatedInt64Flag
- func (*RepeatedInt64Flag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedInt64Flag) GetDefault() []int64
- func (x *RepeatedInt64Flag) GetDeprecated() bool
- func (x *RepeatedInt64Flag) GetDeprecatedUsage() string
- func (x *RepeatedInt64Flag) GetDisabled() bool
- func (x *RepeatedInt64Flag) GetHidden() bool
- func (x *RepeatedInt64Flag) GetName() string
- func (x *RepeatedInt64Flag) GetShort() string
- func (x *RepeatedInt64Flag) GetUsage() string
- func (*RepeatedInt64Flag) ProtoMessage()
- func (x *RepeatedInt64Flag) ProtoReflect() protoreflect.Message
- func (x *RepeatedInt64Flag) Reset()
- func (x *RepeatedInt64Flag) String() string
- type RepeatedSfixed32Flag
- func (*RepeatedSfixed32Flag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedSfixed32Flag) GetDefault() []int32
- func (x *RepeatedSfixed32Flag) GetDeprecated() bool
- func (x *RepeatedSfixed32Flag) GetDeprecatedUsage() string
- func (x *RepeatedSfixed32Flag) GetDisabled() bool
- func (x *RepeatedSfixed32Flag) GetHidden() bool
- func (x *RepeatedSfixed32Flag) GetName() string
- func (x *RepeatedSfixed32Flag) GetShort() string
- func (x *RepeatedSfixed32Flag) GetUsage() string
- func (*RepeatedSfixed32Flag) ProtoMessage()
- func (x *RepeatedSfixed32Flag) ProtoReflect() protoreflect.Message
- func (x *RepeatedSfixed32Flag) Reset()
- func (x *RepeatedSfixed32Flag) String() string
- type RepeatedSfixed64Flag
- func (*RepeatedSfixed64Flag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedSfixed64Flag) GetDefault() []int64
- func (x *RepeatedSfixed64Flag) GetDeprecated() bool
- func (x *RepeatedSfixed64Flag) GetDeprecatedUsage() string
- func (x *RepeatedSfixed64Flag) GetDisabled() bool
- func (x *RepeatedSfixed64Flag) GetHidden() bool
- func (x *RepeatedSfixed64Flag) GetName() string
- func (x *RepeatedSfixed64Flag) GetShort() string
- func (x *RepeatedSfixed64Flag) GetUsage() string
- func (*RepeatedSfixed64Flag) ProtoMessage()
- func (x *RepeatedSfixed64Flag) ProtoReflect() protoreflect.Message
- func (x *RepeatedSfixed64Flag) Reset()
- func (x *RepeatedSfixed64Flag) String() string
- type RepeatedSint32Flag
- func (*RepeatedSint32Flag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedSint32Flag) GetDefault() []int32
- func (x *RepeatedSint32Flag) GetDeprecated() bool
- func (x *RepeatedSint32Flag) GetDeprecatedUsage() string
- func (x *RepeatedSint32Flag) GetDisabled() bool
- func (x *RepeatedSint32Flag) GetHidden() bool
- func (x *RepeatedSint32Flag) GetName() string
- func (x *RepeatedSint32Flag) GetShort() string
- func (x *RepeatedSint32Flag) GetUsage() string
- func (*RepeatedSint32Flag) ProtoMessage()
- func (x *RepeatedSint32Flag) ProtoReflect() protoreflect.Message
- func (x *RepeatedSint32Flag) Reset()
- func (x *RepeatedSint32Flag) String() string
- type RepeatedSint64Flag
- func (*RepeatedSint64Flag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedSint64Flag) GetDefault() []int64
- func (x *RepeatedSint64Flag) GetDeprecated() bool
- func (x *RepeatedSint64Flag) GetDeprecatedUsage() string
- func (x *RepeatedSint64Flag) GetDisabled() bool
- func (x *RepeatedSint64Flag) GetHidden() bool
- func (x *RepeatedSint64Flag) GetName() string
- func (x *RepeatedSint64Flag) GetShort() string
- func (x *RepeatedSint64Flag) GetUsage() string
- func (*RepeatedSint64Flag) ProtoMessage()
- func (x *RepeatedSint64Flag) ProtoReflect() protoreflect.Message
- func (x *RepeatedSint64Flag) Reset()
- func (x *RepeatedSint64Flag) String() string
- type RepeatedStringFlag
- func (*RepeatedStringFlag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedStringFlag) GetDefault() []string
- func (x *RepeatedStringFlag) GetDeprecated() bool
- func (x *RepeatedStringFlag) GetDeprecatedUsage() string
- func (x *RepeatedStringFlag) GetDisabled() bool
- func (x *RepeatedStringFlag) GetHidden() bool
- func (x *RepeatedStringFlag) GetName() string
- func (x *RepeatedStringFlag) GetShort() string
- func (x *RepeatedStringFlag) GetUsage() string
- func (*RepeatedStringFlag) ProtoMessage()
- func (x *RepeatedStringFlag) ProtoReflect() protoreflect.Message
- func (x *RepeatedStringFlag) Reset()
- func (x *RepeatedStringFlag) String() string
- type RepeatedTimestampFlag
- func (*RepeatedTimestampFlag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedTimestampFlag) GetDefault() []string
- func (x *RepeatedTimestampFlag) GetDeprecated() bool
- func (x *RepeatedTimestampFlag) GetDeprecatedUsage() string
- func (x *RepeatedTimestampFlag) GetDisabled() bool
- func (x *RepeatedTimestampFlag) GetFormats() []string
- func (x *RepeatedTimestampFlag) GetHidden() bool
- func (x *RepeatedTimestampFlag) GetName() string
- func (x *RepeatedTimestampFlag) GetShort() string
- func (x *RepeatedTimestampFlag) GetUsage() string
- func (*RepeatedTimestampFlag) ProtoMessage()
- func (x *RepeatedTimestampFlag) ProtoReflect() protoreflect.Message
- func (x *RepeatedTimestampFlag) Reset()
- func (x *RepeatedTimestampFlag) String() string
- type RepeatedUint32Flag
- func (*RepeatedUint32Flag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedUint32Flag) GetDefault() []uint32
- func (x *RepeatedUint32Flag) GetDeprecated() bool
- func (x *RepeatedUint32Flag) GetDeprecatedUsage() string
- func (x *RepeatedUint32Flag) GetDisabled() bool
- func (x *RepeatedUint32Flag) GetHidden() bool
- func (x *RepeatedUint32Flag) GetName() string
- func (x *RepeatedUint32Flag) GetShort() string
- func (x *RepeatedUint32Flag) GetUsage() string
- func (*RepeatedUint32Flag) ProtoMessage()
- func (x *RepeatedUint32Flag) ProtoReflect() protoreflect.Message
- func (x *RepeatedUint32Flag) Reset()
- func (x *RepeatedUint32Flag) String() string
- type RepeatedUint64Flag
- func (*RepeatedUint64Flag) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedUint64Flag) GetDefault() []uint64
- func (x *RepeatedUint64Flag) GetDeprecated() bool
- func (x *RepeatedUint64Flag) GetDeprecatedUsage() string
- func (x *RepeatedUint64Flag) GetDisabled() bool
- func (x *RepeatedUint64Flag) GetHidden() bool
- func (x *RepeatedUint64Flag) GetName() string
- func (x *RepeatedUint64Flag) GetShort() string
- func (x *RepeatedUint64Flag) GetUsage() string
- func (*RepeatedUint64Flag) ProtoMessage()
- func (x *RepeatedUint64Flag) ProtoReflect() protoreflect.Message
- func (x *RepeatedUint64Flag) Reset()
- func (x *RepeatedUint64Flag) String() string
- type Sfixed32Flag
- func (*Sfixed32Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Sfixed32Flag) GetDefault() int32
- func (x *Sfixed32Flag) GetDeprecated() bool
- func (x *Sfixed32Flag) GetDeprecatedUsage() string
- func (x *Sfixed32Flag) GetDisabled() bool
- func (x *Sfixed32Flag) GetHidden() bool
- func (x *Sfixed32Flag) GetName() string
- func (x *Sfixed32Flag) GetShort() string
- func (x *Sfixed32Flag) GetUsage() string
- func (*Sfixed32Flag) ProtoMessage()
- func (x *Sfixed32Flag) ProtoReflect() protoreflect.Message
- func (x *Sfixed32Flag) Reset()
- func (x *Sfixed32Flag) String() string
- type Sfixed64Flag
- func (*Sfixed64Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Sfixed64Flag) GetDefault() int64
- func (x *Sfixed64Flag) GetDeprecated() bool
- func (x *Sfixed64Flag) GetDeprecatedUsage() string
- func (x *Sfixed64Flag) GetDisabled() bool
- func (x *Sfixed64Flag) GetHidden() bool
- func (x *Sfixed64Flag) GetName() string
- func (x *Sfixed64Flag) GetShort() string
- func (x *Sfixed64Flag) GetUsage() string
- func (*Sfixed64Flag) ProtoMessage()
- func (x *Sfixed64Flag) ProtoReflect() protoreflect.Message
- func (x *Sfixed64Flag) Reset()
- func (x *Sfixed64Flag) String() string
- type Sint32Flag
- func (*Sint32Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Sint32Flag) GetDefault() int32
- func (x *Sint32Flag) GetDeprecated() bool
- func (x *Sint32Flag) GetDeprecatedUsage() string
- func (x *Sint32Flag) GetDisabled() bool
- func (x *Sint32Flag) GetHidden() bool
- func (x *Sint32Flag) GetName() string
- func (x *Sint32Flag) GetShort() string
- func (x *Sint32Flag) GetUsage() string
- func (*Sint32Flag) ProtoMessage()
- func (x *Sint32Flag) ProtoReflect() protoreflect.Message
- func (x *Sint32Flag) Reset()
- func (x *Sint32Flag) String() string
- type Sint64Flag
- func (*Sint64Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Sint64Flag) GetDefault() int64
- func (x *Sint64Flag) GetDeprecated() bool
- func (x *Sint64Flag) GetDeprecatedUsage() string
- func (x *Sint64Flag) GetDisabled() bool
- func (x *Sint64Flag) GetHidden() bool
- func (x *Sint64Flag) GetName() string
- func (x *Sint64Flag) GetShort() string
- func (x *Sint64Flag) GetUsage() string
- func (*Sint64Flag) ProtoMessage()
- func (x *Sint64Flag) ProtoReflect() protoreflect.Message
- func (x *Sint64Flag) Reset()
- func (x *Sint64Flag) String() string
- type StringFlag
- func (*StringFlag) Descriptor() ([]byte, []int)deprecated
- func (x *StringFlag) GetDefault() string
- func (x *StringFlag) GetDeprecated() bool
- func (x *StringFlag) GetDeprecatedUsage() string
- func (x *StringFlag) GetDisabled() bool
- func (x *StringFlag) GetHidden() bool
- func (x *StringFlag) GetName() string
- func (x *StringFlag) GetShort() string
- func (x *StringFlag) GetUsage() string
- func (*StringFlag) ProtoMessage()
- func (x *StringFlag) ProtoReflect() protoreflect.Message
- func (x *StringFlag) Reset()
- func (x *StringFlag) String() string
- type TimestampFlag
- func (*TimestampFlag) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampFlag) GetDefault() string
- func (x *TimestampFlag) GetDeprecated() bool
- func (x *TimestampFlag) GetDeprecatedUsage() string
- func (x *TimestampFlag) GetDisabled() bool
- func (x *TimestampFlag) GetFormats() []string
- func (x *TimestampFlag) GetHidden() bool
- func (x *TimestampFlag) GetName() string
- func (x *TimestampFlag) GetShort() string
- func (x *TimestampFlag) GetUsage() string
- func (*TimestampFlag) ProtoMessage()
- func (x *TimestampFlag) ProtoReflect() protoreflect.Message
- func (x *TimestampFlag) Reset()
- func (x *TimestampFlag) String() string
- type Uint32Flag
- func (*Uint32Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Uint32Flag) GetDefault() uint32
- func (x *Uint32Flag) GetDeprecated() bool
- func (x *Uint32Flag) GetDeprecatedUsage() string
- func (x *Uint32Flag) GetDisabled() bool
- func (x *Uint32Flag) GetHidden() bool
- func (x *Uint32Flag) GetName() string
- func (x *Uint32Flag) GetShort() string
- func (x *Uint32Flag) GetUsage() string
- func (*Uint32Flag) ProtoMessage()
- func (x *Uint32Flag) ProtoReflect() protoreflect.Message
- func (x *Uint32Flag) Reset()
- func (x *Uint32Flag) String() string
- type Uint64Flag
- func (*Uint64Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Uint64Flag) GetDefault() uint64
- func (x *Uint64Flag) GetDeprecated() bool
- func (x *Uint64Flag) GetDeprecatedUsage() string
- func (x *Uint64Flag) GetDisabled() bool
- func (x *Uint64Flag) GetHidden() bool
- func (x *Uint64Flag) GetName() string
- func (x *Uint64Flag) GetShort() string
- func (x *Uint64Flag) GetUsage() string
- func (*Uint64Flag) ProtoMessage()
- func (x *Uint64Flag) ProtoReflect() protoreflect.Message
- func (x *Uint64Flag) Reset()
- func (x *Uint64Flag) String() string
Constants ¶
const ( // DelimiterDot is the default delimiter used for separating hierarchical flag names. // It is set to "." (dot) to enable dot-notation flag naming (e.g., "server.port"). DelimiterDot = "." // DelimiterDash is a delimiter that uses hyphen/minus character for flag naming. // Useful for kebab-case flag names (e.g., "server-port"). DelimiterDash = "-" // DelimiterUnderscore is a delimiter that uses underscore character for flag naming. // Useful for snake_case flag names (e.g., "server_port"). DelimiterUnderscore = "_" // DelimiterColon is a delimiter that uses colon character for flag naming. // Useful for namespace-style flag names (e.g., "server:port"). DelimiterColon = ":" )
Delimiter constants are used for separating hierarchical flag names. These provide common naming conventions for flag organization.
Variables ¶
var ( BytesEncodingType_name = map[int32]string{ 0: "BYTES_ENCODING_TYPE_UNSPECIFIED", 1: "BYTES_ENCODING_TYPE_BASE64", 2: "BYTES_ENCODING_TYPE_HEX", } BytesEncodingType_value = map[string]int32{ "BYTES_ENCODING_TYPE_UNSPECIFIED": 0, "BYTES_ENCODING_TYPE_BASE64": 1, "BYTES_ENCODING_TYPE_HEX": 2, } )
Enum value maps for BytesEncodingType.
var ( MapFormatType_name = map[int32]string{ 0: "MAP_FORMAT_TYPE_UNSPECIFIED", 1: "MAP_FORMAT_TYPE_JSON", 2: "MAP_FORMAT_TYPE_STRING_TO_STRING", 3: "MAP_FORMAT_TYPE_STRING_TO_INT", } MapFormatType_value = map[string]int32{ "MAP_FORMAT_TYPE_UNSPECIFIED": 0, "MAP_FORMAT_TYPE_JSON": 1, "MAP_FORMAT_TYPE_STRING_TO_STRING": 2, "MAP_FORMAT_TYPE_STRING_TO_INT": 3, } )
Enum value maps for MapFormatType.
var ( // Disabled skips generation of flags for this entire message when set to true. // This takes precedence over all other flag generation options. // // optional bool disabled = 1171; E_Disabled = &file_flags_annotations_proto_extTypes[0] // Unexported generates unexported flag methods for this message when set to true. // This is useful when you want to provide custom exported methods that call // the generated unexported methods. // // optional bool unexported = 1172; E_Unexported = &file_flags_annotations_proto_extTypes[1] // AllowEmpty allows generation of AddFlags methods even when the message has // no fields configured with flag options. This is useful for messages that // want to provide a consistent interface or may have flags added in the future. // // optional bool allow_empty = 1173; E_AllowEmpty = &file_flags_annotations_proto_extTypes[2] )
Extension fields to descriptorpb.MessageOptions.
var ( // Value specifies the flag configuration for this field. When set, the // protoc-gen-go-flags plugin will generate command-line flag bindings based // on the field type and configuration provided. // // optional flags.FieldFlags value = 1171; E_Value = &file_flags_annotations_proto_extTypes[3] )
Extension fields to descriptorpb.FieldOptions.
var File_flags_annotations_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BoolFlag ¶
type BoolFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *bool `protobuf:"varint,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
BoolFlag contains configuration for bool fields with default value support.
func (*BoolFlag) Descriptor
deprecated
func (*BoolFlag) GetDefault ¶
func (*BoolFlag) GetDeprecated ¶
func (*BoolFlag) GetDeprecatedUsage ¶
func (*BoolFlag) GetDisabled ¶
func (*BoolFlag) ProtoMessage ¶
func (*BoolFlag) ProtoMessage()
func (*BoolFlag) ProtoReflect ¶
func (x *BoolFlag) ProtoReflect() protoreflect.Message
type BytesEncodingType ¶
type BytesEncodingType int32
BytesEncodingType specifies the encoding format for bytes fields in command-line flags.
const ( // BYTES_ENCODING_TYPE_UNSPECIFIED uses the default base64 encoding. BytesEncodingType_BYTES_ENCODING_TYPE_UNSPECIFIED BytesEncodingType = 0 // BYTES_ENCODING_TYPE_BASE64 uses standard base64 encoding for bytes fields. BytesEncodingType_BYTES_ENCODING_TYPE_BASE64 BytesEncodingType = 1 // BYTES_ENCODING_TYPE_HEX uses hexadecimal encoding for bytes fields. BytesEncodingType_BYTES_ENCODING_TYPE_HEX BytesEncodingType = 2 )
func (BytesEncodingType) Descriptor ¶
func (BytesEncodingType) Descriptor() protoreflect.EnumDescriptor
func (BytesEncodingType) Enum ¶
func (x BytesEncodingType) Enum() *BytesEncodingType
func (BytesEncodingType) EnumDescriptor
deprecated
func (BytesEncodingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BytesEncodingType.Descriptor instead.
func (BytesEncodingType) Number ¶
func (x BytesEncodingType) Number() protoreflect.EnumNumber
func (BytesEncodingType) String ¶
func (x BytesEncodingType) String() string
func (BytesEncodingType) Type ¶
func (BytesEncodingType) Type() protoreflect.EnumType
type BytesFlag ¶
type BytesFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Encoding specifies the encoding format for bytes fields. When unspecified,
// defaults to base64 encoding.
Encoding BytesEncodingType `protobuf:"varint,8,opt,name=encoding,proto3,enum=flags.BytesEncodingType" json:"encoding,omitempty"`
// Default specifies the default value for this flag.
Default []byte `protobuf:"bytes,9,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
BytesFlag contains configuration specifically for bytes fields with encoding type selection.
This message allows customization of how bytes fields are encoded and decoded in command-line flags, supporting both base64 and hexadecimal formats.
func (*BytesFlag) Descriptor
deprecated
func (*BytesFlag) GetDefault ¶
func (*BytesFlag) GetDeprecated ¶
func (*BytesFlag) GetDeprecatedUsage ¶
func (*BytesFlag) GetDisabled ¶
func (*BytesFlag) GetEncoding ¶
func (x *BytesFlag) GetEncoding() BytesEncodingType
func (*BytesFlag) ProtoMessage ¶
func (*BytesFlag) ProtoMessage()
func (*BytesFlag) ProtoReflect ¶
func (x *BytesFlag) ProtoReflect() protoreflect.Message
type Defaulter ¶
type Defaulter interface {
SetDefaults()
}
Defaulter is an interface that types can implement to provide default values for their fields. The SetDefaults method should be called to initialize all fields with their configured default values.
type DoubleFlag ¶
type DoubleFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *float64 `protobuf:"fixed64,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
DoubleFlag contains configuration for float64 fields with default value support.
func (*DoubleFlag) Descriptor
deprecated
func (*DoubleFlag) Descriptor() ([]byte, []int)
Deprecated: Use DoubleFlag.ProtoReflect.Descriptor instead.
func (*DoubleFlag) GetDefault ¶
func (x *DoubleFlag) GetDefault() float64
func (*DoubleFlag) GetDeprecated ¶
func (x *DoubleFlag) GetDeprecated() bool
func (*DoubleFlag) GetDeprecatedUsage ¶
func (x *DoubleFlag) GetDeprecatedUsage() string
func (*DoubleFlag) GetDisabled ¶
func (x *DoubleFlag) GetDisabled() bool
func (*DoubleFlag) GetHidden ¶
func (x *DoubleFlag) GetHidden() bool
func (*DoubleFlag) GetName ¶
func (x *DoubleFlag) GetName() string
func (*DoubleFlag) GetShort ¶
func (x *DoubleFlag) GetShort() string
func (*DoubleFlag) GetUsage ¶
func (x *DoubleFlag) GetUsage() string
func (*DoubleFlag) ProtoMessage ¶
func (*DoubleFlag) ProtoMessage()
func (*DoubleFlag) ProtoReflect ¶
func (x *DoubleFlag) ProtoReflect() protoreflect.Message
func (*DoubleFlag) Reset ¶
func (x *DoubleFlag) Reset()
func (*DoubleFlag) String ¶
func (x *DoubleFlag) String() string
type DurationFlag ¶
type DurationFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *string `protobuf:"bytes,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
DurationFlag contains configuration for duration fields with default value support.
func (*DurationFlag) Descriptor
deprecated
func (*DurationFlag) Descriptor() ([]byte, []int)
Deprecated: Use DurationFlag.ProtoReflect.Descriptor instead.
func (*DurationFlag) GetDefault ¶
func (x *DurationFlag) GetDefault() string
func (*DurationFlag) GetDeprecated ¶
func (x *DurationFlag) GetDeprecated() bool
func (*DurationFlag) GetDeprecatedUsage ¶
func (x *DurationFlag) GetDeprecatedUsage() string
func (*DurationFlag) GetDisabled ¶
func (x *DurationFlag) GetDisabled() bool
func (*DurationFlag) GetHidden ¶
func (x *DurationFlag) GetHidden() bool
func (*DurationFlag) GetName ¶
func (x *DurationFlag) GetName() string
func (*DurationFlag) GetShort ¶
func (x *DurationFlag) GetShort() string
func (*DurationFlag) GetUsage ¶
func (x *DurationFlag) GetUsage() string
func (*DurationFlag) ProtoMessage ¶
func (*DurationFlag) ProtoMessage()
func (*DurationFlag) ProtoReflect ¶
func (x *DurationFlag) ProtoReflect() protoreflect.Message
func (*DurationFlag) Reset ¶
func (x *DurationFlag) Reset()
func (*DurationFlag) String ¶
func (x *DurationFlag) String() string
type EnumFlag ¶
type EnumFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag as an int32.
Default *int32 `protobuf:"varint,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
EnumFlag contains configuration for enum fields with default value support.
func (*EnumFlag) Descriptor
deprecated
func (*EnumFlag) GetDefault ¶
func (*EnumFlag) GetDeprecated ¶
func (*EnumFlag) GetDeprecatedUsage ¶
func (*EnumFlag) GetDisabled ¶
func (*EnumFlag) ProtoMessage ¶
func (*EnumFlag) ProtoMessage()
func (*EnumFlag) ProtoReflect ¶
func (x *EnumFlag) ProtoReflect() protoreflect.Message
type FieldFlags ¶
type FieldFlags struct {
// Types that are assignable to Type:
//
// *FieldFlags_Float
// *FieldFlags_Double
// *FieldFlags_Int32
// *FieldFlags_Int64
// *FieldFlags_Uint32
// *FieldFlags_Uint64
// *FieldFlags_Sint32
// *FieldFlags_Sint64
// *FieldFlags_Fixed32
// *FieldFlags_Fixed64
// *FieldFlags_Sfixed32
// *FieldFlags_Sfixed64
// *FieldFlags_Bool
// *FieldFlags_String_
// *FieldFlags_Bytes
// *FieldFlags_Enum
// *FieldFlags_Repeated
// *FieldFlags_Map
// *FieldFlags_Duration
// *FieldFlags_Timestamp
// *FieldFlags_Message
Type isFieldFlags_Type `protobuf_oneof:"type"`
// contains filtered or unexported fields
}
FieldFlags encapsulates the flag configuration for each type of field.
The oneof type field ensures type safety and allows the code generator to determine which pflag method to use (StringVarP, IntVarP, etc.) for each field type. Only one of the type fields should be set, corresponding to the actual protobuf field type.
func (*FieldFlags) Descriptor
deprecated
func (*FieldFlags) Descriptor() ([]byte, []int)
Deprecated: Use FieldFlags.ProtoReflect.Descriptor instead.
func (*FieldFlags) GetBool ¶
func (x *FieldFlags) GetBool() *BoolFlag
func (*FieldFlags) GetBytes ¶
func (x *FieldFlags) GetBytes() *BytesFlag
func (*FieldFlags) GetDouble ¶
func (x *FieldFlags) GetDouble() *DoubleFlag
func (*FieldFlags) GetDuration ¶
func (x *FieldFlags) GetDuration() *DurationFlag
func (*FieldFlags) GetEnum ¶
func (x *FieldFlags) GetEnum() *EnumFlag
func (*FieldFlags) GetFixed32 ¶
func (x *FieldFlags) GetFixed32() *Fixed32Flag
func (*FieldFlags) GetFixed64 ¶
func (x *FieldFlags) GetFixed64() *Fixed64Flag
func (*FieldFlags) GetFloat ¶
func (x *FieldFlags) GetFloat() *FloatFlag
func (*FieldFlags) GetInt32 ¶
func (x *FieldFlags) GetInt32() *Int32Flag
func (*FieldFlags) GetInt64 ¶
func (x *FieldFlags) GetInt64() *Int64Flag
func (*FieldFlags) GetMap ¶
func (x *FieldFlags) GetMap() *MapFlag
func (*FieldFlags) GetMessage ¶
func (x *FieldFlags) GetMessage() *MessageFlag
func (*FieldFlags) GetRepeated ¶
func (x *FieldFlags) GetRepeated() *RepeatedFlags
func (*FieldFlags) GetSfixed32 ¶
func (x *FieldFlags) GetSfixed32() *Sfixed32Flag
func (*FieldFlags) GetSfixed64 ¶
func (x *FieldFlags) GetSfixed64() *Sfixed64Flag
func (*FieldFlags) GetSint32 ¶
func (x *FieldFlags) GetSint32() *Sint32Flag
func (*FieldFlags) GetSint64 ¶
func (x *FieldFlags) GetSint64() *Sint64Flag
func (*FieldFlags) GetString_ ¶
func (x *FieldFlags) GetString_() *StringFlag
func (*FieldFlags) GetTimestamp ¶
func (x *FieldFlags) GetTimestamp() *TimestampFlag
func (*FieldFlags) GetType ¶
func (m *FieldFlags) GetType() isFieldFlags_Type
func (*FieldFlags) GetUint32 ¶
func (x *FieldFlags) GetUint32() *Uint32Flag
func (*FieldFlags) GetUint64 ¶
func (x *FieldFlags) GetUint64() *Uint64Flag
func (*FieldFlags) ProtoMessage ¶
func (*FieldFlags) ProtoMessage()
func (*FieldFlags) ProtoReflect ¶
func (x *FieldFlags) ProtoReflect() protoreflect.Message
func (*FieldFlags) Reset ¶
func (x *FieldFlags) Reset()
func (*FieldFlags) String ¶
func (x *FieldFlags) String() string
type FieldFlags_Bool ¶
type FieldFlags_Bool struct {
Bool *BoolFlag `protobuf:"bytes,13,opt,name=bool,proto3,oneof"` // Boolean value
}
type FieldFlags_Bytes ¶
type FieldFlags_Bytes struct {
// Bytes field type with encoding type selection
Bytes *BytesFlag `protobuf:"bytes,15,opt,name=bytes,proto3,oneof"` // Arbitrary bytes with encoding format
}
type FieldFlags_Double ¶
type FieldFlags_Double struct {
Double *DoubleFlag `protobuf:"bytes,2,opt,name=double,proto3,oneof"` // 64-bit floating point
}
type FieldFlags_Duration ¶
type FieldFlags_Duration struct {
// Well-Known Field Types
Duration *DurationFlag `protobuf:"bytes,19,opt,name=duration,proto3,oneof"` // google.protobuf.Duration
}
type FieldFlags_Enum ¶
type FieldFlags_Enum struct {
// Complex Field Types
Enum *EnumFlag `protobuf:"bytes,16,opt,name=enum,proto3,oneof"` // Enum type
}
type FieldFlags_Fixed32 ¶
type FieldFlags_Fixed32 struct {
Fixed32 *Fixed32Flag `protobuf:"bytes,9,opt,name=fixed32,proto3,oneof"` // 32-bit fixed-point integer
}
type FieldFlags_Fixed64 ¶
type FieldFlags_Fixed64 struct {
Fixed64 *Fixed64Flag `protobuf:"bytes,10,opt,name=fixed64,proto3,oneof"` // 64-bit fixed-point integer
}
type FieldFlags_Float ¶
type FieldFlags_Float struct {
// Scalar Field Types - each type has its own flag configuration with default value support
Float *FloatFlag `protobuf:"bytes,1,opt,name=float,proto3,oneof"` // 32-bit floating point
}
type FieldFlags_Int32 ¶
type FieldFlags_Int32 struct {
Int32 *Int32Flag `protobuf:"bytes,3,opt,name=int32,proto3,oneof"` // 32-bit signed integer
}
type FieldFlags_Int64 ¶
type FieldFlags_Int64 struct {
Int64 *Int64Flag `protobuf:"bytes,4,opt,name=int64,proto3,oneof"` // 64-bit signed integer
}
type FieldFlags_Map ¶
type FieldFlags_Map struct {
Map *MapFlag `protobuf:"bytes,18,opt,name=map,proto3,oneof"` // Map field
}
type FieldFlags_Message ¶
type FieldFlags_Message struct {
// Message field type - used for nested message configurations
Message *MessageFlag `protobuf:"bytes,21,opt,name=message,proto3,oneof"`
}
type FieldFlags_Repeated ¶
type FieldFlags_Repeated struct {
Repeated *RepeatedFlags `protobuf:"bytes,17,opt,name=repeated,proto3,oneof"` // Repeated field (slice/array)
}
type FieldFlags_Sfixed32 ¶
type FieldFlags_Sfixed32 struct {
Sfixed32 *Sfixed32Flag `protobuf:"bytes,11,opt,name=sfixed32,proto3,oneof"` // 32-bit signed fixed-point integer
}
type FieldFlags_Sfixed64 ¶
type FieldFlags_Sfixed64 struct {
Sfixed64 *Sfixed64Flag `protobuf:"bytes,12,opt,name=sfixed64,proto3,oneof"` // 64-bit signed fixed-point integer
}
type FieldFlags_Sint32 ¶
type FieldFlags_Sint32 struct {
Sint32 *Sint32Flag `protobuf:"bytes,7,opt,name=sint32,proto3,oneof"` // 32-bit signed integer (zigzag encoded)
}
type FieldFlags_Sint64 ¶
type FieldFlags_Sint64 struct {
Sint64 *Sint64Flag `protobuf:"bytes,8,opt,name=sint64,proto3,oneof"` // 64-bit signed integer (zigzag encoded)
}
type FieldFlags_String_ ¶
type FieldFlags_String_ struct {
String_ *StringFlag `protobuf:"bytes,14,opt,name=string,proto3,oneof"` // UTF-8 string
}
type FieldFlags_Timestamp ¶
type FieldFlags_Timestamp struct {
Timestamp *TimestampFlag `protobuf:"bytes,20,opt,name=timestamp,proto3,oneof"` // google.protobuf.Timestamp
}
type FieldFlags_Uint32 ¶
type FieldFlags_Uint32 struct {
Uint32 *Uint32Flag `protobuf:"bytes,5,opt,name=uint32,proto3,oneof"` // 32-bit unsigned integer
}
type FieldFlags_Uint64 ¶
type FieldFlags_Uint64 struct {
Uint64 *Uint64Flag `protobuf:"bytes,6,opt,name=uint64,proto3,oneof"` // 64-bit unsigned integer
}
type Fixed32Flag ¶
type Fixed32Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *uint32 `protobuf:"fixed32,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
Fixed32Flag contains configuration for fixed32 fields with default value support.
func (*Fixed32Flag) Descriptor
deprecated
func (*Fixed32Flag) Descriptor() ([]byte, []int)
Deprecated: Use Fixed32Flag.ProtoReflect.Descriptor instead.
func (*Fixed32Flag) GetDefault ¶
func (x *Fixed32Flag) GetDefault() uint32
func (*Fixed32Flag) GetDeprecated ¶
func (x *Fixed32Flag) GetDeprecated() bool
func (*Fixed32Flag) GetDeprecatedUsage ¶
func (x *Fixed32Flag) GetDeprecatedUsage() string
func (*Fixed32Flag) GetDisabled ¶
func (x *Fixed32Flag) GetDisabled() bool
func (*Fixed32Flag) GetHidden ¶
func (x *Fixed32Flag) GetHidden() bool
func (*Fixed32Flag) GetName ¶
func (x *Fixed32Flag) GetName() string
func (*Fixed32Flag) GetShort ¶
func (x *Fixed32Flag) GetShort() string
func (*Fixed32Flag) GetUsage ¶
func (x *Fixed32Flag) GetUsage() string
func (*Fixed32Flag) ProtoMessage ¶
func (*Fixed32Flag) ProtoMessage()
func (*Fixed32Flag) ProtoReflect ¶
func (x *Fixed32Flag) ProtoReflect() protoreflect.Message
func (*Fixed32Flag) Reset ¶
func (x *Fixed32Flag) Reset()
func (*Fixed32Flag) String ¶
func (x *Fixed32Flag) String() string
type Fixed64Flag ¶
type Fixed64Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *uint64 `protobuf:"fixed64,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
Fixed64Flag contains configuration for fixed64 fields with default value support.
func (*Fixed64Flag) Descriptor
deprecated
func (*Fixed64Flag) Descriptor() ([]byte, []int)
Deprecated: Use Fixed64Flag.ProtoReflect.Descriptor instead.
func (*Fixed64Flag) GetDefault ¶
func (x *Fixed64Flag) GetDefault() uint64
func (*Fixed64Flag) GetDeprecated ¶
func (x *Fixed64Flag) GetDeprecated() bool
func (*Fixed64Flag) GetDeprecatedUsage ¶
func (x *Fixed64Flag) GetDeprecatedUsage() string
func (*Fixed64Flag) GetDisabled ¶
func (x *Fixed64Flag) GetDisabled() bool
func (*Fixed64Flag) GetHidden ¶
func (x *Fixed64Flag) GetHidden() bool
func (*Fixed64Flag) GetName ¶
func (x *Fixed64Flag) GetName() string
func (*Fixed64Flag) GetShort ¶
func (x *Fixed64Flag) GetShort() string
func (*Fixed64Flag) GetUsage ¶
func (x *Fixed64Flag) GetUsage() string
func (*Fixed64Flag) ProtoMessage ¶
func (*Fixed64Flag) ProtoMessage()
func (*Fixed64Flag) ProtoReflect ¶
func (x *Fixed64Flag) ProtoReflect() protoreflect.Message
func (*Fixed64Flag) Reset ¶
func (x *Fixed64Flag) Reset()
func (*Fixed64Flag) String ¶
func (x *Fixed64Flag) String() string
type Flagger ¶
Flagger is an interface that protobuf-generated structs implement to expose their fields as command-line flags. The AddFlags method binds the struct's fields to a pflag.FlagSet, allowing automatic generation of CLI flags from protobuf message definitions.
Parameters:
- fs: The pflag.FlagSet to which flags will be added
- prefix: Optional prefix strings that will be prepended to flag names for hierarchical flag organization (e.g., "server", "database")
type FloatFlag ¶
type FloatFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *float32 `protobuf:"fixed32,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
FloatFlag contains configuration for float32 fields with default value support.
func (*FloatFlag) Descriptor
deprecated
func (*FloatFlag) GetDefault ¶
func (*FloatFlag) GetDeprecated ¶
func (*FloatFlag) GetDeprecatedUsage ¶
func (*FloatFlag) GetDisabled ¶
func (*FloatFlag) ProtoMessage ¶
func (*FloatFlag) ProtoMessage()
func (*FloatFlag) ProtoReflect ¶
func (x *FloatFlag) ProtoReflect() protoreflect.Message
type Int32Flag ¶
type Int32Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *int32 `protobuf:"varint,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
Int32Flag contains configuration for int32 fields with default value support.
func (*Int32Flag) Descriptor
deprecated
func (*Int32Flag) GetDefault ¶
func (*Int32Flag) GetDeprecated ¶
func (*Int32Flag) GetDeprecatedUsage ¶
func (*Int32Flag) GetDisabled ¶
func (*Int32Flag) ProtoMessage ¶
func (*Int32Flag) ProtoMessage()
func (*Int32Flag) ProtoReflect ¶
func (x *Int32Flag) ProtoReflect() protoreflect.Message
type Int64Flag ¶
type Int64Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *int64 `protobuf:"varint,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
Int64Flag contains configuration for int64 fields with default value support.
func (*Int64Flag) Descriptor
deprecated
func (*Int64Flag) GetDefault ¶
func (*Int64Flag) GetDeprecated ¶
func (*Int64Flag) GetDeprecatedUsage ¶
func (*Int64Flag) GetDisabled ¶
func (*Int64Flag) ProtoMessage ¶
func (*Int64Flag) ProtoMessage()
func (*Int64Flag) ProtoReflect ¶
func (x *Int64Flag) ProtoReflect() protoreflect.Message
type MapFlag ¶
type MapFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *string `protobuf:"bytes,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// Format specifies the format for map fields. When unspecified,
// defaults to JSON format.
Format MapFormatType `protobuf:"varint,9,opt,name=format,proto3,enum=flags.MapFormatType" json:"format,omitempty"`
// contains filtered or unexported fields
}
MapFlag contains configuration for map fields with default value support.
func (*MapFlag) Descriptor
deprecated
func (*MapFlag) GetDefault ¶
func (*MapFlag) GetDeprecated ¶
func (*MapFlag) GetDeprecatedUsage ¶
func (*MapFlag) GetDisabled ¶
func (*MapFlag) GetFormat ¶
func (x *MapFlag) GetFormat() MapFormatType
func (*MapFlag) ProtoMessage ¶
func (*MapFlag) ProtoMessage()
func (*MapFlag) ProtoReflect ¶
func (x *MapFlag) ProtoReflect() protoreflect.Message
type MapFormatType ¶
type MapFormatType int32
MapFormatType specifies the format for map fields in command-line flags.
const ( // MAP_FORMAT_TYPE_UNSPECIFIED uses the default format (JSON). MapFormatType_MAP_FORMAT_TYPE_UNSPECIFIED MapFormatType = 0 // MAP_FORMAT_TYPE_JSON uses JSON format for the entire map. MapFormatType_MAP_FORMAT_TYPE_JSON MapFormatType = 1 // MAP_FORMAT_TYPE_STRING_TO_STRING uses string keys and string values. MapFormatType_MAP_FORMAT_TYPE_STRING_TO_STRING MapFormatType = 2 // MAP_FORMAT_TYPE_STRING_TO_INT uses string keys and int values. MapFormatType_MAP_FORMAT_TYPE_STRING_TO_INT MapFormatType = 3 )
func (MapFormatType) Descriptor ¶
func (MapFormatType) Descriptor() protoreflect.EnumDescriptor
func (MapFormatType) Enum ¶
func (x MapFormatType) Enum() *MapFormatType
func (MapFormatType) EnumDescriptor
deprecated
func (MapFormatType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MapFormatType.Descriptor instead.
func (MapFormatType) Number ¶
func (x MapFormatType) Number() protoreflect.EnumNumber
func (MapFormatType) String ¶
func (x MapFormatType) String() string
func (MapFormatType) Type ¶
func (MapFormatType) Type() protoreflect.EnumType
type MessageFlag ¶
type MessageFlag struct {
// Nested controls whether to generate AddFlags method calls for this message field.
// When set to true, the generated code will:
// 1. Automatically initialize the message field if it's nil (prevents null pointer exceptions)
// 2. Call AddFlags on the nested message fields that implement the flags.Interface
//
// When set to false, no flags will be generated for fields within this message,
// even if they have flag configurations.
Nested bool `protobuf:"varint,1,opt,name=nested,proto3" json:"nested,omitempty"`
// Name specifies a custom name prefix for all flags in this message field.
// This is useful for organizing flags into logical groups and avoiding
// naming conflicts when multiple messages have similarly named fields.
//
// Examples:
// - name "server" would generate "--server.host", "--server.port"
// - name "database" would generate "--database.url", "--database.timeout"
// - empty name would generate "--host", "--port" (field names directly)
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
MessageFlag contains configuration for message fields that contain nested flag configurations.
This message type is used when a protobuf field is itself a message that contains fields with flag configurations. It allows customization of how the nested flags are organized and presented in the command-line interface.
func (*MessageFlag) Descriptor
deprecated
func (*MessageFlag) Descriptor() ([]byte, []int)
Deprecated: Use MessageFlag.ProtoReflect.Descriptor instead.
func (*MessageFlag) GetName ¶
func (x *MessageFlag) GetName() string
func (*MessageFlag) GetNested ¶
func (x *MessageFlag) GetNested() bool
func (*MessageFlag) ProtoMessage ¶
func (*MessageFlag) ProtoMessage()
func (*MessageFlag) ProtoReflect ¶
func (x *MessageFlag) ProtoReflect() protoreflect.Message
func (*MessageFlag) Reset ¶
func (x *MessageFlag) Reset()
func (*MessageFlag) String ¶
func (x *MessageFlag) String() string
type NameBuilder ¶
type NameBuilder struct {
// contains filtered or unexported fields
}
NameBuilder constructs full flag names by combining prefixes, base names, and applying custom transformations. It encapsulates the naming logic and formatting rules for generating consistent flag identifiers.
func NewNameBuilder ¶
func NewNameBuilder(opts ...Option) NameBuilder
NewNameBuilder creates a new NameBuilder with the provided configuration options. If no options are provided, it uses sensible defaults (dot delimiter, identity renamer).
Parameters:
- opts: Optional configuration functions to customize naming behavior
Returns:
A configured NameBuilder instance ready to generate flag names
func (NameBuilder) Build ¶
func (n NameBuilder) Build(name string) string
Build generates the complete flag name by joining the configured prefix with the provided name using the configured delimiter, then applying the custom renamer function if one is set.
Parameters:
- name: The base flag name to build upon
Returns:
The fully qualified flag name including prefixes and transformations
type Option ¶
type Option func(*Options)
Option is a functional option pattern type that modifies Options instances. Functions of this type can be passed to configuration functions to customize flag generation behavior.
func WithDelimiter ¶
WithDelimiter returns an Option that sets the delimiter used for separating hierarchical flag name components. The default delimiter is "." (dot).
Example:
WithDelimiter("-") would create flags like "server-port" instead of "server.port"
func WithPrefix ¶
WithPrefix returns an Option that adds prefix segments to flag names. Prefixes are useful for organizing flags hierarchically, such as by service or module name. Empty strings are filtered out, and trimming of delimiter characters is handled during the Build phase.
Example:
WithPrefix("server", "database") with field "port" creates "server.database.port"
func WithRenamer ¶
WithRenamer returns an Option that sets a custom name transformation function. This function is applied to flag names after prefixes are applied but before the flag is registered. Common use cases include snake_case conversion, kebab-case conversion, or adding namespace prefixes.
Example:
WithRenamer(strings.ToLower) would convert all flag names to lowercase
type Options ¶
type Options struct {
Prefix []string // Prefix segments to prepend to flag names for hierarchical organization
Delimiter string // Separator used between name components (default: ".")
Renamer func(string) string // Custom function to transform flag names after prefix application
}
Options holds configuration for flag name generation and formatting. It contains settings for prefix handling, delimiter usage, and custom name transformations.
type PrimitiveFlag ¶
type PrimitiveFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// contains filtered or unexported fields
}
PrimitiveFlag contains the core configuration for all primitive flag types.
This message provides a comprehensive set of options for customizing flag behavior, appearance, and integration with environment variables.
func (*PrimitiveFlag) Descriptor
deprecated
func (*PrimitiveFlag) Descriptor() ([]byte, []int)
Deprecated: Use PrimitiveFlag.ProtoReflect.Descriptor instead.
func (*PrimitiveFlag) GetDeprecated ¶
func (x *PrimitiveFlag) GetDeprecated() bool
func (*PrimitiveFlag) GetDeprecatedUsage ¶
func (x *PrimitiveFlag) GetDeprecatedUsage() string
func (*PrimitiveFlag) GetDisabled ¶
func (x *PrimitiveFlag) GetDisabled() bool
func (*PrimitiveFlag) GetHidden ¶
func (x *PrimitiveFlag) GetHidden() bool
func (*PrimitiveFlag) GetName ¶
func (x *PrimitiveFlag) GetName() string
func (*PrimitiveFlag) GetShort ¶
func (x *PrimitiveFlag) GetShort() string
func (*PrimitiveFlag) GetUsage ¶
func (x *PrimitiveFlag) GetUsage() string
func (*PrimitiveFlag) ProtoMessage ¶
func (*PrimitiveFlag) ProtoMessage()
func (*PrimitiveFlag) ProtoReflect ¶
func (x *PrimitiveFlag) ProtoReflect() protoreflect.Message
func (*PrimitiveFlag) Reset ¶
func (x *PrimitiveFlag) Reset()
func (*PrimitiveFlag) String ¶
func (x *PrimitiveFlag) String() string
type Renamer ¶
Renamer is a function type that transforms flag names. It takes a flag name as input and returns the transformed name. Common use cases include case conversion (ToLower, ToUpper), adding prefixes/suffixes, or applying custom naming conventions.
type RepeatedBoolFlag ¶
type RepeatedBoolFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []bool `protobuf:"varint,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedBoolFlag contains configuration for repeated bool fields with default value support.
func (*RepeatedBoolFlag) Descriptor
deprecated
func (*RepeatedBoolFlag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedBoolFlag.ProtoReflect.Descriptor instead.
func (*RepeatedBoolFlag) GetDefault ¶
func (x *RepeatedBoolFlag) GetDefault() []bool
func (*RepeatedBoolFlag) GetDeprecated ¶
func (x *RepeatedBoolFlag) GetDeprecated() bool
func (*RepeatedBoolFlag) GetDeprecatedUsage ¶
func (x *RepeatedBoolFlag) GetDeprecatedUsage() string
func (*RepeatedBoolFlag) GetDisabled ¶
func (x *RepeatedBoolFlag) GetDisabled() bool
func (*RepeatedBoolFlag) GetHidden ¶
func (x *RepeatedBoolFlag) GetHidden() bool
func (*RepeatedBoolFlag) GetName ¶
func (x *RepeatedBoolFlag) GetName() string
func (*RepeatedBoolFlag) GetShort ¶
func (x *RepeatedBoolFlag) GetShort() string
func (*RepeatedBoolFlag) GetUsage ¶
func (x *RepeatedBoolFlag) GetUsage() string
func (*RepeatedBoolFlag) ProtoMessage ¶
func (*RepeatedBoolFlag) ProtoMessage()
func (*RepeatedBoolFlag) ProtoReflect ¶
func (x *RepeatedBoolFlag) ProtoReflect() protoreflect.Message
func (*RepeatedBoolFlag) Reset ¶
func (x *RepeatedBoolFlag) Reset()
func (*RepeatedBoolFlag) String ¶
func (x *RepeatedBoolFlag) String() string
type RepeatedBytesFlag ¶
type RepeatedBytesFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Encoding specifies the encoding format for bytes fields. When unspecified,
// defaults to base64 encoding.
Encoding BytesEncodingType `protobuf:"varint,8,opt,name=encoding,proto3,enum=flags.BytesEncodingType" json:"encoding,omitempty"`
// Default specifies the default values for this flag.
Default [][]byte `protobuf:"bytes,9,rep,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedBytesFlag contains configuration for repeated bytes fields with default value support.
func (*RepeatedBytesFlag) Descriptor
deprecated
func (*RepeatedBytesFlag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedBytesFlag.ProtoReflect.Descriptor instead.
func (*RepeatedBytesFlag) GetDefault ¶
func (x *RepeatedBytesFlag) GetDefault() [][]byte
func (*RepeatedBytesFlag) GetDeprecated ¶
func (x *RepeatedBytesFlag) GetDeprecated() bool
func (*RepeatedBytesFlag) GetDeprecatedUsage ¶
func (x *RepeatedBytesFlag) GetDeprecatedUsage() string
func (*RepeatedBytesFlag) GetDisabled ¶
func (x *RepeatedBytesFlag) GetDisabled() bool
func (*RepeatedBytesFlag) GetEncoding ¶
func (x *RepeatedBytesFlag) GetEncoding() BytesEncodingType
func (*RepeatedBytesFlag) GetHidden ¶
func (x *RepeatedBytesFlag) GetHidden() bool
func (*RepeatedBytesFlag) GetName ¶
func (x *RepeatedBytesFlag) GetName() string
func (*RepeatedBytesFlag) GetShort ¶
func (x *RepeatedBytesFlag) GetShort() string
func (*RepeatedBytesFlag) GetUsage ¶
func (x *RepeatedBytesFlag) GetUsage() string
func (*RepeatedBytesFlag) ProtoMessage ¶
func (*RepeatedBytesFlag) ProtoMessage()
func (*RepeatedBytesFlag) ProtoReflect ¶
func (x *RepeatedBytesFlag) ProtoReflect() protoreflect.Message
func (*RepeatedBytesFlag) Reset ¶
func (x *RepeatedBytesFlag) Reset()
func (*RepeatedBytesFlag) String ¶
func (x *RepeatedBytesFlag) String() string
type RepeatedDoubleFlag ¶
type RepeatedDoubleFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []float64 `protobuf:"fixed64,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedDoubleFlag contains configuration for repeated float64 fields with default value support.
func (*RepeatedDoubleFlag) Descriptor
deprecated
func (*RepeatedDoubleFlag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedDoubleFlag.ProtoReflect.Descriptor instead.
func (*RepeatedDoubleFlag) GetDefault ¶
func (x *RepeatedDoubleFlag) GetDefault() []float64
func (*RepeatedDoubleFlag) GetDeprecated ¶
func (x *RepeatedDoubleFlag) GetDeprecated() bool
func (*RepeatedDoubleFlag) GetDeprecatedUsage ¶
func (x *RepeatedDoubleFlag) GetDeprecatedUsage() string
func (*RepeatedDoubleFlag) GetDisabled ¶
func (x *RepeatedDoubleFlag) GetDisabled() bool
func (*RepeatedDoubleFlag) GetHidden ¶
func (x *RepeatedDoubleFlag) GetHidden() bool
func (*RepeatedDoubleFlag) GetName ¶
func (x *RepeatedDoubleFlag) GetName() string
func (*RepeatedDoubleFlag) GetShort ¶
func (x *RepeatedDoubleFlag) GetShort() string
func (*RepeatedDoubleFlag) GetUsage ¶
func (x *RepeatedDoubleFlag) GetUsage() string
func (*RepeatedDoubleFlag) ProtoMessage ¶
func (*RepeatedDoubleFlag) ProtoMessage()
func (*RepeatedDoubleFlag) ProtoReflect ¶
func (x *RepeatedDoubleFlag) ProtoReflect() protoreflect.Message
func (*RepeatedDoubleFlag) Reset ¶
func (x *RepeatedDoubleFlag) Reset()
func (*RepeatedDoubleFlag) String ¶
func (x *RepeatedDoubleFlag) String() string
type RepeatedDurationFlag ¶
type RepeatedDurationFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []string `protobuf:"bytes,8,rep,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedDurationFlag contains configuration for repeated duration fields with default value support.
func (*RepeatedDurationFlag) Descriptor
deprecated
func (*RepeatedDurationFlag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedDurationFlag.ProtoReflect.Descriptor instead.
func (*RepeatedDurationFlag) GetDefault ¶
func (x *RepeatedDurationFlag) GetDefault() []string
func (*RepeatedDurationFlag) GetDeprecated ¶
func (x *RepeatedDurationFlag) GetDeprecated() bool
func (*RepeatedDurationFlag) GetDeprecatedUsage ¶
func (x *RepeatedDurationFlag) GetDeprecatedUsage() string
func (*RepeatedDurationFlag) GetDisabled ¶
func (x *RepeatedDurationFlag) GetDisabled() bool
func (*RepeatedDurationFlag) GetHidden ¶
func (x *RepeatedDurationFlag) GetHidden() bool
func (*RepeatedDurationFlag) GetName ¶
func (x *RepeatedDurationFlag) GetName() string
func (*RepeatedDurationFlag) GetShort ¶
func (x *RepeatedDurationFlag) GetShort() string
func (*RepeatedDurationFlag) GetUsage ¶
func (x *RepeatedDurationFlag) GetUsage() string
func (*RepeatedDurationFlag) ProtoMessage ¶
func (*RepeatedDurationFlag) ProtoMessage()
func (*RepeatedDurationFlag) ProtoReflect ¶
func (x *RepeatedDurationFlag) ProtoReflect() protoreflect.Message
func (*RepeatedDurationFlag) Reset ¶
func (x *RepeatedDurationFlag) Reset()
func (*RepeatedDurationFlag) String ¶
func (x *RepeatedDurationFlag) String() string
type RepeatedEnumFlag ¶
type RepeatedEnumFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []int32 `protobuf:"varint,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedEnumFlag contains configuration for repeated enum fields with default value support.
func (*RepeatedEnumFlag) Descriptor
deprecated
func (*RepeatedEnumFlag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedEnumFlag.ProtoReflect.Descriptor instead.
func (*RepeatedEnumFlag) GetDefault ¶
func (x *RepeatedEnumFlag) GetDefault() []int32
func (*RepeatedEnumFlag) GetDeprecated ¶
func (x *RepeatedEnumFlag) GetDeprecated() bool
func (*RepeatedEnumFlag) GetDeprecatedUsage ¶
func (x *RepeatedEnumFlag) GetDeprecatedUsage() string
func (*RepeatedEnumFlag) GetDisabled ¶
func (x *RepeatedEnumFlag) GetDisabled() bool
func (*RepeatedEnumFlag) GetHidden ¶
func (x *RepeatedEnumFlag) GetHidden() bool
func (*RepeatedEnumFlag) GetName ¶
func (x *RepeatedEnumFlag) GetName() string
func (*RepeatedEnumFlag) GetShort ¶
func (x *RepeatedEnumFlag) GetShort() string
func (*RepeatedEnumFlag) GetUsage ¶
func (x *RepeatedEnumFlag) GetUsage() string
func (*RepeatedEnumFlag) ProtoMessage ¶
func (*RepeatedEnumFlag) ProtoMessage()
func (*RepeatedEnumFlag) ProtoReflect ¶
func (x *RepeatedEnumFlag) ProtoReflect() protoreflect.Message
func (*RepeatedEnumFlag) Reset ¶
func (x *RepeatedEnumFlag) Reset()
func (*RepeatedEnumFlag) String ¶
func (x *RepeatedEnumFlag) String() string
type RepeatedFixed32Flag ¶
type RepeatedFixed32Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []uint32 `protobuf:"fixed32,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedFixed32Flag contains configuration for repeated fixed32 fields with default value support.
func (*RepeatedFixed32Flag) Descriptor
deprecated
func (*RepeatedFixed32Flag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedFixed32Flag.ProtoReflect.Descriptor instead.
func (*RepeatedFixed32Flag) GetDefault ¶
func (x *RepeatedFixed32Flag) GetDefault() []uint32
func (*RepeatedFixed32Flag) GetDeprecated ¶
func (x *RepeatedFixed32Flag) GetDeprecated() bool
func (*RepeatedFixed32Flag) GetDeprecatedUsage ¶
func (x *RepeatedFixed32Flag) GetDeprecatedUsage() string
func (*RepeatedFixed32Flag) GetDisabled ¶
func (x *RepeatedFixed32Flag) GetDisabled() bool
func (*RepeatedFixed32Flag) GetHidden ¶
func (x *RepeatedFixed32Flag) GetHidden() bool
func (*RepeatedFixed32Flag) GetName ¶
func (x *RepeatedFixed32Flag) GetName() string
func (*RepeatedFixed32Flag) GetShort ¶
func (x *RepeatedFixed32Flag) GetShort() string
func (*RepeatedFixed32Flag) GetUsage ¶
func (x *RepeatedFixed32Flag) GetUsage() string
func (*RepeatedFixed32Flag) ProtoMessage ¶
func (*RepeatedFixed32Flag) ProtoMessage()
func (*RepeatedFixed32Flag) ProtoReflect ¶
func (x *RepeatedFixed32Flag) ProtoReflect() protoreflect.Message
func (*RepeatedFixed32Flag) Reset ¶
func (x *RepeatedFixed32Flag) Reset()
func (*RepeatedFixed32Flag) String ¶
func (x *RepeatedFixed32Flag) String() string
type RepeatedFixed64Flag ¶
type RepeatedFixed64Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []uint64 `protobuf:"fixed64,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedFixed64Flag contains configuration for repeated fixed64 fields with default value support.
func (*RepeatedFixed64Flag) Descriptor
deprecated
func (*RepeatedFixed64Flag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedFixed64Flag.ProtoReflect.Descriptor instead.
func (*RepeatedFixed64Flag) GetDefault ¶
func (x *RepeatedFixed64Flag) GetDefault() []uint64
func (*RepeatedFixed64Flag) GetDeprecated ¶
func (x *RepeatedFixed64Flag) GetDeprecated() bool
func (*RepeatedFixed64Flag) GetDeprecatedUsage ¶
func (x *RepeatedFixed64Flag) GetDeprecatedUsage() string
func (*RepeatedFixed64Flag) GetDisabled ¶
func (x *RepeatedFixed64Flag) GetDisabled() bool
func (*RepeatedFixed64Flag) GetHidden ¶
func (x *RepeatedFixed64Flag) GetHidden() bool
func (*RepeatedFixed64Flag) GetName ¶
func (x *RepeatedFixed64Flag) GetName() string
func (*RepeatedFixed64Flag) GetShort ¶
func (x *RepeatedFixed64Flag) GetShort() string
func (*RepeatedFixed64Flag) GetUsage ¶
func (x *RepeatedFixed64Flag) GetUsage() string
func (*RepeatedFixed64Flag) ProtoMessage ¶
func (*RepeatedFixed64Flag) ProtoMessage()
func (*RepeatedFixed64Flag) ProtoReflect ¶
func (x *RepeatedFixed64Flag) ProtoReflect() protoreflect.Message
func (*RepeatedFixed64Flag) Reset ¶
func (x *RepeatedFixed64Flag) Reset()
func (*RepeatedFixed64Flag) String ¶
func (x *RepeatedFixed64Flag) String() string
type RepeatedFlags ¶
type RepeatedFlags struct {
// Types that are assignable to Type:
//
// *RepeatedFlags_Float
// *RepeatedFlags_Double
// *RepeatedFlags_Int32
// *RepeatedFlags_Int64
// *RepeatedFlags_Uint32
// *RepeatedFlags_Uint64
// *RepeatedFlags_Sint32
// *RepeatedFlags_Sint64
// *RepeatedFlags_Fixed32
// *RepeatedFlags_Fixed64
// *RepeatedFlags_Sfixed32
// *RepeatedFlags_Sfixed64
// *RepeatedFlags_Bool
// *RepeatedFlags_String_
// *RepeatedFlags_Bytes
// *RepeatedFlags_Enum
// *RepeatedFlags_Duration
// *RepeatedFlags_Timestamp
Type isRepeatedFlags_Type `protobuf_oneof:"type"`
// contains filtered or unexported fields
}
RepeatedFlags defines configuration for repeated fields (slices/arrays).
This allows customization of how repeated values are handled in the CLI. The type oneof field determines the element type of the repeated field.
func (*RepeatedFlags) Descriptor
deprecated
func (*RepeatedFlags) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedFlags.ProtoReflect.Descriptor instead.
func (*RepeatedFlags) GetBool ¶
func (x *RepeatedFlags) GetBool() *RepeatedBoolFlag
func (*RepeatedFlags) GetBytes ¶
func (x *RepeatedFlags) GetBytes() *RepeatedBytesFlag
func (*RepeatedFlags) GetDouble ¶
func (x *RepeatedFlags) GetDouble() *RepeatedDoubleFlag
func (*RepeatedFlags) GetDuration ¶
func (x *RepeatedFlags) GetDuration() *RepeatedDurationFlag
func (*RepeatedFlags) GetEnum ¶
func (x *RepeatedFlags) GetEnum() *RepeatedEnumFlag
func (*RepeatedFlags) GetFixed32 ¶
func (x *RepeatedFlags) GetFixed32() *RepeatedFixed32Flag
func (*RepeatedFlags) GetFixed64 ¶
func (x *RepeatedFlags) GetFixed64() *RepeatedFixed64Flag
func (*RepeatedFlags) GetFloat ¶
func (x *RepeatedFlags) GetFloat() *RepeatedFloatFlag
func (*RepeatedFlags) GetInt32 ¶
func (x *RepeatedFlags) GetInt32() *RepeatedInt32Flag
func (*RepeatedFlags) GetInt64 ¶
func (x *RepeatedFlags) GetInt64() *RepeatedInt64Flag
func (*RepeatedFlags) GetSfixed32 ¶
func (x *RepeatedFlags) GetSfixed32() *RepeatedSfixed32Flag
func (*RepeatedFlags) GetSfixed64 ¶
func (x *RepeatedFlags) GetSfixed64() *RepeatedSfixed64Flag
func (*RepeatedFlags) GetSint32 ¶
func (x *RepeatedFlags) GetSint32() *RepeatedSint32Flag
func (*RepeatedFlags) GetSint64 ¶
func (x *RepeatedFlags) GetSint64() *RepeatedSint64Flag
func (*RepeatedFlags) GetString_ ¶
func (x *RepeatedFlags) GetString_() *RepeatedStringFlag
func (*RepeatedFlags) GetTimestamp ¶
func (x *RepeatedFlags) GetTimestamp() *RepeatedTimestampFlag
func (*RepeatedFlags) GetType ¶
func (m *RepeatedFlags) GetType() isRepeatedFlags_Type
func (*RepeatedFlags) GetUint32 ¶
func (x *RepeatedFlags) GetUint32() *RepeatedUint32Flag
func (*RepeatedFlags) GetUint64 ¶
func (x *RepeatedFlags) GetUint64() *RepeatedUint64Flag
func (*RepeatedFlags) ProtoMessage ¶
func (*RepeatedFlags) ProtoMessage()
func (*RepeatedFlags) ProtoReflect ¶
func (x *RepeatedFlags) ProtoReflect() protoreflect.Message
func (*RepeatedFlags) Reset ¶
func (x *RepeatedFlags) Reset()
func (*RepeatedFlags) String ¶
func (x *RepeatedFlags) String() string
type RepeatedFlags_Bool ¶
type RepeatedFlags_Bool struct {
Bool *RepeatedBoolFlag `protobuf:"bytes,13,opt,name=bool,proto3,oneof"` // Repeated boolean values
}
type RepeatedFlags_Bytes ¶
type RepeatedFlags_Bytes struct {
// Bytes field type with encoding type selection
Bytes *RepeatedBytesFlag `protobuf:"bytes,15,opt,name=bytes,proto3,oneof"` // Repeated arbitrary bytes with encoding format
}
type RepeatedFlags_Double ¶
type RepeatedFlags_Double struct {
Double *RepeatedDoubleFlag `protobuf:"bytes,2,opt,name=double,proto3,oneof"` // Repeated 64-bit floating point
}
type RepeatedFlags_Duration ¶
type RepeatedFlags_Duration struct {
Duration *RepeatedDurationFlag `protobuf:"bytes,17,opt,name=duration,proto3,oneof"` // Repeated duration values
}
type RepeatedFlags_Enum ¶
type RepeatedFlags_Enum struct {
Enum *RepeatedEnumFlag `protobuf:"bytes,16,opt,name=enum,proto3,oneof"` // Repeated enum values
}
type RepeatedFlags_Fixed32 ¶
type RepeatedFlags_Fixed32 struct {
Fixed32 *RepeatedFixed32Flag `protobuf:"bytes,9,opt,name=fixed32,proto3,oneof"` // Repeated 32-bit fixed-point integer
}
type RepeatedFlags_Fixed64 ¶
type RepeatedFlags_Fixed64 struct {
Fixed64 *RepeatedFixed64Flag `protobuf:"bytes,10,opt,name=fixed64,proto3,oneof"` // Repeated 64-bit fixed-point integer
}
type RepeatedFlags_Float ¶
type RepeatedFlags_Float struct {
// Supported types for repeated fields - each corresponds to its specific flag type
// configuration that controls how individual elements are handled.
Float *RepeatedFloatFlag `protobuf:"bytes,1,opt,name=float,proto3,oneof"` // Repeated 32-bit floating point
}
type RepeatedFlags_Int32 ¶
type RepeatedFlags_Int32 struct {
Int32 *RepeatedInt32Flag `protobuf:"bytes,3,opt,name=int32,proto3,oneof"` // Repeated 32-bit signed integer
}
type RepeatedFlags_Int64 ¶
type RepeatedFlags_Int64 struct {
Int64 *RepeatedInt64Flag `protobuf:"bytes,4,opt,name=int64,proto3,oneof"` // Repeated 64-bit signed integer
}
type RepeatedFlags_Sfixed32 ¶
type RepeatedFlags_Sfixed32 struct {
Sfixed32 *RepeatedSfixed32Flag `protobuf:"bytes,11,opt,name=sfixed32,proto3,oneof"` // Repeated 32-bit signed fixed-point integer
}
type RepeatedFlags_Sfixed64 ¶
type RepeatedFlags_Sfixed64 struct {
Sfixed64 *RepeatedSfixed64Flag `protobuf:"bytes,12,opt,name=sfixed64,proto3,oneof"` // Repeated 64-bit signed fixed-point integer
}
type RepeatedFlags_Sint32 ¶
type RepeatedFlags_Sint32 struct {
Sint32 *RepeatedSint32Flag `protobuf:"bytes,7,opt,name=sint32,proto3,oneof"` // Repeated 32-bit signed integer (zigzag)
}
type RepeatedFlags_Sint64 ¶
type RepeatedFlags_Sint64 struct {
Sint64 *RepeatedSint64Flag `protobuf:"bytes,8,opt,name=sint64,proto3,oneof"` // Repeated 64-bit signed integer (zigzag)
}
type RepeatedFlags_String_ ¶
type RepeatedFlags_String_ struct {
String_ *RepeatedStringFlag `protobuf:"bytes,14,opt,name=string,proto3,oneof"` // Repeated UTF-8 strings
}
type RepeatedFlags_Timestamp ¶
type RepeatedFlags_Timestamp struct {
Timestamp *RepeatedTimestampFlag `protobuf:"bytes,18,opt,name=timestamp,proto3,oneof"` // Repeated timestamp values
}
type RepeatedFlags_Uint32 ¶
type RepeatedFlags_Uint32 struct {
Uint32 *RepeatedUint32Flag `protobuf:"bytes,5,opt,name=uint32,proto3,oneof"` // Repeated 32-bit unsigned integer
}
type RepeatedFlags_Uint64 ¶
type RepeatedFlags_Uint64 struct {
Uint64 *RepeatedUint64Flag `protobuf:"bytes,6,opt,name=uint64,proto3,oneof"` // Repeated 64-bit unsigned integer
}
type RepeatedFloatFlag ¶
type RepeatedFloatFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []float32 `protobuf:"fixed32,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedFloatFlag contains configuration for repeated float32 fields with default value support.
func (*RepeatedFloatFlag) Descriptor
deprecated
func (*RepeatedFloatFlag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedFloatFlag.ProtoReflect.Descriptor instead.
func (*RepeatedFloatFlag) GetDefault ¶
func (x *RepeatedFloatFlag) GetDefault() []float32
func (*RepeatedFloatFlag) GetDeprecated ¶
func (x *RepeatedFloatFlag) GetDeprecated() bool
func (*RepeatedFloatFlag) GetDeprecatedUsage ¶
func (x *RepeatedFloatFlag) GetDeprecatedUsage() string
func (*RepeatedFloatFlag) GetDisabled ¶
func (x *RepeatedFloatFlag) GetDisabled() bool
func (*RepeatedFloatFlag) GetHidden ¶
func (x *RepeatedFloatFlag) GetHidden() bool
func (*RepeatedFloatFlag) GetName ¶
func (x *RepeatedFloatFlag) GetName() string
func (*RepeatedFloatFlag) GetShort ¶
func (x *RepeatedFloatFlag) GetShort() string
func (*RepeatedFloatFlag) GetUsage ¶
func (x *RepeatedFloatFlag) GetUsage() string
func (*RepeatedFloatFlag) ProtoMessage ¶
func (*RepeatedFloatFlag) ProtoMessage()
func (*RepeatedFloatFlag) ProtoReflect ¶
func (x *RepeatedFloatFlag) ProtoReflect() protoreflect.Message
func (*RepeatedFloatFlag) Reset ¶
func (x *RepeatedFloatFlag) Reset()
func (*RepeatedFloatFlag) String ¶
func (x *RepeatedFloatFlag) String() string
type RepeatedInt32Flag ¶
type RepeatedInt32Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []int32 `protobuf:"varint,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedInt32Flag contains configuration for repeated int32 fields with default value support.
func (*RepeatedInt32Flag) Descriptor
deprecated
func (*RepeatedInt32Flag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedInt32Flag.ProtoReflect.Descriptor instead.
func (*RepeatedInt32Flag) GetDefault ¶
func (x *RepeatedInt32Flag) GetDefault() []int32
func (*RepeatedInt32Flag) GetDeprecated ¶
func (x *RepeatedInt32Flag) GetDeprecated() bool
func (*RepeatedInt32Flag) GetDeprecatedUsage ¶
func (x *RepeatedInt32Flag) GetDeprecatedUsage() string
func (*RepeatedInt32Flag) GetDisabled ¶
func (x *RepeatedInt32Flag) GetDisabled() bool
func (*RepeatedInt32Flag) GetHidden ¶
func (x *RepeatedInt32Flag) GetHidden() bool
func (*RepeatedInt32Flag) GetName ¶
func (x *RepeatedInt32Flag) GetName() string
func (*RepeatedInt32Flag) GetShort ¶
func (x *RepeatedInt32Flag) GetShort() string
func (*RepeatedInt32Flag) GetUsage ¶
func (x *RepeatedInt32Flag) GetUsage() string
func (*RepeatedInt32Flag) ProtoMessage ¶
func (*RepeatedInt32Flag) ProtoMessage()
func (*RepeatedInt32Flag) ProtoReflect ¶
func (x *RepeatedInt32Flag) ProtoReflect() protoreflect.Message
func (*RepeatedInt32Flag) Reset ¶
func (x *RepeatedInt32Flag) Reset()
func (*RepeatedInt32Flag) String ¶
func (x *RepeatedInt32Flag) String() string
type RepeatedInt64Flag ¶
type RepeatedInt64Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []int64 `protobuf:"varint,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedInt64Flag contains configuration for repeated int64 fields with default value support.
func (*RepeatedInt64Flag) Descriptor
deprecated
func (*RepeatedInt64Flag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedInt64Flag.ProtoReflect.Descriptor instead.
func (*RepeatedInt64Flag) GetDefault ¶
func (x *RepeatedInt64Flag) GetDefault() []int64
func (*RepeatedInt64Flag) GetDeprecated ¶
func (x *RepeatedInt64Flag) GetDeprecated() bool
func (*RepeatedInt64Flag) GetDeprecatedUsage ¶
func (x *RepeatedInt64Flag) GetDeprecatedUsage() string
func (*RepeatedInt64Flag) GetDisabled ¶
func (x *RepeatedInt64Flag) GetDisabled() bool
func (*RepeatedInt64Flag) GetHidden ¶
func (x *RepeatedInt64Flag) GetHidden() bool
func (*RepeatedInt64Flag) GetName ¶
func (x *RepeatedInt64Flag) GetName() string
func (*RepeatedInt64Flag) GetShort ¶
func (x *RepeatedInt64Flag) GetShort() string
func (*RepeatedInt64Flag) GetUsage ¶
func (x *RepeatedInt64Flag) GetUsage() string
func (*RepeatedInt64Flag) ProtoMessage ¶
func (*RepeatedInt64Flag) ProtoMessage()
func (*RepeatedInt64Flag) ProtoReflect ¶
func (x *RepeatedInt64Flag) ProtoReflect() protoreflect.Message
func (*RepeatedInt64Flag) Reset ¶
func (x *RepeatedInt64Flag) Reset()
func (*RepeatedInt64Flag) String ¶
func (x *RepeatedInt64Flag) String() string
type RepeatedSfixed32Flag ¶
type RepeatedSfixed32Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []int32 `protobuf:"fixed32,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedSfixed32Flag contains configuration for repeated sfixed32 fields with default value support.
func (*RepeatedSfixed32Flag) Descriptor
deprecated
func (*RepeatedSfixed32Flag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedSfixed32Flag.ProtoReflect.Descriptor instead.
func (*RepeatedSfixed32Flag) GetDefault ¶
func (x *RepeatedSfixed32Flag) GetDefault() []int32
func (*RepeatedSfixed32Flag) GetDeprecated ¶
func (x *RepeatedSfixed32Flag) GetDeprecated() bool
func (*RepeatedSfixed32Flag) GetDeprecatedUsage ¶
func (x *RepeatedSfixed32Flag) GetDeprecatedUsage() string
func (*RepeatedSfixed32Flag) GetDisabled ¶
func (x *RepeatedSfixed32Flag) GetDisabled() bool
func (*RepeatedSfixed32Flag) GetHidden ¶
func (x *RepeatedSfixed32Flag) GetHidden() bool
func (*RepeatedSfixed32Flag) GetName ¶
func (x *RepeatedSfixed32Flag) GetName() string
func (*RepeatedSfixed32Flag) GetShort ¶
func (x *RepeatedSfixed32Flag) GetShort() string
func (*RepeatedSfixed32Flag) GetUsage ¶
func (x *RepeatedSfixed32Flag) GetUsage() string
func (*RepeatedSfixed32Flag) ProtoMessage ¶
func (*RepeatedSfixed32Flag) ProtoMessage()
func (*RepeatedSfixed32Flag) ProtoReflect ¶
func (x *RepeatedSfixed32Flag) ProtoReflect() protoreflect.Message
func (*RepeatedSfixed32Flag) Reset ¶
func (x *RepeatedSfixed32Flag) Reset()
func (*RepeatedSfixed32Flag) String ¶
func (x *RepeatedSfixed32Flag) String() string
type RepeatedSfixed64Flag ¶
type RepeatedSfixed64Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []int64 `protobuf:"fixed64,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedSfixed64Flag contains configuration for repeated sfixed64 fields with default value support.
func (*RepeatedSfixed64Flag) Descriptor
deprecated
func (*RepeatedSfixed64Flag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedSfixed64Flag.ProtoReflect.Descriptor instead.
func (*RepeatedSfixed64Flag) GetDefault ¶
func (x *RepeatedSfixed64Flag) GetDefault() []int64
func (*RepeatedSfixed64Flag) GetDeprecated ¶
func (x *RepeatedSfixed64Flag) GetDeprecated() bool
func (*RepeatedSfixed64Flag) GetDeprecatedUsage ¶
func (x *RepeatedSfixed64Flag) GetDeprecatedUsage() string
func (*RepeatedSfixed64Flag) GetDisabled ¶
func (x *RepeatedSfixed64Flag) GetDisabled() bool
func (*RepeatedSfixed64Flag) GetHidden ¶
func (x *RepeatedSfixed64Flag) GetHidden() bool
func (*RepeatedSfixed64Flag) GetName ¶
func (x *RepeatedSfixed64Flag) GetName() string
func (*RepeatedSfixed64Flag) GetShort ¶
func (x *RepeatedSfixed64Flag) GetShort() string
func (*RepeatedSfixed64Flag) GetUsage ¶
func (x *RepeatedSfixed64Flag) GetUsage() string
func (*RepeatedSfixed64Flag) ProtoMessage ¶
func (*RepeatedSfixed64Flag) ProtoMessage()
func (*RepeatedSfixed64Flag) ProtoReflect ¶
func (x *RepeatedSfixed64Flag) ProtoReflect() protoreflect.Message
func (*RepeatedSfixed64Flag) Reset ¶
func (x *RepeatedSfixed64Flag) Reset()
func (*RepeatedSfixed64Flag) String ¶
func (x *RepeatedSfixed64Flag) String() string
type RepeatedSint32Flag ¶
type RepeatedSint32Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []int32 `protobuf:"varint,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedSint32Flag contains configuration for repeated sint32 fields with default value support.
func (*RepeatedSint32Flag) Descriptor
deprecated
func (*RepeatedSint32Flag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedSint32Flag.ProtoReflect.Descriptor instead.
func (*RepeatedSint32Flag) GetDefault ¶
func (x *RepeatedSint32Flag) GetDefault() []int32
func (*RepeatedSint32Flag) GetDeprecated ¶
func (x *RepeatedSint32Flag) GetDeprecated() bool
func (*RepeatedSint32Flag) GetDeprecatedUsage ¶
func (x *RepeatedSint32Flag) GetDeprecatedUsage() string
func (*RepeatedSint32Flag) GetDisabled ¶
func (x *RepeatedSint32Flag) GetDisabled() bool
func (*RepeatedSint32Flag) GetHidden ¶
func (x *RepeatedSint32Flag) GetHidden() bool
func (*RepeatedSint32Flag) GetName ¶
func (x *RepeatedSint32Flag) GetName() string
func (*RepeatedSint32Flag) GetShort ¶
func (x *RepeatedSint32Flag) GetShort() string
func (*RepeatedSint32Flag) GetUsage ¶
func (x *RepeatedSint32Flag) GetUsage() string
func (*RepeatedSint32Flag) ProtoMessage ¶
func (*RepeatedSint32Flag) ProtoMessage()
func (*RepeatedSint32Flag) ProtoReflect ¶
func (x *RepeatedSint32Flag) ProtoReflect() protoreflect.Message
func (*RepeatedSint32Flag) Reset ¶
func (x *RepeatedSint32Flag) Reset()
func (*RepeatedSint32Flag) String ¶
func (x *RepeatedSint32Flag) String() string
type RepeatedSint64Flag ¶
type RepeatedSint64Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []int64 `protobuf:"varint,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedSint64Flag contains configuration for repeated sint64 fields with default value support.
func (*RepeatedSint64Flag) Descriptor
deprecated
func (*RepeatedSint64Flag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedSint64Flag.ProtoReflect.Descriptor instead.
func (*RepeatedSint64Flag) GetDefault ¶
func (x *RepeatedSint64Flag) GetDefault() []int64
func (*RepeatedSint64Flag) GetDeprecated ¶
func (x *RepeatedSint64Flag) GetDeprecated() bool
func (*RepeatedSint64Flag) GetDeprecatedUsage ¶
func (x *RepeatedSint64Flag) GetDeprecatedUsage() string
func (*RepeatedSint64Flag) GetDisabled ¶
func (x *RepeatedSint64Flag) GetDisabled() bool
func (*RepeatedSint64Flag) GetHidden ¶
func (x *RepeatedSint64Flag) GetHidden() bool
func (*RepeatedSint64Flag) GetName ¶
func (x *RepeatedSint64Flag) GetName() string
func (*RepeatedSint64Flag) GetShort ¶
func (x *RepeatedSint64Flag) GetShort() string
func (*RepeatedSint64Flag) GetUsage ¶
func (x *RepeatedSint64Flag) GetUsage() string
func (*RepeatedSint64Flag) ProtoMessage ¶
func (*RepeatedSint64Flag) ProtoMessage()
func (*RepeatedSint64Flag) ProtoReflect ¶
func (x *RepeatedSint64Flag) ProtoReflect() protoreflect.Message
func (*RepeatedSint64Flag) Reset ¶
func (x *RepeatedSint64Flag) Reset()
func (*RepeatedSint64Flag) String ¶
func (x *RepeatedSint64Flag) String() string
type RepeatedStringFlag ¶
type RepeatedStringFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []string `protobuf:"bytes,8,rep,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedStringFlag contains configuration for repeated string fields with default value support.
func (*RepeatedStringFlag) Descriptor
deprecated
func (*RepeatedStringFlag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedStringFlag.ProtoReflect.Descriptor instead.
func (*RepeatedStringFlag) GetDefault ¶
func (x *RepeatedStringFlag) GetDefault() []string
func (*RepeatedStringFlag) GetDeprecated ¶
func (x *RepeatedStringFlag) GetDeprecated() bool
func (*RepeatedStringFlag) GetDeprecatedUsage ¶
func (x *RepeatedStringFlag) GetDeprecatedUsage() string
func (*RepeatedStringFlag) GetDisabled ¶
func (x *RepeatedStringFlag) GetDisabled() bool
func (*RepeatedStringFlag) GetHidden ¶
func (x *RepeatedStringFlag) GetHidden() bool
func (*RepeatedStringFlag) GetName ¶
func (x *RepeatedStringFlag) GetName() string
func (*RepeatedStringFlag) GetShort ¶
func (x *RepeatedStringFlag) GetShort() string
func (*RepeatedStringFlag) GetUsage ¶
func (x *RepeatedStringFlag) GetUsage() string
func (*RepeatedStringFlag) ProtoMessage ¶
func (*RepeatedStringFlag) ProtoMessage()
func (*RepeatedStringFlag) ProtoReflect ¶
func (x *RepeatedStringFlag) ProtoReflect() protoreflect.Message
func (*RepeatedStringFlag) Reset ¶
func (x *RepeatedStringFlag) Reset()
func (*RepeatedStringFlag) String ¶
func (x *RepeatedStringFlag) String() string
type RepeatedTimestampFlag ¶
type RepeatedTimestampFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Formats specifies the acceptable timestamp format strings for parsing.
// Common formats include: "RFC3339", "ISO8601", "RFC822", "Stamp", etc.
// When empty, defaults to RFC3339 format.
Formats []string `protobuf:"bytes,8,rep,name=formats,proto3" json:"formats,omitempty"`
// Default specifies the default values for this flag.
Default []string `protobuf:"bytes,9,rep,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedTimestampFlag contains configuration for repeated timestamp fields with default value support.
func (*RepeatedTimestampFlag) Descriptor
deprecated
func (*RepeatedTimestampFlag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedTimestampFlag.ProtoReflect.Descriptor instead.
func (*RepeatedTimestampFlag) GetDefault ¶
func (x *RepeatedTimestampFlag) GetDefault() []string
func (*RepeatedTimestampFlag) GetDeprecated ¶
func (x *RepeatedTimestampFlag) GetDeprecated() bool
func (*RepeatedTimestampFlag) GetDeprecatedUsage ¶
func (x *RepeatedTimestampFlag) GetDeprecatedUsage() string
func (*RepeatedTimestampFlag) GetDisabled ¶
func (x *RepeatedTimestampFlag) GetDisabled() bool
func (*RepeatedTimestampFlag) GetFormats ¶
func (x *RepeatedTimestampFlag) GetFormats() []string
func (*RepeatedTimestampFlag) GetHidden ¶
func (x *RepeatedTimestampFlag) GetHidden() bool
func (*RepeatedTimestampFlag) GetName ¶
func (x *RepeatedTimestampFlag) GetName() string
func (*RepeatedTimestampFlag) GetShort ¶
func (x *RepeatedTimestampFlag) GetShort() string
func (*RepeatedTimestampFlag) GetUsage ¶
func (x *RepeatedTimestampFlag) GetUsage() string
func (*RepeatedTimestampFlag) ProtoMessage ¶
func (*RepeatedTimestampFlag) ProtoMessage()
func (*RepeatedTimestampFlag) ProtoReflect ¶
func (x *RepeatedTimestampFlag) ProtoReflect() protoreflect.Message
func (*RepeatedTimestampFlag) Reset ¶
func (x *RepeatedTimestampFlag) Reset()
func (*RepeatedTimestampFlag) String ¶
func (x *RepeatedTimestampFlag) String() string
type RepeatedUint32Flag ¶
type RepeatedUint32Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []uint32 `protobuf:"varint,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedUint32Flag contains configuration for repeated uint32 fields with default value support.
func (*RepeatedUint32Flag) Descriptor
deprecated
func (*RepeatedUint32Flag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedUint32Flag.ProtoReflect.Descriptor instead.
func (*RepeatedUint32Flag) GetDefault ¶
func (x *RepeatedUint32Flag) GetDefault() []uint32
func (*RepeatedUint32Flag) GetDeprecated ¶
func (x *RepeatedUint32Flag) GetDeprecated() bool
func (*RepeatedUint32Flag) GetDeprecatedUsage ¶
func (x *RepeatedUint32Flag) GetDeprecatedUsage() string
func (*RepeatedUint32Flag) GetDisabled ¶
func (x *RepeatedUint32Flag) GetDisabled() bool
func (*RepeatedUint32Flag) GetHidden ¶
func (x *RepeatedUint32Flag) GetHidden() bool
func (*RepeatedUint32Flag) GetName ¶
func (x *RepeatedUint32Flag) GetName() string
func (*RepeatedUint32Flag) GetShort ¶
func (x *RepeatedUint32Flag) GetShort() string
func (*RepeatedUint32Flag) GetUsage ¶
func (x *RepeatedUint32Flag) GetUsage() string
func (*RepeatedUint32Flag) ProtoMessage ¶
func (*RepeatedUint32Flag) ProtoMessage()
func (*RepeatedUint32Flag) ProtoReflect ¶
func (x *RepeatedUint32Flag) ProtoReflect() protoreflect.Message
func (*RepeatedUint32Flag) Reset ¶
func (x *RepeatedUint32Flag) Reset()
func (*RepeatedUint32Flag) String ¶
func (x *RepeatedUint32Flag) String() string
type RepeatedUint64Flag ¶
type RepeatedUint64Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default values for this flag.
Default []uint64 `protobuf:"varint,8,rep,packed,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
RepeatedUint64Flag contains configuration for repeated uint64 fields with default value support.
func (*RepeatedUint64Flag) Descriptor
deprecated
func (*RepeatedUint64Flag) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedUint64Flag.ProtoReflect.Descriptor instead.
func (*RepeatedUint64Flag) GetDefault ¶
func (x *RepeatedUint64Flag) GetDefault() []uint64
func (*RepeatedUint64Flag) GetDeprecated ¶
func (x *RepeatedUint64Flag) GetDeprecated() bool
func (*RepeatedUint64Flag) GetDeprecatedUsage ¶
func (x *RepeatedUint64Flag) GetDeprecatedUsage() string
func (*RepeatedUint64Flag) GetDisabled ¶
func (x *RepeatedUint64Flag) GetDisabled() bool
func (*RepeatedUint64Flag) GetHidden ¶
func (x *RepeatedUint64Flag) GetHidden() bool
func (*RepeatedUint64Flag) GetName ¶
func (x *RepeatedUint64Flag) GetName() string
func (*RepeatedUint64Flag) GetShort ¶
func (x *RepeatedUint64Flag) GetShort() string
func (*RepeatedUint64Flag) GetUsage ¶
func (x *RepeatedUint64Flag) GetUsage() string
func (*RepeatedUint64Flag) ProtoMessage ¶
func (*RepeatedUint64Flag) ProtoMessage()
func (*RepeatedUint64Flag) ProtoReflect ¶
func (x *RepeatedUint64Flag) ProtoReflect() protoreflect.Message
func (*RepeatedUint64Flag) Reset ¶
func (x *RepeatedUint64Flag) Reset()
func (*RepeatedUint64Flag) String ¶
func (x *RepeatedUint64Flag) String() string
type Sfixed32Flag ¶
type Sfixed32Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *int32 `protobuf:"fixed32,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
Sfixed32Flag contains configuration for sfixed32 fields with default value support.
func (*Sfixed32Flag) Descriptor
deprecated
func (*Sfixed32Flag) Descriptor() ([]byte, []int)
Deprecated: Use Sfixed32Flag.ProtoReflect.Descriptor instead.
func (*Sfixed32Flag) GetDefault ¶
func (x *Sfixed32Flag) GetDefault() int32
func (*Sfixed32Flag) GetDeprecated ¶
func (x *Sfixed32Flag) GetDeprecated() bool
func (*Sfixed32Flag) GetDeprecatedUsage ¶
func (x *Sfixed32Flag) GetDeprecatedUsage() string
func (*Sfixed32Flag) GetDisabled ¶
func (x *Sfixed32Flag) GetDisabled() bool
func (*Sfixed32Flag) GetHidden ¶
func (x *Sfixed32Flag) GetHidden() bool
func (*Sfixed32Flag) GetName ¶
func (x *Sfixed32Flag) GetName() string
func (*Sfixed32Flag) GetShort ¶
func (x *Sfixed32Flag) GetShort() string
func (*Sfixed32Flag) GetUsage ¶
func (x *Sfixed32Flag) GetUsage() string
func (*Sfixed32Flag) ProtoMessage ¶
func (*Sfixed32Flag) ProtoMessage()
func (*Sfixed32Flag) ProtoReflect ¶
func (x *Sfixed32Flag) ProtoReflect() protoreflect.Message
func (*Sfixed32Flag) Reset ¶
func (x *Sfixed32Flag) Reset()
func (*Sfixed32Flag) String ¶
func (x *Sfixed32Flag) String() string
type Sfixed64Flag ¶
type Sfixed64Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *int64 `protobuf:"fixed64,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
Sfixed64Flag contains configuration for sfixed64 fields with default value support.
func (*Sfixed64Flag) Descriptor
deprecated
func (*Sfixed64Flag) Descriptor() ([]byte, []int)
Deprecated: Use Sfixed64Flag.ProtoReflect.Descriptor instead.
func (*Sfixed64Flag) GetDefault ¶
func (x *Sfixed64Flag) GetDefault() int64
func (*Sfixed64Flag) GetDeprecated ¶
func (x *Sfixed64Flag) GetDeprecated() bool
func (*Sfixed64Flag) GetDeprecatedUsage ¶
func (x *Sfixed64Flag) GetDeprecatedUsage() string
func (*Sfixed64Flag) GetDisabled ¶
func (x *Sfixed64Flag) GetDisabled() bool
func (*Sfixed64Flag) GetHidden ¶
func (x *Sfixed64Flag) GetHidden() bool
func (*Sfixed64Flag) GetName ¶
func (x *Sfixed64Flag) GetName() string
func (*Sfixed64Flag) GetShort ¶
func (x *Sfixed64Flag) GetShort() string
func (*Sfixed64Flag) GetUsage ¶
func (x *Sfixed64Flag) GetUsage() string
func (*Sfixed64Flag) ProtoMessage ¶
func (*Sfixed64Flag) ProtoMessage()
func (*Sfixed64Flag) ProtoReflect ¶
func (x *Sfixed64Flag) ProtoReflect() protoreflect.Message
func (*Sfixed64Flag) Reset ¶
func (x *Sfixed64Flag) Reset()
func (*Sfixed64Flag) String ¶
func (x *Sfixed64Flag) String() string
type Sint32Flag ¶
type Sint32Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *int32 `protobuf:"varint,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
Sint32Flag contains configuration for sint32 fields with default value support.
func (*Sint32Flag) Descriptor
deprecated
func (*Sint32Flag) Descriptor() ([]byte, []int)
Deprecated: Use Sint32Flag.ProtoReflect.Descriptor instead.
func (*Sint32Flag) GetDefault ¶
func (x *Sint32Flag) GetDefault() int32
func (*Sint32Flag) GetDeprecated ¶
func (x *Sint32Flag) GetDeprecated() bool
func (*Sint32Flag) GetDeprecatedUsage ¶
func (x *Sint32Flag) GetDeprecatedUsage() string
func (*Sint32Flag) GetDisabled ¶
func (x *Sint32Flag) GetDisabled() bool
func (*Sint32Flag) GetHidden ¶
func (x *Sint32Flag) GetHidden() bool
func (*Sint32Flag) GetName ¶
func (x *Sint32Flag) GetName() string
func (*Sint32Flag) GetShort ¶
func (x *Sint32Flag) GetShort() string
func (*Sint32Flag) GetUsage ¶
func (x *Sint32Flag) GetUsage() string
func (*Sint32Flag) ProtoMessage ¶
func (*Sint32Flag) ProtoMessage()
func (*Sint32Flag) ProtoReflect ¶
func (x *Sint32Flag) ProtoReflect() protoreflect.Message
func (*Sint32Flag) Reset ¶
func (x *Sint32Flag) Reset()
func (*Sint32Flag) String ¶
func (x *Sint32Flag) String() string
type Sint64Flag ¶
type Sint64Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *int64 `protobuf:"varint,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
Sint64Flag contains configuration for sint64 fields with default value support.
func (*Sint64Flag) Descriptor
deprecated
func (*Sint64Flag) Descriptor() ([]byte, []int)
Deprecated: Use Sint64Flag.ProtoReflect.Descriptor instead.
func (*Sint64Flag) GetDefault ¶
func (x *Sint64Flag) GetDefault() int64
func (*Sint64Flag) GetDeprecated ¶
func (x *Sint64Flag) GetDeprecated() bool
func (*Sint64Flag) GetDeprecatedUsage ¶
func (x *Sint64Flag) GetDeprecatedUsage() string
func (*Sint64Flag) GetDisabled ¶
func (x *Sint64Flag) GetDisabled() bool
func (*Sint64Flag) GetHidden ¶
func (x *Sint64Flag) GetHidden() bool
func (*Sint64Flag) GetName ¶
func (x *Sint64Flag) GetName() string
func (*Sint64Flag) GetShort ¶
func (x *Sint64Flag) GetShort() string
func (*Sint64Flag) GetUsage ¶
func (x *Sint64Flag) GetUsage() string
func (*Sint64Flag) ProtoMessage ¶
func (*Sint64Flag) ProtoMessage()
func (*Sint64Flag) ProtoReflect ¶
func (x *Sint64Flag) ProtoReflect() protoreflect.Message
func (*Sint64Flag) Reset ¶
func (x *Sint64Flag) Reset()
func (*Sint64Flag) String ¶
func (x *Sint64Flag) String() string
type StringFlag ¶
type StringFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag as a JSON string.
Default *string `protobuf:"bytes,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
StringFlag contains configuration for string fields with default value support.
func (*StringFlag) Descriptor
deprecated
func (*StringFlag) Descriptor() ([]byte, []int)
Deprecated: Use StringFlag.ProtoReflect.Descriptor instead.
func (*StringFlag) GetDefault ¶
func (x *StringFlag) GetDefault() string
func (*StringFlag) GetDeprecated ¶
func (x *StringFlag) GetDeprecated() bool
func (*StringFlag) GetDeprecatedUsage ¶
func (x *StringFlag) GetDeprecatedUsage() string
func (*StringFlag) GetDisabled ¶
func (x *StringFlag) GetDisabled() bool
func (*StringFlag) GetHidden ¶
func (x *StringFlag) GetHidden() bool
func (*StringFlag) GetName ¶
func (x *StringFlag) GetName() string
func (*StringFlag) GetShort ¶
func (x *StringFlag) GetShort() string
func (*StringFlag) GetUsage ¶
func (x *StringFlag) GetUsage() string
func (*StringFlag) ProtoMessage ¶
func (*StringFlag) ProtoMessage()
func (*StringFlag) ProtoReflect ¶
func (x *StringFlag) ProtoReflect() protoreflect.Message
func (*StringFlag) Reset ¶
func (x *StringFlag) Reset()
func (*StringFlag) String ¶
func (x *StringFlag) String() string
type TimestampFlag ¶
type TimestampFlag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Formats specifies the acceptable timestamp format strings for parsing.
// Common formats include: "RFC3339", "ISO8601", "RFC822", "Stamp", etc.
// When empty, defaults to RFC3339 format.
Formats []string `protobuf:"bytes,8,rep,name=formats,proto3" json:"formats,omitempty"`
// Default specifies the default value for this flag.
Default *string `protobuf:"bytes,9,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
TimestampFlag contains the core configuration for all Timestamp flag types.
This message provides a comprehensive set of options for customizing flag behavior, appearance, and integration with environment variables.
func (*TimestampFlag) Descriptor
deprecated
func (*TimestampFlag) Descriptor() ([]byte, []int)
Deprecated: Use TimestampFlag.ProtoReflect.Descriptor instead.
func (*TimestampFlag) GetDefault ¶
func (x *TimestampFlag) GetDefault() string
func (*TimestampFlag) GetDeprecated ¶
func (x *TimestampFlag) GetDeprecated() bool
func (*TimestampFlag) GetDeprecatedUsage ¶
func (x *TimestampFlag) GetDeprecatedUsage() string
func (*TimestampFlag) GetDisabled ¶
func (x *TimestampFlag) GetDisabled() bool
func (*TimestampFlag) GetFormats ¶
func (x *TimestampFlag) GetFormats() []string
func (*TimestampFlag) GetHidden ¶
func (x *TimestampFlag) GetHidden() bool
func (*TimestampFlag) GetName ¶
func (x *TimestampFlag) GetName() string
func (*TimestampFlag) GetShort ¶
func (x *TimestampFlag) GetShort() string
func (*TimestampFlag) GetUsage ¶
func (x *TimestampFlag) GetUsage() string
func (*TimestampFlag) ProtoMessage ¶
func (*TimestampFlag) ProtoMessage()
func (*TimestampFlag) ProtoReflect ¶
func (x *TimestampFlag) ProtoReflect() protoreflect.Message
func (*TimestampFlag) Reset ¶
func (x *TimestampFlag) Reset()
func (*TimestampFlag) String ¶
func (x *TimestampFlag) String() string
type Uint32Flag ¶
type Uint32Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *uint32 `protobuf:"varint,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
Uint32Flag contains configuration for uint32 fields with default value support.
func (*Uint32Flag) Descriptor
deprecated
func (*Uint32Flag) Descriptor() ([]byte, []int)
Deprecated: Use Uint32Flag.ProtoReflect.Descriptor instead.
func (*Uint32Flag) GetDefault ¶
func (x *Uint32Flag) GetDefault() uint32
func (*Uint32Flag) GetDeprecated ¶
func (x *Uint32Flag) GetDeprecated() bool
func (*Uint32Flag) GetDeprecatedUsage ¶
func (x *Uint32Flag) GetDeprecatedUsage() string
func (*Uint32Flag) GetDisabled ¶
func (x *Uint32Flag) GetDisabled() bool
func (*Uint32Flag) GetHidden ¶
func (x *Uint32Flag) GetHidden() bool
func (*Uint32Flag) GetName ¶
func (x *Uint32Flag) GetName() string
func (*Uint32Flag) GetShort ¶
func (x *Uint32Flag) GetShort() string
func (*Uint32Flag) GetUsage ¶
func (x *Uint32Flag) GetUsage() string
func (*Uint32Flag) ProtoMessage ¶
func (*Uint32Flag) ProtoMessage()
func (*Uint32Flag) ProtoReflect ¶
func (x *Uint32Flag) ProtoReflect() protoreflect.Message
func (*Uint32Flag) Reset ¶
func (x *Uint32Flag) Reset()
func (*Uint32Flag) String ¶
func (x *Uint32Flag) String() string
type Uint64Flag ¶
type Uint64Flag struct {
// Disabled skips generation of flags for this field when set to true.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Name specifies a custom flag name. When empty, defaults to field name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Short specifies a short flag alias (single character).
Short string `protobuf:"bytes,3,opt,name=short,proto3" json:"short,omitempty"`
// Usage provides the description text shown in help output for this flag.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// Hidden hides this flag from help output when set to true.
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
// Deprecated marks this flag as deprecated when set to true.
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// DeprecatedUsage provides additional context shown in help output for deprecated flags.
DeprecatedUsage string `protobuf:"bytes,7,opt,name=deprecated_usage,json=deprecatedUsage,proto3" json:"deprecated_usage,omitempty"`
// Default specifies the default value for this flag.
Default *uint64 `protobuf:"varint,8,opt,name=default,proto3,oneof" json:"default,omitempty"`
// contains filtered or unexported fields
}
Uint64Flag contains configuration for uint64 fields with default value support.
func (*Uint64Flag) Descriptor
deprecated
func (*Uint64Flag) Descriptor() ([]byte, []int)
Deprecated: Use Uint64Flag.ProtoReflect.Descriptor instead.
func (*Uint64Flag) GetDefault ¶
func (x *Uint64Flag) GetDefault() uint64
func (*Uint64Flag) GetDeprecated ¶
func (x *Uint64Flag) GetDeprecated() bool
func (*Uint64Flag) GetDeprecatedUsage ¶
func (x *Uint64Flag) GetDeprecatedUsage() string
func (*Uint64Flag) GetDisabled ¶
func (x *Uint64Flag) GetDisabled() bool
func (*Uint64Flag) GetHidden ¶
func (x *Uint64Flag) GetHidden() bool
func (*Uint64Flag) GetName ¶
func (x *Uint64Flag) GetName() string
func (*Uint64Flag) GetShort ¶
func (x *Uint64Flag) GetShort() string
func (*Uint64Flag) GetUsage ¶
func (x *Uint64Flag) GetUsage() string
func (*Uint64Flag) ProtoMessage ¶
func (*Uint64Flag) ProtoMessage()
func (*Uint64Flag) ProtoReflect ¶
func (x *Uint64Flag) ProtoReflect() protoreflect.Message
func (*Uint64Flag) Reset ¶
func (x *Uint64Flag) Reset()
func (*Uint64Flag) String ¶
func (x *Uint64Flag) String() string