Documentation ¶
Index ¶
- Variables
- type GoGoProto
- type JSON
- type Proto
- type ProtoJSON
- func (*ProtoJSON) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoJSON) GetMarshal_() *ProtoJSON_MarshalOptions
- func (x *ProtoJSON) GetUnmarshal_() *ProtoJSON_UnmarshalOptions
- func (*ProtoJSON) ProtoMessage()
- func (x *ProtoJSON) ProtoReflect() protoreflect.Message
- func (x *ProtoJSON) Reset()
- func (x *ProtoJSON) String() string
- type ProtoJSON_MarshalOptions
- func (*ProtoJSON_MarshalOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoJSON_MarshalOptions) GetAllowPartial() bool
- func (x *ProtoJSON_MarshalOptions) GetEmitUnpopulated() bool
- func (x *ProtoJSON_MarshalOptions) GetIndent() string
- func (x *ProtoJSON_MarshalOptions) GetMultiline() bool
- func (x *ProtoJSON_MarshalOptions) GetUseEnumNumbers() bool
- func (x *ProtoJSON_MarshalOptions) GetUseProtoNames() bool
- func (*ProtoJSON_MarshalOptions) ProtoMessage()
- func (x *ProtoJSON_MarshalOptions) ProtoReflect() protoreflect.Message
- func (x *ProtoJSON_MarshalOptions) Reset()
- func (x *ProtoJSON_MarshalOptions) String() string
- type ProtoJSON_UnmarshalOptions
- func (*ProtoJSON_UnmarshalOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoJSON_UnmarshalOptions) GetAllowPartial() bool
- func (x *ProtoJSON_UnmarshalOptions) GetDiscardUnknown() bool
- func (*ProtoJSON_UnmarshalOptions) ProtoMessage()
- func (x *ProtoJSON_UnmarshalOptions) ProtoReflect() protoreflect.Message
- func (x *ProtoJSON_UnmarshalOptions) Reset()
- func (x *ProtoJSON_UnmarshalOptions) String() string
- type Proto_MarshalOptions
- func (*Proto_MarshalOptions) Descriptor() ([]byte, []int)deprecated
- func (x *Proto_MarshalOptions) GetAllowPartial() bool
- func (x *Proto_MarshalOptions) GetDeterministic() bool
- func (x *Proto_MarshalOptions) GetUseCachedSize() bool
- func (*Proto_MarshalOptions) ProtoMessage()
- func (x *Proto_MarshalOptions) ProtoReflect() protoreflect.Message
- func (x *Proto_MarshalOptions) Reset()
- func (x *Proto_MarshalOptions) String() string
- type Proto_UnmarshalOptions
- func (*Proto_UnmarshalOptions) Descriptor() ([]byte, []int)deprecated
- func (x *Proto_UnmarshalOptions) GetAllowPartial() bool
- func (x *Proto_UnmarshalOptions) GetDiscardUnknown() bool
- func (x *Proto_UnmarshalOptions) GetMerge() bool
- func (*Proto_UnmarshalOptions) ProtoMessage()
- func (x *Proto_UnmarshalOptions) ProtoReflect() protoreflect.Message
- func (x *Proto_UnmarshalOptions) Reset()
- func (x *Proto_UnmarshalOptions) String() string
- type Serialize
- func (*Serialize) Descriptor() ([]byte, []int)deprecated
- func (m *Serialize) GetFormat() isSerialize_Format
- func (x *Serialize) GetGogoproto() *GoGoProto
- func (x *Serialize) GetJson() *JSON
- func (x *Serialize) GetProto() *Proto
- func (x *Serialize) GetProtojson() *ProtoJSON
- func (*Serialize) ProtoMessage()
- func (x *Serialize) ProtoReflect() protoreflect.Message
- func (x *Serialize) Reset()
- func (x *Serialize) String() string
- type Serialize_Gogoproto
- type Serialize_Json
- type Serialize_Proto
- type Serialize_Protojson
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional gosql.Serialize serialize = 9001;
E_Serialize = &file_proto_gosql_proto_extTypes[0]
)
Extension fields to descriptorpb.MessageOptions.
View Source
var File_proto_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) ProtoMessage ¶
func (*GoGoProto) ProtoMessage()
func (*GoGoProto) ProtoReflect ¶
func (x *GoGoProto) ProtoReflect() protoreflect.Message
type JSON ¶
type JSON struct {
// contains filtered or unexported fields
}
Use "encoding/json"
func (*JSON) Descriptor
deprecated
func (*JSON) ProtoMessage ¶
func (*JSON) ProtoMessage()
func (*JSON) ProtoReflect ¶
func (x *JSON) ProtoReflect() protoreflect.Message
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) 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
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) 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
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 (x *ProtoJSON_UnmarshalOptions) ProtoReflect() protoreflect.Message
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) GetGogoproto ¶
func (*Serialize) GetProtojson ¶
func (*Serialize) ProtoMessage ¶
func (*Serialize) ProtoMessage()
func (*Serialize) ProtoReflect ¶
func (x *Serialize) ProtoReflect() protoreflect.Message
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"`
}
Click to show internal directories.
Click to hide internal directories.