opts

package
v0.0.0-...-54ff284 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var E_Field = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*Options)(nil),
	Field:         1035,
	Name:          "opts.field",
	Tag:           "bytes,1035,opt,name=field",
	Filename:      "opts.proto",
}
View Source
var E_FieldDefaults = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FileOptions)(nil),
	ExtensionType: (*Options)(nil),
	Field:         1035,
	Name:          "opts.field_defaults",
	Tag:           "bytes,1035,opt,name=field_defaults",
	Filename:      "opts.proto",
}

Functions

This section is empty.

Types

type Options

type Options struct {
	Required             *bool    `protobuf:"varint,1,opt,name=required" json:"required,omitempty"`
	Nullable             *bool    `protobuf:"varint,2,opt,name=nullable" json:"nullable,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Options) Descriptor

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

func (*Options) GetNullable

func (m *Options) GetNullable() bool

func (*Options) GetRequired

func (m *Options) GetRequired() bool

func (*Options) ProtoMessage

func (*Options) ProtoMessage()

func (*Options) Reset

func (m *Options) Reset()

func (*Options) String

func (m *Options) String() string

func (*Options) XXX_DiscardUnknown

func (m *Options) XXX_DiscardUnknown()

func (*Options) XXX_Marshal

func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Options) XXX_Merge

func (m *Options) XXX_Merge(src proto.Message)

func (*Options) XXX_Size

func (m *Options) XXX_Size() int

func (*Options) XXX_Unmarshal

func (m *Options) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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