Documentation ¶
Overview ¶
Package Mysqlx_Connection is a generated protocol buffer package.
It is generated from these files:
github.com/pingcap/tipb/go-mysqlx/Connection/mysqlx_connection.proto
It has these top-level messages:
Capability Capabilities CapabilitiesGet CapabilitiesSet Close
Index ¶
- Variables
- type Capabilities
- func (*Capabilities) Descriptor() ([]byte, []int)
- func (m *Capabilities) GetCapabilities() []*Capability
- func (m *Capabilities) Marshal() (dAtA []byte, err error)
- func (m *Capabilities) MarshalTo(dAtA []byte) (int, error)
- func (*Capabilities) ProtoMessage()
- func (m *Capabilities) Reset()
- func (m *Capabilities) Size() (n int)
- func (m *Capabilities) String() string
- func (m *Capabilities) Unmarshal(dAtA []byte) error
- type CapabilitiesGet
- func (*CapabilitiesGet) Descriptor() ([]byte, []int)
- func (m *CapabilitiesGet) Marshal() (dAtA []byte, err error)
- func (m *CapabilitiesGet) MarshalTo(dAtA []byte) (int, error)
- func (*CapabilitiesGet) ProtoMessage()
- func (m *CapabilitiesGet) Reset()
- func (m *CapabilitiesGet) Size() (n int)
- func (m *CapabilitiesGet) String() string
- func (m *CapabilitiesGet) Unmarshal(dAtA []byte) error
- type CapabilitiesSet
- func (*CapabilitiesSet) Descriptor() ([]byte, []int)
- func (m *CapabilitiesSet) GetCapabilities() *Capabilities
- func (m *CapabilitiesSet) Marshal() (dAtA []byte, err error)
- func (m *CapabilitiesSet) MarshalTo(dAtA []byte) (int, error)
- func (*CapabilitiesSet) ProtoMessage()
- func (m *CapabilitiesSet) Reset()
- func (m *CapabilitiesSet) Size() (n int)
- func (m *CapabilitiesSet) String() string
- func (m *CapabilitiesSet) Unmarshal(dAtA []byte) error
- type Capability
- func (*Capability) Descriptor() ([]byte, []int)
- func (m *Capability) GetName() string
- func (m *Capability) GetValue() *Mysqlx_Datatypes.Any
- func (m *Capability) Marshal() (dAtA []byte, err error)
- func (m *Capability) MarshalTo(dAtA []byte) (int, error)
- func (*Capability) ProtoMessage()
- func (m *Capability) Reset()
- func (m *Capability) Size() (n int)
- func (m *Capability) String() string
- func (m *Capability) Unmarshal(dAtA []byte) error
- type Close
- func (*Close) Descriptor() ([]byte, []int)
- func (m *Close) Marshal() (dAtA []byte, err error)
- func (m *Close) MarshalTo(dAtA []byte) (int, error)
- func (*Close) ProtoMessage()
- func (m *Close) Reset()
- func (m *Close) Size() (n int)
- func (m *Close) String() string
- func (m *Close) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthMysqlxConnection = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMysqlxConnection = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶
type Capabilities struct { Capabilities []*Capability `protobuf:"bytes,1,rep,name=capabilities" json:"capabilities,omitempty"` XXX_unrecognized []byte `json:"-"` }
Capabilities
func (*Capabilities) Descriptor ¶
func (*Capabilities) Descriptor() ([]byte, []int)
func (*Capabilities) GetCapabilities ¶
func (m *Capabilities) GetCapabilities() []*Capability
func (*Capabilities) Marshal ¶
func (m *Capabilities) Marshal() (dAtA []byte, err error)
func (*Capabilities) ProtoMessage ¶
func (*Capabilities) ProtoMessage()
func (*Capabilities) Reset ¶
func (m *Capabilities) Reset()
func (*Capabilities) Size ¶
func (m *Capabilities) Size() (n int)
func (*Capabilities) String ¶
func (m *Capabilities) String() string
func (*Capabilities) Unmarshal ¶
func (m *Capabilities) Unmarshal(dAtA []byte) error
type CapabilitiesGet ¶
type CapabilitiesGet struct {
XXX_unrecognized []byte `json:"-"`
}
get supported connection capabilities and their current state
:returns: :protobuf:msg:`Mysqlx.Connection::Capabilities` or :protobuf:msg:`Mysqlx::Error`
func (*CapabilitiesGet) Descriptor ¶
func (*CapabilitiesGet) Descriptor() ([]byte, []int)
func (*CapabilitiesGet) Marshal ¶
func (m *CapabilitiesGet) Marshal() (dAtA []byte, err error)
func (*CapabilitiesGet) ProtoMessage ¶
func (*CapabilitiesGet) ProtoMessage()
func (*CapabilitiesGet) Reset ¶
func (m *CapabilitiesGet) Reset()
func (*CapabilitiesGet) Size ¶
func (m *CapabilitiesGet) Size() (n int)
func (*CapabilitiesGet) String ¶
func (m *CapabilitiesGet) String() string
func (*CapabilitiesGet) Unmarshal ¶
func (m *CapabilitiesGet) Unmarshal(dAtA []byte) error
type CapabilitiesSet ¶
type CapabilitiesSet struct { Capabilities *Capabilities `protobuf:"bytes,1,req,name=capabilities" json:"capabilities,omitempty"` XXX_unrecognized []byte `json:"-"` }
sets connection capabilities atomically
only provided values are changed, other values are left unchanged. If any of the changes fails, all changes are discarded.
:precond: active sessions == 0 :returns: :protobuf:msg:`Mysqlx::Ok` or :protobuf:msg:`Mysqlx::Error`
func (*CapabilitiesSet) Descriptor ¶
func (*CapabilitiesSet) Descriptor() ([]byte, []int)
func (*CapabilitiesSet) GetCapabilities ¶
func (m *CapabilitiesSet) GetCapabilities() *Capabilities
func (*CapabilitiesSet) Marshal ¶
func (m *CapabilitiesSet) Marshal() (dAtA []byte, err error)
func (*CapabilitiesSet) ProtoMessage ¶
func (*CapabilitiesSet) ProtoMessage()
func (*CapabilitiesSet) Reset ¶
func (m *CapabilitiesSet) Reset()
func (*CapabilitiesSet) Size ¶
func (m *CapabilitiesSet) Size() (n int)
func (*CapabilitiesSet) String ¶
func (m *CapabilitiesSet) String() string
func (*CapabilitiesSet) Unmarshal ¶
func (m *CapabilitiesSet) Unmarshal(dAtA []byte) error
type Capability ¶
type Capability struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *Mysqlx_Datatypes.Any `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
a Capability
a tuple of a “name“ and a :protobuf:msg:`Mysqlx.Datatypes::Any`
func (*Capability) Descriptor ¶
func (*Capability) Descriptor() ([]byte, []int)
func (*Capability) GetName ¶
func (m *Capability) GetName() string
func (*Capability) GetValue ¶
func (m *Capability) GetValue() *Mysqlx_Datatypes.Any
func (*Capability) Marshal ¶
func (m *Capability) Marshal() (dAtA []byte, err error)
func (*Capability) ProtoMessage ¶
func (*Capability) ProtoMessage()
func (*Capability) Reset ¶
func (m *Capability) Reset()
func (*Capability) Size ¶
func (m *Capability) Size() (n int)
func (*Capability) String ¶
func (m *Capability) String() string
func (*Capability) Unmarshal ¶
func (m *Capability) Unmarshal(dAtA []byte) error
type Close ¶
type Close struct {
XXX_unrecognized []byte `json:"-"`
}
announce to the server that the client wants to close the connection
it discards any session state of the server
:Returns: :protobuf:msg:`Mysqlx::Ok`
func (*Close) Descriptor ¶
func (*Close) ProtoMessage ¶
func (*Close) ProtoMessage()