annotations

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional thethings.flags.EnumOptions enum = 51886;
	E_Enum = &file_thethings_flags_annotations_proto_extTypes[4]
)

Extension fields to descriptorpb.EnumOptions.

View Source
var (
	// optional thethings.flags.EnumValueOptions enum_value = 51886;
	E_EnumValue = &file_thethings_flags_annotations_proto_extTypes[5]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var (
	// optional thethings.flags.FieldOptions field = 51886;
	E_Field = &file_thethings_flags_annotations_proto_extTypes[2]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional thethings.flags.FileOptions file = 51886;
	E_File = &file_thethings_flags_annotations_proto_extTypes[0]
)

Extension fields to descriptorpb.FileOptions.

View Source
var (
	// optional thethings.flags.MessageOptions message = 51886;
	E_Message = &file_thethings_flags_annotations_proto_extTypes[1]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// optional thethings.flags.MethodOptions method = 51886;
	E_Method = &file_thethings_flags_annotations_proto_extTypes[7]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional thethings.flags.OneofOptions oneof = 51886;
	E_Oneof = &file_thethings_flags_annotations_proto_extTypes[3]
)

Extension fields to descriptorpb.OneofOptions.

View Source
var (
	// optional thethings.flags.ServiceOptions service = 51886;
	E_Service = &file_thethings_flags_annotations_proto_extTypes[6]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File_thethings_flags_annotations_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EnumOptions

type EnumOptions struct {

	// Path where the custom enum values are defined.
	// The map must be of type string to int32, where string is an alias name and
	// int32 must be a valid enum int32.
	AliasMap *string `protobuf:"bytes,1,opt,name=alias_map,json=aliasMap" json:"alias_map,omitempty"`
	// contains filtered or unexported fields
}

func (*EnumOptions) Descriptor deprecated

func (*EnumOptions) Descriptor() ([]byte, []int)

Deprecated: Use EnumOptions.ProtoReflect.Descriptor instead.

func (*EnumOptions) GetAliasMap

func (x *EnumOptions) GetAliasMap() string

func (*EnumOptions) ProtoMessage

func (*EnumOptions) ProtoMessage()

func (*EnumOptions) ProtoReflect

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

func (*EnumOptions) Reset

func (x *EnumOptions) Reset()

func (*EnumOptions) String

func (x *EnumOptions) String() string

type EnumValueOptions

type EnumValueOptions struct {
	// contains filtered or unexported fields
}

func (*EnumValueOptions) Descriptor deprecated

func (*EnumValueOptions) Descriptor() ([]byte, []int)

Deprecated: Use EnumValueOptions.ProtoReflect.Descriptor instead.

func (*EnumValueOptions) ProtoMessage

func (*EnumValueOptions) ProtoMessage()

func (*EnumValueOptions) ProtoReflect

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

func (*EnumValueOptions) Reset

func (x *EnumValueOptions) Reset()

func (*EnumValueOptions) String

func (x *EnumValueOptions) String() string

type FieldOptions

type FieldOptions struct {

	// Skip generating (field mask) selector flags for this field.
	Select *bool `protobuf:"varint,1,opt,name=select" json:"select,omitempty"`
	// Skip generating setter flags for this field.
	Set *bool `protobuf:"varint,2,opt,name=set" json:"set,omitempty"`
	// New flag definition for custom type flag.
	// Specified as github.com/username/repo/package.New{CustomType}Flag.
	SetFlagNewFunc *string `protobuf:"bytes,3,opt,name=set_flag_new_func,json=setFlagNewFunc" json:"set_flag_new_func,omitempty"`
	// Custom value getter from the custom flag type.
	// Specified as github.com/username/repo/package.Get{CustomType}FromFlag.
	SetFlagGetterFunc *string `protobuf:"bytes,4,opt,name=set_flag_getter_func,json=setFlagGetterFunc" json:"set_flag_getter_func,omitempty"`
	// Set flag and all of its subfield flags to hidden.
	Hidden *bool `protobuf:"varint,5,opt,name=hidden" json:"hidden,omitempty"`
	// Implies field has meaning just by existing. Only active when set is also set.
	Semantical *bool `protobuf:"varint,6,opt,name=semantical" json:"semantical,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOptions) Descriptor deprecated

func (*FieldOptions) Descriptor() ([]byte, []int)

Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.

func (*FieldOptions) GetHidden

func (x *FieldOptions) GetHidden() bool

func (*FieldOptions) GetSelect

func (x *FieldOptions) GetSelect() bool

func (*FieldOptions) GetSemantical added in v1.0.4

func (x *FieldOptions) GetSemantical() bool

func (*FieldOptions) GetSet

func (x *FieldOptions) GetSet() bool

func (*FieldOptions) GetSetFlagGetterFunc

func (x *FieldOptions) GetSetFlagGetterFunc() string

func (*FieldOptions) GetSetFlagNewFunc

func (x *FieldOptions) GetSetFlagNewFunc() string

func (*FieldOptions) ProtoMessage

func (*FieldOptions) ProtoMessage()

func (*FieldOptions) ProtoReflect

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

func (*FieldOptions) Reset

func (x *FieldOptions) Reset()

func (*FieldOptions) String

func (x *FieldOptions) String() string

type FileOptions

type FileOptions struct {
	// contains filtered or unexported fields
}

func (*FileOptions) Descriptor deprecated

func (*FileOptions) Descriptor() ([]byte, []int)

Deprecated: Use FileOptions.ProtoReflect.Descriptor instead.

func (*FileOptions) ProtoMessage

func (*FileOptions) ProtoMessage()

func (*FileOptions) ProtoReflect

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

func (*FileOptions) Reset

func (x *FileOptions) Reset()

func (*FileOptions) String

func (x *FileOptions) String() string

type MessageOptions

type MessageOptions struct {

	// Generate (field mask) selector flags for this message.
	Select *bool `protobuf:"varint,1,opt,name=select" json:"select,omitempty"`
	// Generate setter flags for this message.
	Set *bool `protobuf:"varint,2,opt,name=set" json:"set,omitempty"`
	// Treat this message as a wrapper for the value field inside it.
	Wrapper *bool `protobuf:"varint,3,opt,name=wrapper" json:"wrapper,omitempty"`
	// Generate semantical flags for this message. Only active when set is also set.
	Semantical *bool `protobuf:"varint,4,opt,name=semantical" json:"semantical,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageOptions) Descriptor deprecated

func (*MessageOptions) Descriptor() ([]byte, []int)

Deprecated: Use MessageOptions.ProtoReflect.Descriptor instead.

func (*MessageOptions) GetSelect

func (x *MessageOptions) GetSelect() bool

func (*MessageOptions) GetSemantical added in v1.0.4

func (x *MessageOptions) GetSemantical() bool

func (*MessageOptions) GetSet

func (x *MessageOptions) GetSet() bool

func (*MessageOptions) GetWrapper

func (x *MessageOptions) GetWrapper() bool

func (*MessageOptions) ProtoMessage

func (*MessageOptions) ProtoMessage()

func (*MessageOptions) ProtoReflect

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

func (*MessageOptions) Reset

func (x *MessageOptions) Reset()

func (*MessageOptions) String

func (x *MessageOptions) String() string

type MethodOptions

type MethodOptions struct {
	// contains filtered or unexported fields
}

func (*MethodOptions) Descriptor deprecated

func (*MethodOptions) Descriptor() ([]byte, []int)

Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead.

func (*MethodOptions) ProtoMessage

func (*MethodOptions) ProtoMessage()

func (*MethodOptions) ProtoReflect

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

func (*MethodOptions) Reset

func (x *MethodOptions) Reset()

func (*MethodOptions) String

func (x *MethodOptions) String() string

type OneofOptions

type OneofOptions struct {
	// contains filtered or unexported fields
}

func (*OneofOptions) Descriptor deprecated

func (*OneofOptions) Descriptor() ([]byte, []int)

Deprecated: Use OneofOptions.ProtoReflect.Descriptor instead.

func (*OneofOptions) ProtoMessage

func (*OneofOptions) ProtoMessage()

func (*OneofOptions) ProtoReflect

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

func (*OneofOptions) Reset

func (x *OneofOptions) Reset()

func (*OneofOptions) String

func (x *OneofOptions) String() string

type ServiceOptions

type ServiceOptions struct {
	// contains filtered or unexported fields
}

func (*ServiceOptions) Descriptor deprecated

func (*ServiceOptions) Descriptor() ([]byte, []int)

Deprecated: Use ServiceOptions.ProtoReflect.Descriptor instead.

func (*ServiceOptions) ProtoMessage

func (*ServiceOptions) ProtoMessage()

func (*ServiceOptions) ProtoReflect

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

func (*ServiceOptions) Reset

func (x *ServiceOptions) Reset()

func (*ServiceOptions) String

func (x *ServiceOptions) String() string

Jump to

Keyboard shortcuts

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