Documentation ¶
Index ¶
- Constants
- Variables
- type ClientMessages
- type ClientMessages_Type
- func (ClientMessages_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ClientMessages_Type) Enum() *ClientMessages_Type
- func (ClientMessages_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientMessages_Type) Number() protoreflect.EnumNumber
- func (x ClientMessages_Type) String() string
- func (ClientMessages_Type) Type() protoreflect.EnumType
- func (x *ClientMessages_Type) UnmarshalJSON(b []byte) errordeprecated
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetCode() uint32
- func (x *Error) GetMsg() string
- func (x *Error) GetSeverity() Error_Severity
- func (x *Error) GetSqlState() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type Error_Severity
- func (Error_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x Error_Severity) Enum() *Error_Severity
- func (Error_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x Error_Severity) Number() protoreflect.EnumNumber
- func (x Error_Severity) String() string
- func (Error_Severity) Type() protoreflect.EnumType
- func (x *Error_Severity) UnmarshalJSON(b []byte) errordeprecated
- type Ok
- type ServerMessages
- type ServerMessages_Type
- func (ServerMessages_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ServerMessages_Type) Enum() *ServerMessages_Type
- func (ServerMessages_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServerMessages_Type) Number() protoreflect.EnumNumber
- func (x ServerMessages_Type) String() string
- func (ServerMessages_Type) Type() protoreflect.EnumType
- func (x *ServerMessages_Type) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
const (
Default_Error_Severity = Error_ERROR
)
Default values for Error fields.
Variables ¶
var ( ClientMessages_Type_name = map[int32]string{ 1: "CON_CAPABILITIES_GET", 2: "CON_CAPABILITIES_SET", 3: "CON_CLOSE", 4: "SESS_AUTHENTICATE_START", 5: "SESS_AUTHENTICATE_CONTINUE", 6: "SESS_RESET", 7: "SESS_CLOSE", 12: "SQL_STMT_EXECUTE", 17: "CRUD_FIND", 18: "CRUD_INSERT", 19: "CRUD_UPDATE", 20: "CRUD_DELETE", 24: "EXPECT_OPEN", 25: "EXPECT_CLOSE", 30: "CRUD_CREATE_VIEW", 31: "CRUD_MODIFY_VIEW", 32: "CRUD_DROP_VIEW", 40: "PREPARE_PREPARE", 41: "PREPARE_EXECUTE", 42: "PREPARE_DEALLOCATE", 43: "CURSOR_OPEN", 44: "CURSOR_CLOSE", 45: "CURSOR_FETCH", 46: "COMPRESSION", } ClientMessages_Type_value = map[string]int32{ "CON_CAPABILITIES_GET": 1, "CON_CAPABILITIES_SET": 2, "CON_CLOSE": 3, "SESS_AUTHENTICATE_START": 4, "SESS_AUTHENTICATE_CONTINUE": 5, "SESS_RESET": 6, "SESS_CLOSE": 7, "SQL_STMT_EXECUTE": 12, "CRUD_FIND": 17, "CRUD_INSERT": 18, "CRUD_UPDATE": 19, "CRUD_DELETE": 20, "EXPECT_OPEN": 24, "EXPECT_CLOSE": 25, "CRUD_CREATE_VIEW": 30, "CRUD_MODIFY_VIEW": 31, "CRUD_DROP_VIEW": 32, "PREPARE_PREPARE": 40, "PREPARE_EXECUTE": 41, "PREPARE_DEALLOCATE": 42, "CURSOR_OPEN": 43, "CURSOR_CLOSE": 44, "CURSOR_FETCH": 45, "COMPRESSION": 46, } )
Enum value maps for ClientMessages_Type.
var ( ServerMessages_Type_name = map[int32]string{ 0: "OK", 1: "ERROR", 2: "CONN_CAPABILITIES", 3: "SESS_AUTHENTICATE_CONTINUE", 4: "SESS_AUTHENTICATE_OK", 11: "NOTICE", 12: "RESULTSET_COLUMN_META_DATA", 13: "RESULTSET_ROW", 14: "RESULTSET_FETCH_DONE", 15: "RESULTSET_FETCH_SUSPENDED", 16: "RESULTSET_FETCH_DONE_MORE_RESULTSETS", 17: "SQL_STMT_EXECUTE_OK", 18: "RESULTSET_FETCH_DONE_MORE_OUT_PARAMS", 19: "COMPRESSION", } ServerMessages_Type_value = map[string]int32{ "OK": 0, "ERROR": 1, "CONN_CAPABILITIES": 2, "SESS_AUTHENTICATE_CONTINUE": 3, "SESS_AUTHENTICATE_OK": 4, "NOTICE": 11, "RESULTSET_COLUMN_META_DATA": 12, "RESULTSET_ROW": 13, "RESULTSET_FETCH_DONE": 14, "RESULTSET_FETCH_SUSPENDED": 15, "RESULTSET_FETCH_DONE_MORE_RESULTSETS": 16, "SQL_STMT_EXECUTE_OK": 17, "RESULTSET_FETCH_DONE_MORE_OUT_PARAMS": 18, "COMPRESSION": 19, } )
Enum value maps for ServerMessages_Type.
var ( Error_Severity_name = map[int32]string{ 0: "ERROR", 1: "FATAL", } Error_Severity_value = map[string]int32{ "ERROR": 0, "FATAL": 1, } )
Enum value maps for Error_Severity.
var ( // optional Mysqlx.ClientMessages.Type client_message_id = 100001; E_ClientMessageId = &file_mysqlx_proto_extTypes[0] // optional Mysqlx.ServerMessages.Type server_message_id = 100002; E_ServerMessageId = &file_mysqlx_proto_extTypes[1] )
Extension fields to descriptorpb.MessageOptions.
var File_mysqlx_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClientMessages ¶
type ClientMessages struct {
// contains filtered or unexported fields
}
* IDs of messages that can be sent from client to the server.
@note This message is never sent on the wire. It is only used to let “protoc“: - generate constants - check for uniqueness
func (*ClientMessages) Descriptor
deprecated
func (*ClientMessages) Descriptor() ([]byte, []int)
Deprecated: Use ClientMessages.ProtoReflect.Descriptor instead.
func (*ClientMessages) ProtoMessage ¶
func (*ClientMessages) ProtoMessage()
func (*ClientMessages) ProtoReflect ¶
func (x *ClientMessages) ProtoReflect() protoreflect.Message
func (*ClientMessages) Reset ¶
func (x *ClientMessages) Reset()
func (*ClientMessages) String ¶
func (x *ClientMessages) String() string
type ClientMessages_Type ¶
type ClientMessages_Type int32
const ( ClientMessages_CON_CAPABILITIES_GET ClientMessages_Type = 1 ClientMessages_CON_CAPABILITIES_SET ClientMessages_Type = 2 ClientMessages_CON_CLOSE ClientMessages_Type = 3 ClientMessages_SESS_AUTHENTICATE_START ClientMessages_Type = 4 ClientMessages_SESS_AUTHENTICATE_CONTINUE ClientMessages_Type = 5 ClientMessages_SESS_RESET ClientMessages_Type = 6 ClientMessages_SESS_CLOSE ClientMessages_Type = 7 ClientMessages_SQL_STMT_EXECUTE ClientMessages_Type = 12 ClientMessages_CRUD_FIND ClientMessages_Type = 17 ClientMessages_CRUD_INSERT ClientMessages_Type = 18 ClientMessages_CRUD_UPDATE ClientMessages_Type = 19 ClientMessages_CRUD_DELETE ClientMessages_Type = 20 ClientMessages_EXPECT_OPEN ClientMessages_Type = 24 ClientMessages_EXPECT_CLOSE ClientMessages_Type = 25 ClientMessages_CRUD_CREATE_VIEW ClientMessages_Type = 30 ClientMessages_CRUD_MODIFY_VIEW ClientMessages_Type = 31 ClientMessages_CRUD_DROP_VIEW ClientMessages_Type = 32 ClientMessages_PREPARE_PREPARE ClientMessages_Type = 40 ClientMessages_PREPARE_EXECUTE ClientMessages_Type = 41 ClientMessages_PREPARE_DEALLOCATE ClientMessages_Type = 42 ClientMessages_CURSOR_OPEN ClientMessages_Type = 43 ClientMessages_CURSOR_CLOSE ClientMessages_Type = 44 ClientMessages_CURSOR_FETCH ClientMessages_Type = 45 ClientMessages_COMPRESSION ClientMessages_Type = 46 )
func (ClientMessages_Type) Descriptor ¶
func (ClientMessages_Type) Descriptor() protoreflect.EnumDescriptor
func (ClientMessages_Type) Enum ¶
func (x ClientMessages_Type) Enum() *ClientMessages_Type
func (ClientMessages_Type) EnumDescriptor
deprecated
func (ClientMessages_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientMessages_Type.Descriptor instead.
func (ClientMessages_Type) Number ¶
func (x ClientMessages_Type) Number() protoreflect.EnumNumber
func (ClientMessages_Type) String ¶
func (x ClientMessages_Type) String() string
func (ClientMessages_Type) Type ¶
func (ClientMessages_Type) Type() protoreflect.EnumType
func (*ClientMessages_Type) UnmarshalJSON
deprecated
func (x *ClientMessages_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Error ¶
type Error struct { //* severity of the error message Severity *Error_Severity `protobuf:"varint,1,opt,name=severity,enum=Mysqlx.Error_Severity,def=0" json:"severity,omitempty"` //* error-code Code *uint32 `protobuf:"varint,2,req,name=code" json:"code,omitempty"` //* SQL state SqlState *string `protobuf:"bytes,4,req,name=sql_state,json=sqlState" json:"sql_state,omitempty"` //* human readable error message Msg *string `protobuf:"bytes,3,req,name=msg" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetSeverity ¶
func (x *Error) GetSeverity() Error_Severity
func (*Error) GetSqlState ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Error_Severity ¶
type Error_Severity int32
const ( Error_ERROR Error_Severity = 0 Error_FATAL Error_Severity = 1 )
func (Error_Severity) Descriptor ¶
func (Error_Severity) Descriptor() protoreflect.EnumDescriptor
func (Error_Severity) Enum ¶
func (x Error_Severity) Enum() *Error_Severity
func (Error_Severity) EnumDescriptor
deprecated
func (Error_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use Error_Severity.Descriptor instead.
func (Error_Severity) Number ¶
func (x Error_Severity) Number() protoreflect.EnumNumber
func (Error_Severity) String ¶
func (x Error_Severity) String() string
func (Error_Severity) Type ¶
func (Error_Severity) Type() protoreflect.EnumType
func (*Error_Severity) UnmarshalJSON
deprecated
func (x *Error_Severity) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Ok ¶
type Ok struct { Msg *string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Ok) Descriptor
deprecated
func (*Ok) ProtoMessage ¶
func (*Ok) ProtoMessage()
func (*Ok) ProtoReflect ¶
func (x *Ok) ProtoReflect() protoreflect.Message
type ServerMessages ¶
type ServerMessages struct {
// contains filtered or unexported fields
}
* IDs of messages that can be sent from server to client.
@note This message is never sent on the wire. It is only used to let “protoc“: - generate constants - check for uniqueness
func (*ServerMessages) Descriptor
deprecated
func (*ServerMessages) Descriptor() ([]byte, []int)
Deprecated: Use ServerMessages.ProtoReflect.Descriptor instead.
func (*ServerMessages) ProtoMessage ¶
func (*ServerMessages) ProtoMessage()
func (*ServerMessages) ProtoReflect ¶
func (x *ServerMessages) ProtoReflect() protoreflect.Message
func (*ServerMessages) Reset ¶
func (x *ServerMessages) Reset()
func (*ServerMessages) String ¶
func (x *ServerMessages) String() string
type ServerMessages_Type ¶
type ServerMessages_Type int32
const ( ServerMessages_OK ServerMessages_Type = 0 ServerMessages_ERROR ServerMessages_Type = 1 ServerMessages_CONN_CAPABILITIES ServerMessages_Type = 2 ServerMessages_SESS_AUTHENTICATE_CONTINUE ServerMessages_Type = 3 ServerMessages_SESS_AUTHENTICATE_OK ServerMessages_Type = 4 // NOTICE has to stay at 11 forever ServerMessages_NOTICE ServerMessages_Type = 11 ServerMessages_RESULTSET_COLUMN_META_DATA ServerMessages_Type = 12 ServerMessages_RESULTSET_ROW ServerMessages_Type = 13 ServerMessages_RESULTSET_FETCH_DONE ServerMessages_Type = 14 ServerMessages_RESULTSET_FETCH_SUSPENDED ServerMessages_Type = 15 ServerMessages_RESULTSET_FETCH_DONE_MORE_RESULTSETS ServerMessages_Type = 16 ServerMessages_SQL_STMT_EXECUTE_OK ServerMessages_Type = 17 ServerMessages_RESULTSET_FETCH_DONE_MORE_OUT_PARAMS ServerMessages_Type = 18 ServerMessages_COMPRESSION ServerMessages_Type = 19 )
func (ServerMessages_Type) Descriptor ¶
func (ServerMessages_Type) Descriptor() protoreflect.EnumDescriptor
func (ServerMessages_Type) Enum ¶
func (x ServerMessages_Type) Enum() *ServerMessages_Type
func (ServerMessages_Type) EnumDescriptor
deprecated
func (ServerMessages_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServerMessages_Type.Descriptor instead.
func (ServerMessages_Type) Number ¶
func (x ServerMessages_Type) Number() protoreflect.EnumNumber
func (ServerMessages_Type) String ¶
func (x ServerMessages_Type) String() string
func (ServerMessages_Type) Type ¶
func (ServerMessages_Type) Type() protoreflect.EnumType
func (*ServerMessages_Type) UnmarshalJSON
deprecated
func (x *ServerMessages_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.