Documentation
¶
Index ¶
- Variables
- type FieldOptions
- func (*FieldOptions) Descriptor() ([]byte, []int)deprecated
- func (x *FieldOptions) GetDisableOpenapiValidation() bool
- func (x *FieldOptions) GetRequired() bool
- func (*FieldOptions) ProtoMessage()
- func (x *FieldOptions) ProtoReflect() protoreflect.Message
- func (x *FieldOptions) Reset()
- func (x *FieldOptions) String() string
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.
View Source
var File_cue_proto protoreflect.FileDescriptor
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
Click to show internal directories.
Click to hide internal directories.