cue

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional string val = 123456;
	E_Val = &file_cue_proto_extTypes[0]
	// optional cue.FieldOptions opt = 1069;
	E_Opt = &file_cue_proto_extTypes[1]
)

Extension fields to descriptor.FieldOptions.

Functions

This section is empty.

Types

type FieldOptions

type FieldOptions struct {
	Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"`
	// Enable this option to treat this field use an unstructured object in the OpenAPI schema for this field.
	// This is currently required to disable infinite recursion when expanding references with CUE on recursive types.
	DisableOpenapiValidation bool `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldOptions) Descriptor deprecated

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

Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.

func (*FieldOptions) GetDisableOpenapiValidation

func (x *FieldOptions) GetDisableOpenapiValidation() bool

func (*FieldOptions) GetRequired

func (x *FieldOptions) GetRequired() bool

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

Jump to

Keyboard shortcuts

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