// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: async_sql.proto

package com.aliyun.openservices.log.common;

public final class AsyncSql {
    private AsyncSql() {}
    public static void registerAllExtensions(
            com.google.protobuf.ExtensionRegistry registry) {
    }
    public interface AsyncSqlMetaPBOrBuilder
            extends com.google.protobuf.MessageOrBuilder {

        // optional int32 result_rows = 1;
        boolean hasResultRows();
        int getResultRows();

        // optional int64 processed_rows = 2;
        boolean hasProcessedRows();
        long getProcessedRows();

        // optional int64 processed_bytes = 3;
        boolean hasProcessedBytes();
        long getProcessedBytes();

        // optional int64 elapsed_milli = 4;
        boolean hasElapsedMilli();
        long getElapsedMilli();

        // optional double cpu_sec = 5;
        boolean hasCpuSec();
        double getCpuSec();

        // optional int64 cpu_cores = 6;
        boolean hasCpuCores();
        long getCpuCores();

        // optional string progress = 7;
        boolean hasProgress();
        String getProgress();

        // repeated string keys = 8;
        java.util.List<String> getKeysList();
        int getKeysCount();
        String getKeys(int index);
    }
    public static final class AsyncSqlMetaPB extends
            com.google.protobuf.GeneratedMessage
            implements AsyncSqlMetaPBOrBuilder {
        // Use AsyncSqlMetaPB.newBuilder() to construct.
        private AsyncSqlMetaPB(Builder builder) {
            super(builder);
        }
        private AsyncSqlMetaPB(boolean noInit) {}

        private static final AsyncSqlMetaPB defaultInstance;
        public static AsyncSqlMetaPB getDefaultInstance() {
            return defaultInstance;
        }

        public AsyncSqlMetaPB getDefaultInstanceForType() {
            return defaultInstance;
        }

        public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
            return com.aliyun.openservices.log.common.AsyncSql.internal_static_com_aliyun_openservices_log_common_AsyncSqlMetaPB_descriptor;
        }

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
            return com.aliyun.openservices.log.common.AsyncSql.internal_static_com_aliyun_openservices_log_common_AsyncSqlMetaPB_fieldAccessorTable;
        }

        private int bitField0_;
        // optional int32 result_rows = 1;
        public static final int RESULT_ROWS_FIELD_NUMBER = 1;
        private int resultRows_;
        public boolean hasResultRows() {
            return ((bitField0_ & 0x00000001) == 0x00000001);
        }
        public int getResultRows() {
            return resultRows_;
        }

        // optional int64 processed_rows = 2;
        public static final int PROCESSED_ROWS_FIELD_NUMBER = 2;
        private long processedRows_;
        public boolean hasProcessedRows() {
            return ((bitField0_ & 0x00000002) == 0x00000002);
        }
        public long getProcessedRows() {
            return processedRows_;
        }

        // optional int64 processed_bytes = 3;
        public static final int PROCESSED_BYTES_FIELD_NUMBER = 3;
        private long processedBytes_;
        public boolean hasProcessedBytes() {
            return ((bitField0_ & 0x00000004) == 0x00000004);
        }
        public long getProcessedBytes() {
            return processedBytes_;
        }

        // optional int64 elapsed_milli = 4;
        public static final int ELAPSED_MILLI_FIELD_NUMBER = 4;
        private long elapsedMilli_;
        public boolean hasElapsedMilli() {
            return ((bitField0_ & 0x00000008) == 0x00000008);
        }
        public long getElapsedMilli() {
            return elapsedMilli_;
        }

        // optional double cpu_sec = 5;
        public static final int CPU_SEC_FIELD_NUMBER = 5;
        private double cpuSec_;
        public boolean hasCpuSec() {
            return ((bitField0_ & 0x00000010) == 0x00000010);
        }
        public double getCpuSec() {
            return cpuSec_;
        }

        // optional int64 cpu_cores = 6;
        public static final int CPU_CORES_FIELD_NUMBER = 6;
        private long cpuCores_;
        public boolean hasCpuCores() {
            return ((bitField0_ & 0x00000020) == 0x00000020);
        }
        public long getCpuCores() {
            return cpuCores_;
        }

        // optional string progress = 7;
        public static final int PROGRESS_FIELD_NUMBER = 7;
        private java.lang.Object progress_;
        public boolean hasProgress() {
            return ((bitField0_ & 0x00000040) == 0x00000040);
        }
        public String getProgress() {
            java.lang.Object ref = progress_;
            if (ref instanceof String) {
                return (String) ref;
            } else {
                com.google.protobuf.ByteString bs =
                        (com.google.protobuf.ByteString) ref;
                String s = bs.toStringUtf8();
                if (com.google.protobuf.Internal.isValidUtf8(bs)) {
                    progress_ = s;
                }
                return s;
            }
        }
        private com.google.protobuf.ByteString getProgressBytes() {
            java.lang.Object ref = progress_;
            if (ref instanceof String) {
                com.google.protobuf.ByteString b =
                        com.google.protobuf.ByteString.copyFromUtf8((String) ref);
                progress_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }

        // repeated string keys = 8;
        public static final int KEYS_FIELD_NUMBER = 8;
        private com.google.protobuf.LazyStringList keys_;
        public java.util.List<String>
        getKeysList() {
            return keys_;
        }
        public int getKeysCount() {
            return keys_.size();
        }
        public String getKeys(int index) {
            return keys_.get(index);
        }

        private void initFields() {
            resultRows_ = 0;
            processedRows_ = 0L;
            processedBytes_ = 0L;
            elapsedMilli_ = 0L;
            cpuSec_ = 0D;
            cpuCores_ = 0L;
            progress_ = "";
            keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        }
        private byte memoizedIsInitialized = -1;
        public final boolean isInitialized() {
            byte isInitialized = memoizedIsInitialized;
            if (isInitialized != -1) return isInitialized == 1;

            memoizedIsInitialized = 1;
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
                output.writeInt32(1, resultRows_);
            }
            if (((bitField0_ & 0x00000002) == 0x00000002)) {
                output.writeInt64(2, processedRows_);
            }
            if (((bitField0_ & 0x00000004) == 0x00000004)) {
                output.writeInt64(3, processedBytes_);
            }
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
                output.writeInt64(4, elapsedMilli_);
            }
            if (((bitField0_ & 0x00000010) == 0x00000010)) {
                output.writeDouble(5, cpuSec_);
            }
            if (((bitField0_ & 0x00000020) == 0x00000020)) {
                output.writeInt64(6, cpuCores_);
            }
            if (((bitField0_ & 0x00000040) == 0x00000040)) {
                output.writeBytes(7, getProgressBytes());
            }
            for (int i = 0; i < keys_.size(); i++) {
                output.writeBytes(8, keys_.getByteString(i));
            }
            getUnknownFields().writeTo(output);
        }

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

            size = 0;
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(1, resultRows_);
            }
            if (((bitField0_ & 0x00000002) == 0x00000002)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(2, processedRows_);
            }
            if (((bitField0_ & 0x00000004) == 0x00000004)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(3, processedBytes_);
            }
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(4, elapsedMilli_);
            }
            if (((bitField0_ & 0x00000010) == 0x00000010)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeDoubleSize(5, cpuSec_);
            }
            if (((bitField0_ & 0x00000020) == 0x00000020)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(6, cpuCores_);
            }
            if (((bitField0_ & 0x00000040) == 0x00000040)) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(7, getProgressBytes());
            }
            {
                int dataSize = 0;
                for (int i = 0; i < keys_.size(); i++) {
                    dataSize += com.google.protobuf.CodedOutputStream
                            .computeBytesSizeNoTag(keys_.getByteString(i));
                }
                size += dataSize;
                size += 1 * getKeysList().size();
            }
            size += getUnknownFields().getSerializedSize();
            memoizedSerializedSize = size;
            return size;
        }

        private static final long serialVersionUID = 0L;
        @java.lang.Override
        protected java.lang.Object writeReplace()
                throws java.io.ObjectStreamException {
            return super.writeReplace();
        }

        public static com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB parseFrom(
                com.google.protobuf.ByteString data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data).buildParsed();
        }
        public static com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB parseFrom(
                com.google.protobuf.ByteString data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data, extensionRegistry)
                    .buildParsed();
        }
        public static com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB parseFrom(byte[] data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data).buildParsed();
        }
        public static com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB parseFrom(
                byte[] data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data, extensionRegistry)
                    .buildParsed();
        }
        public static com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB parseFrom(java.io.InputStream input)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input).buildParsed();
        }
        public static com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB parseFrom(
                java.io.InputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input, extensionRegistry)
                    .buildParsed();
        }
        public static com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB parseDelimitedFrom(java.io.InputStream input)
                throws java.io.IOException {
            Builder builder = newBuilder();
            if (builder.mergeDelimitedFrom(input)) {
                return builder.buildParsed();
            } else {
                return null;
            }
        }
        public static com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB parseDelimitedFrom(
                java.io.InputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            Builder builder = newBuilder();
            if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
                return builder.buildParsed();
            } else {
                return null;
            }
        }
        public static com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB parseFrom(
                com.google.protobuf.CodedInputStream input)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input).buildParsed();
        }
        public static com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB parseFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input, extensionRegistry)
                    .buildParsed();
        }

        public static Builder newBuilder() { return Builder.create(); }
        public Builder newBuilderForType() { return newBuilder(); }
        public static Builder newBuilder(com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB prototype) {
            return newBuilder().mergeFrom(prototype);
        }
        public Builder toBuilder() { return newBuilder(this); }

        @java.lang.Override
        protected Builder newBuilderForType(
                com.google.protobuf.GeneratedMessage.BuilderParent parent) {
            Builder builder = new Builder(parent);
            return builder;
        }
        public static final class Builder extends
                com.google.protobuf.GeneratedMessage.Builder<Builder>
                implements com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPBOrBuilder {
            public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
                return com.aliyun.openservices.log.common.AsyncSql.internal_static_com_aliyun_openservices_log_common_AsyncSqlMetaPB_descriptor;
            }

            protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
                return com.aliyun.openservices.log.common.AsyncSql.internal_static_com_aliyun_openservices_log_common_AsyncSqlMetaPB_fieldAccessorTable;
            }

            // Construct using com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB.newBuilder()
            private Builder() {
                maybeForceBuilderInitialization();
            }

            private Builder(BuilderParent parent) {
                super(parent);
                maybeForceBuilderInitialization();
            }
            private void maybeForceBuilderInitialization() {
                if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
                }
            }
            private static Builder create() {
                return new Builder();
            }

            public Builder clear() {
                super.clear();
                resultRows_ = 0;
                bitField0_ = (bitField0_ & ~0x00000001);
                processedRows_ = 0L;
                bitField0_ = (bitField0_ & ~0x00000002);
                processedBytes_ = 0L;
                bitField0_ = (bitField0_ & ~0x00000004);
                elapsedMilli_ = 0L;
                bitField0_ = (bitField0_ & ~0x00000008);
                cpuSec_ = 0D;
                bitField0_ = (bitField0_ & ~0x00000010);
                cpuCores_ = 0L;
                bitField0_ = (bitField0_ & ~0x00000020);
                progress_ = "";
                bitField0_ = (bitField0_ & ~0x00000040);
                keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
                bitField0_ = (bitField0_ & ~0x00000080);
                return this;
            }

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

            public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
                return com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB.getDescriptor();
            }

            public com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB getDefaultInstanceForType() {
                return com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB.getDefaultInstance();
            }

            public com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB build() {
                com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB result = buildPartial();
                if (!result.isInitialized()) {
                    throw newUninitializedMessageException(result);
                }
                return result;
            }

            private com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB buildParsed()
                    throws com.google.protobuf.InvalidProtocolBufferException {
                com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB result = buildPartial();
                if (!result.isInitialized()) {
                    throw newUninitializedMessageException(
                            result).asInvalidProtocolBufferException();
                }
                return result;
            }

            public com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB buildPartial() {
                com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB result = new com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB(this);
                int from_bitField0_ = bitField0_;
                int to_bitField0_ = 0;
                if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
                    to_bitField0_ |= 0x00000001;
                }
                result.resultRows_ = resultRows_;
                if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
                    to_bitField0_ |= 0x00000002;
                }
                result.processedRows_ = processedRows_;
                if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
                    to_bitField0_ |= 0x00000004;
                }
                result.processedBytes_ = processedBytes_;
                if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
                    to_bitField0_ |= 0x00000008;
                }
                result.elapsedMilli_ = elapsedMilli_;
                if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
                    to_bitField0_ |= 0x00000010;
                }
                result.cpuSec_ = cpuSec_;
                if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
                    to_bitField0_ |= 0x00000020;
                }
                result.cpuCores_ = cpuCores_;
                if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
                    to_bitField0_ |= 0x00000040;
                }
                result.progress_ = progress_;
                if (((bitField0_ & 0x00000080) == 0x00000080)) {
                    keys_ = new com.google.protobuf.UnmodifiableLazyStringList(
                            keys_);
                    bitField0_ = (bitField0_ & ~0x00000080);
                }
                result.keys_ = keys_;
                result.bitField0_ = to_bitField0_;
                onBuilt();
                return result;
            }

            public Builder mergeFrom(com.google.protobuf.Message other) {
                if (other instanceof com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB) {
                    return mergeFrom((com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB)other);
                } else {
                    super.mergeFrom(other);
                    return this;
                }
            }

            public Builder mergeFrom(com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB other) {
                if (other == com.aliyun.openservices.log.common.AsyncSql.AsyncSqlMetaPB.getDefaultInstance()) return this;
                if (other.hasResultRows()) {
                    setResultRows(other.getResultRows());
                }
                if (other.hasProcessedRows()) {
                    setProcessedRows(other.getProcessedRows());
                }
                if (other.hasProcessedBytes()) {
                    setProcessedBytes(other.getProcessedBytes());
                }
                if (other.hasElapsedMilli()) {
                    setElapsedMilli(other.getElapsedMilli());
                }
                if (other.hasCpuSec()) {
                    setCpuSec(other.getCpuSec());
                }
                if (other.hasCpuCores()) {
                    setCpuCores(other.getCpuCores());
                }
                if (other.hasProgress()) {
                    setProgress(other.getProgress());
                }
                if (!other.keys_.isEmpty()) {
                    if (keys_.isEmpty()) {
                        keys_ = other.keys_;
                        bitField0_ = (bitField0_ & ~0x00000080);
                    } else {
                        ensureKeysIsMutable();
                        keys_.addAll(other.keys_);
                    }
                    onChanged();
                }
                this.mergeUnknownFields(other.getUnknownFields());
                return this;
            }

            public final boolean isInitialized() {
                return true;
            }

            public Builder mergeFrom(
                    com.google.protobuf.CodedInputStream input,
                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                    throws java.io.IOException {
                com.google.protobuf.UnknownFieldSet.Builder unknownFields =
                        com.google.protobuf.UnknownFieldSet.newBuilder(
                                this.getUnknownFields());
                while (true) {
                    int tag = input.readTag();
                    switch (tag) {
                        case 0:
                            this.setUnknownFields(unknownFields.build());
                            onChanged();
                            return this;
                        default: {
                            if (!parseUnknownField(input, unknownFields,
                                    extensionRegistry, tag)) {
                                this.setUnknownFields(unknownFields.build());
                                onChanged();
                                return this;
                            }
                            break;
                        }
                        case 8: {
                            bitField0_ |= 0x00000001;
                            resultRows_ = input.readInt32();
                            break;
                        }
                        case 16: {
                            bitField0_ |= 0x00000002;
                            processedRows_ = input.readInt64();
                            break;
                        }
                        case 24: {
                            bitField0_ |= 0x00000004;
                            processedBytes_ = input.readInt64();
                            break;
                        }
                        case 32: {
                            bitField0_ |= 0x00000008;
                            elapsedMilli_ = input.readInt64();
                            break;
                        }
                        case 41: {
                            bitField0_ |= 0x00000010;
                            cpuSec_ = input.readDouble();
                            break;
                        }
                        case 48: {
                            bitField0_ |= 0x00000020;
                            cpuCores_ = input.readInt64();
                            break;
                        }
                        case 58: {
                            bitField0_ |= 0x00000040;
                            progress_ = input.readBytes();
                            break;
                        }
                        case 66: {
                            ensureKeysIsMutable();
                            keys_.add(input.readBytes());
                            break;
                        }
                    }
                }
            }

            private int bitField0_;

            // optional int32 result_rows = 1;
            private int resultRows_ ;
            public boolean hasResultRows() {
                return ((bitField0_ & 0x00000001) == 0x00000001);
            }
            public int getResultRows() {
                return resultRows_;
            }
            public Builder setResultRows(int value) {
                bitField0_ |= 0x00000001;
                resultRows_ = value;
                onChanged();
                return this;
            }
            public Builder clearResultRows() {
                bitField0_ = (bitField0_ & ~0x00000001);
                resultRows_ = 0;
                onChanged();
                return this;
            }

            // optional int64 processed_rows = 2;
            private long processedRows_ ;
            public boolean hasProcessedRows() {
                return ((bitField0_ & 0x00000002) == 0x00000002);
            }
            public long getProcessedRows() {
                return processedRows_;
            }
            public Builder setProcessedRows(long value) {
                bitField0_ |= 0x00000002;
                processedRows_ = value;
                onChanged();
                return this;
            }
            public Builder clearProcessedRows() {
                bitField0_ = (bitField0_ & ~0x00000002);
                processedRows_ = 0L;
                onChanged();
                return this;
            }

            // optional int64 processed_bytes = 3;
            private long processedBytes_ ;
            public boolean hasProcessedBytes() {
                return ((bitField0_ & 0x00000004) == 0x00000004);
            }
            public long getProcessedBytes() {
                return processedBytes_;
            }
            public Builder setProcessedBytes(long value) {
                bitField0_ |= 0x00000004;
                processedBytes_ = value;
                onChanged();
                return this;
            }
            public Builder clearProcessedBytes() {
                bitField0_ = (bitField0_ & ~0x00000004);
                processedBytes_ = 0L;
                onChanged();
                return this;
            }

            // optional int64 elapsed_milli = 4;
            private long elapsedMilli_ ;
            public boolean hasElapsedMilli() {
                return ((bitField0_ & 0x00000008) == 0x00000008);
            }
            public long getElapsedMilli() {
                return elapsedMilli_;
            }
            public Builder setElapsedMilli(long value) {
                bitField0_ |= 0x00000008;
                elapsedMilli_ = value;
                onChanged();
                return this;
            }
            public Builder clearElapsedMilli() {
                bitField0_ = (bitField0_ & ~0x00000008);
                elapsedMilli_ = 0L;
                onChanged();
                return this;
            }

            // optional double cpu_sec = 5;
            private double cpuSec_ ;
            public boolean hasCpuSec() {
                return ((bitField0_ & 0x00000010) == 0x00000010);
            }
            public double getCpuSec() {
                return cpuSec_;
            }
            public Builder setCpuSec(double value) {
                bitField0_ |= 0x00000010;
                cpuSec_ = value;
                onChanged();
                return this;
            }
            public Builder clearCpuSec() {
                bitField0_ = (bitField0_ & ~0x00000010);
                cpuSec_ = 0D;
                onChanged();
                return this;
            }

            // optional int64 cpu_cores = 6;
            private long cpuCores_ ;
            public boolean hasCpuCores() {
                return ((bitField0_ & 0x00000020) == 0x00000020);
            }
            public long getCpuCores() {
                return cpuCores_;
            }
            public Builder setCpuCores(long value) {
                bitField0_ |= 0x00000020;
                cpuCores_ = value;
                onChanged();
                return this;
            }
            public Builder clearCpuCores() {
                bitField0_ = (bitField0_ & ~0x00000020);
                cpuCores_ = 0L;
                onChanged();
                return this;
            }

            // optional string progress = 7;
            private java.lang.Object progress_ = "";
            public boolean hasProgress() {
                return ((bitField0_ & 0x00000040) == 0x00000040);
            }
            public String getProgress() {
                java.lang.Object ref = progress_;
                if (!(ref instanceof String)) {
                    String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
                    progress_ = s;
                    return s;
                } else {
                    return (String) ref;
                }
            }
            public Builder setProgress(String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000040;
                progress_ = value;
                onChanged();
                return this;
            }
            public Builder clearProgress() {
                bitField0_ = (bitField0_ & ~0x00000040);
                progress_ = getDefaultInstance().getProgress();
                onChanged();
                return this;
            }
            void setProgress(com.google.protobuf.ByteString value) {
                bitField0_ |= 0x00000040;
                progress_ = value;
                onChanged();
            }

            // repeated string keys = 8;
            private com.google.protobuf.LazyStringList keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
            private void ensureKeysIsMutable() {
                if (!((bitField0_ & 0x00000080) == 0x00000080)) {
                    keys_ = new com.google.protobuf.LazyStringArrayList(keys_);
                    bitField0_ |= 0x00000080;
                }
            }
            public java.util.List<String>
            getKeysList() {
                return java.util.Collections.unmodifiableList(keys_);
            }
            public int getKeysCount() {
                return keys_.size();
            }
            public String getKeys(int index) {
                return keys_.get(index);
            }
            public Builder setKeys(
                    int index, String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                ensureKeysIsMutable();
                keys_.set(index, value);
                onChanged();
                return this;
            }
            public Builder addKeys(String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                ensureKeysIsMutable();
                keys_.add(value);
                onChanged();
                return this;
            }
            public Builder addAllKeys(
                    java.lang.Iterable<String> values) {
                ensureKeysIsMutable();
                super.addAll(values, keys_);
                onChanged();
                return this;
            }
            public Builder clearKeys() {
                keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
