protoptions

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	State_name = map[int32]string{
		0: "unspecified",
		1: "primary",
		2: "info",
		3: "success",
		4: "warn",
		5: "idle",
	}
	State_value = map[string]int32{
		"unspecified": 0,
		"primary":     1,
		"info":        2,
		"success":     3,
		"warn":        4,
		"idle":        5,
	}
)

Enum value maps for State.

View Source
var (
	ComponentType_name = map[int32]string{
		0:  "Inference",
		1:  "Input",
		2:  "MultiString",
		3:  "Select",
		4:  "Checkbox",
		5:  "CheckboxSet",
		6:  "Switch",
		7:  "DateRangePicker",
		8:  "DateTimePicker",
		9:  "TextArea",
		10: "JsonEditor",
		11: "Radio",
		12: "RadioSet",
	}
	ComponentType_value = map[string]int32{
		"Inference":       0,
		"Input":           1,
		"MultiString":     2,
		"Select":          3,
		"Checkbox":        4,
		"CheckboxSet":     5,
		"Switch":          6,
		"DateRangePicker": 7,
		"DateTimePicker":  8,
		"TextArea":        9,
		"JsonEditor":      10,
		"Radio":           11,
		"RadioSet":        12,
	}
)

Enum value maps for ComponentType.

View Source
var (
	InputOptions_Type_name = map[int32]string{
		0: "inference",
		1: "text",
		2: "number",
	}
	InputOptions_Type_value = map[string]int32{
		"inference": 0,
		"text":      1,
		"number":    2,
	}
)

Enum value maps for InputOptions_Type.

View Source
var (
	// optional pubg.venus.EnumOptions enum = 11244;
	E_Enum = &file_options_proto_extTypes[3]
)

Extension fields to descriptorpb.EnumOptions.

View Source
var (
	// optional pubg.venus.EnumValueOptions enum_value = 11245;
	E_EnumValue = &file_options_proto_extTypes[4]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var (
	// optional pubg.venus.FieldOptions field = 11243;
	E_Field = &file_options_proto_extTypes[2]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional pubg.venus.FileOptions file = 11241;
	E_File = &file_options_proto_extTypes[0]
)

Extension fields to descriptorpb.FileOptions.

View Source
var (
	// optional pubg.venus.MessageOptions message = 11242;
	E_Message = &file_options_proto_extTypes[1]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// optional pubg.venus.OneOfOptions one_of = 11246;
	E_OneOf = &file_options_proto_extTypes[5]
)

Extension fields to descriptorpb.OneofOptions.

View Source
var File_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ArrayOptions

type ArrayOptions struct {
	Min *int32 `protobuf:"varint,1,opt,name=min,proto3,oneof" json:"min,omitempty"`
	Max *int32 `protobuf:"varint,2,opt,name=max,proto3,oneof" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*ArrayOptions) Descriptor deprecated

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

Deprecated: Use ArrayOptions.ProtoReflect.Descriptor instead.

func (*ArrayOptions) GetMax

func (x *ArrayOptions) GetMax() int32

func (*ArrayOptions) GetMin

func (x *ArrayOptions) GetMin() int32

func (*ArrayOptions) ProtoMessage

func (*ArrayOptions) ProtoMessage()

func (*ArrayOptions) ProtoReflect

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

func (*ArrayOptions) Reset

func (x *ArrayOptions) Reset()

func (*ArrayOptions) String

func (x *ArrayOptions) String() string

type CheckboxSetOptions

type CheckboxSetOptions struct {
	Options *VenusOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	Column  bool          `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckboxSetOptions) Descriptor deprecated

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

Deprecated: Use CheckboxSetOptions.ProtoReflect.Descriptor instead.

func (*CheckboxSetOptions) GetColumn

func (x *CheckboxSetOptions) GetColumn() bool

func (*CheckboxSetOptions) GetOptions

func (x *CheckboxSetOptions) GetOptions() *VenusOptions

func (*CheckboxSetOptions) ProtoMessage

func (*CheckboxSetOptions) ProtoMessage()

func (*CheckboxSetOptions) ProtoReflect

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

func (*CheckboxSetOptions) Reset

func (x *CheckboxSetOptions) Reset()

func (*CheckboxSetOptions) String

func (x *CheckboxSetOptions) String() string

type ComponentType

type ComponentType int32
const (
	ComponentType_Inference       ComponentType = 0
	ComponentType_Input           ComponentType = 1
	ComponentType_MultiString     ComponentType = 2
	ComponentType_Select          ComponentType = 3
	ComponentType_Checkbox        ComponentType = 4
	ComponentType_CheckboxSet     ComponentType = 5
	ComponentType_Switch          ComponentType = 6
	ComponentType_DateRangePicker ComponentType = 7
	ComponentType_DateTimePicker  ComponentType = 8
	ComponentType_TextArea        ComponentType = 9
	ComponentType_JsonEditor      ComponentType = 10
	ComponentType_Radio           ComponentType = 11
	ComponentType_RadioSet        ComponentType = 12
)

func (ComponentType) Descriptor

func (ComponentType) Enum

func (x ComponentType) Enum() *ComponentType

func (ComponentType) EnumDescriptor deprecated

func (ComponentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ComponentType.Descriptor instead.

func (ComponentType) Number

func (ComponentType) String

func (x ComponentType) String() string

func (ComponentType) Type

type EnumOptions

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

func (*EnumOptions) Descriptor deprecated

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

Deprecated: Use EnumOptions.ProtoReflect.Descriptor instead.

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 {

	// Types that are assignable to Value:
	//	*EnumValueOptions_String_
	//	*EnumValueOptions_Integer
	//	*EnumValueOptions_Float
	Value isEnumValueOptions_Value `protobuf_oneof:"Value"`
	// contains filtered or unexported fields
}

func GetEnumValueOptions

func GetEnumValueOptions(enumValue pgs.EnumValue) *EnumValueOptions

func (*EnumValueOptions) Descriptor deprecated

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

Deprecated: Use EnumValueOptions.ProtoReflect.Descriptor instead.

func (*EnumValueOptions) GetFloat

func (x *EnumValueOptions) GetFloat() float64

func (*EnumValueOptions) GetInteger

func (x *EnumValueOptions) GetInteger() int64

func (*EnumValueOptions) GetString_

func (x *EnumValueOptions) GetString_() string

func (*EnumValueOptions) GetValue

func (m *EnumValueOptions) GetValue() isEnumValueOptions_Value

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 EnumValueOptions_Float

type EnumValueOptions_Float struct {
	Float float64 `protobuf:"fixed64,3,opt,name=float,proto3,oneof"`
}

type EnumValueOptions_Integer

type EnumValueOptions_Integer struct {
	Integer int64 `protobuf:"varint,2,opt,name=integer,proto3,oneof"`
}

type EnumValueOptions_String_

type EnumValueOptions_String_ struct {
	String_ string `protobuf:"bytes,1,opt,name=string,proto3,oneof"`
}

type FieldOptions

type FieldOptions struct {
	Expose      *bool      `protobuf:"varint,1,opt,name=expose,proto3,oneof" json:"expose,omitempty"`
	Property    string     `protobuf:"bytes,2,opt,name=property,proto3" json:"property,omitempty"`
	Label       string     `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	Placeholder string     `protobuf:"bytes,4,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
	State       State      `protobuf:"varint,5,opt,name=state,proto3,enum=pubg.venus.State" json:"state,omitempty"`
	Messages    []*Message `protobuf:"bytes,6,rep,name=messages,proto3" json:"messages,omitempty"`
	// Types that are assignable to Size:
	//	*FieldOptions_Grid
	//	*FieldOptions_Rem
	Size isFieldOptions_Size `protobuf_oneof:"Size"`
	// Types that are assignable to DefaultValue:
	//	*FieldOptions_DefaultString
	//	*FieldOptions_DefaultInteger
	//	*FieldOptions_DefaultFloat
	DefaultValue isFieldOptions_DefaultValue `protobuf_oneof:"default_value"`
	Component    ComponentType               `protobuf:"varint,20,opt,name=component,proto3,enum=pubg.venus.ComponentType" json:"component,omitempty"`
	// Types that are assignable to Options:
	//	*FieldOptions_Input
	//	*FieldOptions_MultiString
	//	*FieldOptions_Select
	//	*FieldOptions_CheckboxSet
	//	*FieldOptions_TextArea
	//	*FieldOptions_JsonEditor
	//	*FieldOptions_Radio
	//	*FieldOptions_RadioSet
	//	*FieldOptions_Array
	Options isFieldOptions_Options `protobuf_oneof:"Options"`
	// contains filtered or unexported fields
}

func GetFieldOptions

func GetFieldOptions(field pgs.Field) *FieldOptions

func (*FieldOptions) Descriptor deprecated

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

Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.

func (*FieldOptions) GetArray

func (x *FieldOptions) GetArray() *ArrayOptions

func (*FieldOptions) GetCheckboxSet

func (x *FieldOptions) GetCheckboxSet() *CheckboxSetOptions

func (*FieldOptions) GetComponent

func (x *FieldOptions) GetComponent() ComponentType

func (*FieldOptions) GetDefaultFloat

func (x *FieldOptions) GetDefaultFloat() float64

func (*FieldOptions) GetDefaultInteger

func (x *FieldOptions) GetDefaultInteger() int64

func (*FieldOptions) GetDefaultString

func (x *FieldOptions) GetDefaultString() string

func (*FieldOptions) GetDefaultValue

func (m *FieldOptions) GetDefaultValue() isFieldOptions_DefaultValue

func (*FieldOptions) GetExpose

func (x *FieldOptions) GetExpose() bool

func (*FieldOptions) GetGrid

func (x *FieldOptions) GetGrid() *Grid

func (*FieldOptions) GetInput

func (x *FieldOptions) GetInput() *InputOptions

func (*FieldOptions) GetJsonEditor

func (x *FieldOptions) GetJsonEditor() *JsonEditorOptions

func (*FieldOptions) GetLabel

func (x *FieldOptions) GetLabel() string

func (*FieldOptions) GetMessages

func (x *FieldOptions) GetMessages() []*Message

func (*FieldOptions) GetMultiString

func (x *FieldOptions) GetMultiString() *MultiStringOptions

func (*FieldOptions) GetOptions

func (m *FieldOptions) GetOptions() isFieldOptions_Options

func (*FieldOptions) GetPlaceholder

func (x *FieldOptions) GetPlaceholder() string

func (*FieldOptions) GetProperty

func (x *FieldOptions) GetProperty() string

func (*FieldOptions) GetRadio

func (x *FieldOptions) GetRadio() *RadioOptions

func (*FieldOptions) GetRadioSet

func (x *FieldOptions) GetRadioSet() *RadioSetOptions

func (*FieldOptions) GetRem

func (x *FieldOptions) GetRem() int32

func (*FieldOptions) GetSelect

func (x *FieldOptions) GetSelect() *SelectOptions

func (*FieldOptions) GetSize

func (m *FieldOptions) GetSize() isFieldOptions_Size

func (*FieldOptions) GetState

func (x *FieldOptions) GetState() State

func (*FieldOptions) GetTextArea

func (x *FieldOptions) GetTextArea() *TextAreaOptions

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 FieldOptions_Array

type FieldOptions_Array struct {
	Array *ArrayOptions `protobuf:"bytes,29,opt,name=array,proto3,oneof"`
}

type FieldOptions_CheckboxSet

type FieldOptions_CheckboxSet struct {
	CheckboxSet *CheckboxSetOptions `protobuf:"bytes,24,opt,name=checkboxSet,proto3,oneof"`
}

type FieldOptions_DefaultFloat

type FieldOptions_DefaultFloat struct {
	DefaultFloat float64 `protobuf:"fixed64,12,opt,name=default_float,json=defaultFloat,proto3,oneof"`
}

type FieldOptions_DefaultInteger

type FieldOptions_DefaultInteger struct {
	DefaultInteger int64 `protobuf:"varint,11,opt,name=default_integer,json=defaultInteger,proto3,oneof"`
}

type FieldOptions_DefaultString

type FieldOptions_DefaultString struct {
	DefaultString string `protobuf:"bytes,10,opt,name=default_string,json=defaultString,proto3,oneof"`
}

type FieldOptions_Grid

type FieldOptions_Grid struct {
	Grid *Grid `protobuf:"bytes,7,opt,name=grid,proto3,oneof"`
}

type FieldOptions_Input

type FieldOptions_Input struct {
	Input *InputOptions `protobuf:"bytes,21,opt,name=input,proto3,oneof"`
}

type FieldOptions_JsonEditor

type FieldOptions_JsonEditor struct {
	JsonEditor *JsonEditorOptions `protobuf:"bytes,26,opt,name=json_editor,json=jsonEditor,proto3,oneof"`
}

type FieldOptions_MultiString

type FieldOptions_MultiString struct {
	MultiString *MultiStringOptions `protobuf:"bytes,22,opt,name=multi_string,json=multiString,proto3,oneof"`
}

type FieldOptions_Radio

type FieldOptions_Radio struct {
	Radio *RadioOptions `protobuf:"bytes,27,opt,name=radio,proto3,oneof"`
}

type FieldOptions_RadioSet

type FieldOptions_RadioSet struct {
	RadioSet *RadioSetOptions `protobuf:"bytes,28,opt,name=radio_set,json=radioSet,proto3,oneof"`
}

type FieldOptions_Rem

type FieldOptions_Rem struct {
	Rem int32 `protobuf:"varint,8,opt,name=rem,proto3,oneof"`
}

type FieldOptions_Select

type FieldOptions_Select struct {
	Select *SelectOptions `protobuf:"bytes,23,opt,name=select,proto3,oneof"`
}

type FieldOptions_TextArea

type FieldOptions_TextArea struct {
	TextArea *TextAreaOptions `protobuf:"bytes,25,opt,name=text_area,json=textArea,proto3,oneof"`
}

type FileOptions

type FileOptions struct {
	Expose            *bool  `protobuf:"varint,1,opt,name=expose,proto3,oneof" json:"expose,omitempty"`
	EntrypointMessage string `protobuf:"bytes,2,opt,name=entrypointMessage,proto3" json:"entrypointMessage,omitempty"`
	// contains filtered or unexported fields
}

func GetFileOptions

func GetFileOptions(file pgs.File) *FileOptions

func (*FileOptions) Descriptor deprecated

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

Deprecated: Use FileOptions.ProtoReflect.Descriptor instead.

func (*FileOptions) GetEntrypointMessage

func (x *FileOptions) GetEntrypointMessage() string

func (*FileOptions) GetExpose

func (x *FileOptions) GetExpose() bool

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 Grid

type Grid struct {
	Sm       *int32 `protobuf:"varint,1,opt,name=sm,proto3,oneof" json:"sm,omitempty"`
	Md       *int32 `protobuf:"varint,2,opt,name=md,proto3,oneof" json:"md,omitempty"`
	Lg       *int32 `protobuf:"varint,3,opt,name=lg,proto3,oneof" json:"lg,omitempty"`
	SmOffset *int32 `protobuf:"varint,4,opt,name=sm_offset,json=smOffset,proto3,oneof" json:"sm_offset,omitempty"`
	MdOffset *int32 `protobuf:"varint,5,opt,name=md_offset,json=mdOffset,proto3,oneof" json:"md_offset,omitempty"`
	LgOffset *int32 `protobuf:"varint,6,opt,name=lg_offset,json=lgOffset,proto3,oneof" json:"lg_offset,omitempty"`
	Order    *int32 `protobuf:"varint,7,opt,name=order,proto3,oneof" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*Grid) Descriptor deprecated

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

Deprecated: Use Grid.ProtoReflect.Descriptor instead.

func (*Grid) GetLg

func (x *Grid) GetLg() int32

func (*Grid) GetLgOffset

func (x *Grid) GetLgOffset() int32

func (*Grid) GetMd

func (x *Grid) GetMd() int32

func (*Grid) GetMdOffset

func (x *Grid) GetMdOffset() int32

func (*Grid) GetOrder

func (x *Grid) GetOrder() int32

func (*Grid) GetSm

func (x *Grid) GetSm() int32

func (*Grid) GetSmOffset

func (x *Grid) GetSmOffset() int32

func (*Grid) ProtoMessage

func (*Grid) ProtoMessage()

func (*Grid) ProtoReflect

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

func (*Grid) Reset

func (x *Grid) Reset()

func (*Grid) String

func (x *Grid) String() string

type InputOptions

type InputOptions struct {
	Type  InputOptions_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pubg.venus.InputOptions_Type" json:"type,omitempty"`
	Min   *int32            `protobuf:"varint,2,opt,name=min,proto3,oneof" json:"min,omitempty"`
	Max   *int32            `protobuf:"varint,3,opt,name=max,proto3,oneof" json:"max,omitempty"`
	Regex string            `protobuf:"bytes,4,opt,name=regex,proto3" json:"regex,omitempty"`
	// contains filtered or unexported fields
}

func (*InputOptions) Descriptor deprecated

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

Deprecated: Use InputOptions.ProtoReflect.Descriptor instead.

func (*InputOptions) GetMax

func (x *InputOptions) GetMax() int32

func (*InputOptions) GetMin

func (x *InputOptions) GetMin() int32

func (*InputOptions) GetRegex

func (x *InputOptions) GetRegex() string

func (*InputOptions) GetType

func (x *InputOptions) GetType() InputOptions_Type

func (*InputOptions) ProtoMessage

func (*InputOptions) ProtoMessage()

func (*InputOptions) ProtoReflect

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

func (*InputOptions) Reset

func (x *InputOptions) Reset()

func (*InputOptions) String

func (x *InputOptions) String() string

type InputOptions_Type

type InputOptions_Type int32
const (
	InputOptions_inference InputOptions_Type = 0
	InputOptions_text      InputOptions_Type = 1
	InputOptions_number    InputOptions_Type = 2
)

func (InputOptions_Type) Descriptor

func (InputOptions_Type) Enum

func (InputOptions_Type) EnumDescriptor deprecated

func (InputOptions_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use InputOptions_Type.Descriptor instead.

func (InputOptions_Type) Number

func (InputOptions_Type) String

func (x InputOptions_Type) String() string

func (InputOptions_Type) Type

type JsonEditorOptions

type JsonEditorOptions struct {
	Height *int32 `protobuf:"varint,1,opt,name=height,proto3,oneof" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*JsonEditorOptions) Descriptor deprecated

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

Deprecated: Use JsonEditorOptions.ProtoReflect.Descriptor instead.

func (*JsonEditorOptions) GetHeight

func (x *JsonEditorOptions) GetHeight() int32

func (*JsonEditorOptions) ProtoMessage

func (*JsonEditorOptions) ProtoMessage()

func (*JsonEditorOptions) ProtoReflect

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

func (*JsonEditorOptions) Reset

func (x *JsonEditorOptions) Reset()

func (*JsonEditorOptions) String

func (x *JsonEditorOptions) String() string

type Message

type Message struct {
	State State  `protobuf:"varint,1,opt,name=state,proto3,enum=pubg.venus.State" json:"state,omitempty"` // optional
	Text  string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`                          // required
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetState

func (x *Message) GetState() State

func (*Message) GetText

func (x *Message) GetText() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageOptions

type MessageOptions struct {
	Expose *bool `protobuf:"varint,1,opt,name=expose,proto3,oneof" json:"expose,omitempty"`
	// contains filtered or unexported fields
}

func GetMessageOptions

func GetMessageOptions(message pgs.Message) *MessageOptions

func (*MessageOptions) Descriptor deprecated

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

Deprecated: Use MessageOptions.ProtoReflect.Descriptor instead.

func (*MessageOptions) GetExpose

func (x *MessageOptions) GetExpose() 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 MultiStringOptions

type MultiStringOptions struct {
	Delimeter string `protobuf:"bytes,1,opt,name=delimeter,proto3" json:"delimeter,omitempty"`
	Max       *int32 `protobuf:"varint,2,opt,name=max,proto3,oneof" json:"max,omitempty"`
	NoChips   bool   `protobuf:"varint,3,opt,name=noChips,proto3" json:"noChips,omitempty"`
	Copy      bool   `protobuf:"varint,4,opt,name=copy,proto3" json:"copy,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiStringOptions) Descriptor deprecated

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

Deprecated: Use MultiStringOptions.ProtoReflect.Descriptor instead.

func (*MultiStringOptions) GetCopy

func (x *MultiStringOptions) GetCopy() bool

func (*MultiStringOptions) GetDelimeter

func (x *MultiStringOptions) GetDelimeter() string

func (*MultiStringOptions) GetMax

func (x *MultiStringOptions) GetMax() int32

func (*MultiStringOptions) GetNoChips

func (x *MultiStringOptions) GetNoChips() bool

func (*MultiStringOptions) ProtoMessage

func (*MultiStringOptions) ProtoMessage()

func (*MultiStringOptions) ProtoReflect

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

func (*MultiStringOptions) Reset

func (x *MultiStringOptions) Reset()

func (*MultiStringOptions) String

func (x *MultiStringOptions) String() string

type OneOfOptions

type OneOfOptions struct {
	Expose   *bool  `protobuf:"varint,1,opt,name=expose,proto3,oneof" json:"expose,omitempty"`
	Property string `protobuf:"bytes,2,opt,name=property,proto3" json:"property,omitempty"`
	Label    string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func GetOneOfOptions

func GetOneOfOptions(oneOf pgs.OneOf) *OneOfOptions

func (*OneOfOptions) Descriptor deprecated

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

Deprecated: Use OneOfOptions.ProtoReflect.Descriptor instead.

func (*OneOfOptions) GetExpose

func (x *OneOfOptions) GetExpose() bool

func (*OneOfOptions) GetLabel

func (x *OneOfOptions) GetLabel() string

func (*OneOfOptions) GetProperty

func (x *OneOfOptions) GetProperty() string

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 PluginOptions

type PluginOptions struct {
	ExposeAll        *bool  `protobuf:"varint,1,opt,name=expose_all,json=exposeAll,proto3,oneof" json:"expose_all,omitempty"`
	OutputFileSuffix string `protobuf:"bytes,2,opt,name=output_file_suffix,json=outputFileSuffix,proto3" json:"output_file_suffix,omitempty"`
	PrettyOutput     bool   `protobuf:"varint,3,opt,name=pretty_output,json=prettyOutput,proto3" json:"pretty_output,omitempty"`
	// contains filtered or unexported fields
}

Not extendable, just define structure

func (*PluginOptions) Descriptor deprecated

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

Deprecated: Use PluginOptions.ProtoReflect.Descriptor instead.

func (*PluginOptions) GetExposeAll

func (x *PluginOptions) GetExposeAll() bool

func (*PluginOptions) GetOutputFileSuffix

func (x *PluginOptions) GetOutputFileSuffix() string

func (*PluginOptions) GetPrettyOutput

func (x *PluginOptions) GetPrettyOutput() bool

func (*PluginOptions) ProtoMessage

func (*PluginOptions) ProtoMessage()

func (*PluginOptions) ProtoReflect

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

func (*PluginOptions) Reset

func (x *PluginOptions) Reset()

func (*PluginOptions) String

func (x *PluginOptions) String() string

type RadioOptions

type RadioOptions struct {
	RadioLabel string `protobuf:"bytes,1,opt,name=radio_label,json=radioLabel,proto3" json:"radio_label,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RadioOptions) Descriptor deprecated

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

Deprecated: Use RadioOptions.ProtoReflect.Descriptor instead.

func (*RadioOptions) GetName

func (x *RadioOptions) GetName() string

func (*RadioOptions) GetRadioLabel

func (x *RadioOptions) GetRadioLabel() string

func (*RadioOptions) ProtoMessage

func (*RadioOptions) ProtoMessage()

func (*RadioOptions) ProtoReflect

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

func (*RadioOptions) Reset

func (x *RadioOptions) Reset()

func (*RadioOptions) String

func (x *RadioOptions) String() string

type RadioSetOptions

type RadioSetOptions struct {
	Options *VenusOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	Column  bool          `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
	// contains filtered or unexported fields
}

func (*RadioSetOptions) Descriptor deprecated

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

Deprecated: Use RadioSetOptions.ProtoReflect.Descriptor instead.

func (*RadioSetOptions) GetColumn

func (x *RadioSetOptions) GetColumn() bool

func (*RadioSetOptions) GetOptions

func (x *RadioSetOptions) GetOptions() *VenusOptions

func (*RadioSetOptions) ProtoMessage

func (*RadioSetOptions) ProtoMessage()

func (*RadioSetOptions) ProtoReflect

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

func (*RadioSetOptions) Reset

func (x *RadioSetOptions) Reset()

func (*RadioSetOptions) String

func (x *RadioSetOptions) String() string

type SelectOptions

type SelectOptions struct {
	Options       *VenusOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	Autocomplete  bool          `protobuf:"varint,2,opt,name=autocomplete,proto3" json:"autocomplete,omitempty"`
	Multiple      bool          `protobuf:"varint,3,opt,name=multiple,proto3" json:"multiple,omitempty"`
	SelectAll     bool          `protobuf:"varint,4,opt,name=select_all,json=select-all,proto3" json:"select_all,omitempty"`
	CollapseChips bool          `protobuf:"varint,5,opt,name=collapse_chips,json=collapse-chips,proto3" json:"collapse_chips,omitempty"`
	ClosableChips bool          `protobuf:"varint,6,opt,name=closable_chips,json=closable-chips,proto3" json:"closable_chips,omitempty"`
	InfiniteLoad  *int32        `protobuf:"varint,7,opt,name=infinite_load,json=infinite-load,proto3,oneof" json:"infinite_load,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectOptions) Descriptor deprecated

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

Deprecated: Use SelectOptions.ProtoReflect.Descriptor instead.

func (*SelectOptions) GetAutocomplete

func (x *SelectOptions) GetAutocomplete() bool

func (*SelectOptions) GetClosableChips

func (x *SelectOptions) GetClosableChips() bool

func (*SelectOptions) GetCollapseChips

func (x *SelectOptions) GetCollapseChips() bool

func (*SelectOptions) GetInfiniteLoad

func (x *SelectOptions) GetInfiniteLoad() int32

func (*SelectOptions) GetMultiple

func (x *SelectOptions) GetMultiple() bool

func (*SelectOptions) GetOptions

func (x *SelectOptions) GetOptions() *VenusOptions

func (*SelectOptions) GetSelectAll

func (x *SelectOptions) GetSelectAll() bool

func (*SelectOptions) ProtoMessage

func (*SelectOptions) ProtoMessage()

func (*SelectOptions) ProtoReflect

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

func (*SelectOptions) Reset

func (x *SelectOptions) Reset()

func (*SelectOptions) String

func (x *SelectOptions) String() string

type State

type State int32
const (
	State_unspecified State = 0
	State_primary     State = 1
	State_info        State = 2
	State_success     State = 3
	State_warn        State = 4
	State_idle        State = 5
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type TextAreaOptions

type TextAreaOptions struct {
	Min   *int32 `protobuf:"varint,1,opt,name=min,proto3,oneof" json:"min,omitempty"`
	Max   *int32 `protobuf:"varint,2,opt,name=max,proto3,oneof" json:"max,omitempty"`
	Regex string `protobuf:"bytes,3,opt,name=regex,proto3" json:"regex,omitempty"`
	// contains filtered or unexported fields
}

func (*TextAreaOptions) Descriptor deprecated

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

Deprecated: Use TextAreaOptions.ProtoReflect.Descriptor instead.

func (*TextAreaOptions) GetMax

func (x *TextAreaOptions) GetMax() int32

func (*TextAreaOptions) GetMin

func (x *TextAreaOptions) GetMin() int32

func (*TextAreaOptions) GetRegex

func (x *TextAreaOptions) GetRegex() string

func (*TextAreaOptions) ProtoMessage

func (*TextAreaOptions) ProtoMessage()

func (*TextAreaOptions) ProtoReflect

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

func (*TextAreaOptions) Reset

func (x *TextAreaOptions) Reset()

func (*TextAreaOptions) String

func (x *TextAreaOptions) String() string

type VenusOptions

type VenusOptions struct {
	SimpleOptions  []string                      `protobuf:"bytes,1,rep,name=simple_options,json=simpleOptions,proto3" json:"simple_options,omitempty"`
	LabeledOptions []*VenusOptions_LabeledOption `protobuf:"bytes,2,rep,name=labeled_options,json=labeledOptions,proto3" json:"labeled_options,omitempty"`
	// contains filtered or unexported fields
}

func (*VenusOptions) Descriptor deprecated

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

Deprecated: Use VenusOptions.ProtoReflect.Descriptor instead.

func (*VenusOptions) GetLabeledOptions

func (x *VenusOptions) GetLabeledOptions() []*VenusOptions_LabeledOption

func (*VenusOptions) GetSimpleOptions

func (x *VenusOptions) GetSimpleOptions() []string

func (*VenusOptions) ProtoMessage

func (*VenusOptions) ProtoMessage()

func (*VenusOptions) ProtoReflect

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

func (*VenusOptions) Reset

func (x *VenusOptions) Reset()

func (*VenusOptions) String

func (x *VenusOptions) String() string

type VenusOptions_LabeledOption

type VenusOptions_LabeledOption struct {
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// Types that are assignable to Value:
	//	*VenusOptions_LabeledOption_String_
	//	*VenusOptions_LabeledOption_Integer
	//	*VenusOptions_LabeledOption_Float
	Value isVenusOptions_LabeledOption_Value `protobuf_oneof:"Value"`
	// contains filtered or unexported fields
}

func (*VenusOptions_LabeledOption) Descriptor deprecated

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

Deprecated: Use VenusOptions_LabeledOption.ProtoReflect.Descriptor instead.

func (*VenusOptions_LabeledOption) GetFloat

func (x *VenusOptions_LabeledOption) GetFloat() float64

func (*VenusOptions_LabeledOption) GetInteger

func (x *VenusOptions_LabeledOption) GetInteger() int64

func (*VenusOptions_LabeledOption) GetLabel

func (x *VenusOptions_LabeledOption) GetLabel() string

func (*VenusOptions_LabeledOption) GetString_

func (x *VenusOptions_LabeledOption) GetString_() string

func (*VenusOptions_LabeledOption) GetValue

func (m *VenusOptions_LabeledOption) GetValue() isVenusOptions_LabeledOption_Value

func (*VenusOptions_LabeledOption) ProtoMessage

func (*VenusOptions_LabeledOption) ProtoMessage()

func (*VenusOptions_LabeledOption) ProtoReflect

func (*VenusOptions_LabeledOption) Reset

func (x *VenusOptions_LabeledOption) Reset()

func (*VenusOptions_LabeledOption) String

func (x *VenusOptions_LabeledOption) String() string

type VenusOptions_LabeledOption_Float

type VenusOptions_LabeledOption_Float struct {
	Float float64 `protobuf:"fixed64,4,opt,name=float,proto3,oneof"`
}

type VenusOptions_LabeledOption_Integer

type VenusOptions_LabeledOption_Integer struct {
	Integer int64 `protobuf:"varint,3,opt,name=integer,proto3,oneof"`
}

type VenusOptions_LabeledOption_String_

type VenusOptions_LabeledOption_String_ struct {
	String_ string `protobuf:"bytes,2,opt,name=string,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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