pbgosql

package
v0.0.0-...-c713541 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional gosql.Serialize serialize = 9001;
	E_Serialize = &file_gosql_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_gosql_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GoGoProto

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

Use github.com/gogo/protobuf/proto.

func (*GoGoProto) Descriptor deprecated

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

Deprecated: Use GoGoProto.ProtoReflect.Descriptor instead.

func (*GoGoProto) ProtoMessage

func (*GoGoProto) ProtoMessage()

func (*GoGoProto) ProtoReflect

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

func (*GoGoProto) Reset

func (x *GoGoProto) Reset()

func (*GoGoProto) String

func (x *GoGoProto) String() string

type JSON

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

Use "encoding/json"

func (*JSON) Descriptor deprecated

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

Deprecated: Use JSON.ProtoReflect.Descriptor instead.

func (*JSON) ProtoMessage

func (*JSON) ProtoMessage()

func (*JSON) ProtoReflect

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

func (*JSON) Reset

func (x *JSON) Reset()

func (*JSON) String

func (x *JSON) String() string

type Proto

type Proto struct {
	Marshal_   *Proto_MarshalOptions   `protobuf:"bytes,1,opt,name=marshal,proto3" json:"marshal,omitempty"`
	Unmarshal_ *Proto_UnmarshalOptions `protobuf:"bytes,2,opt,name=unmarshal,proto3" json:"unmarshal,omitempty"`
	// contains filtered or unexported fields
}

Use google.golang.org/protobuf/proto.

func (*Proto) Descriptor deprecated

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

Deprecated: Use Proto.ProtoReflect.Descriptor instead.

func (*Proto) GetMarshal_

func (x *Proto) GetMarshal_() *Proto_MarshalOptions

func (*Proto) GetUnmarshal_

func (x *Proto) GetUnmarshal_() *Proto_UnmarshalOptions

func (*Proto) ProtoMessage

func (*Proto) ProtoMessage()

func (*Proto) ProtoReflect

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

func (*Proto) Reset

func (x *Proto) Reset()

func (*Proto) String

func (x *Proto) String() string

type ProtoJSON

type ProtoJSON struct {
	Marshal_   *ProtoJSON_MarshalOptions   `protobuf:"bytes,1,opt,name=marshal,proto3" json:"marshal,omitempty"`
	Unmarshal_ *ProtoJSON_UnmarshalOptions `protobuf:"bytes,2,opt,name=unmarshal,proto3" json:"unmarshal,omitempty"`
	// contains filtered or unexported fields
}

Use "google.golang.org/protobuf/encoding/protojson"

func (*ProtoJSON) Descriptor deprecated

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

Deprecated: Use ProtoJSON.ProtoReflect.Descriptor instead.

func (*ProtoJSON) GetMarshal_

func (x *ProtoJSON) GetMarshal_() *ProtoJSON_MarshalOptions

func (*ProtoJSON) GetUnmarshal_

func (x *ProtoJSON) GetUnmarshal_() *ProtoJSON_UnmarshalOptions

func (*ProtoJSON) ProtoMessage

func (*ProtoJSON) ProtoMessage()

func (*ProtoJSON) ProtoReflect

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

func (*ProtoJSON) Reset

func (x *ProtoJSON) Reset()

func (*ProtoJSON) String

func (x *ProtoJSON) String() string

type ProtoJSON_MarshalOptions

type ProtoJSON_MarshalOptions struct {
	Multiline       bool   `protobuf:"varint,1,opt,name=Multiline,proto3" json:"Multiline,omitempty"`
	Indent          string `protobuf:"bytes,2,opt,name=Indent,proto3" json:"Indent,omitempty"`
	AllowPartial    bool   `protobuf:"varint,3,opt,name=AllowPartial,proto3" json:"AllowPartial,omitempty"`
	UseProtoNames   bool   `protobuf:"varint,4,opt,name=UseProtoNames,proto3" json:"UseProtoNames,omitempty"`
	UseEnumNumbers  bool   `protobuf:"varint,5,opt,name=UseEnumNumbers,proto3" json:"UseEnumNumbers,omitempty"`
	EmitUnpopulated bool   `protobuf:"varint,6,opt,name=EmitUnpopulated,proto3" json:"EmitUnpopulated,omitempty"`
	// contains filtered or unexported fields
}

protojson.MarshalOptions

func (*ProtoJSON_MarshalOptions) Descriptor deprecated

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

Deprecated: Use ProtoJSON_MarshalOptions.ProtoReflect.Descriptor instead.

func (*ProtoJSON_MarshalOptions) GetAllowPartial

func (x *ProtoJSON_MarshalOptions) GetAllowPartial() bool

func (*ProtoJSON_MarshalOptions) GetEmitUnpopulated

func (x *ProtoJSON_MarshalOptions) GetEmitUnpopulated() bool

func (*ProtoJSON_MarshalOptions) GetIndent

func (x *ProtoJSON_MarshalOptions) GetIndent() string

func (*ProtoJSON_MarshalOptions) GetMultiline

func (x *ProtoJSON_MarshalOptions) GetMultiline() bool

func (*ProtoJSON_MarshalOptions) GetUseEnumNumbers

func (x *ProtoJSON_MarshalOptions) GetUseEnumNumbers() bool

func (*ProtoJSON_MarshalOptions) GetUseProtoNames

func (x *ProtoJSON_MarshalOptions) GetUseProtoNames() bool

func (*ProtoJSON_MarshalOptions) ProtoMessage

func (*ProtoJSON_MarshalOptions) ProtoMessage()

func (*ProtoJSON_MarshalOptions) ProtoReflect

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

func (*ProtoJSON_MarshalOptions) Reset

func (x *ProtoJSON_MarshalOptions) Reset()

func (*ProtoJSON_MarshalOptions) String

func (x *ProtoJSON_MarshalOptions) String() string

type ProtoJSON_UnmarshalOptions

type ProtoJSON_UnmarshalOptions struct {
	AllowPartial   bool `protobuf:"varint,1,opt,name=AllowPartial,proto3" json:"AllowPartial,omitempty"`
	DiscardUnknown bool `protobuf:"varint,2,opt,name=DiscardUnknown,proto3" json:"DiscardUnknown,omitempty"`
	// contains filtered or unexported fields
}

protojson.UnmarshalOptions

func (*ProtoJSON_UnmarshalOptions) Descriptor deprecated

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

Deprecated: Use ProtoJSON_UnmarshalOptions.ProtoReflect.Descriptor instead.

func (*ProtoJSON_UnmarshalOptions) GetAllowPartial

func (x *ProtoJSON_UnmarshalOptions) GetAllowPartial() bool

func (*ProtoJSON_UnmarshalOptions) GetDiscardUnknown

func (x *ProtoJSON_UnmarshalOptions) GetDiscardUnknown() bool

func (*ProtoJSON_UnmarshalOptions) ProtoMessage

func (*ProtoJSON_UnmarshalOptions) ProtoMessage()

func (*ProtoJSON_UnmarshalOptions) ProtoReflect

func (*ProtoJSON_UnmarshalOptions) Reset

func (x *ProtoJSON_UnmarshalOptions) Reset()

func (*ProtoJSON_UnmarshalOptions) String

func (x *ProtoJSON_UnmarshalOptions) String() string

type Proto_MarshalOptions

type Proto_MarshalOptions struct {
	AllowPartial  bool `protobuf:"varint,1,opt,name=AllowPartial,proto3" json:"AllowPartial,omitempty"`
	Deterministic bool `protobuf:"varint,2,opt,name=Deterministic,proto3" json:"Deterministic,omitempty"`
	UseCachedSize bool `protobuf:"varint,3,opt,name=UseCachedSize,proto3" json:"UseCachedSize,omitempty"`
	// contains filtered or unexported fields
}

proto.MarshalOptions

func (*Proto_MarshalOptions) Descriptor deprecated

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

Deprecated: Use Proto_MarshalOptions.ProtoReflect.Descriptor instead.

func (*Proto_MarshalOptions) GetAllowPartial

func (x *Proto_MarshalOptions) GetAllowPartial() bool

func (*Proto_MarshalOptions) GetDeterministic

func (x *Proto_MarshalOptions) GetDeterministic() bool

func (*Proto_MarshalOptions) GetUseCachedSize

func (x *Proto_MarshalOptions) GetUseCachedSize() bool

func (*Proto_MarshalOptions) ProtoMessage

func (*Proto_MarshalOptions) ProtoMessage()

func (*Proto_MarshalOptions) ProtoReflect

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

func (*Proto_MarshalOptions) Reset

func (x *Proto_MarshalOptions) Reset()

func (*Proto_MarshalOptions) String

func (x *Proto_MarshalOptions) String() string

type Proto_UnmarshalOptions

type Proto_UnmarshalOptions struct {
	Merge          bool `protobuf:"varint,1,opt,name=Merge,proto3" json:"Merge,omitempty"`
	AllowPartial   bool `protobuf:"varint,2,opt,name=AllowPartial,proto3" json:"AllowPartial,omitempty"`
	DiscardUnknown bool `protobuf:"varint,3,opt,name=DiscardUnknown,proto3" json:"DiscardUnknown,omitempty"`
	// contains filtered or unexported fields
}

proto.UnmarshalOptions

func (*Proto_UnmarshalOptions) Descriptor deprecated

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

Deprecated: Use Proto_UnmarshalOptions.ProtoReflect.Descriptor instead.

func (*Proto_UnmarshalOptions) GetAllowPartial

func (x *Proto_UnmarshalOptions) GetAllowPartial() bool

func (*Proto_UnmarshalOptions) GetDiscardUnknown

func (x *Proto_UnmarshalOptions) GetDiscardUnknown() bool

func (*Proto_UnmarshalOptions) GetMerge

func (x *Proto_UnmarshalOptions) GetMerge() bool

func (*Proto_UnmarshalOptions) ProtoMessage

func (*Proto_UnmarshalOptions) ProtoMessage()

func (*Proto_UnmarshalOptions) ProtoReflect

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

func (*Proto_UnmarshalOptions) Reset

func (x *Proto_UnmarshalOptions) Reset()

func (*Proto_UnmarshalOptions) String

func (x *Proto_UnmarshalOptions) String() string

type Serialize

type Serialize struct {

	// Types that are assignable to Format:
	//	*Serialize_Json
	//	*Serialize_Protojson
	//	*Serialize_Proto
	//	*Serialize_Gogoproto
	Format isSerialize_Format `protobuf_oneof:"Format"`
	// contains filtered or unexported fields
}

func (*Serialize) Descriptor deprecated

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

Deprecated: Use Serialize.ProtoReflect.Descriptor instead.

func (*Serialize) GetFormat

func (m *Serialize) GetFormat() isSerialize_Format

func (*Serialize) GetGogoproto

func (x *Serialize) GetGogoproto() *GoGoProto

func (*Serialize) GetJson

func (x *Serialize) GetJson() *JSON

func (*Serialize) GetProto

func (x *Serialize) GetProto() *Proto

func (*Serialize) GetProtojson

func (x *Serialize) GetProtojson() *ProtoJSON

func (*Serialize) ProtoMessage

func (*Serialize) ProtoMessage()

func (*Serialize) ProtoReflect

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

func (*Serialize) Reset

func (x *Serialize) Reset()

func (*Serialize) String

func (x *Serialize) String() string

type Serialize_Gogoproto

type Serialize_Gogoproto struct {
	Gogoproto *GoGoProto `protobuf:"bytes,4,opt,name=gogoproto,proto3,oneof"`
}

type Serialize_Json

type Serialize_Json struct {
	Json *JSON `protobuf:"bytes,1,opt,name=json,proto3,oneof"`
}

type Serialize_Proto

type Serialize_Proto struct {
	Proto *Proto `protobuf:"bytes,3,opt,name=proto,proto3,oneof"`
}

type Serialize_Protojson

type Serialize_Protojson struct {
	Protojson *ProtoJSON `protobuf:"bytes,2,opt,name=protojson,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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