2015-08-08 15:29:18 +03:00
|
|
|
// Code generated by protoc-gen-gogo.
|
|
|
|
// source: raft_internal.proto
|
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
package etcdserverpb
|
|
|
|
|
2016-01-27 04:41:19 +03:00
|
|
|
import (
|
|
|
|
"fmt"
|
2015-08-08 15:29:18 +03:00
|
|
|
|
2016-03-23 03:10:28 +03:00
|
|
|
proto "github.com/gogo/protobuf/proto"
|
2015-08-08 15:29:18 +03:00
|
|
|
|
2016-04-14 02:23:07 +03:00
|
|
|
math "math"
|
|
|
|
)
|
2016-04-08 10:58:46 +03:00
|
|
|
|
2015-08-08 15:29:18 +03:00
|
|
|
import io "io"
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
2016-01-27 04:41:19 +03:00
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
2015-08-08 15:29:18 +03:00
|
|
|
|
2016-05-17 09:20:50 +03:00
|
|
|
type RequestHeader struct {
|
|
|
|
ID uint64 `protobuf:"varint,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"`
|
|
|
|
// username is a username that is associated with an auth token of gRPC connection
|
|
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestHeader) Reset() { *m = RequestHeader{} }
|
|
|
|
func (m *RequestHeader) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestHeader) ProtoMessage() {}
|
|
|
|
func (*RequestHeader) Descriptor() ([]byte, []int) { return fileDescriptorRaftInternal, []int{0} }
|
|
|
|
|
2015-08-08 15:29:18 +03:00
|
|
|
// An InternalRaftRequest is the union of all requests which can be
|
|
|
|
// sent via raft.
|
|
|
|
type InternalRaftRequest struct {
|
2016-06-05 10:57:23 +03:00
|
|
|
Header *RequestHeader `protobuf:"bytes,100,opt,name=header" json:"header,omitempty"`
|
|
|
|
ID uint64 `protobuf:"varint,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"`
|
|
|
|
V2 *Request `protobuf:"bytes,2,opt,name=v2" json:"v2,omitempty"`
|
|
|
|
Range *RangeRequest `protobuf:"bytes,3,opt,name=range" json:"range,omitempty"`
|
|
|
|
Put *PutRequest `protobuf:"bytes,4,opt,name=put" json:"put,omitempty"`
|
|
|
|
DeleteRange *DeleteRangeRequest `protobuf:"bytes,5,opt,name=delete_range,json=deleteRange" json:"delete_range,omitempty"`
|
|
|
|
Txn *TxnRequest `protobuf:"bytes,6,opt,name=txn" json:"txn,omitempty"`
|
|
|
|
Compaction *CompactionRequest `protobuf:"bytes,7,opt,name=compaction" json:"compaction,omitempty"`
|
|
|
|
LeaseGrant *LeaseGrantRequest `protobuf:"bytes,8,opt,name=lease_grant,json=leaseGrant" json:"lease_grant,omitempty"`
|
|
|
|
LeaseRevoke *LeaseRevokeRequest `protobuf:"bytes,9,opt,name=lease_revoke,json=leaseRevoke" json:"lease_revoke,omitempty"`
|
|
|
|
Alarm *AlarmRequest `protobuf:"bytes,10,opt,name=alarm" json:"alarm,omitempty"`
|
|
|
|
AuthEnable *AuthEnableRequest `protobuf:"bytes,1000,opt,name=auth_enable,json=authEnable" json:"auth_enable,omitempty"`
|
|
|
|
AuthDisable *AuthDisableRequest `protobuf:"bytes,1011,opt,name=auth_disable,json=authDisable" json:"auth_disable,omitempty"`
|
|
|
|
AuthUserAdd *AuthUserAddRequest `protobuf:"bytes,1012,opt,name=auth_user_add,json=authUserAdd" json:"auth_user_add,omitempty"`
|
|
|
|
AuthUserDelete *AuthUserDeleteRequest `protobuf:"bytes,1013,opt,name=auth_user_delete,json=authUserDelete" json:"auth_user_delete,omitempty"`
|
|
|
|
AuthUserChangePassword *AuthUserChangePasswordRequest `protobuf:"bytes,1014,opt,name=auth_user_change_password,json=authUserChangePassword" json:"auth_user_change_password,omitempty"`
|
|
|
|
AuthUserGrant *AuthUserGrantRequest `protobuf:"bytes,1015,opt,name=auth_user_grant,json=authUserGrant" json:"auth_user_grant,omitempty"`
|
|
|
|
AuthRoleAdd *AuthRoleAddRequest `protobuf:"bytes,1016,opt,name=auth_role_add,json=authRoleAdd" json:"auth_role_add,omitempty"`
|
|
|
|
AuthRoleGrant *AuthRoleGrantRequest `protobuf:"bytes,1017,opt,name=auth_role_grant,json=authRoleGrant" json:"auth_role_grant,omitempty"`
|
|
|
|
Authenticate *AuthenticateRequest `protobuf:"bytes,1018,opt,name=authenticate" json:"authenticate,omitempty"`
|
|
|
|
AuthUserGet *AuthUserGetRequest `protobuf:"bytes,1019,opt,name=auth_user_get,json=authUserGet" json:"auth_user_get,omitempty"`
|
|
|
|
AuthRoleGet *AuthRoleGetRequest `protobuf:"bytes,1020,opt,name=auth_role_get,json=authRoleGet" json:"auth_role_get,omitempty"`
|
|
|
|
AuthUserRevokeRole *AuthUserRevokeRoleRequest `protobuf:"bytes,1021,opt,name=auth_user_revoke_role,json=authUserRevokeRole" json:"auth_user_revoke_role,omitempty"`
|
|
|
|
AuthRoleRevokePermission *AuthRoleRevokePermissionRequest `protobuf:"bytes,1022,opt,name=auth_role_revoke_permission,json=authRoleRevokePermission" json:"auth_role_revoke_permission,omitempty"`
|
|
|
|
AuthRoleDelete *AuthRoleDeleteRequest `protobuf:"bytes,1023,opt,name=auth_role_delete,json=authRoleDelete" json:"auth_role_delete,omitempty"`
|
2015-08-08 15:29:18 +03:00
|
|
|
}
|
|
|
|
|
2016-04-26 00:08:33 +03:00
|
|
|
func (m *InternalRaftRequest) Reset() { *m = InternalRaftRequest{} }
|
|
|
|
func (m *InternalRaftRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*InternalRaftRequest) ProtoMessage() {}
|
2016-05-17 09:20:50 +03:00
|
|
|
func (*InternalRaftRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaftInternal, []int{1} }
|
2015-08-08 15:29:18 +03:00
|
|
|
|
2015-09-13 18:28:10 +03:00
|
|
|
type EmptyResponse struct {
|
|
|
|
}
|
|
|
|
|
2016-04-26 00:08:33 +03:00
|
|
|
func (m *EmptyResponse) Reset() { *m = EmptyResponse{} }
|
|
|
|
func (m *EmptyResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*EmptyResponse) ProtoMessage() {}
|
2016-05-17 09:20:50 +03:00
|
|
|
func (*EmptyResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaftInternal, []int{2} }
|
2015-09-13 18:28:10 +03:00
|
|
|
|
2016-01-27 04:41:19 +03:00
|
|
|
func init() {
|
2016-05-17 09:20:50 +03:00
|
|
|
proto.RegisterType((*RequestHeader)(nil), "etcdserverpb.RequestHeader")
|
2016-01-27 04:41:19 +03:00
|
|
|
proto.RegisterType((*InternalRaftRequest)(nil), "etcdserverpb.InternalRaftRequest")
|
|
|
|
proto.RegisterType((*EmptyResponse)(nil), "etcdserverpb.EmptyResponse")
|
|
|
|
}
|
2016-05-17 09:20:50 +03:00
|
|
|
func (m *RequestHeader) Marshal() (data []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
data = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(data)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return data[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestHeader) MarshalTo(data []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.ID != 0 {
|
|
|
|
data[i] = 0x8
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.ID))
|
|
|
|
}
|
|
|
|
if len(m.Username) > 0 {
|
|
|
|
data[i] = 0x12
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(len(m.Username)))
|
|
|
|
i += copy(data[i:], m.Username)
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2015-09-04 01:32:25 +03:00
|
|
|
func (m *InternalRaftRequest) Marshal() (data []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
data = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(data)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return data[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *InternalRaftRequest) MarshalTo(data []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2015-09-13 18:28:10 +03:00
|
|
|
if m.ID != 0 {
|
|
|
|
data[i] = 0x8
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.ID))
|
|
|
|
}
|
2015-09-04 01:32:25 +03:00
|
|
|
if m.V2 != nil {
|
2015-09-13 18:28:10 +03:00
|
|
|
data[i] = 0x12
|
2015-09-04 01:32:25 +03:00
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.V2.Size()))
|
|
|
|
n1, err := m.V2.MarshalTo(data[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n1
|
|
|
|
}
|
|
|
|
if m.Range != nil {
|
2015-09-13 18:28:10 +03:00
|
|
|
data[i] = 0x1a
|
2015-09-04 01:32:25 +03:00
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.Range.Size()))
|
|
|
|
n2, err := m.Range.MarshalTo(data[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n2
|
|
|
|
}
|
|
|
|
if m.Put != nil {
|
2015-09-13 18:28:10 +03:00
|
|
|
data[i] = 0x22
|
2015-09-04 01:32:25 +03:00
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.Put.Size()))
|
|
|
|
n3, err := m.Put.MarshalTo(data[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n3
|
|
|
|
}
|
|
|
|
if m.DeleteRange != nil {
|
2015-09-13 18:28:10 +03:00
|
|
|
data[i] = 0x2a
|
2015-09-04 01:32:25 +03:00
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.DeleteRange.Size()))
|
|
|
|
n4, err := m.DeleteRange.MarshalTo(data[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n4
|
|
|
|
}
|
|
|
|
if m.Txn != nil {
|
2015-09-13 18:28:10 +03:00
|
|
|
data[i] = 0x32
|
2015-09-04 01:32:25 +03:00
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.Txn.Size()))
|
|
|
|
n5, err := m.Txn.MarshalTo(data[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n5
|
|
|
|
}
|
2015-09-06 02:08:58 +03:00
|
|
|
if m.Compaction != nil {
|
|
|
|
data[i] = 0x3a
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.Compaction.Size()))
|
|
|
|
n6, err := m.Compaction.MarshalTo(data[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n6
|
|
|
|
}
|
2016-04-07 20:27:36 +03:00
|
|
|
if m.LeaseGrant != nil {
|
2016-01-06 00:49:25 +03:00
|
|
|
data[i] = 0x42
|
|
|
|
i++
|
2016-04-07 20:27:36 +03:00
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.LeaseGrant.Size()))
|
|
|
|
n7, err := m.LeaseGrant.MarshalTo(data[i:])
|
2016-01-06 00:49:25 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n7
|
|
|
|
}
|
|
|
|
if m.LeaseRevoke != nil {
|
|
|
|
data[i] = 0x4a
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.LeaseRevoke.Size()))
|
|
|
|
n8, err := m.LeaseRevoke.MarshalTo(data[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n8
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.Alarm != nil {
|
2016-03-02 08:56:42 +03:00
|
|
|
data[i] = 0x52
|
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.Alarm.Size()))
|
|
|
|
n9, err := m.Alarm.MarshalTo(data[i:])
|
2016-03-02 08:56:42 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n9
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.Header != nil {
|
|
|
|
data[i] = 0xa2
|
2016-03-23 07:25:48 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
data[i] = 0x6
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.Header.Size()))
|
|
|
|
n10, err := m.Header.MarshalTo(data[i:])
|
2016-03-23 07:25:48 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n10
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthEnable != nil {
|
|
|
|
data[i] = 0xc2
|
2016-03-24 03:20:52 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
data[i] = 0x3e
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthEnable.Size()))
|
|
|
|
n11, err := m.AuthEnable.MarshalTo(data[i:])
|
2016-03-24 03:20:52 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n11
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthDisable != nil {
|
|
|
|
data[i] = 0x9a
|
2016-03-31 05:29:47 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
data[i] = 0x3f
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthDisable.Size()))
|
|
|
|
n12, err := m.AuthDisable.MarshalTo(data[i:])
|
2016-03-31 05:29:47 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n12
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthUserAdd != nil {
|
|
|
|
data[i] = 0xa2
|
2016-03-31 08:31:07 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
data[i] = 0x3f
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthUserAdd.Size()))
|
|
|
|
n13, err := m.AuthUserAdd.MarshalTo(data[i:])
|
2016-03-31 08:31:07 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n13
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthUserDelete != nil {
|
|
|
|
data[i] = 0xaa
|
2016-04-01 05:07:43 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
data[i] = 0x3f
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthUserDelete.Size()))
|
|
|
|
n14, err := m.AuthUserDelete.MarshalTo(data[i:])
|
2016-04-01 05:07:43 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n14
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthUserChangePassword != nil {
|
|
|
|
data[i] = 0xb2
|
2016-04-05 09:42:38 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
data[i] = 0x3f
|
2016-04-05 09:42:38 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthUserChangePassword.Size()))
|
|
|
|
n15, err := m.AuthUserChangePassword.MarshalTo(data[i:])
|
2016-04-05 09:42:38 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n15
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthUserGrant != nil {
|
|
|
|
data[i] = 0xba
|
2016-04-11 08:34:13 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
data[i] = 0x3f
|
2016-04-11 08:34:13 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthUserGrant.Size()))
|
|
|
|
n16, err := m.AuthUserGrant.MarshalTo(data[i:])
|
2016-04-11 08:34:13 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n16
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthRoleAdd != nil {
|
|
|
|
data[i] = 0xc2
|
2016-04-13 07:44:53 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
data[i] = 0x3f
|
2016-04-13 07:44:53 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthRoleAdd.Size()))
|
|
|
|
n17, err := m.AuthRoleAdd.MarshalTo(data[i:])
|
2016-04-13 07:44:53 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n17
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthRoleGrant != nil {
|
|
|
|
data[i] = 0xca
|
2016-05-07 21:24:43 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
data[i] = 0x3f
|
2016-05-07 21:24:43 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthRoleGrant.Size()))
|
|
|
|
n18, err := m.AuthRoleGrant.MarshalTo(data[i:])
|
2016-05-07 21:24:43 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n18
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.Authenticate != nil {
|
|
|
|
data[i] = 0xd2
|
2016-05-17 09:20:50 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
data[i] = 0x3f
|
2016-05-17 09:20:50 +03:00
|
|
|
i++
|
2016-05-30 11:21:11 +03:00
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.Authenticate.Size()))
|
|
|
|
n19, err := m.Authenticate.MarshalTo(data[i:])
|
2016-05-17 09:20:50 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n19
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthUserGet != nil {
|
|
|
|
data[i] = 0xda
|
|
|
|
i++
|
|
|
|
data[i] = 0x3f
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthUserGet.Size()))
|
|
|
|
n20, err := m.AuthUserGet.MarshalTo(data[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n20
|
|
|
|
}
|
2016-06-02 17:25:15 +03:00
|
|
|
if m.AuthRoleGet != nil {
|
|
|
|
data[i] = 0xe2
|
|
|
|
i++
|
|
|
|
data[i] = 0x3f
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthRoleGet.Size()))
|
|
|
|
n21, err := m.AuthRoleGet.MarshalTo(data[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n21
|
|
|
|
}
|
2016-06-05 10:57:23 +03:00
|
|
|
if m.AuthUserRevokeRole != nil {
|
2016-06-03 10:38:59 +03:00
|
|
|
data[i] = 0xea
|
|
|
|
i++
|
|
|
|
data[i] = 0x3f
|
|
|
|
i++
|
2016-06-05 10:57:23 +03:00
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthUserRevokeRole.Size()))
|
|
|
|
n22, err := m.AuthUserRevokeRole.MarshalTo(data[i:])
|
2016-06-03 10:38:59 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n22
|
|
|
|
}
|
2016-06-05 10:57:23 +03:00
|
|
|
if m.AuthRoleRevokePermission != nil {
|
2016-06-03 11:10:08 +03:00
|
|
|
data[i] = 0xf2
|
|
|
|
i++
|
|
|
|
data[i] = 0x3f
|
|
|
|
i++
|
2016-06-05 10:57:23 +03:00
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthRoleRevokePermission.Size()))
|
|
|
|
n23, err := m.AuthRoleRevokePermission.MarshalTo(data[i:])
|
2016-06-03 11:10:08 +03:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n23
|
|
|
|
}
|
2016-06-03 11:33:05 +03:00
|
|
|
if m.AuthRoleDelete != nil {
|
|
|
|
data[i] = 0xfa
|
|
|
|
i++
|
|
|
|
data[i] = 0x3f
|
|
|
|
i++
|
|
|
|
i = encodeVarintRaftInternal(data, i, uint64(m.AuthRoleDelete.Size()))
|
|
|
|
n24, err := m.AuthRoleDelete.MarshalTo(data[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n24
|
|
|
|
}
|
2015-09-04 01:32:25 +03:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2015-09-13 18:28:10 +03:00
|
|
|
func (m *EmptyResponse) Marshal() (data []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
data = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(data)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return data[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *EmptyResponse) MarshalTo(data []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2015-09-04 01:32:25 +03:00
|
|
|
func encodeFixed64RaftInternal(data []byte, offset int, v uint64) int {
|
|
|
|
data[offset] = uint8(v)
|
|
|
|
data[offset+1] = uint8(v >> 8)
|
|
|
|
data[offset+2] = uint8(v >> 16)
|
|
|
|
data[offset+3] = uint8(v >> 24)
|
|
|
|
data[offset+4] = uint8(v >> 32)
|
|
|
|
data[offset+5] = uint8(v >> 40)
|
|
|
|
data[offset+6] = uint8(v >> 48)
|
|
|
|
data[offset+7] = uint8(v >> 56)
|
|
|
|
return offset + 8
|
|
|
|
}
|
|
|
|
func encodeFixed32RaftInternal(data []byte, offset int, v uint32) int {
|
|
|
|
data[offset] = uint8(v)
|
|
|
|
data[offset+1] = uint8(v >> 8)
|
|
|
|
data[offset+2] = uint8(v >> 16)
|
|
|
|
data[offset+3] = uint8(v >> 24)
|
|
|
|
return offset + 4
|
|
|
|
}
|
|
|
|
func encodeVarintRaftInternal(data []byte, offset int, v uint64) int {
|
|
|
|
for v >= 1<<7 {
|
|
|
|
data[offset] = uint8(v&0x7f | 0x80)
|
|
|
|
v >>= 7
|
|
|
|
offset++
|
|
|
|
}
|
|
|
|
data[offset] = uint8(v)
|
|
|
|
return offset + 1
|
|
|
|
}
|
2016-05-17 09:20:50 +03:00
|
|
|
func (m *RequestHeader) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.ID != 0 {
|
|
|
|
n += 1 + sovRaftInternal(uint64(m.ID))
|
|
|
|
}
|
|
|
|
l = len(m.Username)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2015-09-04 01:32:25 +03:00
|
|
|
func (m *InternalRaftRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
2015-09-13 18:28:10 +03:00
|
|
|
if m.ID != 0 {
|
|
|
|
n += 1 + sovRaftInternal(uint64(m.ID))
|
|
|
|
}
|
2015-09-04 01:32:25 +03:00
|
|
|
if m.V2 != nil {
|
|
|
|
l = m.V2.Size()
|
|
|
|
n += 1 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
|
|
|
if m.Range != nil {
|
|
|
|
l = m.Range.Size()
|
|
|
|
n += 1 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
|
|
|
if m.Put != nil {
|
|
|
|
l = m.Put.Size()
|
|
|
|
n += 1 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
|
|
|
if m.DeleteRange != nil {
|
|
|
|
l = m.DeleteRange.Size()
|
|
|
|
n += 1 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
|
|
|
if m.Txn != nil {
|
|
|
|
l = m.Txn.Size()
|
|
|
|
n += 1 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
2015-09-06 02:08:58 +03:00
|
|
|
if m.Compaction != nil {
|
|
|
|
l = m.Compaction.Size()
|
|
|
|
n += 1 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
2016-04-07 20:27:36 +03:00
|
|
|
if m.LeaseGrant != nil {
|
|
|
|
l = m.LeaseGrant.Size()
|
2016-01-06 00:49:25 +03:00
|
|
|
n += 1 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
|
|
|
if m.LeaseRevoke != nil {
|
|
|
|
l = m.LeaseRevoke.Size()
|
|
|
|
n += 1 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.Alarm != nil {
|
|
|
|
l = m.Alarm.Size()
|
|
|
|
n += 1 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
|
|
|
if m.Header != nil {
|
|
|
|
l = m.Header.Size()
|
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
2016-03-02 08:56:42 +03:00
|
|
|
if m.AuthEnable != nil {
|
|
|
|
l = m.AuthEnable.Size()
|
2016-05-30 11:21:11 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
2016-03-02 08:56:42 +03:00
|
|
|
}
|
2016-05-07 21:24:43 +03:00
|
|
|
if m.AuthDisable != nil {
|
|
|
|
l = m.AuthDisable.Size()
|
2016-05-30 11:21:11 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
2016-05-07 21:24:43 +03:00
|
|
|
}
|
2016-03-29 08:32:19 +03:00
|
|
|
if m.AuthUserAdd != nil {
|
|
|
|
l = m.AuthUserAdd.Size()
|
2016-05-30 11:21:11 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
2016-03-23 07:25:48 +03:00
|
|
|
}
|
2016-03-31 05:29:47 +03:00
|
|
|
if m.AuthUserDelete != nil {
|
|
|
|
l = m.AuthUserDelete.Size()
|
2016-05-30 11:21:11 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
2016-03-31 05:29:47 +03:00
|
|
|
}
|
2016-03-31 08:31:07 +03:00
|
|
|
if m.AuthUserChangePassword != nil {
|
|
|
|
l = m.AuthUserChangePassword.Size()
|
2016-05-30 11:21:11 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
2016-03-31 08:31:07 +03:00
|
|
|
}
|
2016-04-11 08:34:13 +03:00
|
|
|
if m.AuthUserGrant != nil {
|
|
|
|
l = m.AuthUserGrant.Size()
|
2016-05-30 11:21:11 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
2016-04-11 08:34:13 +03:00
|
|
|
}
|
2016-04-01 05:07:43 +03:00
|
|
|
if m.AuthRoleAdd != nil {
|
|
|
|
l = m.AuthRoleAdd.Size()
|
2016-05-07 21:24:43 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
2016-04-01 05:07:43 +03:00
|
|
|
}
|
2016-04-05 09:42:38 +03:00
|
|
|
if m.AuthRoleGrant != nil {
|
|
|
|
l = m.AuthRoleGrant.Size()
|
2016-04-11 08:34:13 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
2016-04-05 09:42:38 +03:00
|
|
|
}
|
2016-04-13 07:44:53 +03:00
|
|
|
if m.Authenticate != nil {
|
|
|
|
l = m.Authenticate.Size()
|
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthUserGet != nil {
|
|
|
|
l = m.AuthUserGet.Size()
|
2016-05-17 09:20:50 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
2016-06-02 17:25:15 +03:00
|
|
|
if m.AuthRoleGet != nil {
|
|
|
|
l = m.AuthRoleGet.Size()
|
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
2016-06-05 10:57:23 +03:00
|
|
|
if m.AuthUserRevokeRole != nil {
|
|
|
|
l = m.AuthUserRevokeRole.Size()
|
2016-06-03 10:38:59 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
2016-06-05 10:57:23 +03:00
|
|
|
if m.AuthRoleRevokePermission != nil {
|
|
|
|
l = m.AuthRoleRevokePermission.Size()
|
2016-06-03 11:10:08 +03:00
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
2016-06-03 11:33:05 +03:00
|
|
|
if m.AuthRoleDelete != nil {
|
|
|
|
l = m.AuthRoleDelete.Size()
|
|
|
|
n += 2 + l + sovRaftInternal(uint64(l))
|
|
|
|
}
|
2015-09-04 01:32:25 +03:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2015-09-13 18:28:10 +03:00
|
|
|
func (m *EmptyResponse) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2015-09-04 01:32:25 +03:00
|
|
|
func sovRaftInternal(x uint64) (n int) {
|
|
|
|
for {
|
|
|
|
n++
|
|
|
|
x >>= 7
|
|
|
|
if x == 0 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
func sozRaftInternal(x uint64) (n int) {
|
|
|
|
return sovRaftInternal(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
|
|
}
|
2016-05-17 09:20:50 +03:00
|
|
|
func (m *RequestHeader) Unmarshal(data []byte) error {
|
|
|
|
l := len(data)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: RequestHeader: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: RequestHeader: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
m.ID = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
m.ID |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Username = string(data[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipRaftInternal(data[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
func (m *InternalRaftRequest) Unmarshal(data []byte) error {
|
|
|
|
l := len(data)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
2016-01-27 04:41:19 +03:00
|
|
|
preIndex := iNdEx
|
2015-08-08 15:29:18 +03:00
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
2016-01-27 04:41:19 +03:00
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: InternalRaftRequest: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: InternalRaftRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
2015-09-13 18:28:10 +03:00
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
m.ID = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-09-13 18:28:10 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
m.ID |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 2:
|
2015-08-08 15:29:18 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field V2", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2015-09-04 01:32:25 +03:00
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.V2 == nil {
|
|
|
|
m.V2 = &Request{}
|
|
|
|
}
|
|
|
|
if err := m.V2.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2015-09-13 18:28:10 +03:00
|
|
|
case 3:
|
2015-08-08 15:29:18 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Range", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2015-09-04 01:32:25 +03:00
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Range == nil {
|
|
|
|
m.Range = &RangeRequest{}
|
|
|
|
}
|
|
|
|
if err := m.Range.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2015-09-13 18:28:10 +03:00
|
|
|
case 4:
|
2015-08-08 15:29:18 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Put", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2015-09-04 01:32:25 +03:00
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Put == nil {
|
|
|
|
m.Put = &PutRequest{}
|
|
|
|
}
|
|
|
|
if err := m.Put.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2015-09-13 18:28:10 +03:00
|
|
|
case 5:
|
2015-08-08 15:29:18 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DeleteRange", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2015-09-04 01:32:25 +03:00
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.DeleteRange == nil {
|
|
|
|
m.DeleteRange = &DeleteRangeRequest{}
|
|
|
|
}
|
|
|
|
if err := m.DeleteRange.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2015-09-13 18:28:10 +03:00
|
|
|
case 6:
|
2015-08-08 15:29:18 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Txn", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2015-09-04 01:32:25 +03:00
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Txn == nil {
|
|
|
|
m.Txn = &TxnRequest{}
|
|
|
|
}
|
|
|
|
if err := m.Txn.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2015-09-06 02:08:58 +03:00
|
|
|
case 7:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Compaction", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-09-06 02:08:58 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Compaction == nil {
|
|
|
|
m.Compaction = &CompactionRequest{}
|
|
|
|
}
|
|
|
|
if err := m.Compaction.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-01-06 00:49:25 +03:00
|
|
|
case 8:
|
|
|
|
if wireType != 2 {
|
2016-04-07 20:27:36 +03:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LeaseGrant", wireType)
|
2016-01-06 00:49:25 +03:00
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2016-01-06 00:49:25 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-04-07 20:27:36 +03:00
|
|
|
if m.LeaseGrant == nil {
|
|
|
|
m.LeaseGrant = &LeaseGrantRequest{}
|
2016-01-06 00:49:25 +03:00
|
|
|
}
|
2016-04-07 20:27:36 +03:00
|
|
|
if err := m.LeaseGrant.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
2016-01-06 00:49:25 +03:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 9:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LeaseRevoke", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2016-01-06 00:49:25 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.LeaseRevoke == nil {
|
|
|
|
m.LeaseRevoke = &LeaseRevokeRequest{}
|
|
|
|
}
|
|
|
|
if err := m.LeaseRevoke.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-03-02 08:56:42 +03:00
|
|
|
case 10:
|
2016-05-30 11:21:11 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Alarm", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Alarm == nil {
|
|
|
|
m.Alarm = &AlarmRequest{}
|
|
|
|
}
|
|
|
|
if err := m.Alarm.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 100:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Header == nil {
|
|
|
|
m.Header = &RequestHeader{}
|
|
|
|
}
|
|
|
|
if err := m.Header.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 1000:
|
2016-03-02 08:56:42 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthEnable", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.AuthEnable == nil {
|
|
|
|
m.AuthEnable = &AuthEnableRequest{}
|
|
|
|
}
|
|
|
|
if err := m.AuthEnable.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-05-30 11:21:11 +03:00
|
|
|
case 1011:
|
2016-05-07 21:24:43 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthDisable", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.AuthDisable == nil {
|
|
|
|
m.AuthDisable = &AuthDisableRequest{}
|
|
|
|
}
|
|
|
|
if err := m.AuthDisable.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-05-30 11:21:11 +03:00
|
|
|
case 1012:
|
2016-03-23 07:25:48 +03:00
|
|
|
if wireType != 2 {
|
2016-03-29 08:32:19 +03:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthUserAdd", wireType)
|
2016-03-23 07:25:48 +03:00
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-03-29 08:32:19 +03:00
|
|
|
if m.AuthUserAdd == nil {
|
|
|
|
m.AuthUserAdd = &AuthUserAddRequest{}
|
2016-03-23 07:25:48 +03:00
|
|
|
}
|
2016-03-29 08:32:19 +03:00
|
|
|
if err := m.AuthUserAdd.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
2016-03-23 07:25:48 +03:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-05-30 11:21:11 +03:00
|
|
|
case 1013:
|
2016-03-31 05:29:47 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthUserDelete", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.AuthUserDelete == nil {
|
|
|
|
m.AuthUserDelete = &AuthUserDeleteRequest{}
|
|
|
|
}
|
|
|
|
if err := m.AuthUserDelete.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-05-30 11:21:11 +03:00
|
|
|
case 1014:
|
2016-03-31 08:31:07 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthUserChangePassword", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.AuthUserChangePassword == nil {
|
|
|
|
m.AuthUserChangePassword = &AuthUserChangePasswordRequest{}
|
|
|
|
}
|
|
|
|
if err := m.AuthUserChangePassword.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-05-30 11:21:11 +03:00
|
|
|
case 1015:
|
2016-04-11 08:34:13 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthUserGrant", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.AuthUserGrant == nil {
|
|
|
|
m.AuthUserGrant = &AuthUserGrantRequest{}
|
|
|
|
}
|
|
|
|
if err := m.AuthUserGrant.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-05-30 11:21:11 +03:00
|
|
|
case 1016:
|
2016-04-01 05:07:43 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleAdd", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.AuthRoleAdd == nil {
|
|
|
|
m.AuthRoleAdd = &AuthRoleAddRequest{}
|
|
|
|
}
|
|
|
|
if err := m.AuthRoleAdd.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-05-30 11:21:11 +03:00
|
|
|
case 1017:
|
2016-04-05 09:42:38 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleGrant", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.AuthRoleGrant == nil {
|
|
|
|
m.AuthRoleGrant = &AuthRoleGrantRequest{}
|
|
|
|
}
|
|
|
|
if err := m.AuthRoleGrant.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-05-30 11:21:11 +03:00
|
|
|
case 1018:
|
2016-04-13 07:44:53 +03:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Authenticate", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Authenticate == nil {
|
|
|
|
m.Authenticate = &AuthenticateRequest{}
|
|
|
|
}
|
|
|
|
if err := m.Authenticate.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-05-30 11:21:11 +03:00
|
|
|
case 1019:
|
2016-03-24 03:20:52 +03:00
|
|
|
if wireType != 2 {
|
2016-05-30 11:21:11 +03:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthUserGet", wireType)
|
2016-03-24 03:20:52 +03:00
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if m.AuthUserGet == nil {
|
|
|
|
m.AuthUserGet = &AuthUserGetRequest{}
|
2016-05-17 09:20:50 +03:00
|
|
|
}
|
2016-05-30 11:21:11 +03:00
|
|
|
if err := m.AuthUserGet.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
2016-05-17 09:20:50 +03:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-06-02 17:25:15 +03:00
|
|
|
case 1020:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleGet", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.AuthRoleGet == nil {
|
|
|
|
m.AuthRoleGet = &AuthRoleGetRequest{}
|
|
|
|
}
|
|
|
|
if err := m.AuthRoleGet.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-06-03 10:38:59 +03:00
|
|
|
case 1021:
|
|
|
|
if wireType != 2 {
|
2016-06-05 10:57:23 +03:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthUserRevokeRole", wireType)
|
2016-06-03 10:38:59 +03:00
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-06-05 10:57:23 +03:00
|
|
|
if m.AuthUserRevokeRole == nil {
|
|
|
|
m.AuthUserRevokeRole = &AuthUserRevokeRoleRequest{}
|
2016-06-03 10:38:59 +03:00
|
|
|
}
|
2016-06-05 10:57:23 +03:00
|
|
|
if err := m.AuthUserRevokeRole.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
2016-06-03 10:38:59 +03:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-06-03 11:10:08 +03:00
|
|
|
case 1022:
|
|
|
|
if wireType != 2 {
|
2016-06-05 10:57:23 +03:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleRevokePermission", wireType)
|
2016-06-03 11:10:08 +03:00
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-06-05 10:57:23 +03:00
|
|
|
if m.AuthRoleRevokePermission == nil {
|
|
|
|
m.AuthRoleRevokePermission = &AuthRoleRevokePermissionRequest{}
|
2016-06-03 11:10:08 +03:00
|
|
|
}
|
2016-06-05 10:57:23 +03:00
|
|
|
if err := m.AuthRoleRevokePermission.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
2016-06-03 11:10:08 +03:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2016-06-03 11:33:05 +03:00
|
|
|
case 1023:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleDelete", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.AuthRoleDelete == nil {
|
|
|
|
m.AuthRoleDelete = &AuthRoleDeleteRequest{}
|
|
|
|
}
|
|
|
|
if err := m.AuthRoleDelete.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2015-08-08 15:29:18 +03:00
|
|
|
default:
|
2016-01-27 04:41:19 +03:00
|
|
|
iNdEx = preIndex
|
2015-09-13 18:28:10 +03:00
|
|
|
skippy, err := skipRaftInternal(data[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-27 04:41:19 +03:00
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2015-09-13 18:28:10 +03:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *EmptyResponse) Unmarshal(data []byte) error {
|
|
|
|
l := len(data)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
2016-01-27 04:41:19 +03:00
|
|
|
preIndex := iNdEx
|
2015-09-13 18:28:10 +03:00
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-09-13 18:28:10 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
2016-01-27 04:41:19 +03:00
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: EmptyResponse: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: EmptyResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
2015-09-13 18:28:10 +03:00
|
|
|
switch fieldNum {
|
|
|
|
default:
|
2016-01-27 04:41:19 +03:00
|
|
|
iNdEx = preIndex
|
2015-08-08 15:29:18 +03:00
|
|
|
skippy, err := skipRaftInternal(data[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2015-09-04 01:32:25 +03:00
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-27 04:41:19 +03:00
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func skipRaftInternal(data []byte) (n int, err error) {
|
|
|
|
l := len(data)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
switch wireType {
|
|
|
|
case 0:
|
2016-01-27 04:41:19 +03:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx++
|
|
|
|
if data[iNdEx-1] < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 1:
|
|
|
|
iNdEx += 8
|
|
|
|
return iNdEx, nil
|
|
|
|
case 2:
|
|
|
|
var length int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
length |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
iNdEx += length
|
2015-09-04 01:32:25 +03:00
|
|
|
if length < 0 {
|
|
|
|
return 0, ErrInvalidLengthRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
return iNdEx, nil
|
|
|
|
case 3:
|
|
|
|
for {
|
|
|
|
var innerWire uint64
|
|
|
|
var start int = iNdEx
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
2016-01-27 04:41:19 +03:00
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowRaftInternal
|
|
|
|
}
|
2015-08-08 15:29:18 +03:00
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := data[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
innerWire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
innerWireType := int(innerWire & 0x7)
|
|
|
|
if innerWireType == 4 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
next, err := skipRaftInternal(data[start:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
iNdEx = start + next
|
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 4:
|
|
|
|
return iNdEx, nil
|
|
|
|
case 5:
|
|
|
|
iNdEx += 4
|
|
|
|
return iNdEx, nil
|
|
|
|
default:
|
|
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
panic("unreachable")
|
|
|
|
}
|
|
|
|
|
2015-09-04 01:32:25 +03:00
|
|
|
var (
|
|
|
|
ErrInvalidLengthRaftInternal = fmt.Errorf("proto: negative length found during unmarshaling")
|
2016-01-27 04:41:19 +03:00
|
|
|
ErrIntOverflowRaftInternal = fmt.Errorf("proto: integer overflow")
|
2015-09-04 01:32:25 +03:00
|
|
|
)
|
2016-04-26 00:08:33 +03:00
|
|
|
|
|
|
|
var fileDescriptorRaftInternal = []byte{
|
2016-06-05 10:57:23 +03:00
|
|
|
// 701 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x95, 0x4b, 0x6f, 0x13, 0x31,
|
|
|
|
0x10, 0xc7, 0x69, 0xfa, 0x76, 0x9a, 0xb6, 0x72, 0x29, 0x32, 0xa9, 0x54, 0x4a, 0x10, 0x02, 0x81,
|
|
|
|
0x28, 0xa8, 0x3d, 0x72, 0x80, 0xd0, 0x94, 0x52, 0x81, 0x50, 0xb5, 0x82, 0x13, 0x87, 0xc8, 0xcd,
|
|
|
|
0x0e, 0xdb, 0x15, 0xfb, 0xc2, 0xeb, 0x94, 0xf2, 0x85, 0xf8, 0x2c, 0x3d, 0xf2, 0x11, 0x80, 0x13,
|
|
|
|
0x77, 0xde, 0x6f, 0xfc, 0x5a, 0x6f, 0x37, 0x71, 0x7a, 0x58, 0x69, 0xf7, 0xef, 0xff, 0xfc, 0x66,
|
|
|
|
0x6c, 0xcf, 0x24, 0x68, 0x89, 0xd1, 0xe7, 0xbc, 0x1b, 0x26, 0x1c, 0x58, 0x42, 0xa3, 0xf5, 0x8c,
|
|
|
|
0xa5, 0x3c, 0xc5, 0x73, 0xc0, 0x7b, 0x7e, 0x0e, 0xec, 0x10, 0x58, 0xb6, 0xdf, 0x3c, 0x1b, 0xa4,
|
|
|
|
0x41, 0xaa, 0x16, 0x6e, 0xca, 0x37, 0xed, 0x69, 0x2e, 0x96, 0x1e, 0xa3, 0xcc, 0xb2, 0xac, 0xa7,
|
|
|
|
0x5f, 0x5b, 0xb7, 0x51, 0xc3, 0x83, 0x97, 0x7d, 0xc8, 0xf9, 0x03, 0xa0, 0x3e, 0x30, 0x3c, 0x8f,
|
|
|
|
0x6a, 0xbb, 0x1d, 0x32, 0xb6, 0x36, 0x76, 0x75, 0xc2, 0xab, 0x85, 0x1d, 0xdc, 0x44, 0x33, 0xfd,
|
|
|
|
0x5c, 0xa6, 0x8c, 0x81, 0xd4, 0x84, 0x3a, 0xeb, 0xd9, 0xef, 0xd6, 0x9b, 0x06, 0x5a, 0xda, 0x35,
|
|
|
|
0x05, 0x79, 0xa2, 0x3a, 0x43, 0x1a, 0x62, 0x5c, 0x46, 0xb5, 0xc3, 0x0d, 0x15, 0x5d, 0xdf, 0x58,
|
|
|
|
0x5e, 0x3f, 0x59, 0xf2, 0xba, 0x09, 0xf1, 0x84, 0x01, 0xdf, 0x42, 0x93, 0x8c, 0x26, 0x01, 0x90,
|
|
|
|
0x71, 0xe5, 0x6c, 0x0e, 0x38, 0xe5, 0x52, 0x61, 0xd7, 0x46, 0x7c, 0x0d, 0x8d, 0x67, 0x7d, 0x4e,
|
|
|
|
0x26, 0x94, 0x9f, 0x54, 0xfd, 0x7b, 0xfd, 0xa2, 0x1e, 0x4f, 0x9a, 0xf0, 0x16, 0x9a, 0xf3, 0x21,
|
|
|
|
0x02, 0x0e, 0x5d, 0x9d, 0x64, 0x52, 0x05, 0xad, 0x55, 0x83, 0x3a, 0xca, 0x51, 0x49, 0x55, 0xf7,
|
|
|
|
0x4b, 0x4d, 0x26, 0xe4, 0x47, 0x09, 0x99, 0x72, 0x25, 0x7c, 0x72, 0x94, 0xd8, 0x84, 0xc2, 0x84,
|
|
|
|
0xef, 0x20, 0xd4, 0x4b, 0xe3, 0x8c, 0xf6, 0x78, 0x98, 0x26, 0x64, 0x5a, 0x85, 0x5c, 0xa8, 0x86,
|
|
|
|
0x6c, 0xd9, 0xf5, 0x22, 0xf2, 0x44, 0x08, 0xbe, 0x8b, 0xea, 0x11, 0xd0, 0x1c, 0xba, 0x81, 0xa8,
|
|
|
|
0x98, 0x93, 0x19, 0x17, 0xe1, 0x91, 0x34, 0xec, 0xc8, 0x75, 0x4b, 0x88, 0xac, 0x24, 0xf7, 0xac,
|
|
|
|
0x09, 0x0c, 0x0e, 0xd3, 0x17, 0x40, 0x66, 0x5d, 0x7b, 0x56, 0x08, 0x4f, 0x19, 0xec, 0x9e, 0xa3,
|
|
|
|
0x52, 0x93, 0xd7, 0x42, 0x23, 0xca, 0x62, 0x82, 0x5c, 0xd7, 0xd2, 0x96, 0x4b, 0xf6, 0x5a, 0x94,
|
|
|
|
0x11, 0x6f, 0xa2, 0xa9, 0x03, 0xd5, 0x4d, 0xc4, 0x57, 0x21, 0x2b, 0xce, 0x3b, 0xd7, 0x0d, 0xe7,
|
|
|
|
0x19, 0x2b, 0x6e, 0xa3, 0x3a, 0xed, 0xf3, 0x83, 0x2e, 0x24, 0x74, 0x3f, 0x02, 0xf2, 0xd1, 0x79,
|
|
|
|
0x60, 0x6d, 0xe1, 0xd8, 0x56, 0x06, 0xbb, 0x5d, 0x6a, 0x25, 0xdc, 0x41, 0x73, 0x0a, 0xe1, 0x87,
|
|
|
|
0xb9, 0x62, 0x7c, 0x9a, 0x76, 0xed, 0x57, 0x32, 0x3a, 0xda, 0x61, 0xf7, 0x4b, 0x4b, 0x0d, 0x6f,
|
|
|
|
0xa3, 0x86, 0xa2, 0xc8, 0x36, 0xef, 0x52, 0xdf, 0x27, 0x9f, 0x47, 0x62, 0x9e, 0x8a, 0xaf, 0xb6,
|
|
|
|
0xef, 0x57, 0x30, 0x46, 0xc3, 0x8f, 0xd1, 0x62, 0x89, 0xd1, 0x3d, 0x44, 0xbe, 0x68, 0xd2, 0x25,
|
|
|
|
0x37, 0xc9, 0x34, 0x9f, 0x81, 0xcd, 0xd3, 0x8a, 0x8c, 0x03, 0x74, 0xbe, 0xe4, 0xf5, 0x0e, 0x64,
|
|
|
|
0x3b, 0x76, 0x33, 0x9a, 0xe7, 0xaf, 0x52, 0xe6, 0x93, 0xaf, 0x1a, 0x7c, 0xdd, 0x0d, 0xde, 0x52,
|
|
|
|
0xee, 0x3d, 0x63, 0x2e, 0x12, 0x9c, 0xa3, 0xce, 0x65, 0xfc, 0x10, 0x2d, 0x94, 0x89, 0x74, 0xeb,
|
|
|
|
0x7d, 0xd3, 0xf8, 0x96, 0x1b, 0x5f, 0x69, 0xbf, 0x06, 0x3d, 0xa9, 0xda, 0xc3, 0x64, 0x69, 0x04,
|
|
|
|
0xea, 0x30, 0xbf, 0x8f, 0x3c, 0x4c, 0x4f, 0x58, 0x06, 0x0f, 0xd3, 0x68, 0xb6, 0x26, 0x85, 0xd1,
|
|
|
|
0x35, 0xfd, 0x18, 0x59, 0x93, 0x0c, 0x1a, 0xae, 0xc9, 0xaa, 0xf8, 0xbe, 0x6e, 0x13, 0x48, 0x78,
|
|
|
|
0xd8, 0xa3, 0xe2, 0x56, 0x7e, 0x6a, 0xd2, 0xc5, 0x61, 0x52, 0x61, 0x29, 0x40, 0x95, 0xb8, 0x6a,
|
|
|
|
0xa3, 0x04, 0xc0, 0xc9, 0xaf, 0x53, 0x1b, 0x65, 0x07, 0xf8, 0x50, 0xa3, 0x08, 0xad, 0x7a, 0x44,
|
|
|
|
0x12, 0xf3, 0xfb, 0xd4, 0x23, 0x1a, 0xc4, 0x18, 0x0d, 0x3f, 0x43, 0xcb, 0x65, 0x35, 0x7a, 0xde,
|
|
|
|
0x15, 0x92, 0xfc, 0xd1, 0xb8, 0x2b, 0xee, 0xaa, 0xcc, 0xe0, 0xa7, 0xe5, 0x30, 0x60, 0x3a, 0xb4,
|
|
|
|
0x84, 0x63, 0xb4, 0x52, 0xd6, 0x68, 0xe0, 0x19, 0xb0, 0x38, 0xcc, 0x73, 0xf9, 0xe3, 0xf6, 0x57,
|
|
|
|
0xa7, 0xb8, 0xe1, 0xae, 0x58, 0x73, 0xf6, 0xac, 0xbd, 0x48, 0x44, 0xe8, 0x08, 0x83, 0x9d, 0x1d,
|
|
|
|
0x95, 0xce, 0xcc, 0xce, 0xbf, 0x91, 0xb3, 0x23, 0x11, 0x8e, 0xd9, 0x29, 0xe5, 0xd6, 0x02, 0x6a,
|
|
|
|
0x6c, 0xc7, 0x19, 0x7f, 0xed, 0x41, 0x9e, 0xa5, 0x49, 0x0e, 0xf7, 0x16, 0x8f, 0xdf, 0xaf, 0x9e,
|
|
|
|
0x39, 0xfe, 0xb0, 0x3a, 0xf6, 0x56, 0x3c, 0xef, 0xc4, 0xb3, 0x3f, 0xa5, 0xfe, 0x0f, 0x37, 0xff,
|
|
|
|
0x07, 0x00, 0x00, 0xff, 0xff, 0x38, 0x10, 0xa2, 0xb7, 0x67, 0x07, 0x00, 0x00,
|
2016-04-26 00:08:33 +03:00
|
|
|
}
|