KafkaGpsMsgSvr.java 40.1 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: gpsmsgsvr_kafka.proto

package cn.com.glsx.kafka.protocol;

public final class KafkaGpsMsgSvr {
    private static com.google.protobuf.Descriptors.Descriptor
            internal_static_protos_gpsmsgsvr_kafka_setParamMark_descriptor;
    private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internal_static_protos_gpsmsgsvr_kafka_setParamMark_fieldAccessorTable;
    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        String[] descriptorData = {
                "\n\025gpsmsgsvr_kafka.proto\022\026protos_gpsmsgsv" +
                        "r_kafka\"X\n\014setParamMark\022\020\n\010deviceno\030\001 \002(" +
                        "\014\022\013\n\003seq\030\002 \002(\r\022\014\n\004type\030\003 \002(\r\022\r\n\005value\030\004 " +
                        "\002(\014\022\014\n\004time\030\005 \002(\r*\031\n\003CMD\022\022\n\rCMD_KAFKA_SV" +
                        "R\020\211e*\'\n\006SUBCMD\022\035\n\031SUBCMD_GPS_SETPARAMS_M" +
                        "ARK\020\000B+\n\030com.glsx.gpsmsgsvr_kafkaB\017gpsms" +
                        "gsvr_kafka"
        };
        com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
                new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
                    public com.google.protobuf.ExtensionRegistry assignDescriptors(
                            com.google.protobuf.Descriptors.FileDescriptor root) {
                        descriptor = root;
                        internal_static_protos_gpsmsgsvr_kafka_setParamMark_descriptor =
                                getDescriptor().getMessageTypes().get(0);
                        internal_static_protos_gpsmsgsvr_kafka_setParamMark_fieldAccessorTable = new
                                com.google.protobuf.GeneratedMessage.FieldAccessorTable(
                                internal_static_protos_gpsmsgsvr_kafka_setParamMark_descriptor,
                                new String[]{"Deviceno", "Seq", "Type", "Value", "Time",});
                        return null;
                    }
                };
        com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                        }, assigner);
    }

    private KafkaGpsMsgSvr() {
    }

    public static void registerAllExtensions(
            com.google.protobuf.ExtensionRegistry registry) {
    }

    public static com.google.protobuf.Descriptors.FileDescriptor
    getDescriptor() {
        return descriptor;
    }
    /**
     * Protobuf enum {@code protos_gpsmsgsvr_kafka.CMD}
     */
    public enum CMD
            implements com.google.protobuf.ProtocolMessageEnum {
        /**
         * <code>CMD_KAFKA_SVR = 12937;</code>
         */
        CMD_KAFKA_SVR(0, 12937),
        ;

        /**
         * <code>CMD_KAFKA_SVR = 12937;</code>
         */
        public static final int CMD_KAFKA_SVR_VALUE = 12937;
        private static final CMD[] VALUES = values();
        private static com.google.protobuf.Internal.EnumLiteMap<CMD>
                internalValueMap =
                new com.google.protobuf.Internal.EnumLiteMap<CMD>() {
                    public CMD findValueByNumber(int number) {
                        return CMD.valueOf(number);
                    }
                };
        private final int index;
        private final int value;

        private CMD(int index, int value) {
            this.index = index;
            this.value = value;
        }

        public static CMD valueOf(int value) {
            switch (value) {
                case 12937:
                    return CMD_KAFKA_SVR;
                default:
                    return null;
            }
        }

        public static com.google.protobuf.Internal.EnumLiteMap<CMD>
        internalGetValueMap() {
            return internalValueMap;
        }

        public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
            return cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.getDescriptor().getEnumTypes().get(0);
        }

        public static CMD valueOf(
                com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
            if (desc.getType() != getDescriptor()) {
                throw new IllegalArgumentException(
                        "EnumValueDescriptor is not for this type.");
            }
            return VALUES[desc.getIndex()];
        }

        public final int getNumber() {
            return value;
        }

        public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
            return getDescriptor().getValues().get(index);
        }

        public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
            return getDescriptor();
        }

        // @@protoc_insertion_point(enum_scope:protos_gpsmsgsvr_kafka.CMD)
    }

    /**
     * Protobuf enum {@code protos_gpsmsgsvr_kafka.SUBCMD}
     */
    public enum SUBCMD
            implements com.google.protobuf.ProtocolMessageEnum {
        /**
         * <code>SUBCMD_GPS_SETPARAMS_MARK = 0;</code>
         *
         * <pre>
         * topic gps_setparam_mark
         * </pre>
         */
        SUBCMD_GPS_SETPARAMS_MARK(0, 0),
        ;

        /**
         * <code>SUBCMD_GPS_SETPARAMS_MARK = 0;</code>
         *
         * <pre>
         * topic gps_setparam_mark
         * </pre>
         */
        public static final int SUBCMD_GPS_SETPARAMS_MARK_VALUE = 0;
        private static final SUBCMD[] VALUES = values();
        private static com.google.protobuf.Internal.EnumLiteMap<SUBCMD>
                internalValueMap =
                new com.google.protobuf.Internal.EnumLiteMap<SUBCMD>() {
                    public SUBCMD findValueByNumber(int number) {
                        return SUBCMD.valueOf(number);
                    }
                };
        private final int index;
        private final int value;

        private SUBCMD(int index, int value) {
            this.index = index;
            this.value = value;
        }

        public static SUBCMD valueOf(int value) {
            switch (value) {
                case 0:
                    return SUBCMD_GPS_SETPARAMS_MARK;
                default:
                    return null;
            }
        }

        public static com.google.protobuf.Internal.EnumLiteMap<SUBCMD>
        internalGetValueMap() {
            return internalValueMap;
        }

        public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
            return cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.getDescriptor().getEnumTypes().get(1);
        }

        public static SUBCMD valueOf(
                com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
            if (desc.getType() != getDescriptor()) {
                throw new IllegalArgumentException(
                        "EnumValueDescriptor is not for this type.");
            }
            return VALUES[desc.getIndex()];
        }

        public final int getNumber() {
            return value;
        }

        public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
            return getDescriptor().getValues().get(index);
        }

        public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
            return getDescriptor();
        }

        // @@protoc_insertion_point(enum_scope:protos_gpsmsgsvr_kafka.SUBCMD)
    }

    public interface setParamMarkOrBuilder
            extends com.google.protobuf.MessageOrBuilder {

        // required bytes deviceno = 1;

        /**
         * <code>required bytes deviceno = 1;</code>
         *
         * <pre>
         * �豸��
         * </pre>
         */
        boolean hasDeviceno();

        /**
         * <code>required bytes deviceno = 1;</code>
         *
         * <pre>
         * �豸��
         * </pre>
         */
        com.google.protobuf.ByteString getDeviceno();

        // required uint32 seq = 2;

        /**
         * <code>required uint32 seq = 2;</code>
         *
         * <pre>
         * ��ˮ��
         * </pre>
         */
        boolean hasSeq();

        /**
         * <code>required uint32 seq = 2;</code>
         *
         * <pre>
         * ��ˮ��
         * </pre>
         */
        int getSeq();

        // required uint32 type = 3;

        /**
         * <code>required uint32 type = 3;</code>
         *
         * <pre>
         * ���� 1�ǽ��յ�ָ�� 2���·�ָ��ɹ� 3���豸�ظ��ɹ�
         * </pre>
         */
        boolean hasType();

        /**
         * <code>required uint32 type = 3;</code>
         *
         * <pre>
         * ���� 1�ǽ��յ�ָ�� 2���·�ָ��ɹ� 3���豸�ظ��ɹ�
         * </pre>
         */
        int getType();

        // required bytes value = 4;

        /**
         * <code>required bytes value = 4;</code>
         *
         * <pre>
         * ��Ƶ����,�� D:006
         * </pre>
         */
        boolean hasValue();

        /**
         * <code>required bytes value = 4;</code>
         *
         * <pre>
         * ��Ƶ����,�� D:006
         * </pre>
         */
        com.google.protobuf.ByteString getValue();

        // required uint32 time = 5;

        /**
         * <code>required uint32 time = 5;</code>
         *
         * <pre>
         * ʱ���
         * </pre>
         */
        boolean hasTime();

        /**
         * <code>required uint32 time = 5;</code>
         *
         * <pre>
         * ʱ���
         * </pre>
         */
        int getTime();
    }

    /**
     * Protobuf type {@code protos_gpsmsgsvr_kafka.setParamMark}
     *
     * <pre>
     * SUBCMD_GPS_SETPARAMS_MARK
     * topic gps_setparam_mark
     * </pre>
     */
    public static final class setParamMark extends
            com.google.protobuf.GeneratedMessage
            implements setParamMarkOrBuilder {
        // required bytes deviceno = 1;
        public static final int DEVICENO_FIELD_NUMBER = 1;
        // required uint32 seq = 2;
        public static final int SEQ_FIELD_NUMBER = 2;
        // required uint32 type = 3;
        public static final int TYPE_FIELD_NUMBER = 3;
        // required bytes value = 4;
        public static final int VALUE_FIELD_NUMBER = 4;
        // required uint32 time = 5;
        public static final int TIME_FIELD_NUMBER = 5;
        private static final setParamMark defaultInstance;
        private static final long serialVersionUID = 0L;
        public static com.google.protobuf.Parser<setParamMark> PARSER =
                new com.google.protobuf.AbstractParser<setParamMark>() {
                    public setParamMark parsePartialFrom(
                            com.google.protobuf.CodedInputStream input,
                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                            throws com.google.protobuf.InvalidProtocolBufferException {
                        return new setParamMark(input, extensionRegistry);
                    }
                };

        static {
            defaultInstance = new setParamMark(true);
            defaultInstance.initFields();
        }

        private final com.google.protobuf.UnknownFieldSet unknownFields;
        private int bitField0_;
        private com.google.protobuf.ByteString deviceno_;
        private int seq_;
        private int type_;
        private com.google.protobuf.ByteString value_;
        private int time_;
        private byte memoizedIsInitialized = -1;
        private int memoizedSerializedSize = -1;
        // Use setParamMark.newBuilder() to construct.
        private setParamMark(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
            super(builder);
            this.unknownFields = builder.getUnknownFields();
        }

        private setParamMark(boolean noInit) {
            this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance();
        }

        private setParamMark(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            initFields();
            int mutable_bitField0_ = 0;
            com.google.protobuf.UnknownFieldSet.Builder unknownFields =
                    com.google.protobuf.UnknownFieldSet.newBuilder();
            try {
                boolean done = false;
                while (!done) {
                    int tag = input.readTag();
                    switch (tag) {
                        case 0:
                            done = true;
                            break;
                        default: {
                            if (!parseUnknownField(input, unknownFields,
                                    extensionRegistry, tag)) {
                                done = true;
                            }
                            break;
                        }
                        case 10: {
                            bitField0_ |= 0x00000001;
                            deviceno_ = input.readBytes();
                            break;
                        }
                        case 16: {
                            bitField0_ |= 0x00000002;
                            seq_ = input.readUInt32();
                            break;
                        }
                        case 24: {
                            bitField0_ |= 0x00000004;
                            type_ = input.readUInt32();
                            break;
                        }
                        case 34: {
                            bitField0_ |= 0x00000008;
                            value_ = input.readBytes();
                            break;
                        }
                        case 40: {
                            bitField0_ |= 0x00000010;
                            time_ = input.readUInt32();
                            break;
                        }
                    }
                }
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(this);
            } catch (java.io.IOException e) {
                throw new com.google.protobuf.InvalidProtocolBufferException(
                        e.getMessage()).setUnfinishedMessage(this);
            } finally {
                this.unknownFields = unknownFields.build();
                makeExtensionsImmutable();
            }
        }

        public static setParamMark getDefaultInstance() {
            return defaultInstance;
        }

        public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
            return cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.internal_static_protos_gpsmsgsvr_kafka_setParamMark_descriptor;
        }

        public static cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parseFrom(
                com.google.protobuf.ByteString data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data);
        }

        public static cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parseFrom(
                com.google.protobuf.ByteString data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data, extensionRegistry);
        }

        public static cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parseFrom(byte[] data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data);
        }

        public static cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parseFrom(
                byte[] data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data, extensionRegistry);
        }

        public static cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parseFrom(java.io.InputStream input)
                throws java.io.IOException {
            return PARSER.parseFrom(input);
        }

        public static cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parseFrom(
                java.io.InputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return PARSER.parseFrom(input, extensionRegistry);
        }

        public static cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parseDelimitedFrom(java.io.InputStream input)
                throws java.io.IOException {
            return PARSER.parseDelimitedFrom(input);
        }

        public static cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parseDelimitedFrom(
                java.io.InputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return PARSER.parseDelimitedFrom(input, extensionRegistry);
        }

        public static cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parseFrom(
                com.google.protobuf.CodedInputStream input)
                throws java.io.IOException {
            return PARSER.parseFrom(input);
        }

        public static cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parseFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return PARSER.parseFrom(input, extensionRegistry);
        }

        public static Builder newBuilder() {
            return Builder.create();
        }

        public static Builder newBuilder(cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark prototype) {
            return newBuilder().mergeFrom(prototype);
        }

        public setParamMark getDefaultInstanceForType() {
            return defaultInstance;
        }

        @Override
        public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
            return this.unknownFields;
        }

        protected FieldAccessorTable
        internalGetFieldAccessorTable() {
            return cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.internal_static_protos_gpsmsgsvr_kafka_setParamMark_fieldAccessorTable
                    .ensureFieldAccessorsInitialized(
                            cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark.class, cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark.Builder.class);
        }

        @Override
        public com.google.protobuf.Parser<setParamMark> getParserForType() {
            return PARSER;
        }

        /**
         * <code>required bytes deviceno = 1;</code>
         *
         * <pre>
         * �豸��
         * </pre>
         */
        public boolean hasDeviceno() {
            return ((bitField0_ & 0x00000001) == 0x00000001);
        }

        /**
         * <code>required bytes deviceno = 1;</code>
         *
         * <pre>
         * �豸��
         * </pre>
         */
        public com.google.protobuf.ByteString getDeviceno() {
            return deviceno_;
        }

        /**
         * <code>required uint32 seq = 2;</code>
         *
         * <pre>
         * ��ˮ��
         * </pre>
         */
        public boolean hasSeq() {
            return ((bitField0_ & 0x00000002) == 0x00000002);
        }

        /**
         * <code>required uint32 seq = 2;</code>
         *
         * <pre>
         * ��ˮ��
         * </pre>
         */
        public int getSeq() {
            return seq_;
        }

        /**
         * <code>required uint32 type = 3;</code>
         *
         * <pre>
         * ���� 1�ǽ��յ�ָ�� 2���·�ָ��ɹ� 3���豸�ظ��ɹ�
         * </pre>
         */
        public boolean hasType() {
            return ((bitField0_ & 0x00000004) == 0x00000004);
        }

        /**
         * <code>required uint32 type = 3;</code>
         *
         * <pre>
         * ���� 1�ǽ��յ�ָ�� 2���·�ָ��ɹ� 3���豸�ظ��ɹ�
         * </pre>
         */
        public int getType() {
            return type_;
        }

        /**
         * <code>required bytes value = 4;</code>
         *
         * <pre>
         * ��Ƶ����,�� D:006
         * </pre>
         */
        public boolean hasValue() {
            return ((bitField0_ & 0x00000008) == 0x00000008);
        }

        /**
         * <code>required bytes value = 4;</code>
         *
         * <pre>
         * ��Ƶ����,�� D:006
         * </pre>
         */
        public com.google.protobuf.ByteString getValue() {
            return value_;
        }

        /**
         * <code>required uint32 time = 5;</code>
         *
         * <pre>
         * ʱ���
         * </pre>
         */
        public boolean hasTime() {
            return ((bitField0_ & 0x00000010) == 0x00000010);
        }

        /**
         * <code>required uint32 time = 5;</code>
         *
         * <pre>
         * ʱ���
         * </pre>
         */
        public int getTime() {
            return time_;
        }

        private void initFields() {
            deviceno_ = com.google.protobuf.ByteString.EMPTY;
            seq_ = 0;
            type_ = 0;
            value_ = com.google.protobuf.ByteString.EMPTY;
            time_ = 0;
        }

        public final boolean isInitialized() {
            byte isInitialized = memoizedIsInitialized;
            if (isInitialized != -1) return isInitialized == 1;

            if (!hasDeviceno()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasSeq()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasType()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasValue()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasTime()) {
                memoizedIsInitialized = 0;
                return false;
            }
            memoizedIsInitialized = 1;
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
                output.writeBytes(1, deviceno_);
            }
            if (((bitField0_ & 0x00000002) == 0x00000002)) {
                output.writeUInt32(2, seq_);
            }
            if (((bitField0_ & 0x00000004) == 0x00000004)) {
                output.writeUInt32(3, type_);
            }
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
                output.writeBytes(4, value_);
            }
            if (((bitField0_ & 0x00000010) == 0x00000010)) {
                output.writeUInt32(5, time_);
            }
            getUnknownFields().writeTo(output);
        }

        public int getSerializedSize() {
            int size = memoizedSerializedSize;
            if (size != -1) return size;

            size = 0;
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(1, deviceno_);
            }
            if (((bitField0_ & 0x00000002) == 0x00000002)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeUInt32Size(2, seq_);
            }
            if (((bitField0_ & 0x00000004) == 0x00000004)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeUInt32Size(3, type_);
            }
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(4, value_);
            }
            if (((bitField0_ & 0x00000010) == 0x00000010)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeUInt32Size(5, time_);
            }
            size += getUnknownFields().getSerializedSize();
            memoizedSerializedSize = size;
            return size;
        }

        @Override
        protected Object writeReplace()
                throws java.io.ObjectStreamException {
            return super.writeReplace();
        }

        public Builder newBuilderForType() {
            return newBuilder();
        }

        public Builder toBuilder() {
            return newBuilder(this);
        }

        @Override
        protected Builder newBuilderForType(
                BuilderParent parent) {
            Builder builder = new Builder(parent);
            return builder;
        }

        /**
         * Protobuf type {@code protos_gpsmsgsvr_kafka.setParamMark}
         *
         * <pre>
         * SUBCMD_GPS_SETPARAMS_MARK
         * topic gps_setparam_mark
         * </pre>
         */
        public static final class Builder extends
                com.google.protobuf.GeneratedMessage.Builder<Builder>
                implements cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMarkOrBuilder {
            private int bitField0_;
            // required bytes deviceno = 1;
            private com.google.protobuf.ByteString deviceno_ = com.google.protobuf.ByteString.EMPTY;
            // required uint32 seq = 2;
            private int seq_;
            // required uint32 type = 3;
            private int type_;
            // required bytes value = 4;
            private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
            // required uint32 time = 5;
            private int time_;

            // Construct using com.glsx.gpsmsgsvr_kafka.gpsmsgsvr_kafka.setParamMark.newBuilder()
            private Builder() {
                maybeForceBuilderInitialization();
            }

            private Builder(
                    BuilderParent parent) {
                super(parent);
                maybeForceBuilderInitialization();
            }

            public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
                return cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.internal_static_protos_gpsmsgsvr_kafka_setParamMark_descriptor;
            }

            private static Builder create() {
                return new Builder();
            }

            protected FieldAccessorTable
            internalGetFieldAccessorTable() {
                return cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.internal_static_protos_gpsmsgsvr_kafka_setParamMark_fieldAccessorTable
                        .ensureFieldAccessorsInitialized(
                                cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark.class, cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark.Builder.class);
            }

            private void maybeForceBuilderInitialization() {
                if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
                }
            }

            public Builder clear() {
                super.clear();
                deviceno_ = com.google.protobuf.ByteString.EMPTY;
                bitField0_ = (bitField0_ & ~0x00000001);
                seq_ = 0;
                bitField0_ = (bitField0_ & ~0x00000002);
                type_ = 0;
                bitField0_ = (bitField0_ & ~0x00000004);
                value_ = com.google.protobuf.ByteString.EMPTY;
                bitField0_ = (bitField0_ & ~0x00000008);
                time_ = 0;
                bitField0_ = (bitField0_ & ~0x00000010);
                return this;
            }

            public Builder clone() {
                return create().mergeFrom(buildPartial());
            }

            public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
                return cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.internal_static_protos_gpsmsgsvr_kafka_setParamMark_descriptor;
            }

            public cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark getDefaultInstanceForType() {
                return cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark.getDefaultInstance();
            }

            public cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark build() {
                cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark result = buildPartial();
                if (!result.isInitialized()) {
                    throw newUninitializedMessageException(result);
                }
                return result;
            }

            public cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark buildPartial() {
                cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark result = new cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark(this);
                int from_bitField0_ = bitField0_;
                int to_bitField0_ = 0;
                if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
                    to_bitField0_ |= 0x00000001;
                }
                result.deviceno_ = deviceno_;
                if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
                    to_bitField0_ |= 0x00000002;
                }
                result.seq_ = seq_;
                if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
                    to_bitField0_ |= 0x00000004;
                }
                result.type_ = type_;
                if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
                    to_bitField0_ |= 0x00000008;
                }
                result.value_ = value_;
                if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
                    to_bitField0_ |= 0x00000010;
                }
                result.time_ = time_;
                result.bitField0_ = to_bitField0_;
                onBuilt();
                return result;
            }

            public Builder mergeFrom(com.google.protobuf.Message other) {
                if (other instanceof cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark) {
                    return mergeFrom((cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark) other);
                } else {
                    super.mergeFrom(other);
                    return this;
                }
            }

            public Builder mergeFrom(cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark other) {
                if (other == cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark.getDefaultInstance()) return this;
                if (other.hasDeviceno()) {
                    setDeviceno(other.getDeviceno());
                }
                if (other.hasSeq()) {
                    setSeq(other.getSeq());
                }
                if (other.hasType()) {
                    setType(other.getType());
                }
                if (other.hasValue()) {
                    setValue(other.getValue());
                }
                if (other.hasTime()) {
                    setTime(other.getTime());
                }
                this.mergeUnknownFields(other.getUnknownFields());
                return this;
            }

            public final boolean isInitialized() {
                if (!hasDeviceno()) {

                    return false;
                }
                if (!hasSeq()) {

                    return false;
                }
                if (!hasType()) {

                    return false;
                }
                if (!hasValue()) {

                    return false;
                }
                if (!hasTime()) {

                    return false;
                }
                return true;
            }

            public Builder mergeFrom(
                    com.google.protobuf.CodedInputStream input,
                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                    throws java.io.IOException {
                cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark parsedMessage = null;
                try {
                    parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                    parsedMessage = (cn.com.glsx.kafka.protocol.KafkaGpsMsgSvr.setParamMark) e.getUnfinishedMessage();
                    throw e;
                } finally {
                    if (parsedMessage != null) {
                        mergeFrom(parsedMessage);
                    }
                }
                return this;
            }

            /**
             * <code>required bytes deviceno = 1;</code>
             *
             * <pre>
             * �豸��
             * </pre>
             */
            public boolean hasDeviceno() {
                return ((bitField0_ & 0x00000001) == 0x00000001);
            }

            /**
             * <code>required bytes deviceno = 1;</code>
             *
             * <pre>
             * �豸��
             * </pre>
             */
            public com.google.protobuf.ByteString getDeviceno() {
                return deviceno_;
            }

            /**
             * <code>required bytes deviceno = 1;</code>
             *
             * <pre>
             * �豸��
             * </pre>
             */
            public Builder setDeviceno(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000001;
                deviceno_ = value;
                onChanged();
                return this;
            }

            /**
             * <code>required bytes deviceno = 1;</code>
             *
             * <pre>
             * �豸��
             * </pre>
             */
            public Builder clearDeviceno() {
                bitField0_ = (bitField0_ & ~0x00000001);
                deviceno_ = getDefaultInstance().getDeviceno();
                onChanged();
                return this;
            }

            /**
             * <code>required uint32 seq = 2;</code>
             *
             * <pre>
             * ��ˮ��
             * </pre>
             */
            public boolean hasSeq() {
                return ((bitField0_ & 0x00000002) == 0x00000002);
            }

            /**
             * <code>required uint32 seq = 2;</code>
             *
             * <pre>
             * ��ˮ��
             * </pre>
             */
            public int getSeq() {
                return seq_;
            }

            /**
             * <code>required uint32 seq = 2;</code>
             *
             * <pre>
             * ��ˮ��
             * </pre>
             */
            public Builder setSeq(int value) {
                bitField0_ |= 0x00000002;
                seq_ = value;
                onChanged();
                return this;
            }

            /**
             * <code>required uint32 seq = 2;</code>
             *
             * <pre>
             * ��ˮ��
             * </pre>
             */
            public Builder clearSeq() {
                bitField0_ = (bitField0_ & ~0x00000002);
                seq_ = 0;
                onChanged();
                return this;
            }

            /**
             * <code>required uint32 type = 3;</code>
             *
             * <pre>
             * ���� 1�ǽ��յ�ָ�� 2���·�ָ��ɹ� 3���豸�ظ��ɹ�
             * </pre>
             */
            public boolean hasType() {
                return ((bitField0_ & 0x00000004) == 0x00000004);
            }

            /**
             * <code>required uint32 type = 3;</code>
             *
             * <pre>
             * ���� 1�ǽ��յ�ָ�� 2���·�ָ��ɹ� 3���豸�ظ��ɹ�
             * </pre>
             */
            public int getType() {
                return type_;
            }

            /**
             * <code>required uint32 type = 3;</code>
             *
             * <pre>
             * ���� 1�ǽ��յ�ָ�� 2���·�ָ��ɹ� 3���豸�ظ��ɹ�
             * </pre>
             */
            public Builder setType(int value) {
                bitField0_ |= 0x00000004;
                type_ = value;
                onChanged();
                return this;
            }

            /**
             * <code>required uint32 type = 3;</code>
             *
             * <pre>
             * ���� 1�ǽ��յ�ָ�� 2���·�ָ��ɹ� 3���豸�ظ��ɹ�
             * </pre>
             */
            public Builder clearType() {
                bitField0_ = (bitField0_ & ~0x00000004);
                type_ = 0;
                onChanged();
                return this;
            }

            /**
             * <code>required bytes value = 4;</code>
             *
             * <pre>
             * ��Ƶ����,�� D:006
             * </pre>
             */
            public boolean hasValue() {
                return ((bitField0_ & 0x00000008) == 0x00000008);
            }

            /**
             * <code>required bytes value = 4;</code>
             *
             * <pre>
             * ��Ƶ����,�� D:006
             * </pre>
             */
            public com.google.protobuf.ByteString getValue() {
                return value_;
            }

            /**
             * <code>required bytes value = 4;</code>
             *
             * <pre>
             * ��Ƶ����,�� D:006
             * </pre>
             */
            public Builder setValue(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000008;
                value_ = value;
                onChanged();
                return this;
            }

            /**
             * <code>required bytes value = 4;</code>
             *
             * <pre>
             * ��Ƶ����,�� D:006
             * </pre>
             */
            public Builder clearValue() {
                bitField0_ = (bitField0_ & ~0x00000008);
                value_ = getDefaultInstance().getValue();
                onChanged();
                return this;
            }

            /**
             * <code>required uint32 time = 5;</code>
             *
             * <pre>
             * ʱ���
             * </pre>
             */
            public boolean hasTime() {
                return ((bitField0_ & 0x00000010) == 0x00000010);
            }

            /**
             * <code>required uint32 time = 5;</code>
             *
             * <pre>
             * ʱ���
             * </pre>
             */
            public int getTime() {
                return time_;
            }

            /**
             * <code>required uint32 time = 5;</code>
             *
             * <pre>
             * ʱ���
             * </pre>
             */
            public Builder setTime(int value) {
                bitField0_ |= 0x00000010;
                time_ = value;
                onChanged();
                return this;
            }

            /**
             * <code>required uint32 time = 5;</code>
             *
             * <pre>
             * ʱ���
             * </pre>
             */
            public Builder clearTime() {
                bitField0_ = (bitField0_ & ~0x00000010);
                time_ = 0;
                onChanged();
                return this;
            }

            // @@protoc_insertion_point(builder_scope:protos_gpsmsgsvr_kafka.setParamMark)
        }

        // @@protoc_insertion_point(class_scope:protos_gpsmsgsvr_kafka.setParamMark)
    }

    // @@protoc_insertion_point(outer_class_scope)
}