All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xin.alum.aim.model.proto.SentProto Maven / Gradle / Ivy

There is a newer version: 1.9.6
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Sent.proto

package xin.alum.aim.model.proto;

public final class SentProto {
    private SentProto() {
    }

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

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

    public interface ModelOrBuilder extends
            // @@protoc_insertion_point(interface_extends:xin.alum.aim.model.proto.Model)
            com.google.protobuf.MessageOrBuilder {

        /**
         * string key = 1;
         *
         * @return The key.
         */
        String getKey();

        /**
         * string key = 1;
         *
         * @return The bytes for key.
         */
        com.google.protobuf.ByteString
        getKeyBytes();

        /**
         * int64 timestamp = 2;
         *
         * @return The timestamp.
         */
        long getTimestamp();

        /**
         * map<string, string> data = 3;
         */
        int getDataCount();

        /**
         * map<string, string> data = 3;
         */
        boolean containsData(
                String key);

        /**
         * Use {@link #getDataMap()} instead.
         */
        @Deprecated
        java.util.Map
        getData();

        /**
         * map<string, string> data = 3;
         */
        java.util.Map
        getDataMap();

        /**
         * map<string, string> data = 3;
         */

        String getDataOrDefault(
                String key,
                String defaultValue);

        /**
         * map<string, string> data = 3;
         */

        String getDataOrThrow(
                String key);
    }

    /**
     * Protobuf type {@code xin.alum.aim.model.proto.Model}
     */
    public static final class Model extends
            com.google.protobuf.GeneratedMessageV3 implements
            // @@protoc_insertion_point(message_implements:xin.alum.aim.model.proto.Model)
            ModelOrBuilder {
        private static final long serialVersionUID = 0L;

        // Use Model.newBuilder() to construct.
        private Model(com.google.protobuf.GeneratedMessageV3.Builder builder) {
            super(builder);
        }

        private Model() {
            key_ = "";
        }

        @Override
        @SuppressWarnings({"unused"})
        protected Object newInstance(
                UnusedPrivateParameter unused) {
            return new Model();
        }

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

        private Model(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            this();
            if (extensionRegistry == null) {
                throw new NullPointerException();
            }
            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;
                        case 10: {
                            String s = input.readStringRequireUtf8();

                            key_ = s;
                            break;
                        }
                        case 16: {

                            timestamp_ = input.readInt64();
                            break;
                        }
                        case 26: {
                            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                                data_ = com.google.protobuf.MapField.newMapField(
                                        DataDefaultEntryHolder.defaultEntry);
                                mutable_bitField0_ |= 0x00000001;
                            }
                            com.google.protobuf.MapEntry
                                    data__ = input.readMessage(
                                    DataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                            data_.getMutableMap().put(
                                    data__.getKey(), data__.getValue());
                            break;
                        }
                        default: {
                            if (!parseUnknownField(
                                    input, unknownFields, extensionRegistry, tag)) {
                                done = true;
                            }
                            break;
                        }
                    }
                }
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(this);
            } catch (java.io.IOException e) {
                throw new com.google.protobuf.InvalidProtocolBufferException(
                        e).setUnfinishedMessage(this);
            } finally {
                this.unknownFields = unknownFields.build();
                makeExtensionsImmutable();
            }
        }

        public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
            return SentProto.internal_static_com_alum_aim_model_proto_Model_descriptor;
        }

        @SuppressWarnings({"rawtypes"})
        @Override
        protected com.google.protobuf.MapField internalGetMapField(
                int number) {
            switch (number) {
                case 3:
                    return internalGetData();
                default:
                    throw new RuntimeException(
                            "Invalid map field number: " + number);
            }
        }

        @Override
        protected FieldAccessorTable
        internalGetFieldAccessorTable() {
            return SentProto.internal_static_com_alum_aim_model_proto_Model_fieldAccessorTable
                    .ensureFieldAccessorsInitialized(
                            Model.class, Builder.class);
        }

        public static final int KEY_FIELD_NUMBER = 1;
        private volatile Object key_;

        /**
         * string key = 1;
         *
         * @return The key.
         */
        @Override
        public String getKey() {
            Object ref = key_;
            if (ref instanceof String) {
                return (String) ref;
            } else {
                com.google.protobuf.ByteString bs =
                        (com.google.protobuf.ByteString) ref;
                String s = bs.toStringUtf8();
                key_ = s;
                return s;
            }
        }

        /**
         * string key = 1;
         *
         * @return The bytes for key.
         */
        @Override
        public com.google.protobuf.ByteString
        getKeyBytes() {
            Object ref = key_;
            if (ref instanceof String) {
                com.google.protobuf.ByteString b =
                        com.google.protobuf.ByteString.copyFromUtf8(
                                (String) ref);
                key_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }

        public static final int TIMESTAMP_FIELD_NUMBER = 2;
        private long timestamp_;

        /**
         * int64 timestamp = 2;
         *
         * @return The timestamp.
         */
        @Override
        public long getTimestamp() {
            return timestamp_;
        }

        public static final int DATA_FIELD_NUMBER = 3;

        private static final class DataDefaultEntryHolder {
            static final com.google.protobuf.MapEntry<
                    String, String> defaultEntry =
                    com.google.protobuf.MapEntry
                            .newDefaultInstance(
                                    SentProto.internal_static_com_alum_aim_model_proto_Model_DataEntry_descriptor,
                                    com.google.protobuf.WireFormat.FieldType.STRING,
                                    "",
                                    com.google.protobuf.WireFormat.FieldType.STRING,
                                    "");
        }

        private com.google.protobuf.MapField<
                String, String> data_;

        private com.google.protobuf.MapField
        internalGetData() {
            if (data_ == null) {
                return com.google.protobuf.MapField.emptyMapField(
                        DataDefaultEntryHolder.defaultEntry);
            }
            return data_;
        }

        public int getDataCount() {
            return internalGetData().getMap().size();
        }

        /**
         * map<string, string> data = 3;
         */

        @Override
        public boolean containsData(
                String key) {
            if (key == null) {
                throw new NullPointerException();
            }
            return internalGetData().getMap().containsKey(key);
        }

        /**
         * Use {@link #getDataMap()} instead.
         */
        @Override
        @Deprecated
        public java.util.Map getData() {
            return getDataMap();
        }

        /**
         * map<string, string> data = 3;
         */
        @Override

        public java.util.Map getDataMap() {
            return internalGetData().getMap();
        }

        /**
         * map<string, string> data = 3;
         */
        @Override

        public String getDataOrDefault(
                String key,
                String defaultValue) {
            if (key == null) {
                throw new NullPointerException();
            }
            java.util.Map map =
                    internalGetData().getMap();
            return map.containsKey(key) ? map.get(key) : defaultValue;
        }

        /**
         * map<string, string> data = 3;
         */
        @Override

        public String getDataOrThrow(
                String key) {
            if (key == null) {
                throw new NullPointerException();
            }
            java.util.Map map =
                    internalGetData().getMap();
            if (!map.containsKey(key)) {
                throw new IllegalArgumentException();
            }
            return map.get(key);
        }

        private byte memoizedIsInitialized = -1;

        @Override
        public final boolean isInitialized() {
            byte isInitialized = memoizedIsInitialized;
            if (isInitialized == 1) return true;
            if (isInitialized == 0) return false;

            memoizedIsInitialized = 1;
            return true;
        }

        @Override
        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
                com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
            }
            if (timestamp_ != 0L) {
                output.writeInt64(2, timestamp_);
            }
            com.google.protobuf.GeneratedMessageV3
                    .serializeStringMapTo(
                            output,
                            internalGetData(),
                            DataDefaultEntryHolder.defaultEntry,
                            3);
            unknownFields.writeTo(output);
        }

        @Override
        public int getSerializedSize() {
            int size = memoizedSize;
            if (size != -1) return size;

            size = 0;
            if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
                size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
            }
            if (timestamp_ != 0L) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(2, timestamp_);
            }
            for (java.util.Map.Entry entry
                    : internalGetData().getMap().entrySet()) {
                com.google.protobuf.MapEntry
                        data__ = DataDefaultEntryHolder.defaultEntry.newBuilderForType()
                        .setKey(entry.getKey())
                        .setValue(entry.getValue())
                        .build();
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(3, data__);
            }
            size += unknownFields.getSerializedSize();
            memoizedSize = size;
            return size;
        }

        @Override
        public boolean equals(final Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof Model)) {
                return super.equals(obj);
            }
            Model other = (Model) obj;

            if (!getKey()
                    .equals(other.getKey())) return false;
            if (getTimestamp()
                    != other.getTimestamp()) return false;
            if (!internalGetData().equals(
                    other.internalGetData())) return false;
            if (!unknownFields.equals(other.unknownFields)) return false;
            return true;
        }

        @Override
        public int hashCode() {
            if (memoizedHashCode != 0) {
                return memoizedHashCode;
            }
            int hash = 41;
            hash = (19 * hash) + getDescriptor().hashCode();
            hash = (37 * hash) + KEY_FIELD_NUMBER;
            hash = (53 * hash) + getKey().hashCode();
            hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
            hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
                    getTimestamp());
            if (!internalGetData().getMap().isEmpty()) {
                hash = (37 * hash) + DATA_FIELD_NUMBER;
                hash = (53 * hash) + internalGetData().hashCode();
            }
            hash = (29 * hash) + unknownFields.hashCode();
            memoizedHashCode = hash;
            return hash;
        }

        public static Model parseFrom(
                java.nio.ByteBuffer data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data);
        }

        public static Model parseFrom(
                java.nio.ByteBuffer data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data, extensionRegistry);
        }

        public static Model parseFrom(
                com.google.protobuf.ByteString data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data);
        }

        public static Model parseFrom(
                com.google.protobuf.ByteString data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data, extensionRegistry);
        }

        public static Model parseFrom(byte[] data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data);
        }

        public static Model parseFrom(
                byte[] data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data, extensionRegistry);
        }

        public static Model parseFrom(java.io.InputStream input)
                throws java.io.IOException {
            return com.google.protobuf.GeneratedMessageV3
                    .parseWithIOException(PARSER, input);
        }

        public static Model parseFrom(
                java.io.InputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return com.google.protobuf.GeneratedMessageV3
                    .parseWithIOException(PARSER, input, extensionRegistry);
        }

        public static Model parseDelimitedFrom(java.io.InputStream input)
                throws java.io.IOException {
            return com.google.protobuf.GeneratedMessageV3
                    .parseDelimitedWithIOException(PARSER, input);
        }

        public static Model parseDelimitedFrom(
                java.io.InputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return com.google.protobuf.GeneratedMessageV3
                    .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
        }

        public static Model parseFrom(
                com.google.protobuf.CodedInputStream input)
                throws java.io.IOException {
            return com.google.protobuf.GeneratedMessageV3
                    .parseWithIOException(PARSER, input);
        }

        public static Model parseFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return com.google.protobuf.GeneratedMessageV3
                    .parseWithIOException(PARSER, input, extensionRegistry);
        }

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

        public static Builder newBuilder() {
            return DEFAULT_INSTANCE.toBuilder();
        }

        public static Builder newBuilder(Model prototype) {
            return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
        }

        @Override
        public Builder toBuilder() {
            return this == DEFAULT_INSTANCE
                    ? new Builder() : new Builder().mergeFrom(this);
        }

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

        /**
         * Protobuf type {@code xin.alum.aim.model.proto.Model}
         */
        public static final class Builder extends
                com.google.protobuf.GeneratedMessageV3.Builder implements
                // @@protoc_insertion_point(builder_implements:xin.alum.aim.model.proto.Model)
                ModelOrBuilder {
            public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
                return SentProto.internal_static_com_alum_aim_model_proto_Model_descriptor;
            }

            @SuppressWarnings({"rawtypes"})
            protected com.google.protobuf.MapField internalGetMapField(
                    int number) {
                switch (number) {
                    case 3:
                        return internalGetData();
                    default:
                        throw new RuntimeException(
                                "Invalid map field number: " + number);
                }
            }

            @SuppressWarnings({"rawtypes"})
            protected com.google.protobuf.MapField internalGetMutableMapField(
                    int number) {
                switch (number) {
                    case 3:
                        return internalGetMutableData();
                    default:
                        throw new RuntimeException(
                                "Invalid map field number: " + number);
                }
            }

            @Override
            protected FieldAccessorTable
            internalGetFieldAccessorTable() {
                return SentProto.internal_static_com_alum_aim_model_proto_Model_fieldAccessorTable
                        .ensureFieldAccessorsInitialized(
                                Model.class, Builder.class);
            }

            // Construct using xin.alum.aim.model.proto.SentProto.Model.newBuilder()
            private Builder() {
                maybeForceBuilderInitialization();
            }

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

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

            @Override
            public Builder clear() {
                super.clear();
                key_ = "";

                timestamp_ = 0L;

                internalGetMutableData().clear();
                return this;
            }

            @Override
            public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
                return SentProto.internal_static_com_alum_aim_model_proto_Model_descriptor;
            }

            @Override
            public Model getDefaultInstanceForType() {
                return Model.getDefaultInstance();
            }

            @Override
            public Model build() {
                Model result = buildPartial();
                if (!result.isInitialized()) {
                    throw newUninitializedMessageException(result);
                }
                return result;
            }

            @Override
            public Model buildPartial() {
                Model result = new Model(this);
                int from_bitField0_ = bitField0_;
                result.key_ = key_;
                result.timestamp_ = timestamp_;
                result.data_ = internalGetData();
                result.data_.makeImmutable();
                onBuilt();
                return result;
            }

            @Override
            public Builder clone() {
                return super.clone();
            }

            @Override
            public Builder setField(
                    com.google.protobuf.Descriptors.FieldDescriptor field,
                    Object value) {
                return super.setField(field, value);
            }

            @Override
            public Builder clearField(
                    com.google.protobuf.Descriptors.FieldDescriptor field) {
                return super.clearField(field);
            }

            @Override
            public Builder clearOneof(
                    com.google.protobuf.Descriptors.OneofDescriptor oneof) {
                return super.clearOneof(oneof);
            }

            @Override
            public Builder setRepeatedField(
                    com.google.protobuf.Descriptors.FieldDescriptor field,
                    int index, Object value) {
                return super.setRepeatedField(field, index, value);
            }

            @Override
            public Builder addRepeatedField(
                    com.google.protobuf.Descriptors.FieldDescriptor field,
                    Object value) {
                return super.addRepeatedField(field, value);
            }

            @Override
            public Builder mergeFrom(com.google.protobuf.Message other) {
                if (other instanceof Model) {
                    return mergeFrom((Model) other);
                } else {
                    super.mergeFrom(other);
                    return this;
                }
            }

            public Builder mergeFrom(Model other) {
                if (other == Model.getDefaultInstance()) return this;
                if (!other.getKey().isEmpty()) {
                    key_ = other.key_;
                    onChanged();
                }
                if (other.getTimestamp() != 0L) {
                    setTimestamp(other.getTimestamp());
                }
                internalGetMutableData().mergeFrom(
                        other.internalGetData());
                this.mergeUnknownFields(other.unknownFields);
                onChanged();
                return this;
            }

            @Override
            public final boolean isInitialized() {
                return true;
            }

            @Override
            public Builder mergeFrom(
                    com.google.protobuf.CodedInputStream input,
                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                    throws java.io.IOException {
                Model parsedMessage = null;
                try {
                    parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                    parsedMessage = (Model) e.getUnfinishedMessage();
                    throw e.unwrapIOException();
                } finally {
                    if (parsedMessage != null) {
                        mergeFrom(parsedMessage);
                    }
                }
                return this;
            }

            private int bitField0_;

            private Object key_ = "";

            /**
             * string key = 1;
             *
             * @return The key.
             */
            public String getKey() {
                Object ref = key_;
                if (!(ref instanceof String)) {
                    com.google.protobuf.ByteString bs =
                            (com.google.protobuf.ByteString) ref;
                    String s = bs.toStringUtf8();
                    key_ = s;
                    return s;
                } else {
                    return (String) ref;
                }
            }

            /**
             * string key = 1;
             *
             * @return The bytes for key.
             */
            public com.google.protobuf.ByteString
            getKeyBytes() {
                Object ref = key_;
                if (ref instanceof String) {
                    com.google.protobuf.ByteString b =
                            com.google.protobuf.ByteString.copyFromUtf8(
                                    (String) ref);
                    key_ = b;
                    return b;
                } else {
                    return (com.google.protobuf.ByteString) ref;
                }
            }

            /**
             * string key = 1;
             *
             * @param value The key to set.
             * @return This builder for chaining.
             */
            public Builder setKey(
                    String value) {
                if (value == null) {
                    throw new NullPointerException();
                }

                key_ = value;
                onChanged();
                return this;
            }

            /**
             * string key = 1;
             *
             * @return This builder for chaining.
             */
            public Builder clearKey() {

                key_ = getDefaultInstance().getKey();
                onChanged();
                return this;
            }

            /**
             * string key = 1;
             *
             * @param value The bytes for key to set.
             * @return This builder for chaining.
             */
            public Builder setKeyBytes(
                    com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                checkByteStringIsUtf8(value);

                key_ = value;
                onChanged();
                return this;
            }

            private long timestamp_;

            /**
             * int64 timestamp = 2;
             *
             * @return The timestamp.
             */
            @Override
            public long getTimestamp() {
                return timestamp_;
            }

            /**
             * int64 timestamp = 2;
             *
             * @param value The timestamp to set.
             * @return This builder for chaining.
             */
            public Builder setTimestamp(long value) {

                timestamp_ = value;
                onChanged();
                return this;
            }

            /**
             * int64 timestamp = 2;
             *
             * @return This builder for chaining.
             */
            public Builder clearTimestamp() {

                timestamp_ = 0L;
                onChanged();
                return this;
            }

            private com.google.protobuf.MapField<
                    String, String> data_;

            private com.google.protobuf.MapField
            internalGetData() {
                if (data_ == null) {
                    return com.google.protobuf.MapField.emptyMapField(
                            DataDefaultEntryHolder.defaultEntry);
                }
                return data_;
            }

            private com.google.protobuf.MapField
            internalGetMutableData() {
                onChanged();
                ;
                if (data_ == null) {
                    data_ = com.google.protobuf.MapField.newMapField(
                            DataDefaultEntryHolder.defaultEntry);
                }
                if (!data_.isMutable()) {
                    data_ = data_.copy();
                }
                return data_;
            }

            public int getDataCount() {
                return internalGetData().getMap().size();
            }

            /**
             * map<string, string> data = 3;
             */

            @Override
            public boolean containsData(
                    String key) {
                if (key == null) {
                    throw new NullPointerException();
                }
                return internalGetData().getMap().containsKey(key);
            }

            /**
             * Use {@link #getDataMap()} instead.
             */
            @Override
            @Deprecated
            public java.util.Map getData() {
                return getDataMap();
            }

            /**
             * map<string, string> data = 3;
             */
            @Override

            public java.util.Map getDataMap() {
                return internalGetData().getMap();
            }

            /**
             * map<string, string> data = 3;
             */
            @Override

            public String getDataOrDefault(
                    String key,
                    String defaultValue) {
                if (key == null) {
                    throw new NullPointerException();
                }
                java.util.Map map =
                        internalGetData().getMap();
                return map.containsKey(key) ? map.get(key) : defaultValue;
            }

            /**
             * map<string, string> data = 3;
             */
            @Override

            public String getDataOrThrow(
                    String key) {
                if (key == null) {
                    throw new NullPointerException();
                }
                java.util.Map map =
                        internalGetData().getMap();
                if (!map.containsKey(key)) {
                    throw new IllegalArgumentException();
                }
                return map.get(key);
            }

            public Builder clearData() {
                internalGetMutableData().getMutableMap()
                        .clear();
                return this;
            }

            /**
             * map<string, string> data = 3;
             */

            public Builder removeData(
                    String key) {
                if (key == null) {
                    throw new NullPointerException();
                }
                internalGetMutableData().getMutableMap()
                        .remove(key);
                return this;
            }

            /**
             * Use alternate mutation accessors instead.
             */
            @Deprecated
            public java.util.Map
            getMutableData() {
                return internalGetMutableData().getMutableMap();
            }

            /**
             * map<string, string> data = 3;
             */
            public Builder putData(
                    String key,
                    String value) {
                if (key == null) {
                    throw new NullPointerException();
                }
                if (value == null) {
                    throw new NullPointerException();
                }
                internalGetMutableData().getMutableMap()
                        .put(key, value);
                return this;
            }

            /**
             * map<string, string> data = 3;
             */

            public Builder putAllData(
                    java.util.Map values) {
                internalGetMutableData().getMutableMap()
                        .putAll(values);
                return this;
            }

            @Override
            public final Builder setUnknownFields(
                    final com.google.protobuf.UnknownFieldSet unknownFields) {
                return super.setUnknownFields(unknownFields);
            }

            @Override
            public final Builder mergeUnknownFields(
                    final com.google.protobuf.UnknownFieldSet unknownFields) {
                return super.mergeUnknownFields(unknownFields);
            }


            // @@protoc_insertion_point(builder_scope:xin.alum.aim.model.proto.Model)
        }

        // @@protoc_insertion_point(class_scope:xin.alum.aim.model.proto.Model)
        private static final Model DEFAULT_INSTANCE;

        static {
            DEFAULT_INSTANCE = new Model();
        }

        public static Model getDefaultInstance() {
            return DEFAULT_INSTANCE;
        }

        private static final com.google.protobuf.Parser
                PARSER = new com.google.protobuf.AbstractParser() {
            @Override
            public Model parsePartialFrom(
                    com.google.protobuf.CodedInputStream input,
                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                    throws com.google.protobuf.InvalidProtocolBufferException {
                return new Model(input, extensionRegistry);
            }
        };

        public static com.google.protobuf.Parser parser() {
            return PARSER;
        }

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

        @Override
        public Model getDefaultInstanceForType() {
            return DEFAULT_INSTANCE;
        }

    }

    private static final com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alum_aim_model_proto_Model_descriptor;
    private static final
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internal_static_com_alum_aim_model_proto_Model_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alum_aim_model_proto_Model_DataEntry_descriptor;
    private static final
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internal_static_com_alum_aim_model_proto_Model_DataEntry_fieldAccessorTable;

    public static com.google.protobuf.Descriptors.FileDescriptor
    getDescriptor() {
        return descriptor;
    }

    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        String[] descriptorData = {
                "\n\nSent.proto\022\030xin.alum.aim.model.proto\"\215" +
                        "\001\n\005Model\022\013\n\003key\030\001 \001(\t\022\021\n\ttimestamp\030\002 \001(\003" +
                        "\0227\n\004data\030\003 \003(\0132).xin.alum.aim.model.prot" +
                        "o.Model.DataEntry\032+\n\tDataEntry\022\013\n\003key\030\001 " +
                        "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\013B\tSentProtob\006pro" +
                        "to3"
        };
        descriptor = com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                        });
        internal_static_com_alum_aim_model_proto_Model_descriptor =
                getDescriptor().getMessageTypes().get(0);
        internal_static_com_alum_aim_model_proto_Model_fieldAccessorTable = new
                com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
                internal_static_com_alum_aim_model_proto_Model_descriptor,
                new String[]{"Key", "Timestamp", "Data",});
        internal_static_com_alum_aim_model_proto_Model_DataEntry_descriptor =
                internal_static_com_alum_aim_model_proto_Model_descriptor.getNestedTypes().get(0);
        internal_static_com_alum_aim_model_proto_Model_DataEntry_fieldAccessorTable = new
                com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
                internal_static_com_alum_aim_model_proto_Model_DataEntry_descriptor,
                new String[]{"Key", "Value",});
    }

    // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy