Scott Baker | eee8dd8 | 2019-09-24 12:52:34 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-gogo. DO NOT EDIT. |
| 2 | // source: raft_internal.proto |
| 3 | |
| 4 | package etcdserverpb |
| 5 | |
| 6 | import ( |
| 7 | "fmt" |
| 8 | |
| 9 | proto "github.com/golang/protobuf/proto" |
| 10 | |
| 11 | math "math" |
| 12 | |
| 13 | _ "github.com/gogo/protobuf/gogoproto" |
| 14 | |
| 15 | io "io" |
| 16 | ) |
| 17 | |
| 18 | // Reference imports to suppress errors if they are not otherwise used. |
| 19 | var _ = proto.Marshal |
| 20 | var _ = fmt.Errorf |
| 21 | var _ = math.Inf |
| 22 | |
| 23 | type RequestHeader struct { |
| 24 | ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 25 | // username is a username that is associated with an auth token of gRPC connection |
| 26 | Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` |
| 27 | // auth_revision is a revision number of auth.authStore. It is not related to mvcc |
| 28 | AuthRevision uint64 `protobuf:"varint,3,opt,name=auth_revision,json=authRevision,proto3" json:"auth_revision,omitempty"` |
| 29 | } |
| 30 | |
| 31 | func (m *RequestHeader) Reset() { *m = RequestHeader{} } |
| 32 | func (m *RequestHeader) String() string { return proto.CompactTextString(m) } |
| 33 | func (*RequestHeader) ProtoMessage() {} |
| 34 | func (*RequestHeader) Descriptor() ([]byte, []int) { return fileDescriptorRaftInternal, []int{0} } |
| 35 | |
| 36 | // An InternalRaftRequest is the union of all requests which can be |
| 37 | // sent via raft. |
| 38 | type InternalRaftRequest struct { |
| 39 | Header *RequestHeader `protobuf:"bytes,100,opt,name=header" json:"header,omitempty"` |
| 40 | ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 41 | V2 *Request `protobuf:"bytes,2,opt,name=v2" json:"v2,omitempty"` |
| 42 | Range *RangeRequest `protobuf:"bytes,3,opt,name=range" json:"range,omitempty"` |
| 43 | Put *PutRequest `protobuf:"bytes,4,opt,name=put" json:"put,omitempty"` |
| 44 | DeleteRange *DeleteRangeRequest `protobuf:"bytes,5,opt,name=delete_range,json=deleteRange" json:"delete_range,omitempty"` |
| 45 | Txn *TxnRequest `protobuf:"bytes,6,opt,name=txn" json:"txn,omitempty"` |
| 46 | Compaction *CompactionRequest `protobuf:"bytes,7,opt,name=compaction" json:"compaction,omitempty"` |
| 47 | LeaseGrant *LeaseGrantRequest `protobuf:"bytes,8,opt,name=lease_grant,json=leaseGrant" json:"lease_grant,omitempty"` |
| 48 | LeaseRevoke *LeaseRevokeRequest `protobuf:"bytes,9,opt,name=lease_revoke,json=leaseRevoke" json:"lease_revoke,omitempty"` |
| 49 | Alarm *AlarmRequest `protobuf:"bytes,10,opt,name=alarm" json:"alarm,omitempty"` |
| 50 | LeaseCheckpoint *LeaseCheckpointRequest `protobuf:"bytes,11,opt,name=lease_checkpoint,json=leaseCheckpoint" json:"lease_checkpoint,omitempty"` |
| 51 | AuthEnable *AuthEnableRequest `protobuf:"bytes,1000,opt,name=auth_enable,json=authEnable" json:"auth_enable,omitempty"` |
| 52 | AuthDisable *AuthDisableRequest `protobuf:"bytes,1011,opt,name=auth_disable,json=authDisable" json:"auth_disable,omitempty"` |
| 53 | Authenticate *InternalAuthenticateRequest `protobuf:"bytes,1012,opt,name=authenticate" json:"authenticate,omitempty"` |
| 54 | AuthUserAdd *AuthUserAddRequest `protobuf:"bytes,1100,opt,name=auth_user_add,json=authUserAdd" json:"auth_user_add,omitempty"` |
| 55 | AuthUserDelete *AuthUserDeleteRequest `protobuf:"bytes,1101,opt,name=auth_user_delete,json=authUserDelete" json:"auth_user_delete,omitempty"` |
| 56 | AuthUserGet *AuthUserGetRequest `protobuf:"bytes,1102,opt,name=auth_user_get,json=authUserGet" json:"auth_user_get,omitempty"` |
| 57 | AuthUserChangePassword *AuthUserChangePasswordRequest `protobuf:"bytes,1103,opt,name=auth_user_change_password,json=authUserChangePassword" json:"auth_user_change_password,omitempty"` |
| 58 | AuthUserGrantRole *AuthUserGrantRoleRequest `protobuf:"bytes,1104,opt,name=auth_user_grant_role,json=authUserGrantRole" json:"auth_user_grant_role,omitempty"` |
| 59 | AuthUserRevokeRole *AuthUserRevokeRoleRequest `protobuf:"bytes,1105,opt,name=auth_user_revoke_role,json=authUserRevokeRole" json:"auth_user_revoke_role,omitempty"` |
| 60 | AuthUserList *AuthUserListRequest `protobuf:"bytes,1106,opt,name=auth_user_list,json=authUserList" json:"auth_user_list,omitempty"` |
| 61 | AuthRoleList *AuthRoleListRequest `protobuf:"bytes,1107,opt,name=auth_role_list,json=authRoleList" json:"auth_role_list,omitempty"` |
| 62 | AuthRoleAdd *AuthRoleAddRequest `protobuf:"bytes,1200,opt,name=auth_role_add,json=authRoleAdd" json:"auth_role_add,omitempty"` |
| 63 | AuthRoleDelete *AuthRoleDeleteRequest `protobuf:"bytes,1201,opt,name=auth_role_delete,json=authRoleDelete" json:"auth_role_delete,omitempty"` |
| 64 | AuthRoleGet *AuthRoleGetRequest `protobuf:"bytes,1202,opt,name=auth_role_get,json=authRoleGet" json:"auth_role_get,omitempty"` |
| 65 | AuthRoleGrantPermission *AuthRoleGrantPermissionRequest `protobuf:"bytes,1203,opt,name=auth_role_grant_permission,json=authRoleGrantPermission" json:"auth_role_grant_permission,omitempty"` |
| 66 | AuthRoleRevokePermission *AuthRoleRevokePermissionRequest `protobuf:"bytes,1204,opt,name=auth_role_revoke_permission,json=authRoleRevokePermission" json:"auth_role_revoke_permission,omitempty"` |
| 67 | } |
| 68 | |
| 69 | func (m *InternalRaftRequest) Reset() { *m = InternalRaftRequest{} } |
| 70 | func (m *InternalRaftRequest) String() string { return proto.CompactTextString(m) } |
| 71 | func (*InternalRaftRequest) ProtoMessage() {} |
| 72 | func (*InternalRaftRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaftInternal, []int{1} } |
| 73 | |
| 74 | type EmptyResponse struct { |
| 75 | } |
| 76 | |
| 77 | func (m *EmptyResponse) Reset() { *m = EmptyResponse{} } |
| 78 | func (m *EmptyResponse) String() string { return proto.CompactTextString(m) } |
| 79 | func (*EmptyResponse) ProtoMessage() {} |
| 80 | func (*EmptyResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaftInternal, []int{2} } |
| 81 | |
| 82 | // What is the difference between AuthenticateRequest (defined in rpc.proto) and InternalAuthenticateRequest? |
| 83 | // InternalAuthenticateRequest has a member that is filled by etcdserver and shouldn't be user-facing. |
| 84 | // For avoiding misusage the field, we have an internal version of AuthenticateRequest. |
| 85 | type InternalAuthenticateRequest struct { |
| 86 | Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 87 | Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` |
| 88 | // simple_token is generated in API layer (etcdserver/v3_server.go) |
| 89 | SimpleToken string `protobuf:"bytes,3,opt,name=simple_token,json=simpleToken,proto3" json:"simple_token,omitempty"` |
| 90 | } |
| 91 | |
| 92 | func (m *InternalAuthenticateRequest) Reset() { *m = InternalAuthenticateRequest{} } |
| 93 | func (m *InternalAuthenticateRequest) String() string { return proto.CompactTextString(m) } |
| 94 | func (*InternalAuthenticateRequest) ProtoMessage() {} |
| 95 | func (*InternalAuthenticateRequest) Descriptor() ([]byte, []int) { |
| 96 | return fileDescriptorRaftInternal, []int{3} |
| 97 | } |
| 98 | |
| 99 | func init() { |
| 100 | proto.RegisterType((*RequestHeader)(nil), "etcdserverpb.RequestHeader") |
| 101 | proto.RegisterType((*InternalRaftRequest)(nil), "etcdserverpb.InternalRaftRequest") |
| 102 | proto.RegisterType((*EmptyResponse)(nil), "etcdserverpb.EmptyResponse") |
| 103 | proto.RegisterType((*InternalAuthenticateRequest)(nil), "etcdserverpb.InternalAuthenticateRequest") |
| 104 | } |
| 105 | func (m *RequestHeader) Marshal() (dAtA []byte, err error) { |
| 106 | size := m.Size() |
| 107 | dAtA = make([]byte, size) |
| 108 | n, err := m.MarshalTo(dAtA) |
| 109 | if err != nil { |
| 110 | return nil, err |
| 111 | } |
| 112 | return dAtA[:n], nil |
| 113 | } |
| 114 | |
| 115 | func (m *RequestHeader) MarshalTo(dAtA []byte) (int, error) { |
| 116 | var i int |
| 117 | _ = i |
| 118 | var l int |
| 119 | _ = l |
| 120 | if m.ID != 0 { |
| 121 | dAtA[i] = 0x8 |
| 122 | i++ |
| 123 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.ID)) |
| 124 | } |
| 125 | if len(m.Username) > 0 { |
| 126 | dAtA[i] = 0x12 |
| 127 | i++ |
| 128 | i = encodeVarintRaftInternal(dAtA, i, uint64(len(m.Username))) |
| 129 | i += copy(dAtA[i:], m.Username) |
| 130 | } |
| 131 | if m.AuthRevision != 0 { |
| 132 | dAtA[i] = 0x18 |
| 133 | i++ |
| 134 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthRevision)) |
| 135 | } |
| 136 | return i, nil |
| 137 | } |
| 138 | |
| 139 | func (m *InternalRaftRequest) Marshal() (dAtA []byte, err error) { |
| 140 | size := m.Size() |
| 141 | dAtA = make([]byte, size) |
| 142 | n, err := m.MarshalTo(dAtA) |
| 143 | if err != nil { |
| 144 | return nil, err |
| 145 | } |
| 146 | return dAtA[:n], nil |
| 147 | } |
| 148 | |
| 149 | func (m *InternalRaftRequest) MarshalTo(dAtA []byte) (int, error) { |
| 150 | var i int |
| 151 | _ = i |
| 152 | var l int |
| 153 | _ = l |
| 154 | if m.ID != 0 { |
| 155 | dAtA[i] = 0x8 |
| 156 | i++ |
| 157 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.ID)) |
| 158 | } |
| 159 | if m.V2 != nil { |
| 160 | dAtA[i] = 0x12 |
| 161 | i++ |
| 162 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.V2.Size())) |
| 163 | n1, err := m.V2.MarshalTo(dAtA[i:]) |
| 164 | if err != nil { |
| 165 | return 0, err |
| 166 | } |
| 167 | i += n1 |
| 168 | } |
| 169 | if m.Range != nil { |
| 170 | dAtA[i] = 0x1a |
| 171 | i++ |
| 172 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.Range.Size())) |
| 173 | n2, err := m.Range.MarshalTo(dAtA[i:]) |
| 174 | if err != nil { |
| 175 | return 0, err |
| 176 | } |
| 177 | i += n2 |
| 178 | } |
| 179 | if m.Put != nil { |
| 180 | dAtA[i] = 0x22 |
| 181 | i++ |
| 182 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.Put.Size())) |
| 183 | n3, err := m.Put.MarshalTo(dAtA[i:]) |
| 184 | if err != nil { |
| 185 | return 0, err |
| 186 | } |
| 187 | i += n3 |
| 188 | } |
| 189 | if m.DeleteRange != nil { |
| 190 | dAtA[i] = 0x2a |
| 191 | i++ |
| 192 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.DeleteRange.Size())) |
| 193 | n4, err := m.DeleteRange.MarshalTo(dAtA[i:]) |
| 194 | if err != nil { |
| 195 | return 0, err |
| 196 | } |
| 197 | i += n4 |
| 198 | } |
| 199 | if m.Txn != nil { |
| 200 | dAtA[i] = 0x32 |
| 201 | i++ |
| 202 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.Txn.Size())) |
| 203 | n5, err := m.Txn.MarshalTo(dAtA[i:]) |
| 204 | if err != nil { |
| 205 | return 0, err |
| 206 | } |
| 207 | i += n5 |
| 208 | } |
| 209 | if m.Compaction != nil { |
| 210 | dAtA[i] = 0x3a |
| 211 | i++ |
| 212 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.Compaction.Size())) |
| 213 | n6, err := m.Compaction.MarshalTo(dAtA[i:]) |
| 214 | if err != nil { |
| 215 | return 0, err |
| 216 | } |
| 217 | i += n6 |
| 218 | } |
| 219 | if m.LeaseGrant != nil { |
| 220 | dAtA[i] = 0x42 |
| 221 | i++ |
| 222 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.LeaseGrant.Size())) |
| 223 | n7, err := m.LeaseGrant.MarshalTo(dAtA[i:]) |
| 224 | if err != nil { |
| 225 | return 0, err |
| 226 | } |
| 227 | i += n7 |
| 228 | } |
| 229 | if m.LeaseRevoke != nil { |
| 230 | dAtA[i] = 0x4a |
| 231 | i++ |
| 232 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.LeaseRevoke.Size())) |
| 233 | n8, err := m.LeaseRevoke.MarshalTo(dAtA[i:]) |
| 234 | if err != nil { |
| 235 | return 0, err |
| 236 | } |
| 237 | i += n8 |
| 238 | } |
| 239 | if m.Alarm != nil { |
| 240 | dAtA[i] = 0x52 |
| 241 | i++ |
| 242 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.Alarm.Size())) |
| 243 | n9, err := m.Alarm.MarshalTo(dAtA[i:]) |
| 244 | if err != nil { |
| 245 | return 0, err |
| 246 | } |
| 247 | i += n9 |
| 248 | } |
| 249 | if m.LeaseCheckpoint != nil { |
| 250 | dAtA[i] = 0x5a |
| 251 | i++ |
| 252 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.LeaseCheckpoint.Size())) |
| 253 | n10, err := m.LeaseCheckpoint.MarshalTo(dAtA[i:]) |
| 254 | if err != nil { |
| 255 | return 0, err |
| 256 | } |
| 257 | i += n10 |
| 258 | } |
| 259 | if m.Header != nil { |
| 260 | dAtA[i] = 0xa2 |
| 261 | i++ |
| 262 | dAtA[i] = 0x6 |
| 263 | i++ |
| 264 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.Header.Size())) |
| 265 | n11, err := m.Header.MarshalTo(dAtA[i:]) |
| 266 | if err != nil { |
| 267 | return 0, err |
| 268 | } |
| 269 | i += n11 |
| 270 | } |
| 271 | if m.AuthEnable != nil { |
| 272 | dAtA[i] = 0xc2 |
| 273 | i++ |
| 274 | dAtA[i] = 0x3e |
| 275 | i++ |
| 276 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthEnable.Size())) |
| 277 | n12, err := m.AuthEnable.MarshalTo(dAtA[i:]) |
| 278 | if err != nil { |
| 279 | return 0, err |
| 280 | } |
| 281 | i += n12 |
| 282 | } |
| 283 | if m.AuthDisable != nil { |
| 284 | dAtA[i] = 0x9a |
| 285 | i++ |
| 286 | dAtA[i] = 0x3f |
| 287 | i++ |
| 288 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthDisable.Size())) |
| 289 | n13, err := m.AuthDisable.MarshalTo(dAtA[i:]) |
| 290 | if err != nil { |
| 291 | return 0, err |
| 292 | } |
| 293 | i += n13 |
| 294 | } |
| 295 | if m.Authenticate != nil { |
| 296 | dAtA[i] = 0xa2 |
| 297 | i++ |
| 298 | dAtA[i] = 0x3f |
| 299 | i++ |
| 300 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.Authenticate.Size())) |
| 301 | n14, err := m.Authenticate.MarshalTo(dAtA[i:]) |
| 302 | if err != nil { |
| 303 | return 0, err |
| 304 | } |
| 305 | i += n14 |
| 306 | } |
| 307 | if m.AuthUserAdd != nil { |
| 308 | dAtA[i] = 0xe2 |
| 309 | i++ |
| 310 | dAtA[i] = 0x44 |
| 311 | i++ |
| 312 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthUserAdd.Size())) |
| 313 | n15, err := m.AuthUserAdd.MarshalTo(dAtA[i:]) |
| 314 | if err != nil { |
| 315 | return 0, err |
| 316 | } |
| 317 | i += n15 |
| 318 | } |
| 319 | if m.AuthUserDelete != nil { |
| 320 | dAtA[i] = 0xea |
| 321 | i++ |
| 322 | dAtA[i] = 0x44 |
| 323 | i++ |
| 324 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthUserDelete.Size())) |
| 325 | n16, err := m.AuthUserDelete.MarshalTo(dAtA[i:]) |
| 326 | if err != nil { |
| 327 | return 0, err |
| 328 | } |
| 329 | i += n16 |
| 330 | } |
| 331 | if m.AuthUserGet != nil { |
| 332 | dAtA[i] = 0xf2 |
| 333 | i++ |
| 334 | dAtA[i] = 0x44 |
| 335 | i++ |
| 336 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthUserGet.Size())) |
| 337 | n17, err := m.AuthUserGet.MarshalTo(dAtA[i:]) |
| 338 | if err != nil { |
| 339 | return 0, err |
| 340 | } |
| 341 | i += n17 |
| 342 | } |
| 343 | if m.AuthUserChangePassword != nil { |
| 344 | dAtA[i] = 0xfa |
| 345 | i++ |
| 346 | dAtA[i] = 0x44 |
| 347 | i++ |
| 348 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthUserChangePassword.Size())) |
| 349 | n18, err := m.AuthUserChangePassword.MarshalTo(dAtA[i:]) |
| 350 | if err != nil { |
| 351 | return 0, err |
| 352 | } |
| 353 | i += n18 |
| 354 | } |
| 355 | if m.AuthUserGrantRole != nil { |
| 356 | dAtA[i] = 0x82 |
| 357 | i++ |
| 358 | dAtA[i] = 0x45 |
| 359 | i++ |
| 360 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthUserGrantRole.Size())) |
| 361 | n19, err := m.AuthUserGrantRole.MarshalTo(dAtA[i:]) |
| 362 | if err != nil { |
| 363 | return 0, err |
| 364 | } |
| 365 | i += n19 |
| 366 | } |
| 367 | if m.AuthUserRevokeRole != nil { |
| 368 | dAtA[i] = 0x8a |
| 369 | i++ |
| 370 | dAtA[i] = 0x45 |
| 371 | i++ |
| 372 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthUserRevokeRole.Size())) |
| 373 | n20, err := m.AuthUserRevokeRole.MarshalTo(dAtA[i:]) |
| 374 | if err != nil { |
| 375 | return 0, err |
| 376 | } |
| 377 | i += n20 |
| 378 | } |
| 379 | if m.AuthUserList != nil { |
| 380 | dAtA[i] = 0x92 |
| 381 | i++ |
| 382 | dAtA[i] = 0x45 |
| 383 | i++ |
| 384 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthUserList.Size())) |
| 385 | n21, err := m.AuthUserList.MarshalTo(dAtA[i:]) |
| 386 | if err != nil { |
| 387 | return 0, err |
| 388 | } |
| 389 | i += n21 |
| 390 | } |
| 391 | if m.AuthRoleList != nil { |
| 392 | dAtA[i] = 0x9a |
| 393 | i++ |
| 394 | dAtA[i] = 0x45 |
| 395 | i++ |
| 396 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthRoleList.Size())) |
| 397 | n22, err := m.AuthRoleList.MarshalTo(dAtA[i:]) |
| 398 | if err != nil { |
| 399 | return 0, err |
| 400 | } |
| 401 | i += n22 |
| 402 | } |
| 403 | if m.AuthRoleAdd != nil { |
| 404 | dAtA[i] = 0x82 |
| 405 | i++ |
| 406 | dAtA[i] = 0x4b |
| 407 | i++ |
| 408 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthRoleAdd.Size())) |
| 409 | n23, err := m.AuthRoleAdd.MarshalTo(dAtA[i:]) |
| 410 | if err != nil { |
| 411 | return 0, err |
| 412 | } |
| 413 | i += n23 |
| 414 | } |
| 415 | if m.AuthRoleDelete != nil { |
| 416 | dAtA[i] = 0x8a |
| 417 | i++ |
| 418 | dAtA[i] = 0x4b |
| 419 | i++ |
| 420 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthRoleDelete.Size())) |
| 421 | n24, err := m.AuthRoleDelete.MarshalTo(dAtA[i:]) |
| 422 | if err != nil { |
| 423 | return 0, err |
| 424 | } |
| 425 | i += n24 |
| 426 | } |
| 427 | if m.AuthRoleGet != nil { |
| 428 | dAtA[i] = 0x92 |
| 429 | i++ |
| 430 | dAtA[i] = 0x4b |
| 431 | i++ |
| 432 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthRoleGet.Size())) |
| 433 | n25, err := m.AuthRoleGet.MarshalTo(dAtA[i:]) |
| 434 | if err != nil { |
| 435 | return 0, err |
| 436 | } |
| 437 | i += n25 |
| 438 | } |
| 439 | if m.AuthRoleGrantPermission != nil { |
| 440 | dAtA[i] = 0x9a |
| 441 | i++ |
| 442 | dAtA[i] = 0x4b |
| 443 | i++ |
| 444 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthRoleGrantPermission.Size())) |
| 445 | n26, err := m.AuthRoleGrantPermission.MarshalTo(dAtA[i:]) |
| 446 | if err != nil { |
| 447 | return 0, err |
| 448 | } |
| 449 | i += n26 |
| 450 | } |
| 451 | if m.AuthRoleRevokePermission != nil { |
| 452 | dAtA[i] = 0xa2 |
| 453 | i++ |
| 454 | dAtA[i] = 0x4b |
| 455 | i++ |
| 456 | i = encodeVarintRaftInternal(dAtA, i, uint64(m.AuthRoleRevokePermission.Size())) |
| 457 | n27, err := m.AuthRoleRevokePermission.MarshalTo(dAtA[i:]) |
| 458 | if err != nil { |
| 459 | return 0, err |
| 460 | } |
| 461 | i += n27 |
| 462 | } |
| 463 | return i, nil |
| 464 | } |
| 465 | |
| 466 | func (m *EmptyResponse) Marshal() (dAtA []byte, err error) { |
| 467 | size := m.Size() |
| 468 | dAtA = make([]byte, size) |
| 469 | n, err := m.MarshalTo(dAtA) |
| 470 | if err != nil { |
| 471 | return nil, err |
| 472 | } |
| 473 | return dAtA[:n], nil |
| 474 | } |
| 475 | |
| 476 | func (m *EmptyResponse) MarshalTo(dAtA []byte) (int, error) { |
| 477 | var i int |
| 478 | _ = i |
| 479 | var l int |
| 480 | _ = l |
| 481 | return i, nil |
| 482 | } |
| 483 | |
| 484 | func (m *InternalAuthenticateRequest) Marshal() (dAtA []byte, err error) { |
| 485 | size := m.Size() |
| 486 | dAtA = make([]byte, size) |
| 487 | n, err := m.MarshalTo(dAtA) |
| 488 | if err != nil { |
| 489 | return nil, err |
| 490 | } |
| 491 | return dAtA[:n], nil |
| 492 | } |
| 493 | |
| 494 | func (m *InternalAuthenticateRequest) MarshalTo(dAtA []byte) (int, error) { |
| 495 | var i int |
| 496 | _ = i |
| 497 | var l int |
| 498 | _ = l |
| 499 | if len(m.Name) > 0 { |
| 500 | dAtA[i] = 0xa |
| 501 | i++ |
| 502 | i = encodeVarintRaftInternal(dAtA, i, uint64(len(m.Name))) |
| 503 | i += copy(dAtA[i:], m.Name) |
| 504 | } |
| 505 | if len(m.Password) > 0 { |
| 506 | dAtA[i] = 0x12 |
| 507 | i++ |
| 508 | i = encodeVarintRaftInternal(dAtA, i, uint64(len(m.Password))) |
| 509 | i += copy(dAtA[i:], m.Password) |
| 510 | } |
| 511 | if len(m.SimpleToken) > 0 { |
| 512 | dAtA[i] = 0x1a |
| 513 | i++ |
| 514 | i = encodeVarintRaftInternal(dAtA, i, uint64(len(m.SimpleToken))) |
| 515 | i += copy(dAtA[i:], m.SimpleToken) |
| 516 | } |
| 517 | return i, nil |
| 518 | } |
| 519 | |
| 520 | func encodeVarintRaftInternal(dAtA []byte, offset int, v uint64) int { |
| 521 | for v >= 1<<7 { |
| 522 | dAtA[offset] = uint8(v&0x7f | 0x80) |
| 523 | v >>= 7 |
| 524 | offset++ |
| 525 | } |
| 526 | dAtA[offset] = uint8(v) |
| 527 | return offset + 1 |
| 528 | } |
| 529 | func (m *RequestHeader) Size() (n int) { |
| 530 | var l int |
| 531 | _ = l |
| 532 | if m.ID != 0 { |
| 533 | n += 1 + sovRaftInternal(uint64(m.ID)) |
| 534 | } |
| 535 | l = len(m.Username) |
| 536 | if l > 0 { |
| 537 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 538 | } |
| 539 | if m.AuthRevision != 0 { |
| 540 | n += 1 + sovRaftInternal(uint64(m.AuthRevision)) |
| 541 | } |
| 542 | return n |
| 543 | } |
| 544 | |
| 545 | func (m *InternalRaftRequest) Size() (n int) { |
| 546 | var l int |
| 547 | _ = l |
| 548 | if m.ID != 0 { |
| 549 | n += 1 + sovRaftInternal(uint64(m.ID)) |
| 550 | } |
| 551 | if m.V2 != nil { |
| 552 | l = m.V2.Size() |
| 553 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 554 | } |
| 555 | if m.Range != nil { |
| 556 | l = m.Range.Size() |
| 557 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 558 | } |
| 559 | if m.Put != nil { |
| 560 | l = m.Put.Size() |
| 561 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 562 | } |
| 563 | if m.DeleteRange != nil { |
| 564 | l = m.DeleteRange.Size() |
| 565 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 566 | } |
| 567 | if m.Txn != nil { |
| 568 | l = m.Txn.Size() |
| 569 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 570 | } |
| 571 | if m.Compaction != nil { |
| 572 | l = m.Compaction.Size() |
| 573 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 574 | } |
| 575 | if m.LeaseGrant != nil { |
| 576 | l = m.LeaseGrant.Size() |
| 577 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 578 | } |
| 579 | if m.LeaseRevoke != nil { |
| 580 | l = m.LeaseRevoke.Size() |
| 581 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 582 | } |
| 583 | if m.Alarm != nil { |
| 584 | l = m.Alarm.Size() |
| 585 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 586 | } |
| 587 | if m.LeaseCheckpoint != nil { |
| 588 | l = m.LeaseCheckpoint.Size() |
| 589 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 590 | } |
| 591 | if m.Header != nil { |
| 592 | l = m.Header.Size() |
| 593 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 594 | } |
| 595 | if m.AuthEnable != nil { |
| 596 | l = m.AuthEnable.Size() |
| 597 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 598 | } |
| 599 | if m.AuthDisable != nil { |
| 600 | l = m.AuthDisable.Size() |
| 601 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 602 | } |
| 603 | if m.Authenticate != nil { |
| 604 | l = m.Authenticate.Size() |
| 605 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 606 | } |
| 607 | if m.AuthUserAdd != nil { |
| 608 | l = m.AuthUserAdd.Size() |
| 609 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 610 | } |
| 611 | if m.AuthUserDelete != nil { |
| 612 | l = m.AuthUserDelete.Size() |
| 613 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 614 | } |
| 615 | if m.AuthUserGet != nil { |
| 616 | l = m.AuthUserGet.Size() |
| 617 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 618 | } |
| 619 | if m.AuthUserChangePassword != nil { |
| 620 | l = m.AuthUserChangePassword.Size() |
| 621 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 622 | } |
| 623 | if m.AuthUserGrantRole != nil { |
| 624 | l = m.AuthUserGrantRole.Size() |
| 625 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 626 | } |
| 627 | if m.AuthUserRevokeRole != nil { |
| 628 | l = m.AuthUserRevokeRole.Size() |
| 629 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 630 | } |
| 631 | if m.AuthUserList != nil { |
| 632 | l = m.AuthUserList.Size() |
| 633 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 634 | } |
| 635 | if m.AuthRoleList != nil { |
| 636 | l = m.AuthRoleList.Size() |
| 637 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 638 | } |
| 639 | if m.AuthRoleAdd != nil { |
| 640 | l = m.AuthRoleAdd.Size() |
| 641 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 642 | } |
| 643 | if m.AuthRoleDelete != nil { |
| 644 | l = m.AuthRoleDelete.Size() |
| 645 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 646 | } |
| 647 | if m.AuthRoleGet != nil { |
| 648 | l = m.AuthRoleGet.Size() |
| 649 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 650 | } |
| 651 | if m.AuthRoleGrantPermission != nil { |
| 652 | l = m.AuthRoleGrantPermission.Size() |
| 653 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 654 | } |
| 655 | if m.AuthRoleRevokePermission != nil { |
| 656 | l = m.AuthRoleRevokePermission.Size() |
| 657 | n += 2 + l + sovRaftInternal(uint64(l)) |
| 658 | } |
| 659 | return n |
| 660 | } |
| 661 | |
| 662 | func (m *EmptyResponse) Size() (n int) { |
| 663 | var l int |
| 664 | _ = l |
| 665 | return n |
| 666 | } |
| 667 | |
| 668 | func (m *InternalAuthenticateRequest) Size() (n int) { |
| 669 | var l int |
| 670 | _ = l |
| 671 | l = len(m.Name) |
| 672 | if l > 0 { |
| 673 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 674 | } |
| 675 | l = len(m.Password) |
| 676 | if l > 0 { |
| 677 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 678 | } |
| 679 | l = len(m.SimpleToken) |
| 680 | if l > 0 { |
| 681 | n += 1 + l + sovRaftInternal(uint64(l)) |
| 682 | } |
| 683 | return n |
| 684 | } |
| 685 | |
| 686 | func sovRaftInternal(x uint64) (n int) { |
| 687 | for { |
| 688 | n++ |
| 689 | x >>= 7 |
| 690 | if x == 0 { |
| 691 | break |
| 692 | } |
| 693 | } |
| 694 | return n |
| 695 | } |
| 696 | func sozRaftInternal(x uint64) (n int) { |
| 697 | return sovRaftInternal(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 698 | } |
| 699 | func (m *RequestHeader) Unmarshal(dAtA []byte) error { |
| 700 | l := len(dAtA) |
| 701 | iNdEx := 0 |
| 702 | for iNdEx < l { |
| 703 | preIndex := iNdEx |
| 704 | var wire uint64 |
| 705 | for shift := uint(0); ; shift += 7 { |
| 706 | if shift >= 64 { |
| 707 | return ErrIntOverflowRaftInternal |
| 708 | } |
| 709 | if iNdEx >= l { |
| 710 | return io.ErrUnexpectedEOF |
| 711 | } |
| 712 | b := dAtA[iNdEx] |
| 713 | iNdEx++ |
| 714 | wire |= (uint64(b) & 0x7F) << shift |
| 715 | if b < 0x80 { |
| 716 | break |
| 717 | } |
| 718 | } |
| 719 | fieldNum := int32(wire >> 3) |
| 720 | wireType := int(wire & 0x7) |
| 721 | if wireType == 4 { |
| 722 | return fmt.Errorf("proto: RequestHeader: wiretype end group for non-group") |
| 723 | } |
| 724 | if fieldNum <= 0 { |
| 725 | return fmt.Errorf("proto: RequestHeader: illegal tag %d (wire type %d)", fieldNum, wire) |
| 726 | } |
| 727 | switch fieldNum { |
| 728 | case 1: |
| 729 | if wireType != 0 { |
| 730 | return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) |
| 731 | } |
| 732 | m.ID = 0 |
| 733 | for shift := uint(0); ; shift += 7 { |
| 734 | if shift >= 64 { |
| 735 | return ErrIntOverflowRaftInternal |
| 736 | } |
| 737 | if iNdEx >= l { |
| 738 | return io.ErrUnexpectedEOF |
| 739 | } |
| 740 | b := dAtA[iNdEx] |
| 741 | iNdEx++ |
| 742 | m.ID |= (uint64(b) & 0x7F) << shift |
| 743 | if b < 0x80 { |
| 744 | break |
| 745 | } |
| 746 | } |
| 747 | case 2: |
| 748 | if wireType != 2 { |
| 749 | return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) |
| 750 | } |
| 751 | var stringLen uint64 |
| 752 | for shift := uint(0); ; shift += 7 { |
| 753 | if shift >= 64 { |
| 754 | return ErrIntOverflowRaftInternal |
| 755 | } |
| 756 | if iNdEx >= l { |
| 757 | return io.ErrUnexpectedEOF |
| 758 | } |
| 759 | b := dAtA[iNdEx] |
| 760 | iNdEx++ |
| 761 | stringLen |= (uint64(b) & 0x7F) << shift |
| 762 | if b < 0x80 { |
| 763 | break |
| 764 | } |
| 765 | } |
| 766 | intStringLen := int(stringLen) |
| 767 | if intStringLen < 0 { |
| 768 | return ErrInvalidLengthRaftInternal |
| 769 | } |
| 770 | postIndex := iNdEx + intStringLen |
| 771 | if postIndex > l { |
| 772 | return io.ErrUnexpectedEOF |
| 773 | } |
| 774 | m.Username = string(dAtA[iNdEx:postIndex]) |
| 775 | iNdEx = postIndex |
| 776 | case 3: |
| 777 | if wireType != 0 { |
| 778 | return fmt.Errorf("proto: wrong wireType = %d for field AuthRevision", wireType) |
| 779 | } |
| 780 | m.AuthRevision = 0 |
| 781 | for shift := uint(0); ; shift += 7 { |
| 782 | if shift >= 64 { |
| 783 | return ErrIntOverflowRaftInternal |
| 784 | } |
| 785 | if iNdEx >= l { |
| 786 | return io.ErrUnexpectedEOF |
| 787 | } |
| 788 | b := dAtA[iNdEx] |
| 789 | iNdEx++ |
| 790 | m.AuthRevision |= (uint64(b) & 0x7F) << shift |
| 791 | if b < 0x80 { |
| 792 | break |
| 793 | } |
| 794 | } |
| 795 | default: |
| 796 | iNdEx = preIndex |
| 797 | skippy, err := skipRaftInternal(dAtA[iNdEx:]) |
| 798 | if err != nil { |
| 799 | return err |
| 800 | } |
| 801 | if skippy < 0 { |
| 802 | return ErrInvalidLengthRaftInternal |
| 803 | } |
| 804 | if (iNdEx + skippy) > l { |
| 805 | return io.ErrUnexpectedEOF |
| 806 | } |
| 807 | iNdEx += skippy |
| 808 | } |
| 809 | } |
| 810 | |
| 811 | if iNdEx > l { |
| 812 | return io.ErrUnexpectedEOF |
| 813 | } |
| 814 | return nil |
| 815 | } |
| 816 | func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { |
| 817 | l := len(dAtA) |
| 818 | iNdEx := 0 |
| 819 | for iNdEx < l { |
| 820 | preIndex := iNdEx |
| 821 | var wire uint64 |
| 822 | for shift := uint(0); ; shift += 7 { |
| 823 | if shift >= 64 { |
| 824 | return ErrIntOverflowRaftInternal |
| 825 | } |
| 826 | if iNdEx >= l { |
| 827 | return io.ErrUnexpectedEOF |
| 828 | } |
| 829 | b := dAtA[iNdEx] |
| 830 | iNdEx++ |
| 831 | wire |= (uint64(b) & 0x7F) << shift |
| 832 | if b < 0x80 { |
| 833 | break |
| 834 | } |
| 835 | } |
| 836 | fieldNum := int32(wire >> 3) |
| 837 | wireType := int(wire & 0x7) |
| 838 | if wireType == 4 { |
| 839 | return fmt.Errorf("proto: InternalRaftRequest: wiretype end group for non-group") |
| 840 | } |
| 841 | if fieldNum <= 0 { |
| 842 | return fmt.Errorf("proto: InternalRaftRequest: illegal tag %d (wire type %d)", fieldNum, wire) |
| 843 | } |
| 844 | switch fieldNum { |
| 845 | case 1: |
| 846 | if wireType != 0 { |
| 847 | return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) |
| 848 | } |
| 849 | m.ID = 0 |
| 850 | for shift := uint(0); ; shift += 7 { |
| 851 | if shift >= 64 { |
| 852 | return ErrIntOverflowRaftInternal |
| 853 | } |
| 854 | if iNdEx >= l { |
| 855 | return io.ErrUnexpectedEOF |
| 856 | } |
| 857 | b := dAtA[iNdEx] |
| 858 | iNdEx++ |
| 859 | m.ID |= (uint64(b) & 0x7F) << shift |
| 860 | if b < 0x80 { |
| 861 | break |
| 862 | } |
| 863 | } |
| 864 | case 2: |
| 865 | if wireType != 2 { |
| 866 | return fmt.Errorf("proto: wrong wireType = %d for field V2", wireType) |
| 867 | } |
| 868 | var msglen int |
| 869 | for shift := uint(0); ; shift += 7 { |
| 870 | if shift >= 64 { |
| 871 | return ErrIntOverflowRaftInternal |
| 872 | } |
| 873 | if iNdEx >= l { |
| 874 | return io.ErrUnexpectedEOF |
| 875 | } |
| 876 | b := dAtA[iNdEx] |
| 877 | iNdEx++ |
| 878 | msglen |= (int(b) & 0x7F) << shift |
| 879 | if b < 0x80 { |
| 880 | break |
| 881 | } |
| 882 | } |
| 883 | if msglen < 0 { |
| 884 | return ErrInvalidLengthRaftInternal |
| 885 | } |
| 886 | postIndex := iNdEx + msglen |
| 887 | if postIndex > l { |
| 888 | return io.ErrUnexpectedEOF |
| 889 | } |
| 890 | if m.V2 == nil { |
| 891 | m.V2 = &Request{} |
| 892 | } |
| 893 | if err := m.V2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 894 | return err |
| 895 | } |
| 896 | iNdEx = postIndex |
| 897 | case 3: |
| 898 | if wireType != 2 { |
| 899 | return fmt.Errorf("proto: wrong wireType = %d for field Range", wireType) |
| 900 | } |
| 901 | var msglen int |
| 902 | for shift := uint(0); ; shift += 7 { |
| 903 | if shift >= 64 { |
| 904 | return ErrIntOverflowRaftInternal |
| 905 | } |
| 906 | if iNdEx >= l { |
| 907 | return io.ErrUnexpectedEOF |
| 908 | } |
| 909 | b := dAtA[iNdEx] |
| 910 | iNdEx++ |
| 911 | msglen |= (int(b) & 0x7F) << shift |
| 912 | if b < 0x80 { |
| 913 | break |
| 914 | } |
| 915 | } |
| 916 | if msglen < 0 { |
| 917 | return ErrInvalidLengthRaftInternal |
| 918 | } |
| 919 | postIndex := iNdEx + msglen |
| 920 | if postIndex > l { |
| 921 | return io.ErrUnexpectedEOF |
| 922 | } |
| 923 | if m.Range == nil { |
| 924 | m.Range = &RangeRequest{} |
| 925 | } |
| 926 | if err := m.Range.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 927 | return err |
| 928 | } |
| 929 | iNdEx = postIndex |
| 930 | case 4: |
| 931 | if wireType != 2 { |
| 932 | return fmt.Errorf("proto: wrong wireType = %d for field Put", wireType) |
| 933 | } |
| 934 | var msglen int |
| 935 | for shift := uint(0); ; shift += 7 { |
| 936 | if shift >= 64 { |
| 937 | return ErrIntOverflowRaftInternal |
| 938 | } |
| 939 | if iNdEx >= l { |
| 940 | return io.ErrUnexpectedEOF |
| 941 | } |
| 942 | b := dAtA[iNdEx] |
| 943 | iNdEx++ |
| 944 | msglen |= (int(b) & 0x7F) << shift |
| 945 | if b < 0x80 { |
| 946 | break |
| 947 | } |
| 948 | } |
| 949 | if msglen < 0 { |
| 950 | return ErrInvalidLengthRaftInternal |
| 951 | } |
| 952 | postIndex := iNdEx + msglen |
| 953 | if postIndex > l { |
| 954 | return io.ErrUnexpectedEOF |
| 955 | } |
| 956 | if m.Put == nil { |
| 957 | m.Put = &PutRequest{} |
| 958 | } |
| 959 | if err := m.Put.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 960 | return err |
| 961 | } |
| 962 | iNdEx = postIndex |
| 963 | case 5: |
| 964 | if wireType != 2 { |
| 965 | return fmt.Errorf("proto: wrong wireType = %d for field DeleteRange", wireType) |
| 966 | } |
| 967 | var msglen int |
| 968 | for shift := uint(0); ; shift += 7 { |
| 969 | if shift >= 64 { |
| 970 | return ErrIntOverflowRaftInternal |
| 971 | } |
| 972 | if iNdEx >= l { |
| 973 | return io.ErrUnexpectedEOF |
| 974 | } |
| 975 | b := dAtA[iNdEx] |
| 976 | iNdEx++ |
| 977 | msglen |= (int(b) & 0x7F) << shift |
| 978 | if b < 0x80 { |
| 979 | break |
| 980 | } |
| 981 | } |
| 982 | if msglen < 0 { |
| 983 | return ErrInvalidLengthRaftInternal |
| 984 | } |
| 985 | postIndex := iNdEx + msglen |
| 986 | if postIndex > l { |
| 987 | return io.ErrUnexpectedEOF |
| 988 | } |
| 989 | if m.DeleteRange == nil { |
| 990 | m.DeleteRange = &DeleteRangeRequest{} |
| 991 | } |
| 992 | if err := m.DeleteRange.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 993 | return err |
| 994 | } |
| 995 | iNdEx = postIndex |
| 996 | case 6: |
| 997 | if wireType != 2 { |
| 998 | return fmt.Errorf("proto: wrong wireType = %d for field Txn", wireType) |
| 999 | } |
| 1000 | var msglen int |
| 1001 | for shift := uint(0); ; shift += 7 { |
| 1002 | if shift >= 64 { |
| 1003 | return ErrIntOverflowRaftInternal |
| 1004 | } |
| 1005 | if iNdEx >= l { |
| 1006 | return io.ErrUnexpectedEOF |
| 1007 | } |
| 1008 | b := dAtA[iNdEx] |
| 1009 | iNdEx++ |
| 1010 | msglen |= (int(b) & 0x7F) << shift |
| 1011 | if b < 0x80 { |
| 1012 | break |
| 1013 | } |
| 1014 | } |
| 1015 | if msglen < 0 { |
| 1016 | return ErrInvalidLengthRaftInternal |
| 1017 | } |
| 1018 | postIndex := iNdEx + msglen |
| 1019 | if postIndex > l { |
| 1020 | return io.ErrUnexpectedEOF |
| 1021 | } |
| 1022 | if m.Txn == nil { |
| 1023 | m.Txn = &TxnRequest{} |
| 1024 | } |
| 1025 | if err := m.Txn.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1026 | return err |
| 1027 | } |
| 1028 | iNdEx = postIndex |
| 1029 | case 7: |
| 1030 | if wireType != 2 { |
| 1031 | return fmt.Errorf("proto: wrong wireType = %d for field Compaction", wireType) |
| 1032 | } |
| 1033 | var msglen int |
| 1034 | for shift := uint(0); ; shift += 7 { |
| 1035 | if shift >= 64 { |
| 1036 | return ErrIntOverflowRaftInternal |
| 1037 | } |
| 1038 | if iNdEx >= l { |
| 1039 | return io.ErrUnexpectedEOF |
| 1040 | } |
| 1041 | b := dAtA[iNdEx] |
| 1042 | iNdEx++ |
| 1043 | msglen |= (int(b) & 0x7F) << shift |
| 1044 | if b < 0x80 { |
| 1045 | break |
| 1046 | } |
| 1047 | } |
| 1048 | if msglen < 0 { |
| 1049 | return ErrInvalidLengthRaftInternal |
| 1050 | } |
| 1051 | postIndex := iNdEx + msglen |
| 1052 | if postIndex > l { |
| 1053 | return io.ErrUnexpectedEOF |
| 1054 | } |
| 1055 | if m.Compaction == nil { |
| 1056 | m.Compaction = &CompactionRequest{} |
| 1057 | } |
| 1058 | if err := m.Compaction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1059 | return err |
| 1060 | } |
| 1061 | iNdEx = postIndex |
| 1062 | case 8: |
| 1063 | if wireType != 2 { |
| 1064 | return fmt.Errorf("proto: wrong wireType = %d for field LeaseGrant", wireType) |
| 1065 | } |
| 1066 | var msglen int |
| 1067 | for shift := uint(0); ; shift += 7 { |
| 1068 | if shift >= 64 { |
| 1069 | return ErrIntOverflowRaftInternal |
| 1070 | } |
| 1071 | if iNdEx >= l { |
| 1072 | return io.ErrUnexpectedEOF |
| 1073 | } |
| 1074 | b := dAtA[iNdEx] |
| 1075 | iNdEx++ |
| 1076 | msglen |= (int(b) & 0x7F) << shift |
| 1077 | if b < 0x80 { |
| 1078 | break |
| 1079 | } |
| 1080 | } |
| 1081 | if msglen < 0 { |
| 1082 | return ErrInvalidLengthRaftInternal |
| 1083 | } |
| 1084 | postIndex := iNdEx + msglen |
| 1085 | if postIndex > l { |
| 1086 | return io.ErrUnexpectedEOF |
| 1087 | } |
| 1088 | if m.LeaseGrant == nil { |
| 1089 | m.LeaseGrant = &LeaseGrantRequest{} |
| 1090 | } |
| 1091 | if err := m.LeaseGrant.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1092 | return err |
| 1093 | } |
| 1094 | iNdEx = postIndex |
| 1095 | case 9: |
| 1096 | if wireType != 2 { |
| 1097 | return fmt.Errorf("proto: wrong wireType = %d for field LeaseRevoke", wireType) |
| 1098 | } |
| 1099 | var msglen int |
| 1100 | for shift := uint(0); ; shift += 7 { |
| 1101 | if shift >= 64 { |
| 1102 | return ErrIntOverflowRaftInternal |
| 1103 | } |
| 1104 | if iNdEx >= l { |
| 1105 | return io.ErrUnexpectedEOF |
| 1106 | } |
| 1107 | b := dAtA[iNdEx] |
| 1108 | iNdEx++ |
| 1109 | msglen |= (int(b) & 0x7F) << shift |
| 1110 | if b < 0x80 { |
| 1111 | break |
| 1112 | } |
| 1113 | } |
| 1114 | if msglen < 0 { |
| 1115 | return ErrInvalidLengthRaftInternal |
| 1116 | } |
| 1117 | postIndex := iNdEx + msglen |
| 1118 | if postIndex > l { |
| 1119 | return io.ErrUnexpectedEOF |
| 1120 | } |
| 1121 | if m.LeaseRevoke == nil { |
| 1122 | m.LeaseRevoke = &LeaseRevokeRequest{} |
| 1123 | } |
| 1124 | if err := m.LeaseRevoke.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1125 | return err |
| 1126 | } |
| 1127 | iNdEx = postIndex |
| 1128 | case 10: |
| 1129 | if wireType != 2 { |
| 1130 | return fmt.Errorf("proto: wrong wireType = %d for field Alarm", wireType) |
| 1131 | } |
| 1132 | var msglen int |
| 1133 | for shift := uint(0); ; shift += 7 { |
| 1134 | if shift >= 64 { |
| 1135 | return ErrIntOverflowRaftInternal |
| 1136 | } |
| 1137 | if iNdEx >= l { |
| 1138 | return io.ErrUnexpectedEOF |
| 1139 | } |
| 1140 | b := dAtA[iNdEx] |
| 1141 | iNdEx++ |
| 1142 | msglen |= (int(b) & 0x7F) << shift |
| 1143 | if b < 0x80 { |
| 1144 | break |
| 1145 | } |
| 1146 | } |
| 1147 | if msglen < 0 { |
| 1148 | return ErrInvalidLengthRaftInternal |
| 1149 | } |
| 1150 | postIndex := iNdEx + msglen |
| 1151 | if postIndex > l { |
| 1152 | return io.ErrUnexpectedEOF |
| 1153 | } |
| 1154 | if m.Alarm == nil { |
| 1155 | m.Alarm = &AlarmRequest{} |
| 1156 | } |
| 1157 | if err := m.Alarm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1158 | return err |
| 1159 | } |
| 1160 | iNdEx = postIndex |
| 1161 | case 11: |
| 1162 | if wireType != 2 { |
| 1163 | return fmt.Errorf("proto: wrong wireType = %d for field LeaseCheckpoint", wireType) |
| 1164 | } |
| 1165 | var msglen int |
| 1166 | for shift := uint(0); ; shift += 7 { |
| 1167 | if shift >= 64 { |
| 1168 | return ErrIntOverflowRaftInternal |
| 1169 | } |
| 1170 | if iNdEx >= l { |
| 1171 | return io.ErrUnexpectedEOF |
| 1172 | } |
| 1173 | b := dAtA[iNdEx] |
| 1174 | iNdEx++ |
| 1175 | msglen |= (int(b) & 0x7F) << shift |
| 1176 | if b < 0x80 { |
| 1177 | break |
| 1178 | } |
| 1179 | } |
| 1180 | if msglen < 0 { |
| 1181 | return ErrInvalidLengthRaftInternal |
| 1182 | } |
| 1183 | postIndex := iNdEx + msglen |
| 1184 | if postIndex > l { |
| 1185 | return io.ErrUnexpectedEOF |
| 1186 | } |
| 1187 | if m.LeaseCheckpoint == nil { |
| 1188 | m.LeaseCheckpoint = &LeaseCheckpointRequest{} |
| 1189 | } |
| 1190 | if err := m.LeaseCheckpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1191 | return err |
| 1192 | } |
| 1193 | iNdEx = postIndex |
| 1194 | case 100: |
| 1195 | if wireType != 2 { |
| 1196 | return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) |
| 1197 | } |
| 1198 | var msglen int |
| 1199 | for shift := uint(0); ; shift += 7 { |
| 1200 | if shift >= 64 { |
| 1201 | return ErrIntOverflowRaftInternal |
| 1202 | } |
| 1203 | if iNdEx >= l { |
| 1204 | return io.ErrUnexpectedEOF |
| 1205 | } |
| 1206 | b := dAtA[iNdEx] |
| 1207 | iNdEx++ |
| 1208 | msglen |= (int(b) & 0x7F) << shift |
| 1209 | if b < 0x80 { |
| 1210 | break |
| 1211 | } |
| 1212 | } |
| 1213 | if msglen < 0 { |
| 1214 | return ErrInvalidLengthRaftInternal |
| 1215 | } |
| 1216 | postIndex := iNdEx + msglen |
| 1217 | if postIndex > l { |
| 1218 | return io.ErrUnexpectedEOF |
| 1219 | } |
| 1220 | if m.Header == nil { |
| 1221 | m.Header = &RequestHeader{} |
| 1222 | } |
| 1223 | if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1224 | return err |
| 1225 | } |
| 1226 | iNdEx = postIndex |
| 1227 | case 1000: |
| 1228 | if wireType != 2 { |
| 1229 | return fmt.Errorf("proto: wrong wireType = %d for field AuthEnable", wireType) |
| 1230 | } |
| 1231 | var msglen int |
| 1232 | for shift := uint(0); ; shift += 7 { |
| 1233 | if shift >= 64 { |
| 1234 | return ErrIntOverflowRaftInternal |
| 1235 | } |
| 1236 | if iNdEx >= l { |
| 1237 | return io.ErrUnexpectedEOF |
| 1238 | } |
| 1239 | b := dAtA[iNdEx] |
| 1240 | iNdEx++ |
| 1241 | msglen |= (int(b) & 0x7F) << shift |
| 1242 | if b < 0x80 { |
| 1243 | break |
| 1244 | } |
| 1245 | } |
| 1246 | if msglen < 0 { |
| 1247 | return ErrInvalidLengthRaftInternal |
| 1248 | } |
| 1249 | postIndex := iNdEx + msglen |
| 1250 | if postIndex > l { |
| 1251 | return io.ErrUnexpectedEOF |
| 1252 | } |
| 1253 | if m.AuthEnable == nil { |
| 1254 | m.AuthEnable = &AuthEnableRequest{} |
| 1255 | } |
| 1256 | if err := m.AuthEnable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1257 | return err |
| 1258 | } |
| 1259 | iNdEx = postIndex |
| 1260 | case 1011: |
| 1261 | if wireType != 2 { |
| 1262 | return fmt.Errorf("proto: wrong wireType = %d for field AuthDisable", wireType) |
| 1263 | } |
| 1264 | var msglen int |
| 1265 | for shift := uint(0); ; shift += 7 { |
| 1266 | if shift >= 64 { |
| 1267 | return ErrIntOverflowRaftInternal |
| 1268 | } |
| 1269 | if iNdEx >= l { |
| 1270 | return io.ErrUnexpectedEOF |
| 1271 | } |
| 1272 | b := dAtA[iNdEx] |
| 1273 | iNdEx++ |
| 1274 | msglen |= (int(b) & 0x7F) << shift |
| 1275 | if b < 0x80 { |
| 1276 | break |
| 1277 | } |
| 1278 | } |
| 1279 | if msglen < 0 { |
| 1280 | return ErrInvalidLengthRaftInternal |
| 1281 | } |
| 1282 | postIndex := iNdEx + msglen |
| 1283 | if postIndex > l { |
| 1284 | return io.ErrUnexpectedEOF |
| 1285 | } |
| 1286 | if m.AuthDisable == nil { |
| 1287 | m.AuthDisable = &AuthDisableRequest{} |
| 1288 | } |
| 1289 | if err := m.AuthDisable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1290 | return err |
| 1291 | } |
| 1292 | iNdEx = postIndex |
| 1293 | case 1012: |
| 1294 | if wireType != 2 { |
| 1295 | return fmt.Errorf("proto: wrong wireType = %d for field Authenticate", wireType) |
| 1296 | } |
| 1297 | var msglen int |
| 1298 | for shift := uint(0); ; shift += 7 { |
| 1299 | if shift >= 64 { |
| 1300 | return ErrIntOverflowRaftInternal |
| 1301 | } |
| 1302 | if iNdEx >= l { |
| 1303 | return io.ErrUnexpectedEOF |
| 1304 | } |
| 1305 | b := dAtA[iNdEx] |
| 1306 | iNdEx++ |
| 1307 | msglen |= (int(b) & 0x7F) << shift |
| 1308 | if b < 0x80 { |
| 1309 | break |
| 1310 | } |
| 1311 | } |
| 1312 | if msglen < 0 { |
| 1313 | return ErrInvalidLengthRaftInternal |
| 1314 | } |
| 1315 | postIndex := iNdEx + msglen |
| 1316 | if postIndex > l { |
| 1317 | return io.ErrUnexpectedEOF |
| 1318 | } |
| 1319 | if m.Authenticate == nil { |
| 1320 | m.Authenticate = &InternalAuthenticateRequest{} |
| 1321 | } |
| 1322 | if err := m.Authenticate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1323 | return err |
| 1324 | } |
| 1325 | iNdEx = postIndex |
| 1326 | case 1100: |
| 1327 | if wireType != 2 { |
| 1328 | return fmt.Errorf("proto: wrong wireType = %d for field AuthUserAdd", wireType) |
| 1329 | } |
| 1330 | var msglen int |
| 1331 | for shift := uint(0); ; shift += 7 { |
| 1332 | if shift >= 64 { |
| 1333 | return ErrIntOverflowRaftInternal |
| 1334 | } |
| 1335 | if iNdEx >= l { |
| 1336 | return io.ErrUnexpectedEOF |
| 1337 | } |
| 1338 | b := dAtA[iNdEx] |
| 1339 | iNdEx++ |
| 1340 | msglen |= (int(b) & 0x7F) << shift |
| 1341 | if b < 0x80 { |
| 1342 | break |
| 1343 | } |
| 1344 | } |
| 1345 | if msglen < 0 { |
| 1346 | return ErrInvalidLengthRaftInternal |
| 1347 | } |
| 1348 | postIndex := iNdEx + msglen |
| 1349 | if postIndex > l { |
| 1350 | return io.ErrUnexpectedEOF |
| 1351 | } |
| 1352 | if m.AuthUserAdd == nil { |
| 1353 | m.AuthUserAdd = &AuthUserAddRequest{} |
| 1354 | } |
| 1355 | if err := m.AuthUserAdd.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1356 | return err |
| 1357 | } |
| 1358 | iNdEx = postIndex |
| 1359 | case 1101: |
| 1360 | if wireType != 2 { |
| 1361 | return fmt.Errorf("proto: wrong wireType = %d for field AuthUserDelete", wireType) |
| 1362 | } |
| 1363 | var msglen int |
| 1364 | for shift := uint(0); ; shift += 7 { |
| 1365 | if shift >= 64 { |
| 1366 | return ErrIntOverflowRaftInternal |
| 1367 | } |
| 1368 | if iNdEx >= l { |
| 1369 | return io.ErrUnexpectedEOF |
| 1370 | } |
| 1371 | b := dAtA[iNdEx] |
| 1372 | iNdEx++ |
| 1373 | msglen |= (int(b) & 0x7F) << shift |
| 1374 | if b < 0x80 { |
| 1375 | break |
| 1376 | } |
| 1377 | } |
| 1378 | if msglen < 0 { |
| 1379 | return ErrInvalidLengthRaftInternal |
| 1380 | } |
| 1381 | postIndex := iNdEx + msglen |
| 1382 | if postIndex > l { |
| 1383 | return io.ErrUnexpectedEOF |
| 1384 | } |
| 1385 | if m.AuthUserDelete == nil { |
| 1386 | m.AuthUserDelete = &AuthUserDeleteRequest{} |
| 1387 | } |
| 1388 | if err := m.AuthUserDelete.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1389 | return err |
| 1390 | } |
| 1391 | iNdEx = postIndex |
| 1392 | case 1102: |
| 1393 | if wireType != 2 { |
| 1394 | return fmt.Errorf("proto: wrong wireType = %d for field AuthUserGet", wireType) |
| 1395 | } |
| 1396 | var msglen int |
| 1397 | for shift := uint(0); ; shift += 7 { |
| 1398 | if shift >= 64 { |
| 1399 | return ErrIntOverflowRaftInternal |
| 1400 | } |
| 1401 | if iNdEx >= l { |
| 1402 | return io.ErrUnexpectedEOF |
| 1403 | } |
| 1404 | b := dAtA[iNdEx] |
| 1405 | iNdEx++ |
| 1406 | msglen |= (int(b) & 0x7F) << shift |
| 1407 | if b < 0x80 { |
| 1408 | break |
| 1409 | } |
| 1410 | } |
| 1411 | if msglen < 0 { |
| 1412 | return ErrInvalidLengthRaftInternal |
| 1413 | } |
| 1414 | postIndex := iNdEx + msglen |
| 1415 | if postIndex > l { |
| 1416 | return io.ErrUnexpectedEOF |
| 1417 | } |
| 1418 | if m.AuthUserGet == nil { |
| 1419 | m.AuthUserGet = &AuthUserGetRequest{} |
| 1420 | } |
| 1421 | if err := m.AuthUserGet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1422 | return err |
| 1423 | } |
| 1424 | iNdEx = postIndex |
| 1425 | case 1103: |
| 1426 | if wireType != 2 { |
| 1427 | return fmt.Errorf("proto: wrong wireType = %d for field AuthUserChangePassword", wireType) |
| 1428 | } |
| 1429 | var msglen int |
| 1430 | for shift := uint(0); ; shift += 7 { |
| 1431 | if shift >= 64 { |
| 1432 | return ErrIntOverflowRaftInternal |
| 1433 | } |
| 1434 | if iNdEx >= l { |
| 1435 | return io.ErrUnexpectedEOF |
| 1436 | } |
| 1437 | b := dAtA[iNdEx] |
| 1438 | iNdEx++ |
| 1439 | msglen |= (int(b) & 0x7F) << shift |
| 1440 | if b < 0x80 { |
| 1441 | break |
| 1442 | } |
| 1443 | } |
| 1444 | if msglen < 0 { |
| 1445 | return ErrInvalidLengthRaftInternal |
| 1446 | } |
| 1447 | postIndex := iNdEx + msglen |
| 1448 | if postIndex > l { |
| 1449 | return io.ErrUnexpectedEOF |
| 1450 | } |
| 1451 | if m.AuthUserChangePassword == nil { |
| 1452 | m.AuthUserChangePassword = &AuthUserChangePasswordRequest{} |
| 1453 | } |
| 1454 | if err := m.AuthUserChangePassword.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1455 | return err |
| 1456 | } |
| 1457 | iNdEx = postIndex |
| 1458 | case 1104: |
| 1459 | if wireType != 2 { |
| 1460 | return fmt.Errorf("proto: wrong wireType = %d for field AuthUserGrantRole", wireType) |
| 1461 | } |
| 1462 | var msglen int |
| 1463 | for shift := uint(0); ; shift += 7 { |
| 1464 | if shift >= 64 { |
| 1465 | return ErrIntOverflowRaftInternal |
| 1466 | } |
| 1467 | if iNdEx >= l { |
| 1468 | return io.ErrUnexpectedEOF |
| 1469 | } |
| 1470 | b := dAtA[iNdEx] |
| 1471 | iNdEx++ |
| 1472 | msglen |= (int(b) & 0x7F) << shift |
| 1473 | if b < 0x80 { |
| 1474 | break |
| 1475 | } |
| 1476 | } |
| 1477 | if msglen < 0 { |
| 1478 | return ErrInvalidLengthRaftInternal |
| 1479 | } |
| 1480 | postIndex := iNdEx + msglen |
| 1481 | if postIndex > l { |
| 1482 | return io.ErrUnexpectedEOF |
| 1483 | } |
| 1484 | if m.AuthUserGrantRole == nil { |
| 1485 | m.AuthUserGrantRole = &AuthUserGrantRoleRequest{} |
| 1486 | } |
| 1487 | if err := m.AuthUserGrantRole.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1488 | return err |
| 1489 | } |
| 1490 | iNdEx = postIndex |
| 1491 | case 1105: |
| 1492 | if wireType != 2 { |
| 1493 | return fmt.Errorf("proto: wrong wireType = %d for field AuthUserRevokeRole", wireType) |
| 1494 | } |
| 1495 | var msglen int |
| 1496 | for shift := uint(0); ; shift += 7 { |
| 1497 | if shift >= 64 { |
| 1498 | return ErrIntOverflowRaftInternal |
| 1499 | } |
| 1500 | if iNdEx >= l { |
| 1501 | return io.ErrUnexpectedEOF |
| 1502 | } |
| 1503 | b := dAtA[iNdEx] |
| 1504 | iNdEx++ |
| 1505 | msglen |= (int(b) & 0x7F) << shift |
| 1506 | if b < 0x80 { |
| 1507 | break |
| 1508 | } |
| 1509 | } |
| 1510 | if msglen < 0 { |
| 1511 | return ErrInvalidLengthRaftInternal |
| 1512 | } |
| 1513 | postIndex := iNdEx + msglen |
| 1514 | if postIndex > l { |
| 1515 | return io.ErrUnexpectedEOF |
| 1516 | } |
| 1517 | if m.AuthUserRevokeRole == nil { |
| 1518 | m.AuthUserRevokeRole = &AuthUserRevokeRoleRequest{} |
| 1519 | } |
| 1520 | if err := m.AuthUserRevokeRole.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1521 | return err |
| 1522 | } |
| 1523 | iNdEx = postIndex |
| 1524 | case 1106: |
| 1525 | if wireType != 2 { |
| 1526 | return fmt.Errorf("proto: wrong wireType = %d for field AuthUserList", wireType) |
| 1527 | } |
| 1528 | var msglen int |
| 1529 | for shift := uint(0); ; shift += 7 { |
| 1530 | if shift >= 64 { |
| 1531 | return ErrIntOverflowRaftInternal |
| 1532 | } |
| 1533 | if iNdEx >= l { |
| 1534 | return io.ErrUnexpectedEOF |
| 1535 | } |
| 1536 | b := dAtA[iNdEx] |
| 1537 | iNdEx++ |
| 1538 | msglen |= (int(b) & 0x7F) << shift |
| 1539 | if b < 0x80 { |
| 1540 | break |
| 1541 | } |
| 1542 | } |
| 1543 | if msglen < 0 { |
| 1544 | return ErrInvalidLengthRaftInternal |
| 1545 | } |
| 1546 | postIndex := iNdEx + msglen |
| 1547 | if postIndex > l { |
| 1548 | return io.ErrUnexpectedEOF |
| 1549 | } |
| 1550 | if m.AuthUserList == nil { |
| 1551 | m.AuthUserList = &AuthUserListRequest{} |
| 1552 | } |
| 1553 | if err := m.AuthUserList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1554 | return err |
| 1555 | } |
| 1556 | iNdEx = postIndex |
| 1557 | case 1107: |
| 1558 | if wireType != 2 { |
| 1559 | return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleList", wireType) |
| 1560 | } |
| 1561 | var msglen int |
| 1562 | for shift := uint(0); ; shift += 7 { |
| 1563 | if shift >= 64 { |
| 1564 | return ErrIntOverflowRaftInternal |
| 1565 | } |
| 1566 | if iNdEx >= l { |
| 1567 | return io.ErrUnexpectedEOF |
| 1568 | } |
| 1569 | b := dAtA[iNdEx] |
| 1570 | iNdEx++ |
| 1571 | msglen |= (int(b) & 0x7F) << shift |
| 1572 | if b < 0x80 { |
| 1573 | break |
| 1574 | } |
| 1575 | } |
| 1576 | if msglen < 0 { |
| 1577 | return ErrInvalidLengthRaftInternal |
| 1578 | } |
| 1579 | postIndex := iNdEx + msglen |
| 1580 | if postIndex > l { |
| 1581 | return io.ErrUnexpectedEOF |
| 1582 | } |
| 1583 | if m.AuthRoleList == nil { |
| 1584 | m.AuthRoleList = &AuthRoleListRequest{} |
| 1585 | } |
| 1586 | if err := m.AuthRoleList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1587 | return err |
| 1588 | } |
| 1589 | iNdEx = postIndex |
| 1590 | case 1200: |
| 1591 | if wireType != 2 { |
| 1592 | return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleAdd", wireType) |
| 1593 | } |
| 1594 | var msglen int |
| 1595 | for shift := uint(0); ; shift += 7 { |
| 1596 | if shift >= 64 { |
| 1597 | return ErrIntOverflowRaftInternal |
| 1598 | } |
| 1599 | if iNdEx >= l { |
| 1600 | return io.ErrUnexpectedEOF |
| 1601 | } |
| 1602 | b := dAtA[iNdEx] |
| 1603 | iNdEx++ |
| 1604 | msglen |= (int(b) & 0x7F) << shift |
| 1605 | if b < 0x80 { |
| 1606 | break |
| 1607 | } |
| 1608 | } |
| 1609 | if msglen < 0 { |
| 1610 | return ErrInvalidLengthRaftInternal |
| 1611 | } |
| 1612 | postIndex := iNdEx + msglen |
| 1613 | if postIndex > l { |
| 1614 | return io.ErrUnexpectedEOF |
| 1615 | } |
| 1616 | if m.AuthRoleAdd == nil { |
| 1617 | m.AuthRoleAdd = &AuthRoleAddRequest{} |
| 1618 | } |
| 1619 | if err := m.AuthRoleAdd.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1620 | return err |
| 1621 | } |
| 1622 | iNdEx = postIndex |
| 1623 | case 1201: |
| 1624 | if wireType != 2 { |
| 1625 | return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleDelete", wireType) |
| 1626 | } |
| 1627 | var msglen int |
| 1628 | for shift := uint(0); ; shift += 7 { |
| 1629 | if shift >= 64 { |
| 1630 | return ErrIntOverflowRaftInternal |
| 1631 | } |
| 1632 | if iNdEx >= l { |
| 1633 | return io.ErrUnexpectedEOF |
| 1634 | } |
| 1635 | b := dAtA[iNdEx] |
| 1636 | iNdEx++ |
| 1637 | msglen |= (int(b) & 0x7F) << shift |
| 1638 | if b < 0x80 { |
| 1639 | break |
| 1640 | } |
| 1641 | } |
| 1642 | if msglen < 0 { |
| 1643 | return ErrInvalidLengthRaftInternal |
| 1644 | } |
| 1645 | postIndex := iNdEx + msglen |
| 1646 | if postIndex > l { |
| 1647 | return io.ErrUnexpectedEOF |
| 1648 | } |
| 1649 | if m.AuthRoleDelete == nil { |
| 1650 | m.AuthRoleDelete = &AuthRoleDeleteRequest{} |
| 1651 | } |
| 1652 | if err := m.AuthRoleDelete.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1653 | return err |
| 1654 | } |
| 1655 | iNdEx = postIndex |
| 1656 | case 1202: |
| 1657 | if wireType != 2 { |
| 1658 | return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleGet", wireType) |
| 1659 | } |
| 1660 | var msglen int |
| 1661 | for shift := uint(0); ; shift += 7 { |
| 1662 | if shift >= 64 { |
| 1663 | return ErrIntOverflowRaftInternal |
| 1664 | } |
| 1665 | if iNdEx >= l { |
| 1666 | return io.ErrUnexpectedEOF |
| 1667 | } |
| 1668 | b := dAtA[iNdEx] |
| 1669 | iNdEx++ |
| 1670 | msglen |= (int(b) & 0x7F) << shift |
| 1671 | if b < 0x80 { |
| 1672 | break |
| 1673 | } |
| 1674 | } |
| 1675 | if msglen < 0 { |
| 1676 | return ErrInvalidLengthRaftInternal |
| 1677 | } |
| 1678 | postIndex := iNdEx + msglen |
| 1679 | if postIndex > l { |
| 1680 | return io.ErrUnexpectedEOF |
| 1681 | } |
| 1682 | if m.AuthRoleGet == nil { |
| 1683 | m.AuthRoleGet = &AuthRoleGetRequest{} |
| 1684 | } |
| 1685 | if err := m.AuthRoleGet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1686 | return err |
| 1687 | } |
| 1688 | iNdEx = postIndex |
| 1689 | case 1203: |
| 1690 | if wireType != 2 { |
| 1691 | return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleGrantPermission", wireType) |
| 1692 | } |
| 1693 | var msglen int |
| 1694 | for shift := uint(0); ; shift += 7 { |
| 1695 | if shift >= 64 { |
| 1696 | return ErrIntOverflowRaftInternal |
| 1697 | } |
| 1698 | if iNdEx >= l { |
| 1699 | return io.ErrUnexpectedEOF |
| 1700 | } |
| 1701 | b := dAtA[iNdEx] |
| 1702 | iNdEx++ |
| 1703 | msglen |= (int(b) & 0x7F) << shift |
| 1704 | if b < 0x80 { |
| 1705 | break |
| 1706 | } |
| 1707 | } |
| 1708 | if msglen < 0 { |
| 1709 | return ErrInvalidLengthRaftInternal |
| 1710 | } |
| 1711 | postIndex := iNdEx + msglen |
| 1712 | if postIndex > l { |
| 1713 | return io.ErrUnexpectedEOF |
| 1714 | } |
| 1715 | if m.AuthRoleGrantPermission == nil { |
| 1716 | m.AuthRoleGrantPermission = &AuthRoleGrantPermissionRequest{} |
| 1717 | } |
| 1718 | if err := m.AuthRoleGrantPermission.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1719 | return err |
| 1720 | } |
| 1721 | iNdEx = postIndex |
| 1722 | case 1204: |
| 1723 | if wireType != 2 { |
| 1724 | return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleRevokePermission", wireType) |
| 1725 | } |
| 1726 | var msglen int |
| 1727 | for shift := uint(0); ; shift += 7 { |
| 1728 | if shift >= 64 { |
| 1729 | return ErrIntOverflowRaftInternal |
| 1730 | } |
| 1731 | if iNdEx >= l { |
| 1732 | return io.ErrUnexpectedEOF |
| 1733 | } |
| 1734 | b := dAtA[iNdEx] |
| 1735 | iNdEx++ |
| 1736 | msglen |= (int(b) & 0x7F) << shift |
| 1737 | if b < 0x80 { |
| 1738 | break |
| 1739 | } |
| 1740 | } |
| 1741 | if msglen < 0 { |
| 1742 | return ErrInvalidLengthRaftInternal |
| 1743 | } |
| 1744 | postIndex := iNdEx + msglen |
| 1745 | if postIndex > l { |
| 1746 | return io.ErrUnexpectedEOF |
| 1747 | } |
| 1748 | if m.AuthRoleRevokePermission == nil { |
| 1749 | m.AuthRoleRevokePermission = &AuthRoleRevokePermissionRequest{} |
| 1750 | } |
| 1751 | if err := m.AuthRoleRevokePermission.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1752 | return err |
| 1753 | } |
| 1754 | iNdEx = postIndex |
| 1755 | default: |
| 1756 | iNdEx = preIndex |
| 1757 | skippy, err := skipRaftInternal(dAtA[iNdEx:]) |
| 1758 | if err != nil { |
| 1759 | return err |
| 1760 | } |
| 1761 | if skippy < 0 { |
| 1762 | return ErrInvalidLengthRaftInternal |
| 1763 | } |
| 1764 | if (iNdEx + skippy) > l { |
| 1765 | return io.ErrUnexpectedEOF |
| 1766 | } |
| 1767 | iNdEx += skippy |
| 1768 | } |
| 1769 | } |
| 1770 | |
| 1771 | if iNdEx > l { |
| 1772 | return io.ErrUnexpectedEOF |
| 1773 | } |
| 1774 | return nil |
| 1775 | } |
| 1776 | func (m *EmptyResponse) Unmarshal(dAtA []byte) error { |
| 1777 | l := len(dAtA) |
| 1778 | iNdEx := 0 |
| 1779 | for iNdEx < l { |
| 1780 | preIndex := iNdEx |
| 1781 | var wire uint64 |
| 1782 | for shift := uint(0); ; shift += 7 { |
| 1783 | if shift >= 64 { |
| 1784 | return ErrIntOverflowRaftInternal |
| 1785 | } |
| 1786 | if iNdEx >= l { |
| 1787 | return io.ErrUnexpectedEOF |
| 1788 | } |
| 1789 | b := dAtA[iNdEx] |
| 1790 | iNdEx++ |
| 1791 | wire |= (uint64(b) & 0x7F) << shift |
| 1792 | if b < 0x80 { |
| 1793 | break |
| 1794 | } |
| 1795 | } |
| 1796 | fieldNum := int32(wire >> 3) |
| 1797 | wireType := int(wire & 0x7) |
| 1798 | if wireType == 4 { |
| 1799 | return fmt.Errorf("proto: EmptyResponse: wiretype end group for non-group") |
| 1800 | } |
| 1801 | if fieldNum <= 0 { |
| 1802 | return fmt.Errorf("proto: EmptyResponse: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1803 | } |
| 1804 | switch fieldNum { |
| 1805 | default: |
| 1806 | iNdEx = preIndex |
| 1807 | skippy, err := skipRaftInternal(dAtA[iNdEx:]) |
| 1808 | if err != nil { |
| 1809 | return err |
| 1810 | } |
| 1811 | if skippy < 0 { |
| 1812 | return ErrInvalidLengthRaftInternal |
| 1813 | } |
| 1814 | if (iNdEx + skippy) > l { |
| 1815 | return io.ErrUnexpectedEOF |
| 1816 | } |
| 1817 | iNdEx += skippy |
| 1818 | } |
| 1819 | } |
| 1820 | |
| 1821 | if iNdEx > l { |
| 1822 | return io.ErrUnexpectedEOF |
| 1823 | } |
| 1824 | return nil |
| 1825 | } |
| 1826 | func (m *InternalAuthenticateRequest) Unmarshal(dAtA []byte) error { |
| 1827 | l := len(dAtA) |
| 1828 | iNdEx := 0 |
| 1829 | for iNdEx < l { |
| 1830 | preIndex := iNdEx |
| 1831 | var wire uint64 |
| 1832 | for shift := uint(0); ; shift += 7 { |
| 1833 | if shift >= 64 { |
| 1834 | return ErrIntOverflowRaftInternal |
| 1835 | } |
| 1836 | if iNdEx >= l { |
| 1837 | return io.ErrUnexpectedEOF |
| 1838 | } |
| 1839 | b := dAtA[iNdEx] |
| 1840 | iNdEx++ |
| 1841 | wire |= (uint64(b) & 0x7F) << shift |
| 1842 | if b < 0x80 { |
| 1843 | break |
| 1844 | } |
| 1845 | } |
| 1846 | fieldNum := int32(wire >> 3) |
| 1847 | wireType := int(wire & 0x7) |
| 1848 | if wireType == 4 { |
| 1849 | return fmt.Errorf("proto: InternalAuthenticateRequest: wiretype end group for non-group") |
| 1850 | } |
| 1851 | if fieldNum <= 0 { |
| 1852 | return fmt.Errorf("proto: InternalAuthenticateRequest: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1853 | } |
| 1854 | switch fieldNum { |
| 1855 | case 1: |
| 1856 | if wireType != 2 { |
| 1857 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 1858 | } |
| 1859 | var stringLen uint64 |
| 1860 | for shift := uint(0); ; shift += 7 { |
| 1861 | if shift >= 64 { |
| 1862 | return ErrIntOverflowRaftInternal |
| 1863 | } |
| 1864 | if iNdEx >= l { |
| 1865 | return io.ErrUnexpectedEOF |
| 1866 | } |
| 1867 | b := dAtA[iNdEx] |
| 1868 | iNdEx++ |
| 1869 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1870 | if b < 0x80 { |
| 1871 | break |
| 1872 | } |
| 1873 | } |
| 1874 | intStringLen := int(stringLen) |
| 1875 | if intStringLen < 0 { |
| 1876 | return ErrInvalidLengthRaftInternal |
| 1877 | } |
| 1878 | postIndex := iNdEx + intStringLen |
| 1879 | if postIndex > l { |
| 1880 | return io.ErrUnexpectedEOF |
| 1881 | } |
| 1882 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 1883 | iNdEx = postIndex |
| 1884 | case 2: |
| 1885 | if wireType != 2 { |
| 1886 | return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType) |
| 1887 | } |
| 1888 | var stringLen uint64 |
| 1889 | for shift := uint(0); ; shift += 7 { |
| 1890 | if shift >= 64 { |
| 1891 | return ErrIntOverflowRaftInternal |
| 1892 | } |
| 1893 | if iNdEx >= l { |
| 1894 | return io.ErrUnexpectedEOF |
| 1895 | } |
| 1896 | b := dAtA[iNdEx] |
| 1897 | iNdEx++ |
| 1898 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1899 | if b < 0x80 { |
| 1900 | break |
| 1901 | } |
| 1902 | } |
| 1903 | intStringLen := int(stringLen) |
| 1904 | if intStringLen < 0 { |
| 1905 | return ErrInvalidLengthRaftInternal |
| 1906 | } |
| 1907 | postIndex := iNdEx + intStringLen |
| 1908 | if postIndex > l { |
| 1909 | return io.ErrUnexpectedEOF |
| 1910 | } |
| 1911 | m.Password = string(dAtA[iNdEx:postIndex]) |
| 1912 | iNdEx = postIndex |
| 1913 | case 3: |
| 1914 | if wireType != 2 { |
| 1915 | return fmt.Errorf("proto: wrong wireType = %d for field SimpleToken", wireType) |
| 1916 | } |
| 1917 | var stringLen uint64 |
| 1918 | for shift := uint(0); ; shift += 7 { |
| 1919 | if shift >= 64 { |
| 1920 | return ErrIntOverflowRaftInternal |
| 1921 | } |
| 1922 | if iNdEx >= l { |
| 1923 | return io.ErrUnexpectedEOF |
| 1924 | } |
| 1925 | b := dAtA[iNdEx] |
| 1926 | iNdEx++ |
| 1927 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1928 | if b < 0x80 { |
| 1929 | break |
| 1930 | } |
| 1931 | } |
| 1932 | intStringLen := int(stringLen) |
| 1933 | if intStringLen < 0 { |
| 1934 | return ErrInvalidLengthRaftInternal |
| 1935 | } |
| 1936 | postIndex := iNdEx + intStringLen |
| 1937 | if postIndex > l { |
| 1938 | return io.ErrUnexpectedEOF |
| 1939 | } |
| 1940 | m.SimpleToken = string(dAtA[iNdEx:postIndex]) |
| 1941 | iNdEx = postIndex |
| 1942 | default: |
| 1943 | iNdEx = preIndex |
| 1944 | skippy, err := skipRaftInternal(dAtA[iNdEx:]) |
| 1945 | if err != nil { |
| 1946 | return err |
| 1947 | } |
| 1948 | if skippy < 0 { |
| 1949 | return ErrInvalidLengthRaftInternal |
| 1950 | } |
| 1951 | if (iNdEx + skippy) > l { |
| 1952 | return io.ErrUnexpectedEOF |
| 1953 | } |
| 1954 | iNdEx += skippy |
| 1955 | } |
| 1956 | } |
| 1957 | |
| 1958 | if iNdEx > l { |
| 1959 | return io.ErrUnexpectedEOF |
| 1960 | } |
| 1961 | return nil |
| 1962 | } |
| 1963 | func skipRaftInternal(dAtA []byte) (n int, err error) { |
| 1964 | l := len(dAtA) |
| 1965 | iNdEx := 0 |
| 1966 | for iNdEx < l { |
| 1967 | var wire uint64 |
| 1968 | for shift := uint(0); ; shift += 7 { |
| 1969 | if shift >= 64 { |
| 1970 | return 0, ErrIntOverflowRaftInternal |
| 1971 | } |
| 1972 | if iNdEx >= l { |
| 1973 | return 0, io.ErrUnexpectedEOF |
| 1974 | } |
| 1975 | b := dAtA[iNdEx] |
| 1976 | iNdEx++ |
| 1977 | wire |= (uint64(b) & 0x7F) << shift |
| 1978 | if b < 0x80 { |
| 1979 | break |
| 1980 | } |
| 1981 | } |
| 1982 | wireType := int(wire & 0x7) |
| 1983 | switch wireType { |
| 1984 | case 0: |
| 1985 | for shift := uint(0); ; shift += 7 { |
| 1986 | if shift >= 64 { |
| 1987 | return 0, ErrIntOverflowRaftInternal |
| 1988 | } |
| 1989 | if iNdEx >= l { |
| 1990 | return 0, io.ErrUnexpectedEOF |
| 1991 | } |
| 1992 | iNdEx++ |
| 1993 | if dAtA[iNdEx-1] < 0x80 { |
| 1994 | break |
| 1995 | } |
| 1996 | } |
| 1997 | return iNdEx, nil |
| 1998 | case 1: |
| 1999 | iNdEx += 8 |
| 2000 | return iNdEx, nil |
| 2001 | case 2: |
| 2002 | var length int |
| 2003 | for shift := uint(0); ; shift += 7 { |
| 2004 | if shift >= 64 { |
| 2005 | return 0, ErrIntOverflowRaftInternal |
| 2006 | } |
| 2007 | if iNdEx >= l { |
| 2008 | return 0, io.ErrUnexpectedEOF |
| 2009 | } |
| 2010 | b := dAtA[iNdEx] |
| 2011 | iNdEx++ |
| 2012 | length |= (int(b) & 0x7F) << shift |
| 2013 | if b < 0x80 { |
| 2014 | break |
| 2015 | } |
| 2016 | } |
| 2017 | iNdEx += length |
| 2018 | if length < 0 { |
| 2019 | return 0, ErrInvalidLengthRaftInternal |
| 2020 | } |
| 2021 | return iNdEx, nil |
| 2022 | case 3: |
| 2023 | for { |
| 2024 | var innerWire uint64 |
| 2025 | var start int = iNdEx |
| 2026 | for shift := uint(0); ; shift += 7 { |
| 2027 | if shift >= 64 { |
| 2028 | return 0, ErrIntOverflowRaftInternal |
| 2029 | } |
| 2030 | if iNdEx >= l { |
| 2031 | return 0, io.ErrUnexpectedEOF |
| 2032 | } |
| 2033 | b := dAtA[iNdEx] |
| 2034 | iNdEx++ |
| 2035 | innerWire |= (uint64(b) & 0x7F) << shift |
| 2036 | if b < 0x80 { |
| 2037 | break |
| 2038 | } |
| 2039 | } |
| 2040 | innerWireType := int(innerWire & 0x7) |
| 2041 | if innerWireType == 4 { |
| 2042 | break |
| 2043 | } |
| 2044 | next, err := skipRaftInternal(dAtA[start:]) |
| 2045 | if err != nil { |
| 2046 | return 0, err |
| 2047 | } |
| 2048 | iNdEx = start + next |
| 2049 | } |
| 2050 | return iNdEx, nil |
| 2051 | case 4: |
| 2052 | return iNdEx, nil |
| 2053 | case 5: |
| 2054 | iNdEx += 4 |
| 2055 | return iNdEx, nil |
| 2056 | default: |
| 2057 | return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 2058 | } |
| 2059 | } |
| 2060 | panic("unreachable") |
| 2061 | } |
| 2062 | |
| 2063 | var ( |
| 2064 | ErrInvalidLengthRaftInternal = fmt.Errorf("proto: negative length found during unmarshaling") |
| 2065 | ErrIntOverflowRaftInternal = fmt.Errorf("proto: integer overflow") |
| 2066 | ) |
| 2067 | |
| 2068 | func init() { proto.RegisterFile("raft_internal.proto", fileDescriptorRaftInternal) } |
| 2069 | |
| 2070 | var fileDescriptorRaftInternal = []byte{ |
| 2071 | // 867 bytes of a gzipped FileDescriptorProto |
| 2072 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x96, 0xcb, 0x52, 0x33, 0x45, |
| 2073 | 0x14, 0xc7, 0x49, 0xb8, 0xa6, 0x13, 0x2e, 0x36, 0xa0, 0x6d, 0xa8, 0x8a, 0x10, 0xbc, 0xe0, 0x0d, |
| 2074 | 0xad, 0xf0, 0x00, 0x1a, 0x13, 0x0a, 0xa8, 0xa2, 0x90, 0x9a, 0xc2, 0x2a, 0xab, 0x5c, 0x8c, 0xcd, |
| 2075 | 0xcc, 0x21, 0x19, 0x99, 0xcc, 0x8c, 0x3d, 0x9d, 0x88, 0x6f, 0xe2, 0x63, 0x78, 0xdb, 0xbb, 0x65, |
| 2076 | 0xe1, 0x05, 0xf5, 0x05, 0x14, 0x37, 0xee, 0xbf, 0xef, 0x01, 0xbe, 0xea, 0xcb, 0xf4, 0x64, 0x92, |
| 2077 | 0x0e, 0xbb, 0xc9, 0x39, 0xff, 0xf3, 0xfb, 0x9f, 0x99, 0x3e, 0x07, 0x1a, 0x6d, 0x32, 0x7a, 0xc3, |
| 2078 | 0xdd, 0x20, 0xe2, 0xc0, 0x22, 0x1a, 0x1e, 0x26, 0x2c, 0xe6, 0x31, 0xae, 0x01, 0xf7, 0xfc, 0x14, |
| 2079 | 0xd8, 0x08, 0x58, 0x72, 0x5d, 0xdf, 0xea, 0xc5, 0xbd, 0x58, 0x26, 0x3e, 0x10, 0x4f, 0x4a, 0x53, |
| 2080 | 0xdf, 0xc8, 0x35, 0x3a, 0x52, 0x61, 0x89, 0xa7, 0x1e, 0x9b, 0x5f, 0xa2, 0x55, 0x07, 0xbe, 0x1e, |
| 2081 | 0x42, 0xca, 0x4f, 0x81, 0xfa, 0xc0, 0xf0, 0x1a, 0x2a, 0x9f, 0x75, 0x49, 0x69, 0xb7, 0x74, 0xb0, |
| 2082 | 0xe0, 0x94, 0xcf, 0xba, 0xb8, 0x8e, 0x56, 0x86, 0xa9, 0xb0, 0x1c, 0x00, 0x29, 0xef, 0x96, 0x0e, |
| 2083 | 0x2a, 0x8e, 0xf9, 0x8d, 0xf7, 0xd1, 0x2a, 0x1d, 0xf2, 0xbe, 0xcb, 0x60, 0x14, 0xa4, 0x41, 0x1c, |
| 2084 | 0x91, 0x79, 0x59, 0x56, 0x13, 0x41, 0x47, 0xc7, 0x9a, 0xbf, 0xac, 0xa3, 0xcd, 0x33, 0xdd, 0xb5, |
| 2085 | 0x43, 0x6f, 0xb8, 0xb6, 0x9b, 0x32, 0x7a, 0x03, 0x95, 0x47, 0x2d, 0x69, 0x51, 0x6d, 0x6d, 0x1f, |
| 2086 | 0x8e, 0xbf, 0xd7, 0xa1, 0x2e, 0x71, 0xca, 0xa3, 0x16, 0xfe, 0x10, 0x2d, 0x32, 0x1a, 0xf5, 0x40, |
| 2087 | 0x7a, 0x55, 0x5b, 0xf5, 0x09, 0xa5, 0x48, 0x65, 0x72, 0x25, 0xc4, 0xef, 0xa0, 0xf9, 0x64, 0xc8, |
| 2088 | 0xc9, 0x82, 0xd4, 0x93, 0xa2, 0xfe, 0x72, 0x98, 0xf5, 0xe3, 0x08, 0x11, 0xee, 0xa0, 0x9a, 0x0f, |
| 2089 | 0x21, 0x70, 0x70, 0x95, 0xc9, 0xa2, 0x2c, 0xda, 0x2d, 0x16, 0x75, 0xa5, 0xa2, 0x60, 0x55, 0xf5, |
| 2090 | 0xf3, 0x98, 0x30, 0xe4, 0x77, 0x11, 0x59, 0xb2, 0x19, 0x5e, 0xdd, 0x45, 0xc6, 0x90, 0xdf, 0x45, |
| 2091 | 0xf8, 0x23, 0x84, 0xbc, 0x78, 0x90, 0x50, 0x8f, 0x8b, 0xef, 0xb7, 0x2c, 0x4b, 0x5e, 0x2b, 0x96, |
| 2092 | 0x74, 0x4c, 0x3e, 0xab, 0x1c, 0x2b, 0xc1, 0x1f, 0xa3, 0x6a, 0x08, 0x34, 0x05, 0xb7, 0xc7, 0x68, |
| 2093 | 0xc4, 0xc9, 0x8a, 0x8d, 0x70, 0x2e, 0x04, 0x27, 0x22, 0x6f, 0x08, 0xa1, 0x09, 0x89, 0x77, 0x56, |
| 2094 | 0x04, 0x06, 0xa3, 0xf8, 0x16, 0x48, 0xc5, 0xf6, 0xce, 0x12, 0xe1, 0x48, 0x81, 0x79, 0xe7, 0x30, |
| 2095 | 0x8f, 0x89, 0x63, 0xa1, 0x21, 0x65, 0x03, 0x82, 0x6c, 0xc7, 0xd2, 0x16, 0x29, 0x73, 0x2c, 0x52, |
| 2096 | 0x88, 0x3f, 0x45, 0x1b, 0xca, 0xd6, 0xeb, 0x83, 0x77, 0x9b, 0xc4, 0x41, 0xc4, 0x49, 0x55, 0x16, |
| 2097 | 0xbf, 0x6e, 0xb1, 0xee, 0x18, 0x51, 0x86, 0x59, 0x0f, 0x8b, 0x71, 0x7c, 0x84, 0x96, 0xfa, 0x72, |
| 2098 | 0x86, 0x89, 0x2f, 0x31, 0x3b, 0xd6, 0x21, 0x52, 0x63, 0xee, 0x68, 0x29, 0x6e, 0xa3, 0xaa, 0x1c, |
| 2099 | 0x61, 0x88, 0xe8, 0x75, 0x08, 0xe4, 0x7f, 0xeb, 0x09, 0xb4, 0x87, 0xbc, 0x7f, 0x2c, 0x05, 0xe6, |
| 2100 | 0xfb, 0x51, 0x13, 0xc2, 0x5d, 0x24, 0x07, 0xde, 0xf5, 0x83, 0x54, 0x32, 0x9e, 0x2d, 0xdb, 0x3e, |
| 2101 | 0xa0, 0x60, 0x74, 0x95, 0xc2, 0x7c, 0x40, 0x9a, 0xc7, 0xf0, 0x85, 0xa2, 0x40, 0xc4, 0x03, 0x8f, |
| 2102 | 0x72, 0x20, 0xcf, 0x15, 0xe5, 0xed, 0x22, 0x25, 0x5b, 0xa4, 0xf6, 0x98, 0x34, 0xc3, 0x15, 0xea, |
| 2103 | 0xf1, 0xb1, 0xde, 0x4d, 0xb1, 0xac, 0x2e, 0xf5, 0x7d, 0xf2, 0xeb, 0xca, 0xac, 0xb6, 0x3e, 0x4b, |
| 2104 | 0x81, 0xb5, 0x7d, 0xbf, 0xd0, 0x96, 0x8e, 0xe1, 0x0b, 0xb4, 0x91, 0x63, 0xd4, 0x90, 0x93, 0xdf, |
| 2105 | 0x14, 0x69, 0xdf, 0x4e, 0xd2, 0xdb, 0xa1, 0x61, 0x6b, 0xb4, 0x10, 0x2e, 0xb6, 0xd5, 0x03, 0x4e, |
| 2106 | 0x7e, 0x7f, 0xb2, 0xad, 0x13, 0xe0, 0x53, 0x6d, 0x9d, 0x00, 0xc7, 0x3d, 0xf4, 0x6a, 0x8e, 0xf1, |
| 2107 | 0xfa, 0x62, 0xed, 0xdc, 0x84, 0xa6, 0xe9, 0x37, 0x31, 0xf3, 0xc9, 0x1f, 0x0a, 0xf9, 0xae, 0x1d, |
| 2108 | 0xd9, 0x91, 0xea, 0x4b, 0x2d, 0xce, 0xe8, 0x2f, 0x53, 0x6b, 0x1a, 0x7f, 0x8e, 0xb6, 0xc6, 0xfa, |
| 2109 | 0x15, 0xfb, 0xe2, 0xb2, 0x38, 0x04, 0xf2, 0xa0, 0x3c, 0xde, 0x9c, 0xd1, 0xb6, 0xdc, 0xb5, 0x38, |
| 2110 | 0x3f, 0xea, 0x97, 0xe8, 0x64, 0x06, 0x7f, 0x81, 0xb6, 0x73, 0xb2, 0x5a, 0x3d, 0x85, 0xfe, 0x53, |
| 2111 | 0xa1, 0xdf, 0xb2, 0xa3, 0xf5, 0x0e, 0x8e, 0xb1, 0x31, 0x9d, 0x4a, 0xe1, 0x53, 0xb4, 0x96, 0xc3, |
| 2112 | 0xc3, 0x20, 0xe5, 0xe4, 0x2f, 0x45, 0xdd, 0xb3, 0x53, 0xcf, 0x83, 0x94, 0x17, 0xe6, 0x28, 0x0b, |
| 2113 | 0x1a, 0x92, 0x68, 0x4d, 0x91, 0xfe, 0x9e, 0x49, 0x12, 0xd6, 0x53, 0xa4, 0x2c, 0x68, 0x8e, 0x5e, |
| 2114 | 0x92, 0xc4, 0x44, 0x7e, 0x5f, 0x99, 0x75, 0xf4, 0xa2, 0x66, 0x72, 0x22, 0x75, 0xcc, 0x4c, 0xa4, |
| 2115 | 0xc4, 0xe8, 0x89, 0xfc, 0xa1, 0x32, 0x6b, 0x22, 0x45, 0x95, 0x65, 0x22, 0xf3, 0x70, 0xb1, 0x2d, |
| 2116 | 0x31, 0x91, 0x3f, 0x3e, 0xd9, 0xd6, 0xe4, 0x44, 0xea, 0x18, 0xfe, 0x0a, 0xd5, 0xc7, 0x30, 0x72, |
| 2117 | 0x50, 0x12, 0x60, 0x83, 0x20, 0x95, 0xff, 0x18, 0x7f, 0x52, 0xcc, 0xf7, 0x66, 0x30, 0x85, 0xfc, |
| 2118 | 0xd2, 0xa8, 0x33, 0xfe, 0x2b, 0xd4, 0x9e, 0xc7, 0x03, 0xb4, 0x93, 0x7b, 0xe9, 0xd1, 0x19, 0x33, |
| 2119 | 0xfb, 0x59, 0x99, 0xbd, 0x6f, 0x37, 0x53, 0x53, 0x32, 0xed, 0x46, 0xe8, 0x0c, 0x41, 0x73, 0x1d, |
| 2120 | 0xad, 0x1e, 0x0f, 0x12, 0xfe, 0xad, 0x03, 0x69, 0x12, 0x47, 0x29, 0x34, 0x13, 0xb4, 0xf3, 0xc4, |
| 2121 | 0x1f, 0x22, 0x8c, 0xd1, 0x82, 0xbc, 0x2e, 0x94, 0xe4, 0x75, 0x41, 0x3e, 0x8b, 0x6b, 0x84, 0xd9, |
| 2122 | 0x4f, 0x7d, 0x8d, 0xc8, 0x7e, 0xe3, 0x3d, 0x54, 0x4b, 0x83, 0x41, 0x12, 0x82, 0xcb, 0xe3, 0x5b, |
| 2123 | 0x50, 0xb7, 0x88, 0x8a, 0x53, 0x55, 0xb1, 0x2b, 0x11, 0xfa, 0x64, 0xeb, 0xfe, 0xdf, 0xc6, 0xdc, |
| 2124 | 0xfd, 0x63, 0xa3, 0xf4, 0xf0, 0xd8, 0x28, 0xfd, 0xf3, 0xd8, 0x28, 0x7d, 0xf7, 0x5f, 0x63, 0xee, |
| 2125 | 0x7a, 0x49, 0xde, 0x61, 0x8e, 0x5e, 0x04, 0x00, 0x00, 0xff, 0xff, 0xed, 0x36, 0xf0, 0x6f, 0x1b, |
| 2126 | 0x09, 0x00, 0x00, |
| 2127 | } |