From 6c8bd8200dabaf350f24f93d995456cbcb3806fd Mon Sep 17 00:00:00 2001 From: peefy Date: Thu, 16 May 2024 19:55:19 +0800 Subject: [PATCH] feat: python API with the plugin agent Signed-off-by: peefy --- java/src/main/java/com/kcl/api/Spec.java | 130512 ++++++++++---------- python/kcl_lib/api/service.py | 14 +- python/kcl_lib/api/spec_pb2.py | 383 +- python/src/lib.rs | 14 +- python/tests/exec_test.py | 5 +- src/lib.rs | 17 +- 6 files changed, 64407 insertions(+), 66538 deletions(-) diff --git a/java/src/main/java/com/kcl/api/Spec.java b/java/src/main/java/com/kcl/api/Spec.java index 10cacedb..cd3fddc7 100644 --- a/java/src/main/java/com/kcl/api/Spec.java +++ b/java/src/main/java/com/kcl/api/Spec.java @@ -5,49 +5,329 @@ package com.kcl.api; public final class Spec { - private Spec() { + private Spec() {} + 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 CmdExternalPkgSpecOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.CmdExternalPkgSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * string pkg_name = 1; + * @return The pkgName. + */ + java.lang.String getPkgName(); + /** + * string pkg_name = 1; + * @return The bytes for pkgName. + */ + com.google.protobuf.ByteString + getPkgNameBytes(); + + /** + * string pkg_path = 2; + * @return The pkgPath. + */ + java.lang.String getPkgPath(); + /** + * string pkg_path = 2; + * @return The bytes for pkgPath. + */ + com.google.protobuf.ByteString + getPkgPathBytes(); + } + /** + *
+   * kcl main.k -E pkg_name=pkg_path
+   * 
+ * + * Protobuf type {@code com.kcl.api.CmdExternalPkgSpec} + */ + public static final class CmdExternalPkgSpec extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.CmdExternalPkgSpec) + CmdExternalPkgSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use CmdExternalPkgSpec.newBuilder() to construct. + private CmdExternalPkgSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CmdExternalPkgSpec() { + pkgName_ = ""; + pkgPath_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CmdExternalPkgSpec(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdExternalPkgSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.CmdExternalPkgSpec.class, com.kcl.api.Spec.CmdExternalPkgSpec.Builder.class); + } + + public static final int PKG_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgName_ = ""; + /** + * string pkg_name = 1; + * @return The pkgName. + */ + @java.lang.Override + public java.lang.String getPkgName() { + java.lang.Object ref = pkgName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgName_ = s; + return s; + } + } + /** + * string pkg_name = 1; + * @return The bytes for pkgName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgNameBytes() { + java.lang.Object ref = pkgName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PKG_PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgPath_ = ""; + /** + * string pkg_path = 2; + * @return The pkgPath. + */ + @java.lang.Override + public java.lang.String getPkgPath() { + java.lang.Object ref = pkgPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgPath_ = s; + return s; + } + } + /** + * string pkg_path = 2; + * @return The bytes for pkgPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgPathBytes() { + java.lang.Object ref = pkgPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pkgName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgPath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pkgPath_); + } + getUnknownFields().writeTo(output); } - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pkgName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgPath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pkgPath_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; } - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.CmdExternalPkgSpec)) { + return super.equals(obj); + } + com.kcl.api.Spec.CmdExternalPkgSpec other = (com.kcl.api.Spec.CmdExternalPkgSpec) obj; + + if (!getPkgName() + .equals(other.getPkgName())) return false; + if (!getPkgPath() + .equals(other.getPkgPath())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; } - public interface CmdExternalPkgSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.CmdExternalPkgSpec) - com.google.protobuf.MessageOrBuilder { + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PKG_NAME_FIELD_NUMBER; + hash = (53 * hash) + getPkgName().hashCode(); + hash = (37 * hash) + PKG_PATH_FIELD_NUMBER; + hash = (53 * hash) + getPkgPath().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * string pkg_name = 1; - * - * @return The pkgName. - */ - java.lang.String getPkgName(); + public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * string pkg_name = 1; - * - * @return The bytes for pkgName. - */ - com.google.protobuf.ByteString getPkgNameBytes(); + public static com.kcl.api.Spec.CmdExternalPkgSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * string pkg_path = 2; - * - * @return The pkgPath. - */ - java.lang.String getPkgPath(); + public static com.kcl.api.Spec.CmdExternalPkgSpec 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 com.kcl.api.Spec.CmdExternalPkgSpec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * string pkg_path = 2; - * - * @return The bytes for pkgPath. - */ - com.google.protobuf.ByteString getPkgPathBytes(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.CmdExternalPkgSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
      * kcl main.k -E pkg_name=pkg_path
@@ -55,68086 +335,65640 @@ public interface CmdExternalPkgSpecOrBuilder extends
      *
      * Protobuf type {@code com.kcl.api.CmdExternalPkgSpec}
      */
-    public static final class CmdExternalPkgSpec extends com.google.protobuf.GeneratedMessageV3 implements
-            // @@protoc_insertion_point(message_implements:com.kcl.api.CmdExternalPkgSpec)
-            CmdExternalPkgSpecOrBuilder {
-        private static final long serialVersionUID = 0L;
-
-        // Use CmdExternalPkgSpec.newBuilder() to construct.
-        private CmdExternalPkgSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
-            super(builder);
-        }
-
-        private CmdExternalPkgSpec() {
-            pkgName_ = "";
-            pkgPath_ = "";
-        }
-
-        @java.lang.Override
-        @SuppressWarnings({ "unused" })
-        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-            return new CmdExternalPkgSpec();
-        }
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
+        // @@protoc_insertion_point(builder_implements:com.kcl.api.CmdExternalPkgSpec)
+        com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.kcl.api.Spec.internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor;
+      }
+
+      @java.lang.Override
+      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+          internalGetFieldAccessorTable() {
+        return com.kcl.api.Spec.internal_static_com_kcl_api_CmdExternalPkgSpec_fieldAccessorTable
+            .ensureFieldAccessorsInitialized(
+                com.kcl.api.Spec.CmdExternalPkgSpec.class, com.kcl.api.Spec.CmdExternalPkgSpec.Builder.class);
+      }
+
+      // Construct using com.kcl.api.Spec.CmdExternalPkgSpec.newBuilder()
+      private Builder() {
+
+      }
+
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
+      @java.lang.Override
+      public Builder clear() {
+        super.clear();
+        bitField0_ = 0;
+        pkgName_ = "";
+        pkgPath_ = "";
+        return this;
+      }
+
+      @java.lang.Override
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.kcl.api.Spec.internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor;
+      }
+
+      @java.lang.Override
+      public com.kcl.api.Spec.CmdExternalPkgSpec getDefaultInstanceForType() {
+        return com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance();
+      }
+
+      @java.lang.Override
+      public com.kcl.api.Spec.CmdExternalPkgSpec build() {
+        com.kcl.api.Spec.CmdExternalPkgSpec result = buildPartial();
+        if (!result.isInitialized()) {
+          throw newUninitializedMessageException(result);
+        }
+        return result;
+      }
+
+      @java.lang.Override
+      public com.kcl.api.Spec.CmdExternalPkgSpec buildPartial() {
+        com.kcl.api.Spec.CmdExternalPkgSpec result = new com.kcl.api.Spec.CmdExternalPkgSpec(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartial0(com.kcl.api.Spec.CmdExternalPkgSpec result) {
+        int from_bitField0_ = bitField0_;
+        if (((from_bitField0_ & 0x00000001) != 0)) {
+          result.pkgName_ = pkgName_;
+        }
+        if (((from_bitField0_ & 0x00000002) != 0)) {
+          result.pkgPath_ = pkgPath_;
+        }
+      }
+
+      @java.lang.Override
+      public Builder clone() {
+        return super.clone();
+      }
+      @java.lang.Override
+      public Builder setField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
+        return super.setField(field, value);
+      }
+      @java.lang.Override
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
+        return super.clearField(field);
+      }
+      @java.lang.Override
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        return super.clearOneof(oneof);
+      }
+      @java.lang.Override
+      public Builder setRepeatedField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          int index, java.lang.Object value) {
+        return super.setRepeatedField(field, index, value);
+      }
+      @java.lang.Override
+      public Builder addRepeatedField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
+        return super.addRepeatedField(field, value);
+      }
+      @java.lang.Override
+      public Builder mergeFrom(com.google.protobuf.Message other) {
+        if (other instanceof com.kcl.api.Spec.CmdExternalPkgSpec) {
+          return mergeFrom((com.kcl.api.Spec.CmdExternalPkgSpec)other);
+        } else {
+          super.mergeFrom(other);
+          return this;
+        }
+      }
+
+      public Builder mergeFrom(com.kcl.api.Spec.CmdExternalPkgSpec other) {
+        if (other == com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()) return this;
+        if (!other.getPkgName().isEmpty()) {
+          pkgName_ = other.pkgName_;
+          bitField0_ |= 0x00000001;
+          onChanged();
+        }
+        if (!other.getPkgPath().isEmpty()) {
+          pkgPath_ = other.pkgPath_;
+          bitField0_ |= 0x00000002;
+          onChanged();
+        }
+        this.mergeUnknownFields(other.getUnknownFields());
+        onChanged();
+        return this;
+      }
+
+      @java.lang.Override
+      public final boolean isInitialized() {
+        return true;
+      }
+
+      @java.lang.Override
+      public Builder mergeFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        if (extensionRegistry == null) {
+          throw new java.lang.NullPointerException();
+        }
+        try {
+          boolean done = false;
+          while (!done) {
+            int tag = input.readTag();
+            switch (tag) {
+              case 0:
+                done = true;
+                break;
+              case 10: {
+                pkgName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                pkgPath_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
+            } // switch (tag)
+          } // while (!done)
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.unwrapIOException();
+        } finally {
+          onChanged();
+        } // finally
+        return this;
+      }
+      private int bitField0_;
+
+      private java.lang.Object pkgName_ = "";
+      /**
+       * string pkg_name = 1;
+       * @return The pkgName.
+       */
+      public java.lang.String getPkgName() {
+        java.lang.Object ref = pkgName_;
+        if (!(ref instanceof java.lang.String)) {
+          com.google.protobuf.ByteString bs =
+              (com.google.protobuf.ByteString) ref;
+          java.lang.String s = bs.toStringUtf8();
+          pkgName_ = s;
+          return s;
+        } else {
+          return (java.lang.String) ref;
+        }
+      }
+      /**
+       * string pkg_name = 1;
+       * @return The bytes for pkgName.
+       */
+      public com.google.protobuf.ByteString
+          getPkgNameBytes() {
+        java.lang.Object ref = pkgName_;
+        if (ref instanceof String) {
+          com.google.protobuf.ByteString b = 
+              com.google.protobuf.ByteString.copyFromUtf8(
+                  (java.lang.String) ref);
+          pkgName_ = b;
+          return b;
+        } else {
+          return (com.google.protobuf.ByteString) ref;
+        }
+      }
+      /**
+       * string pkg_name = 1;
+       * @param value The pkgName to set.
+       * @return This builder for chaining.
+       */
+      public Builder setPkgName(
+          java.lang.String value) {
+        if (value == null) { throw new NullPointerException(); }
+        pkgName_ = value;
+        bitField0_ |= 0x00000001;
+        onChanged();
+        return this;
+      }
+      /**
+       * string pkg_name = 1;
+       * @return This builder for chaining.
+       */
+      public Builder clearPkgName() {
+        pkgName_ = getDefaultInstance().getPkgName();
+        bitField0_ = (bitField0_ & ~0x00000001);
+        onChanged();
+        return this;
+      }
+      /**
+       * string pkg_name = 1;
+       * @param value The bytes for pkgName to set.
+       * @return This builder for chaining.
+       */
+      public Builder setPkgNameBytes(
+          com.google.protobuf.ByteString value) {
+        if (value == null) { throw new NullPointerException(); }
+        checkByteStringIsUtf8(value);
+        pkgName_ = value;
+        bitField0_ |= 0x00000001;
+        onChanged();
+        return this;
+      }
+
+      private java.lang.Object pkgPath_ = "";
+      /**
+       * string pkg_path = 2;
+       * @return The pkgPath.
+       */
+      public java.lang.String getPkgPath() {
+        java.lang.Object ref = pkgPath_;
+        if (!(ref instanceof java.lang.String)) {
+          com.google.protobuf.ByteString bs =
+              (com.google.protobuf.ByteString) ref;
+          java.lang.String s = bs.toStringUtf8();
+          pkgPath_ = s;
+          return s;
+        } else {
+          return (java.lang.String) ref;
+        }
+      }
+      /**
+       * string pkg_path = 2;
+       * @return The bytes for pkgPath.
+       */
+      public com.google.protobuf.ByteString
+          getPkgPathBytes() {
+        java.lang.Object ref = pkgPath_;
+        if (ref instanceof String) {
+          com.google.protobuf.ByteString b = 
+              com.google.protobuf.ByteString.copyFromUtf8(
+                  (java.lang.String) ref);
+          pkgPath_ = b;
+          return b;
+        } else {
+          return (com.google.protobuf.ByteString) ref;
+        }
+      }
+      /**
+       * string pkg_path = 2;
+       * @param value The pkgPath to set.
+       * @return This builder for chaining.
+       */
+      public Builder setPkgPath(
+          java.lang.String value) {
+        if (value == null) { throw new NullPointerException(); }
+        pkgPath_ = value;
+        bitField0_ |= 0x00000002;
+        onChanged();
+        return this;
+      }
+      /**
+       * string pkg_path = 2;
+       * @return This builder for chaining.
+       */
+      public Builder clearPkgPath() {
+        pkgPath_ = getDefaultInstance().getPkgPath();
+        bitField0_ = (bitField0_ & ~0x00000002);
+        onChanged();
+        return this;
+      }
+      /**
+       * string pkg_path = 2;
+       * @param value The bytes for pkgPath to set.
+       * @return This builder for chaining.
+       */
+      public Builder setPkgPathBytes(
+          com.google.protobuf.ByteString value) {
+        if (value == null) { throw new NullPointerException(); }
+        checkByteStringIsUtf8(value);
+        pkgPath_ = value;
+        bitField0_ |= 0x00000002;
+        onChanged();
+        return this;
+      }
+      @java.lang.Override
+      public final Builder setUnknownFields(
+          final com.google.protobuf.UnknownFieldSet unknownFields) {
+        return super.setUnknownFields(unknownFields);
+      }
+
+      @java.lang.Override
+      public final Builder mergeUnknownFields(
+          final com.google.protobuf.UnknownFieldSet unknownFields) {
+        return super.mergeUnknownFields(unknownFields);
+      }
+
+
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.CmdExternalPkgSpec)
+    }
 
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-            return com.kcl.api.Spec.internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor;
-        }
+    // @@protoc_insertion_point(class_scope:com.kcl.api.CmdExternalPkgSpec)
+    private static final com.kcl.api.Spec.CmdExternalPkgSpec DEFAULT_INSTANCE;
+    static {
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.CmdExternalPkgSpec();
+    }
 
-        @java.lang.Override
-        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
-            return com.kcl.api.Spec.internal_static_com_kcl_api_CmdExternalPkgSpec_fieldAccessorTable
-                    .ensureFieldAccessorsInitialized(com.kcl.api.Spec.CmdExternalPkgSpec.class,
-                            com.kcl.api.Spec.CmdExternalPkgSpec.Builder.class);
-        }
+    public static com.kcl.api.Spec.CmdExternalPkgSpec getDefaultInstance() {
+      return DEFAULT_INSTANCE;
+    }
 
-        public static final int PKG_NAME_FIELD_NUMBER = 1;
-        @SuppressWarnings("serial")
-        private volatile java.lang.Object pkgName_ = "";
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CmdExternalPkgSpec parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
+
+    public static com.google.protobuf.Parser parser() {
+      return PARSER;
+    }
 
-        /**
-         * string pkg_name = 1;
-         * 
-         * @return The pkgName.
-         */
-        @java.lang.Override
-        public java.lang.String getPkgName() {
-            java.lang.Object ref = pkgName_;
-            if (ref instanceof java.lang.String) {
-                return (java.lang.String) ref;
-            } else {
-                com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
-                java.lang.String s = bs.toStringUtf8();
-                pkgName_ = s;
-                return s;
-            }
-        }
+    @java.lang.Override
+    public com.google.protobuf.Parser getParserForType() {
+      return PARSER;
+    }
 
-        /**
-         * string pkg_name = 1;
-         * 
-         * @return The bytes for pkgName.
-         */
-        @java.lang.Override
-        public com.google.protobuf.ByteString getPkgNameBytes() {
-            java.lang.Object ref = pkgName_;
-            if (ref instanceof java.lang.String) {
-                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
-                pkgName_ = b;
-                return b;
-            } else {
-                return (com.google.protobuf.ByteString) ref;
-            }
-        }
+    @java.lang.Override
+    public com.kcl.api.Spec.CmdExternalPkgSpec getDefaultInstanceForType() {
+      return DEFAULT_INSTANCE;
+    }
 
-        public static final int PKG_PATH_FIELD_NUMBER = 2;
-        @SuppressWarnings("serial")
-        private volatile java.lang.Object pkgPath_ = "";
+  }
 
-        /**
-         * string pkg_path = 2;
-         * 
-         * @return The pkgPath.
-         */
-        @java.lang.Override
-        public java.lang.String getPkgPath() {
-            java.lang.Object ref = pkgPath_;
-            if (ref instanceof java.lang.String) {
-                return (java.lang.String) ref;
-            } else {
-                com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
-                java.lang.String s = bs.toStringUtf8();
-                pkgPath_ = s;
-                return s;
-            }
-        }
+  public interface CmdArgSpecOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.CmdArgSpec)
+      com.google.protobuf.MessageOrBuilder {
 
-        /**
-         * string pkg_path = 2;
-         * 
-         * @return The bytes for pkgPath.
-         */
-        @java.lang.Override
-        public com.google.protobuf.ByteString getPkgPathBytes() {
-            java.lang.Object ref = pkgPath_;
-            if (ref instanceof java.lang.String) {
-                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
-                pkgPath_ = b;
-                return b;
-            } else {
-                return (com.google.protobuf.ByteString) ref;
-            }
-        }
+    /**
+     * string name = 1;
+     * @return The name.
+     */
+    java.lang.String getName();
+    /**
+     * string name = 1;
+     * @return The bytes for name.
+     */
+    com.google.protobuf.ByteString
+        getNameBytes();
 
-        private byte memoizedIsInitialized = -1;
+    /**
+     * string value = 2;
+     * @return The value.
+     */
+    java.lang.String getValue();
+    /**
+     * string value = 2;
+     * @return The bytes for value.
+     */
+    com.google.protobuf.ByteString
+        getValueBytes();
+  }
+  /**
+   * 
+   * kcl main.k -D name=value
+   * 
+ * + * Protobuf type {@code com.kcl.api.CmdArgSpec} + */ + public static final class CmdArgSpec extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.CmdArgSpec) + CmdArgSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use CmdArgSpec.newBuilder() to construct. + private CmdArgSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CmdArgSpec() { + name_ = ""; + value_ = ""; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CmdArgSpec(); + } - memoizedIsInitialized = 1; - return true; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdArgSpec_descriptor; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pkgName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgPath_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pkgPath_); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdArgSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.CmdArgSpec.class, com.kcl.api.Spec.CmdArgSpec.Builder.class); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pkgName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgPath_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pkgPath_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.CmdExternalPkgSpec)) { - return super.equals(obj); - } - com.kcl.api.Spec.CmdExternalPkgSpec other = (com.kcl.api.Spec.CmdExternalPkgSpec) obj; + public static final int VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + * string value = 2; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + * string value = 2; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - if (!getPkgName().equals(other.getPkgName())) - return false; - if (!getPkgPath().equals(other.getPkgPath())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PKG_NAME_FIELD_NUMBER; - hash = (53 * hash) + getPkgName().hashCode(); - hash = (37 * hash) + PKG_PATH_FIELD_NUMBER; - hash = (53 * hash) + getPkgPath().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.CmdArgSpec)) { + return super.equals(obj); + } + com.kcl.api.Spec.CmdArgSpec other = (com.kcl.api.Spec.CmdArgSpec) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.CmdArgSpec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CmdArgSpec parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CmdArgSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CmdArgSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CmdArgSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CmdArgSpec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CmdArgSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.CmdArgSpec 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 com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.CmdArgSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.CmdArgSpec 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 com.kcl.api.Spec.CmdArgSpec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.CmdArgSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.CmdArgSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * kcl main.k -D name=value
+     * 
+ * + * Protobuf type {@code com.kcl.api.CmdArgSpec} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.CmdArgSpec) + com.kcl.api.Spec.CmdArgSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdArgSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdArgSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.CmdArgSpec.class, com.kcl.api.Spec.CmdArgSpec.Builder.class); + } + + // Construct using com.kcl.api.Spec.CmdArgSpec.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdArgSpec_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.CmdArgSpec getDefaultInstanceForType() { + return com.kcl.api.Spec.CmdArgSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.CmdArgSpec build() { + com.kcl.api.Spec.CmdArgSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.CmdArgSpec buildPartial() { + com.kcl.api.Spec.CmdArgSpec result = new com.kcl.api.Spec.CmdArgSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.CmdArgSpec result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.CmdArgSpec) { + return mergeFrom((com.kcl.api.Spec.CmdArgSpec)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.CmdArgSpec other) { + if (other == com.kcl.api.Spec.CmdArgSpec.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + /** + * string value = 2; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string value = 2; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string value = 2; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string value = 2; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string value = 2; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.CmdArgSpec) + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.CmdArgSpec) + private static final com.kcl.api.Spec.CmdArgSpec DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.CmdArgSpec(); + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.CmdArgSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.CmdExternalPkgSpec parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CmdArgSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + @java.lang.Override + public com.kcl.api.Spec.CmdArgSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static Builder newBuilder(com.kcl.api.Spec.CmdExternalPkgSpec prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public interface CmdOverrideSpecOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.CmdOverrideSpec) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * kcl main.k -E pkg_name=pkg_path
-         * 
- * - * Protobuf type {@code com.kcl.api.CmdExternalPkgSpec} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.CmdExternalPkgSpec) - com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor; - } + /** + * string pkgpath = 1; + * @return The pkgpath. + */ + java.lang.String getPkgpath(); + /** + * string pkgpath = 1; + * @return The bytes for pkgpath. + */ + com.google.protobuf.ByteString + getPkgpathBytes(); - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdExternalPkgSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.CmdExternalPkgSpec.class, - com.kcl.api.Spec.CmdExternalPkgSpec.Builder.class); - } + /** + * string field_path = 2; + * @return The fieldPath. + */ + java.lang.String getFieldPath(); + /** + * string field_path = 2; + * @return The bytes for fieldPath. + */ + com.google.protobuf.ByteString + getFieldPathBytes(); - // Construct using com.kcl.api.Spec.CmdExternalPkgSpec.newBuilder() - private Builder() { + /** + * string field_value = 3; + * @return The fieldValue. + */ + java.lang.String getFieldValue(); + /** + * string field_value = 3; + * @return The bytes for fieldValue. + */ + com.google.protobuf.ByteString + getFieldValueBytes(); - } + /** + * string action = 4; + * @return The action. + */ + java.lang.String getAction(); + /** + * string action = 4; + * @return The bytes for action. + */ + com.google.protobuf.ByteString + getActionBytes(); + } + /** + *
+   * kcl main.k -O pkgpath:path.to.field=field_value
+   * 
+ * + * Protobuf type {@code com.kcl.api.CmdOverrideSpec} + */ + public static final class CmdOverrideSpec extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.CmdOverrideSpec) + CmdOverrideSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use CmdOverrideSpec.newBuilder() to construct. + private CmdOverrideSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CmdOverrideSpec() { + pkgpath_ = ""; + fieldPath_ = ""; + fieldValue_ = ""; + action_ = ""; + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CmdOverrideSpec(); + } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdOverrideSpec_descriptor; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - pkgName_ = ""; - pkgPath_ = ""; - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdOverrideSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.CmdOverrideSpec.class, com.kcl.api.Spec.CmdOverrideSpec.Builder.class); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor; - } + public static final int PKGPATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgpath_ = ""; + /** + * string pkgpath = 1; + * @return The pkgpath. + */ + @java.lang.Override + public java.lang.String getPkgpath() { + java.lang.Object ref = pkgpath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgpath_ = s; + return s; + } + } + /** + * string pkgpath = 1; + * @return The bytes for pkgpath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgpathBytes() { + java.lang.Object ref = pkgpath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgpath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.CmdExternalPkgSpec getDefaultInstanceForType() { - return com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance(); - } + public static final int FIELD_PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object fieldPath_ = ""; + /** + * string field_path = 2; + * @return The fieldPath. + */ + @java.lang.Override + public java.lang.String getFieldPath() { + java.lang.Object ref = fieldPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fieldPath_ = s; + return s; + } + } + /** + * string field_path = 2; + * @return The bytes for fieldPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFieldPathBytes() { + java.lang.Object ref = fieldPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fieldPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.CmdExternalPkgSpec build() { - com.kcl.api.Spec.CmdExternalPkgSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static final int FIELD_VALUE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object fieldValue_ = ""; + /** + * string field_value = 3; + * @return The fieldValue. + */ + @java.lang.Override + public java.lang.String getFieldValue() { + java.lang.Object ref = fieldValue_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fieldValue_ = s; + return s; + } + } + /** + * string field_value = 3; + * @return The bytes for fieldValue. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFieldValueBytes() { + java.lang.Object ref = fieldValue_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fieldValue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.CmdExternalPkgSpec buildPartial() { - com.kcl.api.Spec.CmdExternalPkgSpec result = new com.kcl.api.Spec.CmdExternalPkgSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static final int ACTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object action_ = ""; + /** + * string action = 4; + * @return The action. + */ + @java.lang.Override + public java.lang.String getAction() { + java.lang.Object ref = action_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + action_ = s; + return s; + } + } + /** + * string action = 4; + * @return The bytes for action. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getActionBytes() { + java.lang.Object ref = action_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + action_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private void buildPartial0(com.kcl.api.Spec.CmdExternalPkgSpec result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.pkgName_ = pkgName_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.pkgPath_ = pkgPath_; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder clone() { - return super.clone(); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgpath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pkgpath_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldPath_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldValue_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fieldValue_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, action_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgpath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pkgpath_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldPath_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldValue_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fieldValue_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, action_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.CmdOverrideSpec)) { + return super.equals(obj); + } + com.kcl.api.Spec.CmdOverrideSpec other = (com.kcl.api.Spec.CmdOverrideSpec) obj; + + if (!getPkgpath() + .equals(other.getPkgpath())) return false; + if (!getFieldPath() + .equals(other.getFieldPath())) return false; + if (!getFieldValue() + .equals(other.getFieldValue())) return false; + if (!getAction() + .equals(other.getAction())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PKGPATH_FIELD_NUMBER; + hash = (53 * hash) + getPkgpath().hashCode(); + hash = (37 * hash) + FIELD_PATH_FIELD_NUMBER; + hash = (53 * hash) + getFieldPath().hashCode(); + hash = (37 * hash) + FIELD_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getFieldValue().hashCode(); + hash = (37 * hash) + ACTION_FIELD_NUMBER; + hash = (53 * hash) + getAction().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.CmdExternalPkgSpec) { - return mergeFrom((com.kcl.api.Spec.CmdExternalPkgSpec) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.CmdExternalPkgSpec other) { - if (other == com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()) - return this; - if (!other.getPkgName().isEmpty()) { - pkgName_ = other.pkgName_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getPkgPath().isEmpty()) { - pkgPath_ = other.pkgPath_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - pkgName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - pkgPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object pkgName_ = ""; - - /** - * string pkg_name = 1; - * - * @return The pkgName. - */ - public java.lang.String getPkgName() { - java.lang.Object ref = pkgName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.CmdOverrideSpec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CmdOverrideSpec parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CmdOverrideSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CmdOverrideSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CmdOverrideSpec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.CmdOverrideSpec parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * string pkg_name = 1; - * - * @return The bytes for pkgName. - */ - public com.google.protobuf.ByteString getPkgNameBytes() { - java.lang.Object ref = pkgName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.CmdOverrideSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * string pkg_name = 1; - * - * @param value - * The pkgName to set. - * - * @return This builder for chaining. - */ - public Builder setPkgName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgName_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static com.kcl.api.Spec.CmdOverrideSpec 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 com.kcl.api.Spec.CmdOverrideSpec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.CmdOverrideSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * string pkg_name = 1; - * - * @return This builder for chaining. - */ - public Builder clearPkgName() { - pkgName_ = getDefaultInstance().getPkgName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.CmdOverrideSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * string pkg_name = 1; - * - * @param value - * The bytes for pkgName to set. - * - * @return This builder for chaining. - */ - public Builder setPkgNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgName_ = value; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * kcl main.k -O pkgpath:path.to.field=field_value
+     * 
+ * + * Protobuf type {@code com.kcl.api.CmdOverrideSpec} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.CmdOverrideSpec) + com.kcl.api.Spec.CmdOverrideSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdOverrideSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdOverrideSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.CmdOverrideSpec.class, com.kcl.api.Spec.CmdOverrideSpec.Builder.class); + } + + // Construct using com.kcl.api.Spec.CmdOverrideSpec.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + pkgpath_ = ""; + fieldPath_ = ""; + fieldValue_ = ""; + action_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CmdOverrideSpec_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.CmdOverrideSpec getDefaultInstanceForType() { + return com.kcl.api.Spec.CmdOverrideSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.CmdOverrideSpec build() { + com.kcl.api.Spec.CmdOverrideSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.CmdOverrideSpec buildPartial() { + com.kcl.api.Spec.CmdOverrideSpec result = new com.kcl.api.Spec.CmdOverrideSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.CmdOverrideSpec result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.pkgpath_ = pkgpath_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.fieldPath_ = fieldPath_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.fieldValue_ = fieldValue_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.action_ = action_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.CmdOverrideSpec) { + return mergeFrom((com.kcl.api.Spec.CmdOverrideSpec)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.CmdOverrideSpec other) { + if (other == com.kcl.api.Spec.CmdOverrideSpec.getDefaultInstance()) return this; + if (!other.getPkgpath().isEmpty()) { + pkgpath_ = other.pkgpath_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getFieldPath().isEmpty()) { + fieldPath_ = other.fieldPath_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFieldValue().isEmpty()) { + fieldValue_ = other.fieldValue_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getAction().isEmpty()) { + action_ = other.action_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + pkgpath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object pkgPath_ = ""; - - /** - * string pkg_path = 2; - * - * @return The pkgPath. - */ - public java.lang.String getPkgPath() { - java.lang.Object ref = pkgPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string pkg_path = 2; - * - * @return The bytes for pkgPath. - */ - public com.google.protobuf.ByteString getPkgPathBytes() { - java.lang.Object ref = pkgPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string pkg_path = 2; - * - * @param value - * The pkgPath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string pkg_path = 2; - * - * @return This builder for chaining. - */ - public Builder clearPkgPath() { - pkgPath_ = getDefaultInstance().getPkgPath(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string pkg_path = 2; - * - * @param value - * The bytes for pkgPath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgPath_ = value; + break; + } // case 10 + case 18: { + fieldPath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; - onChanged(); - return this; - } + break; + } // case 18 + case 26: { + fieldValue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + action_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object pkgpath_ = ""; + /** + * string pkgpath = 1; + * @return The pkgpath. + */ + public java.lang.String getPkgpath() { + java.lang.Object ref = pkgpath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgpath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string pkgpath = 1; + * @return The bytes for pkgpath. + */ + public com.google.protobuf.ByteString + getPkgpathBytes() { + java.lang.Object ref = pkgpath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgpath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string pkgpath = 1; + * @param value The pkgpath to set. + * @return This builder for chaining. + */ + public Builder setPkgpath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pkgpath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string pkgpath = 1; + * @return This builder for chaining. + */ + public Builder clearPkgpath() { + pkgpath_ = getDefaultInstance().getPkgpath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string pkgpath = 1; + * @param value The bytes for pkgpath to set. + * @return This builder for chaining. + */ + public Builder setPkgpathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pkgpath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object fieldPath_ = ""; + /** + * string field_path = 2; + * @return The fieldPath. + */ + public java.lang.String getFieldPath() { + java.lang.Object ref = fieldPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fieldPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string field_path = 2; + * @return The bytes for fieldPath. + */ + public com.google.protobuf.ByteString + getFieldPathBytes() { + java.lang.Object ref = fieldPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fieldPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string field_path = 2; + * @param value The fieldPath to set. + * @return This builder for chaining. + */ + public Builder setFieldPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + fieldPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string field_path = 2; + * @return This builder for chaining. + */ + public Builder clearFieldPath() { + fieldPath_ = getDefaultInstance().getFieldPath(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string field_path = 2; + * @param value The bytes for fieldPath to set. + * @return This builder for chaining. + */ + public Builder setFieldPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + fieldPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object fieldValue_ = ""; + /** + * string field_value = 3; + * @return The fieldValue. + */ + public java.lang.String getFieldValue() { + java.lang.Object ref = fieldValue_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fieldValue_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string field_value = 3; + * @return The bytes for fieldValue. + */ + public com.google.protobuf.ByteString + getFieldValueBytes() { + java.lang.Object ref = fieldValue_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fieldValue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string field_value = 3; + * @param value The fieldValue to set. + * @return This builder for chaining. + */ + public Builder setFieldValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + fieldValue_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string field_value = 3; + * @return This builder for chaining. + */ + public Builder clearFieldValue() { + fieldValue_ = getDefaultInstance().getFieldValue(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string field_value = 3; + * @param value The bytes for fieldValue to set. + * @return This builder for chaining. + */ + public Builder setFieldValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + fieldValue_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object action_ = ""; + /** + * string action = 4; + * @return The action. + */ + public java.lang.String getAction() { + java.lang.Object ref = action_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + action_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string action = 4; + * @return The bytes for action. + */ + public com.google.protobuf.ByteString + getActionBytes() { + java.lang.Object ref = action_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + action_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string action = 4; + * @param value The action to set. + * @return This builder for chaining. + */ + public Builder setAction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + action_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string action = 4; + * @return This builder for chaining. + */ + public Builder clearAction() { + action_ = getDefaultInstance().getAction(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string action = 4; + * @param value The bytes for action to set. + * @return This builder for chaining. + */ + public Builder setActionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + action_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.CmdOverrideSpec) + } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.CmdOverrideSpec) + private static final com.kcl.api.Spec.CmdOverrideSpec DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.CmdOverrideSpec(); + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + public static com.kcl.api.Spec.CmdOverrideSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.CmdExternalPkgSpec) - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CmdOverrideSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.CmdExternalPkgSpec) - private static final com.kcl.api.Spec.CmdExternalPkgSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.CmdExternalPkgSpec(); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.CmdExternalPkgSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public com.kcl.api.Spec.CmdOverrideSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CmdExternalPkgSpec parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public interface ErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Error) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * string level = 1; + * @return The level. + */ + java.lang.String getLevel(); + /** + * string level = 1; + * @return The bytes for level. + */ + com.google.protobuf.ByteString + getLevelBytes(); - @java.lang.Override - public com.kcl.api.Spec.CmdExternalPkgSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * string code = 2; + * @return The code. + */ + java.lang.String getCode(); + /** + * string code = 2; + * @return The bytes for code. + */ + com.google.protobuf.ByteString + getCodeBytes(); + /** + * repeated .com.kcl.api.Message messages = 3; + */ + java.util.List + getMessagesList(); + /** + * repeated .com.kcl.api.Message messages = 3; + */ + com.kcl.api.Spec.Message getMessages(int index); + /** + * repeated .com.kcl.api.Message messages = 3; + */ + int getMessagesCount(); + /** + * repeated .com.kcl.api.Message messages = 3; + */ + java.util.List + getMessagesOrBuilderList(); + /** + * repeated .com.kcl.api.Message messages = 3; + */ + com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.Error} + */ + public static final class Error extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Error) + ErrorOrBuilder { + private static final long serialVersionUID = 0L; + // Use Error.newBuilder() to construct. + private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Error() { + level_ = ""; + code_ = ""; + messages_ = java.util.Collections.emptyList(); } - public interface CmdArgSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.CmdArgSpec) - com.google.protobuf.MessageOrBuilder { + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Error(); + } - /** - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; + } - /** - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Error_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Error.class, com.kcl.api.Spec.Error.Builder.class); + } - /** - * string value = 2; - * - * @return The value. - */ - java.lang.String getValue(); + public static final int LEVEL_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object level_ = ""; + /** + * string level = 1; + * @return The level. + */ + @java.lang.Override + public java.lang.String getLevel() { + java.lang.Object ref = level_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + level_ = s; + return s; + } + } + /** + * string level = 1; + * @return The bytes for level. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLevelBytes() { + java.lang.Object ref = level_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + level_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * string value = 2; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); + public static final int CODE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object code_ = ""; + /** + * string code = 2; + * @return The code. + */ + @java.lang.Override + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } + } + /** + * string code = 2; + * @return The bytes for code. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + public static final int MESSAGES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List messages_; /** - *
-     * kcl main.k -D name=value
-     * 
- * - * Protobuf type {@code com.kcl.api.CmdArgSpec} + * repeated .com.kcl.api.Message messages = 3; + */ + @java.lang.Override + public java.util.List getMessagesList() { + return messages_; + } + /** + * repeated .com.kcl.api.Message messages = 3; */ - public static final class CmdArgSpec extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.CmdArgSpec) - CmdArgSpecOrBuilder { - private static final long serialVersionUID = 0L; + @java.lang.Override + public java.util.List + getMessagesOrBuilderList() { + return messages_; + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + @java.lang.Override + public int getMessagesCount() { + return messages_.size(); + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.Message getMessages(int index) { + return messages_.get(index); + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder( + int index) { + return messages_.get(index); + } - // Use CmdArgSpec.newBuilder() to construct. - private CmdArgSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private CmdArgSpec() { - name_ = ""; - value_ = ""; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CmdArgSpec(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(level_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, level_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_); + } + for (int i = 0; i < messages_.size(); i++) { + output.writeMessage(3, messages_.get(i)); + } + getUnknownFields().writeTo(output); + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdArgSpec_descriptor; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(level_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, level_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_); + } + for (int i = 0; i < messages_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, messages_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdArgSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.CmdArgSpec.class, - com.kcl.api.Spec.CmdArgSpec.Builder.class); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Error)) { + return super.equals(obj); + } + com.kcl.api.Spec.Error other = (com.kcl.api.Spec.Error) obj; + + if (!getLevel() + .equals(other.getLevel())) return false; + if (!getCode() + .equals(other.getCode())) return false; + if (!getMessagesList() + .equals(other.getMessagesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLevel().hashCode(); + hash = (37 * hash) + CODE_FIELD_NUMBER; + hash = (53 * hash) + getCode().hashCode(); + if (getMessagesCount() > 0) { + hash = (37 * hash) + MESSAGES_FIELD_NUMBER; + hash = (53 * hash) + getMessagesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } + public static com.kcl.api.Spec.Error parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Error parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Error parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Error parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Error parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Error parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Error parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Error parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.Error parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static final int VALUE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; + public static com.kcl.api.Spec.Error 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 com.kcl.api.Spec.Error parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Error parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * string value = 2; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Error prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * string value = 2; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Error} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Error) + com.kcl.api.Spec.ErrorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Error_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Error.class, com.kcl.api.Spec.Error.Builder.class); + } + + // Construct using com.kcl.api.Spec.Error.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + level_ = ""; + code_ = ""; + if (messagesBuilder_ == null) { + messages_ = java.util.Collections.emptyList(); + } else { + messages_ = null; + messagesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Error getDefaultInstanceForType() { + return com.kcl.api.Spec.Error.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Error build() { + com.kcl.api.Spec.Error result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Error buildPartial() { + com.kcl.api.Spec.Error result = new com.kcl.api.Spec.Error(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.Error result) { + if (messagesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + messages_ = java.util.Collections.unmodifiableList(messages_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.messages_ = messages_; + } else { + result.messages_ = messagesBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.Error result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.level_ = level_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.code_ = code_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Error) { + return mergeFrom((com.kcl.api.Spec.Error)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Error other) { + if (other == com.kcl.api.Spec.Error.getDefaultInstance()) return this; + if (!other.getLevel().isEmpty()) { + level_ = other.level_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getCode().isEmpty()) { + code_ = other.code_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (messagesBuilder_ == null) { + if (!other.messages_.isEmpty()) { + if (messages_.isEmpty()) { + messages_ = other.messages_; + bitField0_ = (bitField0_ & ~0x00000004); } else { - return (com.google.protobuf.ByteString) ref; - } - } + ensureMessagesIsMutable(); + messages_.addAll(other.messages_); + } + onChanged(); + } + } else { + if (!other.messages_.isEmpty()) { + if (messagesBuilder_.isEmpty()) { + messagesBuilder_.dispose(); + messagesBuilder_ = null; + messages_ = other.messages_; + bitField0_ = (bitField0_ & ~0x00000004); + messagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMessagesFieldBuilder() : null; + } else { + messagesBuilder_.addAllMessages(other.messages_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + level_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + code_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.kcl.api.Spec.Message m = + input.readMessage( + com.kcl.api.Spec.Message.parser(), + extensionRegistry); + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.add(m); + } else { + messagesBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object level_ = ""; + /** + * string level = 1; + * @return The level. + */ + public java.lang.String getLevel() { + java.lang.Object ref = level_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + level_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string level = 1; + * @return The bytes for level. + */ + public com.google.protobuf.ByteString + getLevelBytes() { + java.lang.Object ref = level_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + level_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string level = 1; + * @param value The level to set. + * @return This builder for chaining. + */ + public Builder setLevel( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + level_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string level = 1; + * @return This builder for chaining. + */ + public Builder clearLevel() { + level_ = getDefaultInstance().getLevel(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string level = 1; + * @param value The bytes for level to set. + * @return This builder for chaining. + */ + public Builder setLevelBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + level_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object code_ = ""; + /** + * string code = 2; + * @return The code. + */ + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string code = 2; + * @return The bytes for code. + */ + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string code = 2; + * @param value The code to set. + * @return This builder for chaining. + */ + public Builder setCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + code_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string code = 2; + * @return This builder for chaining. + */ + public Builder clearCode() { + code_ = getDefaultInstance().getCode(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string code = 2; + * @param value The bytes for code to set. + * @return This builder for chaining. + */ + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + code_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List messages_ = + java.util.Collections.emptyList(); + private void ensureMessagesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + messages_ = new java.util.ArrayList(messages_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Message, com.kcl.api.Spec.Message.Builder, com.kcl.api.Spec.MessageOrBuilder> messagesBuilder_; + + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public java.util.List getMessagesList() { + if (messagesBuilder_ == null) { + return java.util.Collections.unmodifiableList(messages_); + } else { + return messagesBuilder_.getMessageList(); + } + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public int getMessagesCount() { + if (messagesBuilder_ == null) { + return messages_.size(); + } else { + return messagesBuilder_.getCount(); + } + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public com.kcl.api.Spec.Message getMessages(int index) { + if (messagesBuilder_ == null) { + return messages_.get(index); + } else { + return messagesBuilder_.getMessage(index); + } + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder setMessages( + int index, com.kcl.api.Spec.Message value) { + if (messagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMessagesIsMutable(); + messages_.set(index, value); + onChanged(); + } else { + messagesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder setMessages( + int index, com.kcl.api.Spec.Message.Builder builderForValue) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.set(index, builderForValue.build()); + onChanged(); + } else { + messagesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder addMessages(com.kcl.api.Spec.Message value) { + if (messagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMessagesIsMutable(); + messages_.add(value); + onChanged(); + } else { + messagesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder addMessages( + int index, com.kcl.api.Spec.Message value) { + if (messagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMessagesIsMutable(); + messages_.add(index, value); + onChanged(); + } else { + messagesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder addMessages( + com.kcl.api.Spec.Message.Builder builderForValue) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.add(builderForValue.build()); + onChanged(); + } else { + messagesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder addMessages( + int index, com.kcl.api.Spec.Message.Builder builderForValue) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.add(index, builderForValue.build()); + onChanged(); + } else { + messagesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder addAllMessages( + java.lang.Iterable values) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, messages_); + onChanged(); + } else { + messagesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder clearMessages() { + if (messagesBuilder_ == null) { + messages_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + messagesBuilder_.clear(); + } + return this; + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder removeMessages(int index) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.remove(index); + onChanged(); + } else { + messagesBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public com.kcl.api.Spec.Message.Builder getMessagesBuilder( + int index) { + return getMessagesFieldBuilder().getBuilder(index); + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder( + int index) { + if (messagesBuilder_ == null) { + return messages_.get(index); } else { + return messagesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public java.util.List + getMessagesOrBuilderList() { + if (messagesBuilder_ != null) { + return messagesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(messages_); + } + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public com.kcl.api.Spec.Message.Builder addMessagesBuilder() { + return getMessagesFieldBuilder().addBuilder( + com.kcl.api.Spec.Message.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public com.kcl.api.Spec.Message.Builder addMessagesBuilder( + int index) { + return getMessagesFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Message.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.Message messages = 3; + */ + public java.util.List + getMessagesBuilderList() { + return getMessagesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Message, com.kcl.api.Spec.Message.Builder, com.kcl.api.Spec.MessageOrBuilder> + getMessagesFieldBuilder() { + if (messagesBuilder_ == null) { + messagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Message, com.kcl.api.Spec.Message.Builder, com.kcl.api.Spec.MessageOrBuilder>( + messages_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + messages_ = null; + } + return messagesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Error) + } - private byte memoizedIsInitialized = -1; + // @@protoc_insertion_point(class_scope:com.kcl.api.Error) + private static final com.kcl.api.Spec.Error DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Error(); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.Error getDefaultInstance() { + return DEFAULT_INSTANCE; + } - memoizedIsInitialized = 1; - return true; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public com.kcl.api.Spec.Error getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.CmdArgSpec)) { - return super.equals(obj); - } - com.kcl.api.Spec.CmdArgSpec other = (com.kcl.api.Spec.CmdArgSpec) obj; + } - if (!getName().equals(other.getName())) - return false; - if (!getValue().equals(other.getValue())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public interface MessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Message) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + /** + * string msg = 1; + * @return The msg. + */ + java.lang.String getMsg(); + /** + * string msg = 1; + * @return The bytes for msg. + */ + com.google.protobuf.ByteString + getMsgBytes(); - public static com.kcl.api.Spec.CmdArgSpec parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * .com.kcl.api.Position pos = 2; + * @return Whether the pos field is set. + */ + boolean hasPos(); + /** + * .com.kcl.api.Position pos = 2; + * @return The pos. + */ + com.kcl.api.Spec.Position getPos(); + /** + * .com.kcl.api.Position pos = 2; + */ + com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder(); + } + /** + * Protobuf type {@code com.kcl.api.Message} + */ + public static final class Message extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Message) + MessageOrBuilder { + private static final long serialVersionUID = 0L; + // Use Message.newBuilder() to construct. + private Message(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Message() { + msg_ = ""; + } - public static com.kcl.api.Spec.CmdArgSpec parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Message(); + } - public static com.kcl.api.Spec.CmdArgSpec parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; + } - public static com.kcl.api.Spec.CmdArgSpec parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Message_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Message.class, com.kcl.api.Spec.Message.Builder.class); + } - public static com.kcl.api.Spec.CmdArgSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private int bitField0_; + public static final int MSG_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object msg_ = ""; + /** + * string msg = 1; + * @return The msg. + */ + @java.lang.Override + public java.lang.String getMsg() { + java.lang.Object ref = msg_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + msg_ = s; + return s; + } + } + /** + * string msg = 1; + * @return The bytes for msg. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMsgBytes() { + java.lang.Object ref = msg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + msg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.CmdArgSpec parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final int POS_FIELD_NUMBER = 2; + private com.kcl.api.Spec.Position pos_; + /** + * .com.kcl.api.Position pos = 2; + * @return Whether the pos field is set. + */ + @java.lang.Override + public boolean hasPos() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.Position pos = 2; + * @return The pos. + */ + @java.lang.Override + public com.kcl.api.Spec.Position getPos() { + return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; + } + /** + * .com.kcl.api.Position pos = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder() { + return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; + } - public static com.kcl.api.Spec.CmdArgSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.CmdArgSpec parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.CmdArgSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msg_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, msg_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getPos()); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.CmdArgSpec parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msg_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, msg_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPos()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.CmdArgSpec parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.CmdArgSpec parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Message)) { + return super.equals(obj); + } + com.kcl.api.Spec.Message other = (com.kcl.api.Spec.Message) obj; + + if (!getMsg() + .equals(other.getMsg())) return false; + if (hasPos() != other.hasPos()) return false; + if (hasPos()) { + if (!getPos() + .equals(other.getPos())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MSG_FIELD_NUMBER; + hash = (53 * hash) + getMsg().hashCode(); + if (hasPos()) { + hash = (37 * hash) + POS_FIELD_NUMBER; + hash = (53 * hash) + getPos().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static com.kcl.api.Spec.Message parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Message parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Message parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Message parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Message parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Message parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Message parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Message 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 Builder newBuilder(com.kcl.api.Spec.CmdArgSpec prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static com.kcl.api.Spec.Message parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static com.kcl.api.Spec.Message 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 com.kcl.api.Spec.Message parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Message parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * kcl main.k -D name=value
-         * 
- * - * Protobuf type {@code com.kcl.api.CmdArgSpec} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.CmdArgSpec) - com.kcl.api.Spec.CmdArgSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdArgSpec_descriptor; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Message prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdArgSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.CmdArgSpec.class, - com.kcl.api.Spec.CmdArgSpec.Builder.class); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Message} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Message) + com.kcl.api.Spec.MessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Message_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Message.class, com.kcl.api.Spec.Message.Builder.class); + } + + // Construct using com.kcl.api.Spec.Message.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPosFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + msg_ = ""; + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Message getDefaultInstanceForType() { + return com.kcl.api.Spec.Message.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Message build() { + com.kcl.api.Spec.Message result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Message buildPartial() { + com.kcl.api.Spec.Message result = new com.kcl.api.Spec.Message(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Message result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.msg_ = msg_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pos_ = posBuilder_ == null + ? pos_ + : posBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Message) { + return mergeFrom((com.kcl.api.Spec.Message)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Message other) { + if (other == com.kcl.api.Spec.Message.getDefaultInstance()) return this; + if (!other.getMsg().isEmpty()) { + msg_ = other.msg_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasPos()) { + mergePos(other.getPos()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + msg_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getPosFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object msg_ = ""; + /** + * string msg = 1; + * @return The msg. + */ + public java.lang.String getMsg() { + java.lang.Object ref = msg_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + msg_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string msg = 1; + * @return The bytes for msg. + */ + public com.google.protobuf.ByteString + getMsgBytes() { + java.lang.Object ref = msg_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + msg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string msg = 1; + * @param value The msg to set. + * @return This builder for chaining. + */ + public Builder setMsg( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + msg_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string msg = 1; + * @return This builder for chaining. + */ + public Builder clearMsg() { + msg_ = getDefaultInstance().getMsg(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string msg = 1; + * @param value The bytes for msg to set. + * @return This builder for chaining. + */ + public Builder setMsgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + msg_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.kcl.api.Spec.Position pos_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.Position, com.kcl.api.Spec.Position.Builder, com.kcl.api.Spec.PositionOrBuilder> posBuilder_; + /** + * .com.kcl.api.Position pos = 2; + * @return Whether the pos field is set. + */ + public boolean hasPos() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .com.kcl.api.Position pos = 2; + * @return The pos. + */ + public com.kcl.api.Spec.Position getPos() { + if (posBuilder_ == null) { + return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; + } else { + return posBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.Position pos = 2; + */ + public Builder setPos(com.kcl.api.Spec.Position value) { + if (posBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + pos_ = value; + } else { + posBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .com.kcl.api.Position pos = 2; + */ + public Builder setPos( + com.kcl.api.Spec.Position.Builder builderForValue) { + if (posBuilder_ == null) { + pos_ = builderForValue.build(); + } else { + posBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .com.kcl.api.Position pos = 2; + */ + public Builder mergePos(com.kcl.api.Spec.Position value) { + if (posBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + pos_ != null && + pos_ != com.kcl.api.Spec.Position.getDefaultInstance()) { + getPosBuilder().mergeFrom(value); + } else { + pos_ = value; + } + } else { + posBuilder_.mergeFrom(value); + } + if (pos_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.Position pos = 2; + */ + public Builder clearPos() { + bitField0_ = (bitField0_ & ~0x00000002); + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.Position pos = 2; + */ + public com.kcl.api.Spec.Position.Builder getPosBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getPosFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.Position pos = 2; + */ + public com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder() { + if (posBuilder_ != null) { + return posBuilder_.getMessageOrBuilder(); + } else { + return pos_ == null ? + com.kcl.api.Spec.Position.getDefaultInstance() : pos_; + } + } + /** + * .com.kcl.api.Position pos = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.Position, com.kcl.api.Spec.Position.Builder, com.kcl.api.Spec.PositionOrBuilder> + getPosFieldBuilder() { + if (posBuilder_ == null) { + posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.Position, com.kcl.api.Spec.Position.Builder, com.kcl.api.Spec.PositionOrBuilder>( + getPos(), + getParentForChildren(), + isClean()); + pos_ = null; + } + return posBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Message) + } - // Construct using com.kcl.api.Spec.CmdArgSpec.newBuilder() - private Builder() { + // @@protoc_insertion_point(class_scope:com.kcl.api.Message) + private static final com.kcl.api.Spec.Message DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Message(); + } - } + public static com.kcl.api.Spec.Message getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Message parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - value_ = ""; - return this; - } + @java.lang.Override + public com.kcl.api.Spec.Message getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdArgSpec_descriptor; - } + } - @java.lang.Override - public com.kcl.api.Spec.CmdArgSpec getDefaultInstanceForType() { - return com.kcl.api.Spec.CmdArgSpec.getDefaultInstance(); - } + public interface Ping_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Ping_Args) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.kcl.api.Spec.CmdArgSpec build() { - com.kcl.api.Spec.CmdArgSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + /** + * string value = 1; + * @return The value. + */ + java.lang.String getValue(); + /** + * string value = 1; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); + } + /** + * Protobuf type {@code com.kcl.api.Ping_Args} + */ + public static final class Ping_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Ping_Args) + Ping_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use Ping_Args.newBuilder() to construct. + private Ping_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Ping_Args() { + value_ = ""; + } - @java.lang.Override - public com.kcl.api.Spec.CmdArgSpec buildPartial() { - com.kcl.api.Spec.CmdArgSpec result = new com.kcl.api.Spec.CmdArgSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Ping_Args(); + } - private void buildPartial0(com.kcl.api.Spec.CmdArgSpec result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = value_; - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Ping_Args.class, com.kcl.api.Spec.Ping_Args.Builder.class); + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + public static final int VALUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + * string value = 1; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + * string value = 1; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.CmdArgSpec) { - return mergeFrom((com.kcl.api.Spec.CmdArgSpec) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Ping_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.Ping_Args other = (com.kcl.api.Spec.Ping_Args) obj; + + if (!getValue() + .equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public Builder mergeFrom(com.kcl.api.Spec.CmdArgSpec other) { - if (other == com.kcl.api.Spec.CmdArgSpec.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static com.kcl.api.Spec.Ping_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Ping_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Ping_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Ping_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Ping_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Ping_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Ping_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Ping_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + public static com.kcl.api.Spec.Ping_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.Ping_Args 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 com.kcl.api.Spec.Ping_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Ping_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Ping_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * string name = 1; - * - * @param value - * The name to set. - * - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Ping_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Ping_Args) + com.kcl.api.Spec.Ping_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Ping_Args.class, com.kcl.api.Spec.Ping_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.Ping_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Ping_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.Ping_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Ping_Args build() { + com.kcl.api.Spec.Ping_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Ping_Args buildPartial() { + com.kcl.api.Spec.Ping_Args result = new com.kcl.api.Spec.Ping_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Ping_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Ping_Args) { + return mergeFrom((com.kcl.api.Spec.Ping_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Ping_Args other) { + if (other == com.kcl.api.Spec.Ping_Args.getDefaultInstance()) return this; + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + value_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; - onChanged(); - return this; - } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object value_ = ""; + /** + * string value = 1; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string value = 1; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string value = 1; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string value = 1; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string value = 1; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Ping_Args) + } - /** - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Ping_Args) + private static final com.kcl.api.Spec.Ping_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Ping_Args(); + } - /** - * string name = 1; - * - * @param value - * The bytes for name to set. - * - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static com.kcl.api.Spec.Ping_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private java.lang.Object value_ = ""; - - /** - * string value = 2; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Ping_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * string value = 2; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * string value = 2; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.Ping_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * string value = 2; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + } - /** - * string value = 2; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public interface Ping_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Ping_Result) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + /** + * string value = 1; + * @return The value. + */ + java.lang.String getValue(); + /** + * string value = 1; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); + } + /** + * Protobuf type {@code com.kcl.api.Ping_Result} + */ + public static final class Ping_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Ping_Result) + Ping_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use Ping_Result.newBuilder() to construct. + private Ping_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Ping_Result() { + value_ = ""; + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Ping_Result(); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.CmdArgSpec) - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.CmdArgSpec) - private static final com.kcl.api.Spec.CmdArgSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.CmdArgSpec(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Ping_Result.class, com.kcl.api.Spec.Ping_Result.Builder.class); + } - public static com.kcl.api.Spec.CmdArgSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static final int VALUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + * string value = 1; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + * string value = 1; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CmdArgSpec parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.google.protobuf.Parser parser() { - return PARSER; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public com.kcl.api.Spec.CmdArgSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CmdOverrideSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.CmdOverrideSpec) - com.google.protobuf.MessageOrBuilder { - - /** - * string pkgpath = 1; - * - * @return The pkgpath. - */ - java.lang.String getPkgpath(); - - /** - * string pkgpath = 1; - * - * @return The bytes for pkgpath. - */ - com.google.protobuf.ByteString getPkgpathBytes(); - - /** - * string field_path = 2; - * - * @return The fieldPath. - */ - java.lang.String getFieldPath(); - - /** - * string field_path = 2; - * - * @return The bytes for fieldPath. - */ - com.google.protobuf.ByteString getFieldPathBytes(); - - /** - * string field_value = 3; - * - * @return The fieldValue. - */ - java.lang.String getFieldValue(); - - /** - * string field_value = 3; - * - * @return The bytes for fieldValue. - */ - com.google.protobuf.ByteString getFieldValueBytes(); - - /** - * string action = 4; - * - * @return The action. - */ - java.lang.String getAction(); - - /** - * string action = 4; - * - * @return The bytes for action. - */ - com.google.protobuf.ByteString getActionBytes(); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; } - /** - *
-     * kcl main.k -O pkgpath:path.to.field=field_value
-     * 
- * - * Protobuf type {@code com.kcl.api.CmdOverrideSpec} - */ - public static final class CmdOverrideSpec extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.CmdOverrideSpec) - CmdOverrideSpecOrBuilder { - private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Ping_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.Ping_Result other = (com.kcl.api.Spec.Ping_Result) obj; + + if (!getValue() + .equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - // Use CmdOverrideSpec.newBuilder() to construct. - private CmdOverrideSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private CmdOverrideSpec() { - pkgpath_ = ""; - fieldPath_ = ""; - fieldValue_ = ""; - action_ = ""; - } + public static com.kcl.api.Spec.Ping_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Ping_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Ping_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Ping_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Ping_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Ping_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Ping_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Ping_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CmdOverrideSpec(); - } + public static com.kcl.api.Spec.Ping_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdOverrideSpec_descriptor; - } + public static com.kcl.api.Spec.Ping_Result 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 com.kcl.api.Spec.Ping_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Ping_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdOverrideSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.CmdOverrideSpec.class, - com.kcl.api.Spec.CmdOverrideSpec.Builder.class); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Ping_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static final int PKGPATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object pkgpath_ = ""; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Ping_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Ping_Result) + com.kcl.api.Spec.Ping_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Ping_Result.class, com.kcl.api.Spec.Ping_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.Ping_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Ping_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.Ping_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Ping_Result build() { + com.kcl.api.Spec.Ping_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Ping_Result buildPartial() { + com.kcl.api.Spec.Ping_Result result = new com.kcl.api.Spec.Ping_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Ping_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Ping_Result) { + return mergeFrom((com.kcl.api.Spec.Ping_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Ping_Result other) { + if (other == com.kcl.api.Spec.Ping_Result.getDefaultInstance()) return this; + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object value_ = ""; + /** + * string value = 1; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string value = 1; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string value = 1; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string value = 1; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string value = 1; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Ping_Result) + } - /** - * string pkgpath = 1; - * - * @return The pkgpath. - */ - @java.lang.Override - public java.lang.String getPkgpath() { - java.lang.Object ref = pkgpath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgpath_ = s; - return s; - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Ping_Result) + private static final com.kcl.api.Spec.Ping_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Ping_Result(); + } - /** - * string pkgpath = 1; - * - * @return The bytes for pkgpath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPkgpathBytes() { - java.lang.Object ref = pkgpath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pkgpath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.Ping_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static final int FIELD_PATH_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object fieldPath_ = ""; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Ping_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * string field_path = 2; - * - * @return The fieldPath. - */ - @java.lang.Override - public java.lang.String getFieldPath() { - java.lang.Object ref = fieldPath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - fieldPath_ = s; - return s; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * string field_path = 2; - * - * @return The bytes for fieldPath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFieldPathBytes() { - java.lang.Object ref = fieldPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - fieldPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public com.kcl.api.Spec.Ping_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static final int FIELD_VALUE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object fieldValue_ = ""; + } + + public interface ListMethod_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethod_Args) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * empty
+   * 
+ * + * Protobuf type {@code com.kcl.api.ListMethod_Args} + */ + public static final class ListMethod_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethod_Args) + ListMethod_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListMethod_Args.newBuilder() to construct. + private ListMethod_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListMethod_Args() { + } - /** - * string field_value = 3; - * - * @return The fieldValue. - */ - @java.lang.Override - public java.lang.String getFieldValue() { - java.lang.Object ref = fieldValue_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - fieldValue_ = s; - return s; - } - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListMethod_Args(); + } - /** - * string field_value = 3; - * - * @return The bytes for fieldValue. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFieldValueBytes() { - java.lang.Object ref = fieldValue_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - fieldValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; + } - public static final int ACTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object action_ = ""; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListMethod_Args.class, com.kcl.api.Spec.ListMethod_Args.Builder.class); + } - /** - * string action = 4; - * - * @return The action. - */ - @java.lang.Override - public java.lang.String getAction() { - java.lang.Object ref = action_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - action_ = s; - return s; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - * string action = 4; - * - * @return The bytes for action. - */ - @java.lang.Override - public com.google.protobuf.ByteString getActionBytes() { - java.lang.Object ref = action_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - action_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + memoizedIsInitialized = 1; + return true; + } - private byte memoizedIsInitialized = -1; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - memoizedIsInitialized = 1; - return true; - } + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgpath_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pkgpath_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldPath_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldValue_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fieldValue_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, action_); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListMethod_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListMethod_Args other = (com.kcl.api.Spec.ListMethod_Args) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgpath_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pkgpath_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldPath_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldValue_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fieldValue_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, action_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.CmdOverrideSpec)) { - return super.equals(obj); - } - com.kcl.api.Spec.CmdOverrideSpec other = (com.kcl.api.Spec.CmdOverrideSpec) obj; + public static com.kcl.api.Spec.ListMethod_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethod_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethod_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethod_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethod_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethod_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethod_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListMethod_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - if (!getPkgpath().equals(other.getPkgpath())) - return false; - if (!getFieldPath().equals(other.getFieldPath())) - return false; - if (!getFieldValue().equals(other.getFieldValue())) - return false; - if (!getAction().equals(other.getAction())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public static com.kcl.api.Spec.ListMethod_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PKGPATH_FIELD_NUMBER; - hash = (53 * hash) + getPkgpath().hashCode(); - hash = (37 * hash) + FIELD_PATH_FIELD_NUMBER; - hash = (53 * hash) + getFieldPath().hashCode(); - hash = (37 * hash) + FIELD_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getFieldValue().hashCode(); - hash = (37 * hash) + ACTION_FIELD_NUMBER; - hash = (53 * hash) + getAction().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static com.kcl.api.Spec.ListMethod_Args 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 com.kcl.api.Spec.ListMethod_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListMethod_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListMethod_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * empty
+     * 
+ * + * Protobuf type {@code com.kcl.api.ListMethod_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethod_Args) + com.kcl.api.Spec.ListMethod_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListMethod_Args.class, com.kcl.api.Spec.ListMethod_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListMethod_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethod_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.ListMethod_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethod_Args build() { + com.kcl.api.Spec.ListMethod_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethod_Args buildPartial() { + com.kcl.api.Spec.ListMethod_Args result = new com.kcl.api.Spec.ListMethod_Args(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListMethod_Args) { + return mergeFrom((com.kcl.api.Spec.ListMethod_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListMethod_Args other) { + if (other == com.kcl.api.Spec.ListMethod_Args.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethod_Args) + } - public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethod_Args) + private static final com.kcl.api.Spec.ListMethod_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethod_Args(); + } - public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.ListMethod_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMethod_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public com.kcl.api.Spec.ListMethod_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.CmdOverrideSpec 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 com.kcl.api.Spec.CmdOverrideSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + public interface ListMethod_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethod_Result) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.CmdOverrideSpec parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + /** + * repeated string method_name_list = 1; + * @return A list containing the methodNameList. + */ + java.util.List + getMethodNameListList(); + /** + * repeated string method_name_list = 1; + * @return The count of methodNameList. + */ + int getMethodNameListCount(); + /** + * repeated string method_name_list = 1; + * @param index The index of the element to return. + * @return The methodNameList at the given index. + */ + java.lang.String getMethodNameList(int index); + /** + * repeated string method_name_list = 1; + * @param index The index of the value to return. + * @return The bytes of the methodNameList at the given index. + */ + com.google.protobuf.ByteString + getMethodNameListBytes(int index); + } + /** + * Protobuf type {@code com.kcl.api.ListMethod_Result} + */ + public static final class ListMethod_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethod_Result) + ListMethod_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListMethod_Result.newBuilder() to construct. + private ListMethod_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListMethod_Result() { + methodNameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListMethod_Result(); + } - public static com.kcl.api.Spec.CmdOverrideSpec parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListMethod_Result.class, com.kcl.api.Spec.ListMethod_Result.Builder.class); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static final int METHOD_NAME_LIST_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList methodNameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string method_name_list = 1; + * @return A list containing the methodNameList. + */ + public com.google.protobuf.ProtocolStringList + getMethodNameListList() { + return methodNameList_; + } + /** + * repeated string method_name_list = 1; + * @return The count of methodNameList. + */ + public int getMethodNameListCount() { + return methodNameList_.size(); + } + /** + * repeated string method_name_list = 1; + * @param index The index of the element to return. + * @return The methodNameList at the given index. + */ + public java.lang.String getMethodNameList(int index) { + return methodNameList_.get(index); + } + /** + * repeated string method_name_list = 1; + * @param index The index of the value to return. + * @return The bytes of the methodNameList at the given index. + */ + public com.google.protobuf.ByteString + getMethodNameListBytes(int index) { + return methodNameList_.getByteString(index); + } - public static Builder newBuilder(com.kcl.api.Spec.CmdOverrideSpec prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * kcl main.k -O pkgpath:path.to.field=field_value
-         * 
- * - * Protobuf type {@code com.kcl.api.CmdOverrideSpec} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.CmdOverrideSpec) - com.kcl.api.Spec.CmdOverrideSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdOverrideSpec_descriptor; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < methodNameList_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, methodNameList_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdOverrideSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.CmdOverrideSpec.class, - com.kcl.api.Spec.CmdOverrideSpec.Builder.class); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < methodNameList_.size(); i++) { + dataSize += computeStringSizeNoTag(methodNameList_.getRaw(i)); + } + size += dataSize; + size += 1 * getMethodNameListList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - // Construct using com.kcl.api.Spec.CmdOverrideSpec.newBuilder() - private Builder() { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListMethod_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListMethod_Result other = (com.kcl.api.Spec.ListMethod_Result) obj; + + if (!getMethodNameListList() + .equals(other.getMethodNameListList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getMethodNameListCount() > 0) { + hash = (37 * hash) + METHOD_NAME_LIST_FIELD_NUMBER; + hash = (53 * hash) + getMethodNameListList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + public static com.kcl.api.Spec.ListMethod_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethod_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethod_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethod_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethod_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethod_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethod_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListMethod_Result 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 com.kcl.api.Spec.ListMethod_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - pkgpath_ = ""; - fieldPath_ = ""; - fieldValue_ = ""; - action_ = ""; - return this; - } + public static com.kcl.api.Spec.ListMethod_Result 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 com.kcl.api.Spec.ListMethod_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListMethod_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CmdOverrideSpec_descriptor; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListMethod_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public com.kcl.api.Spec.CmdOverrideSpec getDefaultInstanceForType() { - return com.kcl.api.Spec.CmdOverrideSpec.getDefaultInstance(); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ListMethod_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethod_Result) + com.kcl.api.Spec.ListMethod_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListMethod_Result.class, com.kcl.api.Spec.ListMethod_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListMethod_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + methodNameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethod_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.ListMethod_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethod_Result build() { + com.kcl.api.Spec.ListMethod_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethod_Result buildPartial() { + com.kcl.api.Spec.ListMethod_Result result = new com.kcl.api.Spec.ListMethod_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ListMethod_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + methodNameList_.makeImmutable(); + result.methodNameList_ = methodNameList_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListMethod_Result) { + return mergeFrom((com.kcl.api.Spec.ListMethod_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListMethod_Result other) { + if (other == com.kcl.api.Spec.ListMethod_Result.getDefaultInstance()) return this; + if (!other.methodNameList_.isEmpty()) { + if (methodNameList_.isEmpty()) { + methodNameList_ = other.methodNameList_; + bitField0_ |= 0x00000001; + } else { + ensureMethodNameListIsMutable(); + methodNameList_.addAll(other.methodNameList_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureMethodNameListIsMutable(); + methodNameList_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList methodNameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureMethodNameListIsMutable() { + if (!methodNameList_.isModifiable()) { + methodNameList_ = new com.google.protobuf.LazyStringArrayList(methodNameList_); + } + bitField0_ |= 0x00000001; + } + /** + * repeated string method_name_list = 1; + * @return A list containing the methodNameList. + */ + public com.google.protobuf.ProtocolStringList + getMethodNameListList() { + methodNameList_.makeImmutable(); + return methodNameList_; + } + /** + * repeated string method_name_list = 1; + * @return The count of methodNameList. + */ + public int getMethodNameListCount() { + return methodNameList_.size(); + } + /** + * repeated string method_name_list = 1; + * @param index The index of the element to return. + * @return The methodNameList at the given index. + */ + public java.lang.String getMethodNameList(int index) { + return methodNameList_.get(index); + } + /** + * repeated string method_name_list = 1; + * @param index The index of the value to return. + * @return The bytes of the methodNameList at the given index. + */ + public com.google.protobuf.ByteString + getMethodNameListBytes(int index) { + return methodNameList_.getByteString(index); + } + /** + * repeated string method_name_list = 1; + * @param index The index to set the value at. + * @param value The methodNameList to set. + * @return This builder for chaining. + */ + public Builder setMethodNameList( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureMethodNameListIsMutable(); + methodNameList_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string method_name_list = 1; + * @param value The methodNameList to add. + * @return This builder for chaining. + */ + public Builder addMethodNameList( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureMethodNameListIsMutable(); + methodNameList_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string method_name_list = 1; + * @param values The methodNameList to add. + * @return This builder for chaining. + */ + public Builder addAllMethodNameList( + java.lang.Iterable values) { + ensureMethodNameListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, methodNameList_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string method_name_list = 1; + * @return This builder for chaining. + */ + public Builder clearMethodNameList() { + methodNameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + * repeated string method_name_list = 1; + * @param value The bytes of the methodNameList to add. + * @return This builder for chaining. + */ + public Builder addMethodNameListBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureMethodNameListIsMutable(); + methodNameList_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethod_Result) + } - @java.lang.Override - public com.kcl.api.Spec.CmdOverrideSpec build() { - com.kcl.api.Spec.CmdOverrideSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethod_Result) + private static final com.kcl.api.Spec.ListMethod_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethod_Result(); + } - @java.lang.Override - public com.kcl.api.Spec.CmdOverrideSpec buildPartial() { - com.kcl.api.Spec.CmdOverrideSpec result = new com.kcl.api.Spec.CmdOverrideSpec(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static com.kcl.api.Spec.ListMethod_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private void buildPartial0(com.kcl.api.Spec.CmdOverrideSpec result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.pkgpath_ = pkgpath_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.fieldPath_ = fieldPath_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.fieldValue_ = fieldValue_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.action_ = action_; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMethod_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + @java.lang.Override + public com.kcl.api.Spec.ListMethod_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + public interface ParseFile_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFile_Args) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + /** + * string path = 1; + * @return The path. + */ + java.lang.String getPath(); + /** + * string path = 1; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + /** + * string source = 2; + * @return The source. + */ + java.lang.String getSource(); + /** + * string source = 2; + * @return The bytes for source. + */ + com.google.protobuf.ByteString + getSourceBytes(); - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.CmdOverrideSpec) { - return mergeFrom((com.kcl.api.Spec.CmdOverrideSpec) other); - } else { - super.mergeFrom(other); - return this; - } - } + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + java.util.List + getExternalPkgsList(); + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index); + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + int getExternalPkgsCount(); + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + java.util.List + getExternalPkgsOrBuilderList(); + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.ParseFile_Args} + */ + public static final class ParseFile_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFile_Args) + ParseFile_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ParseFile_Args.newBuilder() to construct. + private ParseFile_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ParseFile_Args() { + path_ = ""; + source_ = ""; + externalPkgs_ = java.util.Collections.emptyList(); + } - public Builder mergeFrom(com.kcl.api.Spec.CmdOverrideSpec other) { - if (other == com.kcl.api.Spec.CmdOverrideSpec.getDefaultInstance()) - return this; - if (!other.getPkgpath().isEmpty()) { - pkgpath_ = other.pkgpath_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getFieldPath().isEmpty()) { - fieldPath_ = other.fieldPath_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getFieldValue().isEmpty()) { - fieldValue_ = other.fieldValue_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.getAction().isEmpty()) { - action_ = other.action_; - bitField0_ |= 0x00000008; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ParseFile_Args(); + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - pkgpath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - fieldPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - fieldValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - action_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseFile_Args.class, com.kcl.api.Spec.ParseFile_Args.Builder.class); + } - private int bitField0_; - - private java.lang.Object pkgpath_ = ""; - - /** - * string pkgpath = 1; - * - * @return The pkgpath. - */ - public java.lang.String getPkgpath() { - java.lang.Object ref = pkgpath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgpath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static final int PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object path_ = ""; + /** + * string path = 1; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + * string path = 1; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * string pkgpath = 1; - * - * @return The bytes for pkgpath. - */ - public com.google.protobuf.ByteString getPkgpathBytes() { - java.lang.Object ref = pkgpath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgpath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int SOURCE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object source_ = ""; + /** + * string source = 2; + * @return The source. + */ + @java.lang.Override + public java.lang.String getSource() { + java.lang.Object ref = source_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + source_ = s; + return s; + } + } + /** + * string source = 2; + * @return The bytes for source. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSourceBytes() { + java.lang.Object ref = source_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + source_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * string pkgpath = 1; - * - * @param value - * The pkgpath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgpath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgpath_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List externalPkgs_; + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + @java.lang.Override + public java.util.List getExternalPkgsList() { + return externalPkgs_; + } + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + @java.lang.Override + public java.util.List + getExternalPkgsOrBuilderList() { + return externalPkgs_; + } + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + @java.lang.Override + public int getExternalPkgsCount() { + return externalPkgs_.size(); + } + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { + return externalPkgs_.get(index); + } + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder( + int index) { + return externalPkgs_.get(index); + } - /** - * string pkgpath = 1; - * - * @return This builder for chaining. - */ - public Builder clearPkgpath() { - pkgpath_ = getDefaultInstance().getPkgpath(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - * string pkgpath = 1; - * - * @param value - * The bytes for pkgpath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgpathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgpath_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + memoizedIsInitialized = 1; + return true; + } - private java.lang.Object fieldPath_ = ""; - - /** - * string field_path = 2; - * - * @return The fieldPath. - */ - public java.lang.String getFieldPath() { - java.lang.Object ref = fieldPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - fieldPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + output.writeMessage(3, externalPkgs_.get(i)); + } + getUnknownFields().writeTo(output); + } - /** - * string field_path = 2; - * - * @return The bytes for fieldPath. - */ - public com.google.protobuf.ByteString getFieldPathBytes() { - java.lang.Object ref = fieldPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - fieldPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, externalPkgs_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - * string field_path = 2; - * - * @param value - * The fieldPath to set. - * - * @return This builder for chaining. - */ - public Builder setFieldPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - fieldPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ParseFile_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.ParseFile_Args other = (com.kcl.api.Spec.ParseFile_Args) obj; + + if (!getPath() + .equals(other.getPath())) return false; + if (!getSource() + .equals(other.getSource())) return false; + if (!getExternalPkgsList() + .equals(other.getExternalPkgsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - * string field_path = 2; - * - * @return This builder for chaining. - */ - public Builder clearFieldPath() { - fieldPath_ = getDefaultInstance().getFieldPath(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (37 * hash) + SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getSource().hashCode(); + if (getExternalPkgsCount() > 0) { + hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; + hash = (53 * hash) + getExternalPkgsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * string field_path = 2; - * - * @param value - * The bytes for fieldPath to set. - * - * @return This builder for chaining. - */ - public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - fieldPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static com.kcl.api.Spec.ParseFile_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFile_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFile_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFile_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFile_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFile_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFile_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseFile_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private java.lang.Object fieldValue_ = ""; - - /** - * string field_value = 3; - * - * @return The fieldValue. - */ - public java.lang.String getFieldValue() { - java.lang.Object ref = fieldValue_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - fieldValue_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.ParseFile_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * string field_value = 3; - * - * @return The bytes for fieldValue. - */ - public com.google.protobuf.ByteString getFieldValueBytes() { - java.lang.Object ref = fieldValue_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - fieldValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.ParseFile_Args 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 com.kcl.api.Spec.ParseFile_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseFile_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * string field_value = 3; - * - * @param value - * The fieldValue to set. - * - * @return This builder for chaining. - */ - public Builder setFieldValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - fieldValue_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ParseFile_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * string field_value = 3; - * - * @return This builder for chaining. - */ - public Builder clearFieldValue() { - fieldValue_ = getDefaultInstance().getFieldValue(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ParseFile_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFile_Args) + com.kcl.api.Spec.ParseFile_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseFile_Args.class, com.kcl.api.Spec.ParseFile_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.ParseFile_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + path_ = ""; + source_ = ""; + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + } else { + externalPkgs_ = null; + externalPkgsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFile_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseFile_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFile_Args build() { + com.kcl.api.Spec.ParseFile_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFile_Args buildPartial() { + com.kcl.api.Spec.ParseFile_Args result = new com.kcl.api.Spec.ParseFile_Args(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFile_Args result) { + if (externalPkgsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.externalPkgs_ = externalPkgs_; + } else { + result.externalPkgs_ = externalPkgsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ParseFile_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.path_ = path_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.source_ = source_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ParseFile_Args) { + return mergeFrom((com.kcl.api.Spec.ParseFile_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ParseFile_Args other) { + if (other == com.kcl.api.Spec.ParseFile_Args.getDefaultInstance()) return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSource().isEmpty()) { + source_ = other.source_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (externalPkgsBuilder_ == null) { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgs_.isEmpty()) { + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureExternalPkgsIsMutable(); + externalPkgs_.addAll(other.externalPkgs_); + } + onChanged(); + } + } else { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgsBuilder_.isEmpty()) { + externalPkgsBuilder_.dispose(); + externalPkgsBuilder_ = null; + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000004); + externalPkgsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getExternalPkgsFieldBuilder() : null; + } else { + externalPkgsBuilder_.addAllMessages(other.externalPkgs_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + source_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.kcl.api.Spec.CmdExternalPkgSpec m = + input.readMessage( + com.kcl.api.Spec.CmdExternalPkgSpec.parser(), + extensionRegistry); + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(m); + } else { + externalPkgsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object path_ = ""; + /** + * string path = 1; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string path = 1; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string path = 1; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string path = 1; + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string path = 1; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object source_ = ""; + /** + * string source = 2; + * @return The source. + */ + public java.lang.String getSource() { + java.lang.Object ref = source_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + source_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string source = 2; + * @return The bytes for source. + */ + public com.google.protobuf.ByteString + getSourceBytes() { + java.lang.Object ref = source_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + source_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string source = 2; + * @param value The source to set. + * @return This builder for chaining. + */ + public Builder setSource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + source_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string source = 2; + * @return This builder for chaining. + */ + public Builder clearSource() { + source_ = getDefaultInstance().getSource(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string source = 2; + * @param value The bytes for source to set. + * @return This builder for chaining. + */ + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + source_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List externalPkgs_ = + java.util.Collections.emptyList(); + private void ensureExternalPkgsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + externalPkgs_ = new java.util.ArrayList(externalPkgs_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdExternalPkgSpec, com.kcl.api.Spec.CmdExternalPkgSpec.Builder, com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder> externalPkgsBuilder_; + + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public java.util.List getExternalPkgsList() { + if (externalPkgsBuilder_ == null) { + return java.util.Collections.unmodifiableList(externalPkgs_); + } else { + return externalPkgsBuilder_.getMessageList(); + } + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public int getExternalPkgsCount() { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.size(); + } else { + return externalPkgsBuilder_.getCount(); + } + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); + } else { + return externalPkgsBuilder_.getMessage(index); + } + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, value); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder addExternalPkgs(com.kcl.api.Spec.CmdExternalPkgSpec value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder addExternalPkgs( + com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder addAllExternalPkgs( + java.lang.Iterable values) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, externalPkgs_); + onChanged(); + } else { + externalPkgsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder clearExternalPkgs() { + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + externalPkgsBuilder_.clear(); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder removeExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.remove(index); + onChanged(); + } else { + externalPkgsBuilder_.remove(index); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec.Builder getExternalPkgsBuilder( + int index) { + return getExternalPkgsFieldBuilder().getBuilder(index); + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder( + int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); } else { + return externalPkgsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public java.util.List + getExternalPkgsOrBuilderList() { + if (externalPkgsBuilder_ != null) { + return externalPkgsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(externalPkgs_); + } + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder() { + return getExternalPkgsFieldBuilder().addBuilder( + com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder( + int index) { + return getExternalPkgsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public java.util.List + getExternalPkgsBuilderList() { + return getExternalPkgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdExternalPkgSpec, com.kcl.api.Spec.CmdExternalPkgSpec.Builder, com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder> + getExternalPkgsFieldBuilder() { + if (externalPkgsBuilder_ == null) { + externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdExternalPkgSpec, com.kcl.api.Spec.CmdExternalPkgSpec.Builder, com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder>( + externalPkgs_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + externalPkgs_ = null; + } + return externalPkgsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFile_Args) + } - /** - * string field_value = 3; - * - * @param value - * The bytes for fieldValue to set. - * - * @return This builder for chaining. - */ - public Builder setFieldValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - fieldValue_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFile_Args) + private static final com.kcl.api.Spec.ParseFile_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFile_Args(); + } - private java.lang.Object action_ = ""; - - /** - * string action = 4; - * - * @return The action. - */ - public java.lang.String getAction() { - java.lang.Object ref = action_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - action_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.ParseFile_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * string action = 4; - * - * @return The bytes for action. - */ - public com.google.protobuf.ByteString getActionBytes() { - java.lang.Object ref = action_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - action_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParseFile_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * string action = 4; - * - * @param value - * The action to set. - * - * @return This builder for chaining. - */ - public Builder setAction(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - action_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * string action = 4; - * - * @return This builder for chaining. - */ - public Builder clearAction() { - action_ = getDefaultInstance().getAction(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.ParseFile_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * string action = 4; - * - * @param value - * The bytes for action to set. - * - * @return This builder for chaining. - */ - public Builder setActionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - action_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + public interface ParseFile_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFile_Result) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + /** + *
+     * JSON string value
+     * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + java.lang.String getAstJson(); + /** + *
+     * JSON string value
+     * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + com.google.protobuf.ByteString + getAstJsonBytes(); - // @@protoc_insertion_point(builder_scope:com.kcl.api.CmdOverrideSpec) - } + /** + *
+     * file dependency paths
+     * 
+ * + * repeated string deps = 2; + * @return A list containing the deps. + */ + java.util.List + getDepsList(); + /** + *
+     * file dependency paths
+     * 
+ * + * repeated string deps = 2; + * @return The count of deps. + */ + int getDepsCount(); + /** + *
+     * file dependency paths
+     * 
+ * + * repeated string deps = 2; + * @param index The index of the element to return. + * @return The deps at the given index. + */ + java.lang.String getDeps(int index); + /** + *
+     * file dependency paths
+     * 
+ * + * repeated string deps = 2; + * @param index The index of the value to return. + * @return The bytes of the deps at the given index. + */ + com.google.protobuf.ByteString + getDepsBytes(int index); - // @@protoc_insertion_point(class_scope:com.kcl.api.CmdOverrideSpec) - private static final com.kcl.api.Spec.CmdOverrideSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.CmdOverrideSpec(); - } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + java.util.List + getErrorsList(); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + com.kcl.api.Spec.Error getErrors(int index); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + int getErrorsCount(); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + java.util.List + getErrorsOrBuilderList(); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.ParseFile_Result} + */ + public static final class ParseFile_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFile_Result) + ParseFile_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use ParseFile_Result.newBuilder() to construct. + private ParseFile_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ParseFile_Result() { + astJson_ = ""; + deps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + errors_ = java.util.Collections.emptyList(); + } - public static com.kcl.api.Spec.CmdOverrideSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ParseFile_Result(); + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CmdOverrideSpec parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseFile_Result.class, com.kcl.api.Spec.ParseFile_Result.Builder.class); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final int AST_JSON_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object astJson_ = ""; + /** + *
+     * JSON string value
+     * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + @java.lang.Override + public java.lang.String getAstJson() { + java.lang.Object ref = astJson_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + astJson_ = s; + return s; + } + } + /** + *
+     * JSON string value
+     * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAstJsonBytes() { + java.lang.Object ref = astJson_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + astJson_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.CmdOverrideSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + public static final int DEPS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList deps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * file dependency paths
+     * 
+ * + * repeated string deps = 2; + * @return A list containing the deps. + */ + public com.google.protobuf.ProtocolStringList + getDepsList() { + return deps_; + } + /** + *
+     * file dependency paths
+     * 
+ * + * repeated string deps = 2; + * @return The count of deps. + */ + public int getDepsCount() { + return deps_.size(); + } + /** + *
+     * file dependency paths
+     * 
+ * + * repeated string deps = 2; + * @param index The index of the element to return. + * @return The deps at the given index. + */ + public java.lang.String getDeps(int index) { + return deps_.get(index); + } + /** + *
+     * file dependency paths
+     * 
+ * + * repeated string deps = 2; + * @param index The index of the value to return. + * @return The bytes of the deps at the given index. + */ + public com.google.protobuf.ByteString + getDepsBytes(int index) { + return deps_.getByteString(index); + } + public static final int ERRORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List errors_; + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public java.util.List getErrorsList() { + return errors_; + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public java.util.List + getErrorsOrBuilderList() { + return errors_; + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public int getErrorsCount() { + return errors_.size(); + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getErrors(int index) { + return errors_.get(index); + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index) { + return errors_.get(index); } - public interface ErrorOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Error) - com.google.protobuf.MessageOrBuilder { + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - * string level = 1; - * - * @return The level. - */ - java.lang.String getLevel(); + memoizedIsInitialized = 1; + return true; + } - /** - * string level = 1; - * - * @return The bytes for level. - */ - com.google.protobuf.ByteString getLevelBytes(); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(astJson_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, astJson_); + } + for (int i = 0; i < deps_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deps_.getRaw(i)); + } + for (int i = 0; i < errors_.size(); i++) { + output.writeMessage(3, errors_.get(i)); + } + getUnknownFields().writeTo(output); + } - /** - * string code = 2; - * - * @return The code. - */ - java.lang.String getCode(); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(astJson_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, astJson_); + } + { + int dataSize = 0; + for (int i = 0; i < deps_.size(); i++) { + dataSize += computeStringSizeNoTag(deps_.getRaw(i)); + } + size += dataSize; + size += 1 * getDepsList().size(); + } + for (int i = 0; i < errors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, errors_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - * string code = 2; - * - * @return The bytes for code. - */ - com.google.protobuf.ByteString getCodeBytes(); + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ParseFile_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.ParseFile_Result other = (com.kcl.api.Spec.ParseFile_Result) obj; + + if (!getAstJson() + .equals(other.getAstJson())) return false; + if (!getDepsList() + .equals(other.getDepsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - java.util.List getMessagesList(); + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AST_JSON_FIELD_NUMBER; + hash = (53 * hash) + getAstJson().hashCode(); + if (getDepsCount() > 0) { + hash = (37 * hash) + DEPS_FIELD_NUMBER; + hash = (53 * hash) + getDepsList().hashCode(); + } + if (getErrorsCount() > 0) { + hash = (37 * hash) + ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getErrorsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - com.kcl.api.Spec.Message getMessages(int index); + public static com.kcl.api.Spec.ParseFile_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFile_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFile_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFile_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFile_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFile_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFile_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseFile_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - int getMessagesCount(); + public static com.kcl.api.Spec.ParseFile_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - java.util.List getMessagesOrBuilderList(); + public static com.kcl.api.Spec.ParseFile_Result 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 com.kcl.api.Spec.ParseFile_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseFile_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder(int index); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ParseFile_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** - * Protobuf type {@code com.kcl.api.Error} + * Protobuf type {@code com.kcl.api.ParseFile_Result} */ - public static final class Error extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Error) - ErrorOrBuilder { - private static final long serialVersionUID = 0L; + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFile_Result) + com.kcl.api.Spec.ParseFile_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseFile_Result.class, com.kcl.api.Spec.ParseFile_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.ParseFile_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + astJson_ = ""; + deps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + } else { + errors_ = null; + errorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFile_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseFile_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFile_Result build() { + com.kcl.api.Spec.ParseFile_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFile_Result buildPartial() { + com.kcl.api.Spec.ParseFile_Result result = new com.kcl.api.Spec.ParseFile_Result(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFile_Result result) { + if (errorsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + errors_ = java.util.Collections.unmodifiableList(errors_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.errors_ = errors_; + } else { + result.errors_ = errorsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ParseFile_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.astJson_ = astJson_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + deps_.makeImmutable(); + result.deps_ = deps_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ParseFile_Result) { + return mergeFrom((com.kcl.api.Spec.ParseFile_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ParseFile_Result other) { + if (other == com.kcl.api.Spec.ParseFile_Result.getDefaultInstance()) return this; + if (!other.getAstJson().isEmpty()) { + astJson_ = other.astJson_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.deps_.isEmpty()) { + if (deps_.isEmpty()) { + deps_ = other.deps_; + bitField0_ |= 0x00000002; + } else { + ensureDepsIsMutable(); + deps_.addAll(other.deps_); + } + onChanged(); + } + if (errorsBuilder_ == null) { + if (!other.errors_.isEmpty()) { + if (errors_.isEmpty()) { + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureErrorsIsMutable(); + errors_.addAll(other.errors_); + } + onChanged(); + } + } else { + if (!other.errors_.isEmpty()) { + if (errorsBuilder_.isEmpty()) { + errorsBuilder_.dispose(); + errorsBuilder_ = null; + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000004); + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; + } else { + errorsBuilder_.addAllMessages(other.errors_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + astJson_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDepsIsMutable(); + deps_.add(s); + break; + } // case 18 + case 26: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object astJson_ = ""; + /** + *
+       * JSON string value
+       * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + public java.lang.String getAstJson() { + java.lang.Object ref = astJson_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + astJson_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * JSON string value
+       * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + public com.google.protobuf.ByteString + getAstJsonBytes() { + java.lang.Object ref = astJson_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + astJson_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * JSON string value
+       * 
+ * + * string ast_json = 1; + * @param value The astJson to set. + * @return This builder for chaining. + */ + public Builder setAstJson( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + astJson_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * JSON string value
+       * 
+ * + * string ast_json = 1; + * @return This builder for chaining. + */ + public Builder clearAstJson() { + astJson_ = getDefaultInstance().getAstJson(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * JSON string value
+       * 
+ * + * string ast_json = 1; + * @param value The bytes for astJson to set. + * @return This builder for chaining. + */ + public Builder setAstJsonBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + astJson_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList deps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDepsIsMutable() { + if (!deps_.isModifiable()) { + deps_ = new com.google.protobuf.LazyStringArrayList(deps_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * file dependency paths
+       * 
+ * + * repeated string deps = 2; + * @return A list containing the deps. + */ + public com.google.protobuf.ProtocolStringList + getDepsList() { + deps_.makeImmutable(); + return deps_; + } + /** + *
+       * file dependency paths
+       * 
+ * + * repeated string deps = 2; + * @return The count of deps. + */ + public int getDepsCount() { + return deps_.size(); + } + /** + *
+       * file dependency paths
+       * 
+ * + * repeated string deps = 2; + * @param index The index of the element to return. + * @return The deps at the given index. + */ + public java.lang.String getDeps(int index) { + return deps_.get(index); + } + /** + *
+       * file dependency paths
+       * 
+ * + * repeated string deps = 2; + * @param index The index of the value to return. + * @return The bytes of the deps at the given index. + */ + public com.google.protobuf.ByteString + getDepsBytes(int index) { + return deps_.getByteString(index); + } + /** + *
+       * file dependency paths
+       * 
+ * + * repeated string deps = 2; + * @param index The index to set the value at. + * @param value The deps to set. + * @return This builder for chaining. + */ + public Builder setDeps( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureDepsIsMutable(); + deps_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * file dependency paths
+       * 
+ * + * repeated string deps = 2; + * @param value The deps to add. + * @return This builder for chaining. + */ + public Builder addDeps( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureDepsIsMutable(); + deps_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * file dependency paths
+       * 
+ * + * repeated string deps = 2; + * @param values The deps to add. + * @return This builder for chaining. + */ + public Builder addAllDeps( + java.lang.Iterable values) { + ensureDepsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, deps_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * file dependency paths
+       * 
+ * + * repeated string deps = 2; + * @return This builder for chaining. + */ + public Builder clearDeps() { + deps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * file dependency paths
+       * 
+ * + * repeated string deps = 2; + * @param value The bytes of the deps to add. + * @return This builder for chaining. + */ + public Builder addDepsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureDepsIsMutable(); + deps_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List errors_ = + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + errors_ = new java.util.ArrayList(errors_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> errorsBuilder_; + + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List getErrorsList() { + if (errorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(errors_); + } else { + return errorsBuilder_.getMessageList(); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public int getErrorsCount() { + if (errorsBuilder_ == null) { + return errors_.size(); + } else { + return errorsBuilder_.getCount(); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error getErrors(int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); + } else { + return errorsBuilder_.getMessage(index); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder setErrors( + int index, com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.set(index, value); + onChanged(); + } else { + errorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder setErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.set(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors(com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(value); + onChanged(); + } else { + errorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + int index, com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(index, value); + onChanged(); + } else { + errorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addAllErrors( + java.lang.Iterable values) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); + onChanged(); + } else { + errorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder clearErrors() { + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + errorsBuilder_.clear(); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder removeErrors(int index) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.remove(index); + onChanged(); + } else { + errorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder getErrorsBuilder( + int index) { + return getErrorsFieldBuilder().getBuilder(index); + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); } else { + return errorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List + getErrorsOrBuilderList() { + if (errorsBuilder_ != null) { + return errorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(errors_); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List + getErrorsBuilderList() { + return getErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + getErrorsFieldBuilder() { + if (errorsBuilder_ == null) { + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + errors_ = null; + } + return errorsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFile_Result) + } - // Use Error.newBuilder() to construct. - private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFile_Result) + private static final com.kcl.api.Spec.ParseFile_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFile_Result(); + } - private Error() { - level_ = ""; - code_ = ""; - messages_ = java.util.Collections.emptyList(); - } + public static com.kcl.api.Spec.ParseFile_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Error(); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParseFile_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Error_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Error.class, - com.kcl.api.Spec.Error.Builder.class); - } + @java.lang.Override + public com.kcl.api.Spec.ParseFile_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static final int LEVEL_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object level_ = ""; + } - /** - * string level = 1; - * - * @return The level. - */ - @java.lang.Override - public java.lang.String getLevel() { - java.lang.Object ref = level_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - level_ = s; - return s; - } - } + public interface ParseProgram_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgram_Args) + com.google.protobuf.MessageOrBuilder { - /** - * string level = 1; - * - * @return The bytes for level. - */ - @java.lang.Override - public com.google.protobuf.ByteString getLevelBytes() { - java.lang.Object ref = level_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - level_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CODE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object code_ = ""; + /** + * repeated string paths = 1; + * @return A list containing the paths. + */ + java.util.List + getPathsList(); + /** + * repeated string paths = 1; + * @return The count of paths. + */ + int getPathsCount(); + /** + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + java.lang.String getPaths(int index); + /** + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + com.google.protobuf.ByteString + getPathsBytes(int index); - /** - * string code = 2; - * - * @return The code. - */ - @java.lang.Override - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } - } + /** + * repeated string sources = 2; + * @return A list containing the sources. + */ + java.util.List + getSourcesList(); + /** + * repeated string sources = 2; + * @return The count of sources. + */ + int getSourcesCount(); + /** + * repeated string sources = 2; + * @param index The index of the element to return. + * @return The sources at the given index. + */ + java.lang.String getSources(int index); + /** + * repeated string sources = 2; + * @param index The index of the value to return. + * @return The bytes of the sources at the given index. + */ + com.google.protobuf.ByteString + getSourcesBytes(int index); - /** - * string code = 2; - * - * @return The bytes for code. - */ - @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + java.util.List + getExternalPkgsList(); + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index); + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + int getExternalPkgsCount(); + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + java.util.List + getExternalPkgsOrBuilderList(); + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.ParseProgram_Args} + */ + public static final class ParseProgram_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgram_Args) + ParseProgram_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ParseProgram_Args.newBuilder() to construct. + private ParseProgram_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ParseProgram_Args() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + sources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + externalPkgs_ = java.util.Collections.emptyList(); + } - public static final int MESSAGES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List messages_; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ParseProgram_Args(); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - @java.lang.Override - public java.util.List getMessagesList() { - return messages_; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - @java.lang.Override - public java.util.List getMessagesOrBuilderList() { - return messages_; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseProgram_Args.class, com.kcl.api.Spec.ParseProgram_Args.Builder.class); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - @java.lang.Override - public int getMessagesCount() { - return messages_.size(); - } + public static final int PATHS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string paths = 1; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_; + } + /** + * repeated string paths = 1; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.Message getMessages(int index) { - return messages_.get(index); - } + public static final int SOURCES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList sources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string sources = 2; + * @return A list containing the sources. + */ + public com.google.protobuf.ProtocolStringList + getSourcesList() { + return sources_; + } + /** + * repeated string sources = 2; + * @return The count of sources. + */ + public int getSourcesCount() { + return sources_.size(); + } + /** + * repeated string sources = 2; + * @param index The index of the element to return. + * @return The sources at the given index. + */ + public java.lang.String getSources(int index) { + return sources_.get(index); + } + /** + * repeated string sources = 2; + * @param index The index of the value to return. + * @return The bytes of the sources at the given index. + */ + public com.google.protobuf.ByteString + getSourcesBytes(int index) { + return sources_.getByteString(index); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder(int index) { - return messages_.get(index); - } + public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List externalPkgs_; + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + @java.lang.Override + public java.util.List getExternalPkgsList() { + return externalPkgs_; + } + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + @java.lang.Override + public java.util.List + getExternalPkgsOrBuilderList() { + return externalPkgs_; + } + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + @java.lang.Override + public int getExternalPkgsCount() { + return externalPkgs_.size(); + } + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { + return externalPkgs_.get(index); + } + /** + *
+     * External packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder( + int index) { + return externalPkgs_.get(index); + } - private byte memoizedIsInitialized = -1; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + memoizedIsInitialized = 1; + return true; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < paths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paths_.getRaw(i)); + } + for (int i = 0; i < sources_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sources_.getRaw(i)); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + output.writeMessage(3, externalPkgs_.get(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(level_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, level_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_); - } - for (int i = 0; i < messages_.size(); i++) { - output.writeMessage(3, messages_.get(i)); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < paths_.size(); i++) { + dataSize += computeStringSizeNoTag(paths_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < sources_.size(); i++) { + dataSize += computeStringSizeNoTag(sources_.getRaw(i)); + } + size += dataSize; + size += 1 * getSourcesList().size(); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, externalPkgs_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(level_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, level_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_); - } - for (int i = 0; i < messages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, messages_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ParseProgram_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.ParseProgram_Args other = (com.kcl.api.Spec.ParseProgram_Args) obj; + + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (!getSourcesList() + .equals(other.getSourcesList())) return false; + if (!getExternalPkgsList() + .equals(other.getExternalPkgsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Error)) { - return super.equals(obj); - } - com.kcl.api.Spec.Error other = (com.kcl.api.Spec.Error) obj; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPathsCount() > 0) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPathsList().hashCode(); + } + if (getSourcesCount() > 0) { + hash = (37 * hash) + SOURCES_FIELD_NUMBER; + hash = (53 * hash) + getSourcesList().hashCode(); + } + if (getExternalPkgsCount() > 0) { + hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; + hash = (53 * hash) + getExternalPkgsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - if (!getLevel().equals(other.getLevel())) - return false; - if (!getCode().equals(other.getCode())) - return false; - if (!getMessagesList().equals(other.getMessagesList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgram_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgram_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + LEVEL_FIELD_NUMBER; - hash = (53 * hash) + getLevel().hashCode(); - hash = (37 * hash) + CODE_FIELD_NUMBER; - hash = (53 * hash) + getCode().hashCode(); - if (getMessagesCount() > 0) { - hash = (37 * hash) + MESSAGES_FIELD_NUMBER; - hash = (53 * hash) + getMessagesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static com.kcl.api.Spec.ParseProgram_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.Error parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.ParseProgram_Args 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 com.kcl.api.Spec.ParseProgram_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.Error parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ParseProgram_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.Error parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ParseProgram_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgram_Args) + com.kcl.api.Spec.ParseProgram_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseProgram_Args.class, com.kcl.api.Spec.ParseProgram_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.ParseProgram_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + sources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + } else { + externalPkgs_ = null; + externalPkgsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgram_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgram_Args build() { + com.kcl.api.Spec.ParseProgram_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgram_Args buildPartial() { + com.kcl.api.Spec.ParseProgram_Args result = new com.kcl.api.Spec.ParseProgram_Args(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgram_Args result) { + if (externalPkgsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.externalPkgs_ = externalPkgs_; + } else { + result.externalPkgs_ = externalPkgsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ParseProgram_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + paths_.makeImmutable(); + result.paths_ = paths_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + sources_.makeImmutable(); + result.sources_ = sources_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ParseProgram_Args) { + return mergeFrom((com.kcl.api.Spec.ParseProgram_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ParseProgram_Args other) { + if (other == com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance()) return this; + if (!other.paths_.isEmpty()) { + if (paths_.isEmpty()) { + paths_ = other.paths_; + bitField0_ |= 0x00000001; + } else { + ensurePathsIsMutable(); + paths_.addAll(other.paths_); + } + onChanged(); + } + if (!other.sources_.isEmpty()) { + if (sources_.isEmpty()) { + sources_ = other.sources_; + bitField0_ |= 0x00000002; + } else { + ensureSourcesIsMutable(); + sources_.addAll(other.sources_); + } + onChanged(); + } + if (externalPkgsBuilder_ == null) { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgs_.isEmpty()) { + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureExternalPkgsIsMutable(); + externalPkgs_.addAll(other.externalPkgs_); + } + onChanged(); + } + } else { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgsBuilder_.isEmpty()) { + externalPkgsBuilder_.dispose(); + externalPkgsBuilder_ = null; + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000004); + externalPkgsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getExternalPkgsFieldBuilder() : null; + } else { + externalPkgsBuilder_.addAllMessages(other.externalPkgs_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathsIsMutable(); + paths_.add(s); + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSourcesIsMutable(); + sources_.add(s); + break; + } // case 18 + case 26: { + com.kcl.api.Spec.CmdExternalPkgSpec m = + input.readMessage( + com.kcl.api.Spec.CmdExternalPkgSpec.parser(), + extensionRegistry); + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(m); + } else { + externalPkgsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathsIsMutable() { + if (!paths_.isModifiable()) { + paths_ = new com.google.protobuf.LazyStringArrayList(paths_); + } + bitField0_ |= 0x00000001; + } + /** + * repeated string paths = 1; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + paths_.makeImmutable(); + return paths_; + } + /** + * repeated string paths = 1; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + /** + * repeated string paths = 1; + * @param index The index to set the value at. + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string paths = 1; + * @param value The paths to add. + * @return This builder for chaining. + */ + public Builder addPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string paths = 1; + * @param values The paths to add. + * @return This builder for chaining. + */ + public Builder addAllPaths( + java.lang.Iterable values) { + ensurePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string paths = 1; + * @return This builder for chaining. + */ + public Builder clearPaths() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + * repeated string paths = 1; + * @param value The bytes of the paths to add. + * @return This builder for chaining. + */ + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList sources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSourcesIsMutable() { + if (!sources_.isModifiable()) { + sources_ = new com.google.protobuf.LazyStringArrayList(sources_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string sources = 2; + * @return A list containing the sources. + */ + public com.google.protobuf.ProtocolStringList + getSourcesList() { + sources_.makeImmutable(); + return sources_; + } + /** + * repeated string sources = 2; + * @return The count of sources. + */ + public int getSourcesCount() { + return sources_.size(); + } + /** + * repeated string sources = 2; + * @param index The index of the element to return. + * @return The sources at the given index. + */ + public java.lang.String getSources(int index) { + return sources_.get(index); + } + /** + * repeated string sources = 2; + * @param index The index of the value to return. + * @return The bytes of the sources at the given index. + */ + public com.google.protobuf.ByteString + getSourcesBytes(int index) { + return sources_.getByteString(index); + } + /** + * repeated string sources = 2; + * @param index The index to set the value at. + * @param value The sources to set. + * @return This builder for chaining. + */ + public Builder setSources( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSourcesIsMutable(); + sources_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string sources = 2; + * @param value The sources to add. + * @return This builder for chaining. + */ + public Builder addSources( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSourcesIsMutable(); + sources_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string sources = 2; + * @param values The sources to add. + * @return This builder for chaining. + */ + public Builder addAllSources( + java.lang.Iterable values) { + ensureSourcesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sources_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string sources = 2; + * @return This builder for chaining. + */ + public Builder clearSources() { + sources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string sources = 2; + * @param value The bytes of the sources to add. + * @return This builder for chaining. + */ + public Builder addSourcesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureSourcesIsMutable(); + sources_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List externalPkgs_ = + java.util.Collections.emptyList(); + private void ensureExternalPkgsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + externalPkgs_ = new java.util.ArrayList(externalPkgs_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdExternalPkgSpec, com.kcl.api.Spec.CmdExternalPkgSpec.Builder, com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder> externalPkgsBuilder_; + + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public java.util.List getExternalPkgsList() { + if (externalPkgsBuilder_ == null) { + return java.util.Collections.unmodifiableList(externalPkgs_); + } else { + return externalPkgsBuilder_.getMessageList(); + } + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public int getExternalPkgsCount() { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.size(); + } else { + return externalPkgsBuilder_.getCount(); + } + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); + } else { + return externalPkgsBuilder_.getMessage(index); + } + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, value); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder addExternalPkgs(com.kcl.api.Spec.CmdExternalPkgSpec value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder addExternalPkgs( + com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder addAllExternalPkgs( + java.lang.Iterable values) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, externalPkgs_); + onChanged(); + } else { + externalPkgsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder clearExternalPkgs() { + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + externalPkgsBuilder_.clear(); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public Builder removeExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.remove(index); + onChanged(); + } else { + externalPkgsBuilder_.remove(index); + } + return this; + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec.Builder getExternalPkgsBuilder( + int index) { + return getExternalPkgsFieldBuilder().getBuilder(index); + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder( + int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); } else { + return externalPkgsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public java.util.List + getExternalPkgsOrBuilderList() { + if (externalPkgsBuilder_ != null) { + return externalPkgsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(externalPkgs_); + } + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder() { + return getExternalPkgsFieldBuilder().addBuilder( + com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder( + int index) { + return getExternalPkgsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); + } + /** + *
+       * External packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; + */ + public java.util.List + getExternalPkgsBuilderList() { + return getExternalPkgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdExternalPkgSpec, com.kcl.api.Spec.CmdExternalPkgSpec.Builder, com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder> + getExternalPkgsFieldBuilder() { + if (externalPkgsBuilder_ == null) { + externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdExternalPkgSpec, com.kcl.api.Spec.CmdExternalPkgSpec.Builder, com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder>( + externalPkgs_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + externalPkgs_ = null; + } + return externalPkgsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgram_Args) + } - public static com.kcl.api.Spec.Error parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgram_Args) + private static final com.kcl.api.Spec.ParseProgram_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgram_Args(); + } - public static com.kcl.api.Spec.Error parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.ParseProgram_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Error parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParseProgram_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.Error parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.Error parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public com.kcl.api.Spec.ParseProgram_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Error parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + } - public static com.kcl.api.Spec.Error parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + public interface ParseProgram_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgram_Result) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Error parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + /** + *
+     * JSON string value
+     * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + java.lang.String getAstJson(); + /** + *
+     * JSON string value
+     * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + com.google.protobuf.ByteString + getAstJsonBytes(); - public static com.kcl.api.Spec.Error parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + java.util.List + getPathsList(); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + int getPathsCount(); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + java.lang.String getPaths(int index); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + com.google.protobuf.ByteString + getPathsBytes(int index); - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + java.util.List + getErrorsList(); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + com.kcl.api.Spec.Error getErrors(int index); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + int getErrorsCount(); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + java.util.List + getErrorsOrBuilderList(); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.ParseProgram_Result} + */ + public static final class ParseProgram_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgram_Result) + ParseProgram_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use ParseProgram_Result.newBuilder() to construct. + private ParseProgram_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ParseProgram_Result() { + astJson_ = ""; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + errors_ = java.util.Collections.emptyList(); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ParseProgram_Result(); + } - public static Builder newBuilder(com.kcl.api.Spec.Error prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseProgram_Result.class, com.kcl.api.Spec.ParseProgram_Result.Builder.class); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Error} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Error) - com.kcl.api.Spec.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Error_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Error.class, - com.kcl.api.Spec.Error.Builder.class); - } + public static final int AST_JSON_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object astJson_ = ""; + /** + *
+     * JSON string value
+     * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + @java.lang.Override + public java.lang.String getAstJson() { + java.lang.Object ref = astJson_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + astJson_ = s; + return s; + } + } + /** + *
+     * JSON string value
+     * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAstJsonBytes() { + java.lang.Object ref = astJson_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + astJson_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // Construct using com.kcl.api.Spec.Error.newBuilder() - private Builder() { + public static final int PATHS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_; + } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } - } + public static final int ERRORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List errors_; + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public java.util.List getErrorsList() { + return errors_; + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public java.util.List + getErrorsOrBuilderList() { + return errors_; + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public int getErrorsCount() { + return errors_.size(); + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getErrors(int index) { + return errors_.get(index); + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index) { + return errors_.get(index); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - level_ = ""; - code_ = ""; - if (messagesBuilder_ == null) { - messages_ = java.util.Collections.emptyList(); - } else { - messages_ = null; - messagesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(astJson_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, astJson_); + } + for (int i = 0; i < paths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, paths_.getRaw(i)); + } + for (int i = 0; i < errors_.size(); i++) { + output.writeMessage(3, errors_.get(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(astJson_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, astJson_); + } + { + int dataSize = 0; + for (int i = 0; i < paths_.size(); i++) { + dataSize += computeStringSizeNoTag(paths_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathsList().size(); + } + for (int i = 0; i < errors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, errors_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public com.kcl.api.Spec.Error getDefaultInstanceForType() { - return com.kcl.api.Spec.Error.getDefaultInstance(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ParseProgram_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.ParseProgram_Result other = (com.kcl.api.Spec.ParseProgram_Result) obj; + + if (!getAstJson() + .equals(other.getAstJson())) return false; + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public com.kcl.api.Spec.Error build() { - com.kcl.api.Spec.Error result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AST_JSON_FIELD_NUMBER; + hash = (53 * hash) + getAstJson().hashCode(); + if (getPathsCount() > 0) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPathsList().hashCode(); + } + if (getErrorsCount() > 0) { + hash = (37 * hash) + ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getErrorsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public com.kcl.api.Spec.Error buildPartial() { - com.kcl.api.Spec.Error result = new com.kcl.api.Spec.Error(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgram_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgram_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private void buildPartialRepeatedFields(com.kcl.api.Spec.Error result) { - if (messagesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - messages_ = java.util.Collections.unmodifiableList(messages_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.messages_ = messages_; - } else { - result.messages_ = messagesBuilder_.build(); - } - } + public static com.kcl.api.Spec.ParseProgram_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private void buildPartial0(com.kcl.api.Spec.Error result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.level_ = level_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.code_ = code_; - } - } + public static com.kcl.api.Spec.ParseProgram_Result 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 com.kcl.api.Spec.ParseProgram_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ParseProgram_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ParseProgram_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgram_Result) + com.kcl.api.Spec.ParseProgram_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseProgram_Result.class, com.kcl.api.Spec.ParseProgram_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.ParseProgram_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + astJson_ = ""; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + } else { + errors_ = null; + errorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgram_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseProgram_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgram_Result build() { + com.kcl.api.Spec.ParseProgram_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgram_Result buildPartial() { + com.kcl.api.Spec.ParseProgram_Result result = new com.kcl.api.Spec.ParseProgram_Result(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgram_Result result) { + if (errorsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + errors_ = java.util.Collections.unmodifiableList(errors_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.errors_ = errors_; + } else { + result.errors_ = errorsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ParseProgram_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.astJson_ = astJson_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + paths_.makeImmutable(); + result.paths_ = paths_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ParseProgram_Result) { + return mergeFrom((com.kcl.api.Spec.ParseProgram_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ParseProgram_Result other) { + if (other == com.kcl.api.Spec.ParseProgram_Result.getDefaultInstance()) return this; + if (!other.getAstJson().isEmpty()) { + astJson_ = other.astJson_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.paths_.isEmpty()) { + if (paths_.isEmpty()) { + paths_ = other.paths_; + bitField0_ |= 0x00000002; + } else { + ensurePathsIsMutable(); + paths_.addAll(other.paths_); + } + onChanged(); + } + if (errorsBuilder_ == null) { + if (!other.errors_.isEmpty()) { + if (errors_.isEmpty()) { + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureErrorsIsMutable(); + errors_.addAll(other.errors_); + } + onChanged(); + } + } else { + if (!other.errors_.isEmpty()) { + if (errorsBuilder_.isEmpty()) { + errorsBuilder_.dispose(); + errorsBuilder_ = null; + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000004); + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; + } else { + errorsBuilder_.addAllMessages(other.errors_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + astJson_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathsIsMutable(); + paths_.add(s); + break; + } // case 18 + case 26: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object astJson_ = ""; + /** + *
+       * JSON string value
+       * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + public java.lang.String getAstJson() { + java.lang.Object ref = astJson_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + astJson_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * JSON string value
+       * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + public com.google.protobuf.ByteString + getAstJsonBytes() { + java.lang.Object ref = astJson_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + astJson_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * JSON string value
+       * 
+ * + * string ast_json = 1; + * @param value The astJson to set. + * @return This builder for chaining. + */ + public Builder setAstJson( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + astJson_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * JSON string value
+       * 
+ * + * string ast_json = 1; + * @return This builder for chaining. + */ + public Builder clearAstJson() { + astJson_ = getDefaultInstance().getAstJson(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * JSON string value
+       * 
+ * + * string ast_json = 1; + * @param value The bytes for astJson to set. + * @return This builder for chaining. + */ + public Builder setAstJsonBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + astJson_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathsIsMutable() { + if (!paths_.isModifiable()) { + paths_ = new com.google.protobuf.LazyStringArrayList(paths_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + paths_.makeImmutable(); + return paths_; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param index The index to set the value at. + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param value The paths to add. + * @return This builder for chaining. + */ + public Builder addPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param values The paths to add. + * @return This builder for chaining. + */ + public Builder addAllPaths( + java.lang.Iterable values) { + ensurePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @return This builder for chaining. + */ + public Builder clearPaths() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param value The bytes of the paths to add. + * @return This builder for chaining. + */ + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List errors_ = + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + errors_ = new java.util.ArrayList(errors_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> errorsBuilder_; + + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List getErrorsList() { + if (errorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(errors_); + } else { + return errorsBuilder_.getMessageList(); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public int getErrorsCount() { + if (errorsBuilder_ == null) { + return errors_.size(); + } else { + return errorsBuilder_.getCount(); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error getErrors(int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); + } else { + return errorsBuilder_.getMessage(index); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder setErrors( + int index, com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.set(index, value); + onChanged(); + } else { + errorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder setErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.set(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors(com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(value); + onChanged(); + } else { + errorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + int index, com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(index, value); + onChanged(); + } else { + errorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addAllErrors( + java.lang.Iterable values) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); + onChanged(); + } else { + errorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder clearErrors() { + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + errorsBuilder_.clear(); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder removeErrors(int index) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.remove(index); + onChanged(); + } else { + errorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder getErrorsBuilder( + int index) { + return getErrorsFieldBuilder().getBuilder(index); + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); } else { + return errorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List + getErrorsOrBuilderList() { + if (errorsBuilder_ != null) { + return errorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(errors_); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List + getErrorsBuilderList() { + return getErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + getErrorsFieldBuilder() { + if (errorsBuilder_ == null) { + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + errors_ = null; + } + return errorsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgram_Result) + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgram_Result) + private static final com.kcl.api.Spec.ParseProgram_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgram_Result(); + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + public static com.kcl.api.Spec.ParseProgram_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParseProgram_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Error) { - return mergeFrom((com.kcl.api.Spec.Error) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public com.kcl.api.Spec.ParseProgram_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public Builder mergeFrom(com.kcl.api.Spec.Error other) { - if (other == com.kcl.api.Spec.Error.getDefaultInstance()) - return this; - if (!other.getLevel().isEmpty()) { - level_ = other.level_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getCode().isEmpty()) { - code_ = other.code_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (messagesBuilder_ == null) { - if (!other.messages_.isEmpty()) { - if (messages_.isEmpty()) { - messages_ = other.messages_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureMessagesIsMutable(); - messages_.addAll(other.messages_); - } - onChanged(); - } - } else { - if (!other.messages_.isEmpty()) { - if (messagesBuilder_.isEmpty()) { - messagesBuilder_.dispose(); - messagesBuilder_ = null; - messages_ = other.messages_; - bitField0_ = (bitField0_ & ~0x00000004); - messagesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMessagesFieldBuilder() : null; - } else { - messagesBuilder_.addAllMessages(other.messages_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public interface LoadPackage_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackage_Args) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - level_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - code_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.kcl.api.Spec.Message m = input.readMessage(com.kcl.api.Spec.Message.parser(), - extensionRegistry); - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - messages_.add(m); - } else { - messagesBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + * @return Whether the parseArgs field is set. + */ + boolean hasParseArgs(); + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + * @return The parseArgs. + */ + com.kcl.api.Spec.ParseProgram_Args getParseArgs(); + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + */ + com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder(); - private int bitField0_; - - private java.lang.Object level_ = ""; - - /** - * string level = 1; - * - * @return The level. - */ - public java.lang.String getLevel() { - java.lang.Object ref = level_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - level_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + /** + * bool resolve_ast = 2; + * @return The resolveAst. + */ + boolean getResolveAst(); - /** - * string level = 1; - * - * @return The bytes for level. - */ - public com.google.protobuf.ByteString getLevelBytes() { - java.lang.Object ref = level_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - level_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * bool load_builtin = 3; + * @return The loadBuiltin. + */ + boolean getLoadBuiltin(); - /** - * string level = 1; - * - * @param value - * The level to set. - * - * @return This builder for chaining. - */ - public Builder setLevel(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - level_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + * bool with_ast_index = 4; + * @return The withAstIndex. + */ + boolean getWithAstIndex(); + } + /** + * Protobuf type {@code com.kcl.api.LoadPackage_Args} + */ + public static final class LoadPackage_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackage_Args) + LoadPackage_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use LoadPackage_Args.newBuilder() to construct. + private LoadPackage_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LoadPackage_Args() { + } - /** - * string level = 1; - * - * @return This builder for chaining. - */ - public Builder clearLevel() { - level_ = getDefaultInstance().getLevel(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LoadPackage_Args(); + } - /** - * string level = 1; - * - * @param value - * The bytes for level to set. - * - * @return This builder for chaining. - */ - public Builder setLevelBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - level_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; + } - private java.lang.Object code_ = ""; - - /** - * string code = 2; - * - * @return The code. - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadPackage_Args.class, com.kcl.api.Spec.LoadPackage_Args.Builder.class); + } - /** - * string code = 2; - * - * @return The bytes for code. - */ - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private int bitField0_; + public static final int PARSE_ARGS_FIELD_NUMBER = 1; + private com.kcl.api.Spec.ParseProgram_Args parseArgs_; + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + * @return Whether the parseArgs field is set. + */ + @java.lang.Override + public boolean hasParseArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + * @return The parseArgs. + */ + @java.lang.Override + public com.kcl.api.Spec.ParseProgram_Args getParseArgs() { + return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; + } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder() { + return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; + } - /** - * string code = 2; - * - * @param value - * The code to set. - * - * @return This builder for chaining. - */ - public Builder setCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - code_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final int RESOLVE_AST_FIELD_NUMBER = 2; + private boolean resolveAst_ = false; + /** + * bool resolve_ast = 2; + * @return The resolveAst. + */ + @java.lang.Override + public boolean getResolveAst() { + return resolveAst_; + } - /** - * string code = 2; - * - * @return This builder for chaining. - */ - public Builder clearCode() { - code_ = getDefaultInstance().getCode(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + public static final int LOAD_BUILTIN_FIELD_NUMBER = 3; + private boolean loadBuiltin_ = false; + /** + * bool load_builtin = 3; + * @return The loadBuiltin. + */ + @java.lang.Override + public boolean getLoadBuiltin() { + return loadBuiltin_; + } - /** - * string code = 2; - * - * @param value - * The bytes for code to set. - * - * @return This builder for chaining. - */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - code_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final int WITH_AST_INDEX_FIELD_NUMBER = 4; + private boolean withAstIndex_ = false; + /** + * bool with_ast_index = 4; + * @return The withAstIndex. + */ + @java.lang.Override + public boolean getWithAstIndex() { + return withAstIndex_; + } - private java.util.List messages_ = java.util.Collections.emptyList(); + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private void ensureMessagesIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - messages_ = new java.util.ArrayList(messages_); - bitField0_ |= 0x00000004; - } - } + memoizedIsInitialized = 1; + return true; + } - private com.google.protobuf.RepeatedFieldBuilderV3 messagesBuilder_; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getParseArgs()); + } + if (resolveAst_ != false) { + output.writeBool(2, resolveAst_); + } + if (loadBuiltin_ != false) { + output.writeBool(3, loadBuiltin_); + } + if (withAstIndex_ != false) { + output.writeBool(4, withAstIndex_); + } + getUnknownFields().writeTo(output); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public java.util.List getMessagesList() { - if (messagesBuilder_ == null) { - return java.util.Collections.unmodifiableList(messages_); - } else { - return messagesBuilder_.getMessageList(); - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getParseArgs()); + } + if (resolveAst_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, resolveAst_); + } + if (loadBuiltin_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, loadBuiltin_); + } + if (withAstIndex_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, withAstIndex_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public int getMessagesCount() { - if (messagesBuilder_ == null) { - return messages_.size(); - } else { - return messagesBuilder_.getCount(); - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LoadPackage_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.LoadPackage_Args other = (com.kcl.api.Spec.LoadPackage_Args) obj; + + if (hasParseArgs() != other.hasParseArgs()) return false; + if (hasParseArgs()) { + if (!getParseArgs() + .equals(other.getParseArgs())) return false; + } + if (getResolveAst() + != other.getResolveAst()) return false; + if (getLoadBuiltin() + != other.getLoadBuiltin()) return false; + if (getWithAstIndex() + != other.getWithAstIndex()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public com.kcl.api.Spec.Message getMessages(int index) { - if (messagesBuilder_ == null) { - return messages_.get(index); - } else { - return messagesBuilder_.getMessage(index); - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasParseArgs()) { + hash = (37 * hash) + PARSE_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getParseArgs().hashCode(); + } + hash = (37 * hash) + RESOLVE_AST_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getResolveAst()); + hash = (37 * hash) + LOAD_BUILTIN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLoadBuiltin()); + hash = (37 * hash) + WITH_AST_INDEX_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWithAstIndex()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder setMessages(int index, com.kcl.api.Spec.Message value) { - if (messagesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMessagesIsMutable(); - messages_.set(index, value); - onChanged(); - } else { - messagesBuilder_.setMessage(index, value); - } - return this; - } + public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackage_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackage_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder setMessages(int index, com.kcl.api.Spec.Message.Builder builderForValue) { - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - messages_.set(index, builderForValue.build()); - onChanged(); - } else { - messagesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + public static com.kcl.api.Spec.LoadPackage_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder addMessages(com.kcl.api.Spec.Message value) { - if (messagesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMessagesIsMutable(); - messages_.add(value); - onChanged(); - } else { - messagesBuilder_.addMessage(value); - } - return this; - } + public static com.kcl.api.Spec.LoadPackage_Args 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 com.kcl.api.Spec.LoadPackage_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder addMessages(int index, com.kcl.api.Spec.Message value) { - if (messagesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMessagesIsMutable(); - messages_.add(index, value); - onChanged(); - } else { - messagesBuilder_.addMessage(index, value); - } - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LoadPackage_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder addMessages(com.kcl.api.Spec.Message.Builder builderForValue) { - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - messages_.add(builderForValue.build()); - onChanged(); - } else { - messagesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder addMessages(int index, com.kcl.api.Spec.Message.Builder builderForValue) { - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - messages_.add(index, builderForValue.build()); - onChanged(); - } else { - messagesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder addAllMessages(java.lang.Iterable values) { - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, messages_); - onChanged(); - } else { - messagesBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder clearMessages() { - if (messagesBuilder_ == null) { - messages_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - messagesBuilder_.clear(); - } - return this; - } - - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder removeMessages(int index) { - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - messages_.remove(index); - onChanged(); - } else { - messagesBuilder_.remove(index); - } - return this; - } - - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public com.kcl.api.Spec.Message.Builder getMessagesBuilder(int index) { - return getMessagesFieldBuilder().getBuilder(index); - } - - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder(int index) { - if (messagesBuilder_ == null) { - return messages_.get(index); - } else { - return messagesBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public java.util.List getMessagesOrBuilderList() { - if (messagesBuilder_ != null) { - return messagesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(messages_); - } - } - - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public com.kcl.api.Spec.Message.Builder addMessagesBuilder() { - return getMessagesFieldBuilder().addBuilder(com.kcl.api.Spec.Message.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public com.kcl.api.Spec.Message.Builder addMessagesBuilder(int index) { - return getMessagesFieldBuilder().addBuilder(index, com.kcl.api.Spec.Message.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.Message messages = 3; - */ - public java.util.List getMessagesBuilderList() { - return getMessagesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getMessagesFieldBuilder() { - if (messagesBuilder_ == null) { - messagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - messages_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - messages_ = null; - } - return messagesBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Error) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Error) - private static final com.kcl.api.Spec.Error DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Error(); - } - - public static com.kcl.api.Spec.Error getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Error getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.LoadPackage_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackage_Args) + com.kcl.api.Spec.LoadPackage_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadPackage_Args.class, com.kcl.api.Spec.LoadPackage_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.LoadPackage_Args.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getParseArgsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parseArgs_ = null; + if (parseArgsBuilder_ != null) { + parseArgsBuilder_.dispose(); + parseArgsBuilder_ = null; + } + resolveAst_ = false; + loadBuiltin_ = false; + withAstIndex_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackage_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadPackage_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackage_Args build() { + com.kcl.api.Spec.LoadPackage_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackage_Args buildPartial() { + com.kcl.api.Spec.LoadPackage_Args result = new com.kcl.api.Spec.LoadPackage_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.LoadPackage_Args result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parseArgs_ = parseArgsBuilder_ == null + ? parseArgs_ + : parseArgsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.resolveAst_ = resolveAst_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.loadBuiltin_ = loadBuiltin_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.withAstIndex_ = withAstIndex_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LoadPackage_Args) { + return mergeFrom((com.kcl.api.Spec.LoadPackage_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LoadPackage_Args other) { + if (other == com.kcl.api.Spec.LoadPackage_Args.getDefaultInstance()) return this; + if (other.hasParseArgs()) { + mergeParseArgs(other.getParseArgs()); + } + if (other.getResolveAst() != false) { + setResolveAst(other.getResolveAst()); + } + if (other.getLoadBuiltin() != false) { + setLoadBuiltin(other.getLoadBuiltin()); + } + if (other.getWithAstIndex() != false) { + setWithAstIndex(other.getWithAstIndex()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getParseArgsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + resolveAst_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + loadBuiltin_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + withAstIndex_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.ParseProgram_Args parseArgs_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ParseProgram_Args, com.kcl.api.Spec.ParseProgram_Args.Builder, com.kcl.api.Spec.ParseProgram_ArgsOrBuilder> parseArgsBuilder_; + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + * @return Whether the parseArgs field is set. + */ + public boolean hasParseArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + * @return The parseArgs. + */ + public com.kcl.api.Spec.ParseProgram_Args getParseArgs() { + if (parseArgsBuilder_ == null) { + return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; + } else { + return parseArgsBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + */ + public Builder setParseArgs(com.kcl.api.Spec.ParseProgram_Args value) { + if (parseArgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + parseArgs_ = value; + } else { + parseArgsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + */ + public Builder setParseArgs( + com.kcl.api.Spec.ParseProgram_Args.Builder builderForValue) { + if (parseArgsBuilder_ == null) { + parseArgs_ = builderForValue.build(); + } else { + parseArgsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + */ + public Builder mergeParseArgs(com.kcl.api.Spec.ParseProgram_Args value) { + if (parseArgsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + parseArgs_ != null && + parseArgs_ != com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance()) { + getParseArgsBuilder().mergeFrom(value); + } else { + parseArgs_ = value; + } + } else { + parseArgsBuilder_.mergeFrom(value); + } + if (parseArgs_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + */ + public Builder clearParseArgs() { + bitField0_ = (bitField0_ & ~0x00000001); + parseArgs_ = null; + if (parseArgsBuilder_ != null) { + parseArgsBuilder_.dispose(); + parseArgsBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + */ + public com.kcl.api.Spec.ParseProgram_Args.Builder getParseArgsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getParseArgsFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + */ + public com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder() { + if (parseArgsBuilder_ != null) { + return parseArgsBuilder_.getMessageOrBuilder(); + } else { + return parseArgs_ == null ? + com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; + } + } + /** + * .com.kcl.api.ParseProgram_Args parse_args = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ParseProgram_Args, com.kcl.api.Spec.ParseProgram_Args.Builder, com.kcl.api.Spec.ParseProgram_ArgsOrBuilder> + getParseArgsFieldBuilder() { + if (parseArgsBuilder_ == null) { + parseArgsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ParseProgram_Args, com.kcl.api.Spec.ParseProgram_Args.Builder, com.kcl.api.Spec.ParseProgram_ArgsOrBuilder>( + getParseArgs(), + getParentForChildren(), + isClean()); + parseArgs_ = null; + } + return parseArgsBuilder_; + } + + private boolean resolveAst_ ; + /** + * bool resolve_ast = 2; + * @return The resolveAst. + */ + @java.lang.Override + public boolean getResolveAst() { + return resolveAst_; + } + /** + * bool resolve_ast = 2; + * @param value The resolveAst to set. + * @return This builder for chaining. + */ + public Builder setResolveAst(boolean value) { + + resolveAst_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * bool resolve_ast = 2; + * @return This builder for chaining. + */ + public Builder clearResolveAst() { + bitField0_ = (bitField0_ & ~0x00000002); + resolveAst_ = false; + onChanged(); + return this; + } + + private boolean loadBuiltin_ ; + /** + * bool load_builtin = 3; + * @return The loadBuiltin. + */ + @java.lang.Override + public boolean getLoadBuiltin() { + return loadBuiltin_; + } + /** + * bool load_builtin = 3; + * @param value The loadBuiltin to set. + * @return This builder for chaining. + */ + public Builder setLoadBuiltin(boolean value) { + + loadBuiltin_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * bool load_builtin = 3; + * @return This builder for chaining. + */ + public Builder clearLoadBuiltin() { + bitField0_ = (bitField0_ & ~0x00000004); + loadBuiltin_ = false; + onChanged(); + return this; + } + + private boolean withAstIndex_ ; + /** + * bool with_ast_index = 4; + * @return The withAstIndex. + */ + @java.lang.Override + public boolean getWithAstIndex() { + return withAstIndex_; + } + /** + * bool with_ast_index = 4; + * @param value The withAstIndex to set. + * @return This builder for chaining. + */ + public Builder setWithAstIndex(boolean value) { + + withAstIndex_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * bool with_ast_index = 4; + * @return This builder for chaining. + */ + public Builder clearWithAstIndex() { + bitField0_ = (bitField0_ & ~0x00000008); + withAstIndex_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackage_Args) + } + // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackage_Args) + private static final com.kcl.api.Spec.LoadPackage_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackage_Args(); } - public interface MessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Message) - com.google.protobuf.MessageOrBuilder { + public static com.kcl.api.Spec.LoadPackage_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * string msg = 1; - * - * @return The msg. - */ - java.lang.String getMsg(); + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoadPackage_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * string msg = 1; - * - * @return The bytes for msg. - */ - com.google.protobuf.ByteString getMsgBytes(); + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * .com.kcl.api.Position pos = 2; - * - * @return Whether the pos field is set. - */ - boolean hasPos(); + @java.lang.Override + public com.kcl.api.Spec.LoadPackage_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * .com.kcl.api.Position pos = 2; - * - * @return The pos. - */ - com.kcl.api.Spec.Position getPos(); + } - /** - * .com.kcl.api.Position pos = 2; - */ - com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder(); - } + public interface LoadPackage_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackage_Result) + com.google.protobuf.MessageOrBuilder { /** - * Protobuf type {@code com.kcl.api.Message} + *
+     * JSON string value
+     * 
+ * + * string program = 1; + * @return The program. + */ + java.lang.String getProgram(); + /** + *
+     * JSON string value
+     * 
+ * + * string program = 1; + * @return The bytes for program. */ - public static final class Message extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Message) - MessageOrBuilder { - private static final long serialVersionUID = 0L; + com.google.protobuf.ByteString + getProgramBytes(); - // Use Message.newBuilder() to construct. - private Message(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + java.util.List + getPathsList(); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + int getPathsCount(); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + java.lang.String getPaths(int index); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + com.google.protobuf.ByteString + getPathsBytes(int index); - private Message() { - msg_ = ""; - } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + java.util.List + getParseErrorsList(); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + com.kcl.api.Spec.Error getParseErrors(int index); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + int getParseErrorsCount(); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + java.util.List + getParseErrorsOrBuilderList(); + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index); - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Message(); - } + /** + *
+     * Type errors
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + java.util.List + getTypeErrorsList(); + /** + *
+     * Type errors
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + com.kcl.api.Spec.Error getTypeErrors(int index); + /** + *
+     * Type errors
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + int getTypeErrorsCount(); + /** + *
+     * Type errors
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + java.util.List + getTypeErrorsOrBuilderList(); + /** + *
+     * Type errors
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder( + int index); - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; - } + /** + *
+     * Map key is the ScopeIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + int getScopesCount(); + /** + *
+     * Map key is the ScopeIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + boolean containsScopes( + java.lang.String key); + /** + * Use {@link #getScopesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getScopes(); + /** + *
+     * Map key is the ScopeIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + java.util.Map + getScopesMap(); + /** + *
+     * Map key is the ScopeIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + /* nullable */ +com.kcl.api.Spec.Scope getScopesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Scope defaultValue); + /** + *
+     * Map key is the ScopeIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + com.kcl.api.Spec.Scope getScopesOrThrow( + java.lang.String key); - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Message_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Message.class, - com.kcl.api.Spec.Message.Builder.class); - } - - private int bitField0_; - public static final int MSG_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object msg_ = ""; - - /** - * string msg = 1; - * - * @return The msg. - */ - @java.lang.Override - public java.lang.String getMsg() { - java.lang.Object ref = msg_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - msg_ = s; - return s; - } - } + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + int getSymbolsCount(); + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + boolean containsSymbols( + java.lang.String key); + /** + * Use {@link #getSymbolsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSymbols(); + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + java.util.Map + getSymbolsMap(); + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + /* nullable */ +com.kcl.api.Spec.Symbol getSymbolsOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Symbol defaultValue); + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + com.kcl.api.Spec.Symbol getSymbolsOrThrow( + java.lang.String key); - /** - * string msg = 1; - * - * @return The bytes for msg. - */ - @java.lang.Override - public com.google.protobuf.ByteString getMsgBytes() { - java.lang.Object ref = msg_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - msg_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * Map key is the AST index UUID string.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + int getNodeSymbolMapCount(); + /** + *
+     * Map key is the AST index UUID string.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + boolean containsNodeSymbolMap( + java.lang.String key); + /** + * Use {@link #getNodeSymbolMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getNodeSymbolMap(); + /** + *
+     * Map key is the AST index UUID string.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + java.util.Map + getNodeSymbolMapMap(); + /** + *
+     * Map key is the AST index UUID string.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + /* nullable */ +com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue); + /** + *
+     * Map key is the AST index UUID string.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow( + java.lang.String key); - public static final int POS_FIELD_NUMBER = 2; - private com.kcl.api.Spec.Position pos_; - - /** - * .com.kcl.api.Position pos = 2; - * - * @return Whether the pos field is set. - */ - @java.lang.Override - public boolean hasPos() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.Position pos = 2; - * - * @return The pos. - */ - @java.lang.Override - public com.kcl.api.Spec.Position getPos() { - return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; - } - - /** - * .com.kcl.api.Position pos = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder() { - return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msg_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, msg_); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(2, getPos()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msg_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, msg_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPos()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Message)) { - return super.equals(obj); - } - com.kcl.api.Spec.Message other = (com.kcl.api.Spec.Message) obj; - - if (!getMsg().equals(other.getMsg())) - return false; - if (hasPos() != other.hasPos()) - return false; - if (hasPos()) { - if (!getPos().equals(other.getPos())) - return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + MSG_FIELD_NUMBER; - hash = (53 * hash) + getMsg().hashCode(); - if (hasPos()) { - hash = (37 * hash) + POS_FIELD_NUMBER; - hash = (53 * hash) + getPos().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Message parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Message parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Message parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Message parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Message parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Message parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Message parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Message 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 com.kcl.api.Spec.Message parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Message 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 com.kcl.api.Spec.Message parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Message parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Message prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Message} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Message) - com.kcl.api.Spec.MessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Message_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Message.class, - com.kcl.api.Spec.Message.Builder.class); - } - - // Construct using com.kcl.api.Spec.Message.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPosFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - msg_ = ""; - pos_ = null; - if (posBuilder_ != null) { - posBuilder_.dispose(); - posBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Message getDefaultInstanceForType() { - return com.kcl.api.Spec.Message.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Message build() { - com.kcl.api.Spec.Message result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Message buildPartial() { - com.kcl.api.Spec.Message result = new com.kcl.api.Spec.Message(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.Message result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.msg_ = msg_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.pos_ = posBuilder_ == null ? pos_ : posBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Message) { - return mergeFrom((com.kcl.api.Spec.Message) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Message other) { - if (other == com.kcl.api.Spec.Message.getDefaultInstance()) - return this; - if (!other.getMsg().isEmpty()) { - msg_ = other.msg_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasPos()) { - mergePos(other.getPos()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - msg_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage(getPosFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object msg_ = ""; - - /** - * string msg = 1; - * - * @return The msg. - */ - public java.lang.String getMsg() { - java.lang.Object ref = msg_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - msg_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string msg = 1; - * - * @return The bytes for msg. - */ - public com.google.protobuf.ByteString getMsgBytes() { - java.lang.Object ref = msg_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - msg_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string msg = 1; - * - * @param value - * The msg to set. - * - * @return This builder for chaining. - */ - public Builder setMsg(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - msg_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string msg = 1; - * - * @return This builder for chaining. - */ - public Builder clearMsg() { - msg_ = getDefaultInstance().getMsg(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string msg = 1; - * - * @param value - * The bytes for msg to set. - * - * @return This builder for chaining. - */ - public Builder setMsgBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - msg_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.kcl.api.Spec.Position pos_; - private com.google.protobuf.SingleFieldBuilderV3 posBuilder_; - - /** - * .com.kcl.api.Position pos = 2; - * - * @return Whether the pos field is set. - */ - public boolean hasPos() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * .com.kcl.api.Position pos = 2; - * - * @return The pos. - */ - public com.kcl.api.Spec.Position getPos() { - if (posBuilder_ == null) { - return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; - } else { - return posBuilder_.getMessage(); - } - } - - /** - * .com.kcl.api.Position pos = 2; - */ - public Builder setPos(com.kcl.api.Spec.Position value) { - if (posBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - pos_ = value; - } else { - posBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * .com.kcl.api.Position pos = 2; - */ - public Builder setPos(com.kcl.api.Spec.Position.Builder builderForValue) { - if (posBuilder_ == null) { - pos_ = builderForValue.build(); - } else { - posBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * .com.kcl.api.Position pos = 2; - */ - public Builder mergePos(com.kcl.api.Spec.Position value) { - if (posBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && pos_ != null - && pos_ != com.kcl.api.Spec.Position.getDefaultInstance()) { - getPosBuilder().mergeFrom(value); - } else { - pos_ = value; - } - } else { - posBuilder_.mergeFrom(value); - } - if (pos_ != null) { - bitField0_ |= 0x00000002; - onChanged(); - } - return this; - } - - /** - * .com.kcl.api.Position pos = 2; - */ - public Builder clearPos() { - bitField0_ = (bitField0_ & ~0x00000002); - pos_ = null; - if (posBuilder_ != null) { - posBuilder_.dispose(); - posBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * .com.kcl.api.Position pos = 2; - */ - public com.kcl.api.Spec.Position.Builder getPosBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getPosFieldBuilder().getBuilder(); - } - - /** - * .com.kcl.api.Position pos = 2; - */ - public com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder() { - if (posBuilder_ != null) { - return posBuilder_.getMessageOrBuilder(); - } else { - return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; - } - } - - /** - * .com.kcl.api.Position pos = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3 getPosFieldBuilder() { - if (posBuilder_ == null) { - posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getPos(), getParentForChildren(), isClean()); - pos_ = null; - } - return posBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Message) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Message) - private static final com.kcl.api.Spec.Message DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Message(); - } - - public static com.kcl.api.Spec.Message getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Message parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Message getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface Ping_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Ping_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string value = 1; - * - * @return The value. - */ - java.lang.String getValue(); - - /** - * string value = 1; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.Ping_Args} - */ - public static final class Ping_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Ping_Args) - Ping_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Ping_Args.newBuilder() to construct. - private Ping_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Ping_Args() { - value_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Ping_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Ping_Args.class, - com.kcl.api.Spec.Ping_Args.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; - - /** - * string value = 1; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } - - /** - * string value = 1; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Ping_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.Ping_Args other = (com.kcl.api.Spec.Ping_Args) obj; - - if (!getValue().equals(other.getValue())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Args 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 com.kcl.api.Spec.Ping_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Args 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 com.kcl.api.Spec.Ping_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Ping_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Ping_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Ping_Args) - com.kcl.api.Spec.Ping_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Ping_Args.class, - com.kcl.api.Spec.Ping_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.Ping_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - value_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.Ping_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Args build() { - com.kcl.api.Spec.Ping_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Args buildPartial() { - com.kcl.api.Spec.Ping_Args result = new com.kcl.api.Spec.Ping_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.Ping_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.value_ = value_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Ping_Args) { - return mergeFrom((com.kcl.api.Spec.Ping_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Ping_Args other) { - if (other == com.kcl.api.Spec.Ping_Args.getDefaultInstance()) - return this; - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object value_ = ""; - - /** - * string value = 1; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string value = 1; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string value = 1; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string value = 1; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string value = 1; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Ping_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Ping_Args) - private static final com.kcl.api.Spec.Ping_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Ping_Args(); - } - - public static com.kcl.api.Spec.Ping_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Ping_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface Ping_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Ping_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * string value = 1; - * - * @return The value. - */ - java.lang.String getValue(); - - /** - * string value = 1; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.Ping_Result} - */ - public static final class Ping_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Ping_Result) - Ping_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Ping_Result.newBuilder() to construct. - private Ping_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Ping_Result() { - value_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Ping_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Ping_Result.class, - com.kcl.api.Spec.Ping_Result.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; - - /** - * string value = 1; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } - - /** - * string value = 1; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Ping_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.Ping_Result other = (com.kcl.api.Spec.Ping_Result) obj; - - if (!getValue().equals(other.getValue())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Result 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 com.kcl.api.Spec.Ping_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Result 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 com.kcl.api.Spec.Ping_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Ping_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Ping_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Ping_Result) - com.kcl.api.Spec.Ping_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Ping_Result.class, - com.kcl.api.Spec.Ping_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.Ping_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - value_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.Ping_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Result build() { - com.kcl.api.Spec.Ping_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Result buildPartial() { - com.kcl.api.Spec.Ping_Result result = new com.kcl.api.Spec.Ping_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.Ping_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.value_ = value_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Ping_Result) { - return mergeFrom((com.kcl.api.Spec.Ping_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Ping_Result other) { - if (other == com.kcl.api.Spec.Ping_Result.getDefaultInstance()) - return this; - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object value_ = ""; - - /** - * string value = 1; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string value = 1; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string value = 1; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string value = 1; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string value = 1; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Ping_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Ping_Result) - private static final com.kcl.api.Spec.Ping_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Ping_Result(); - } - - public static com.kcl.api.Spec.Ping_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Ping_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListMethod_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethod_Args) - com.google.protobuf.MessageOrBuilder { - } - - /** - *
-     * empty
-     * 
- * - * Protobuf type {@code com.kcl.api.ListMethod_Args} - */ - public static final class ListMethod_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethod_Args) - ListMethod_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ListMethod_Args.newBuilder() to construct. - private ListMethod_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListMethod_Args() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListMethod_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListMethod_Args.class, - com.kcl.api.Spec.ListMethod_Args.Builder.class); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListMethod_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListMethod_Args other = (com.kcl.api.Spec.ListMethod_Args) obj; - - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Args 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 com.kcl.api.Spec.ListMethod_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Args 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 com.kcl.api.Spec.ListMethod_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListMethod_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * empty
-         * 
- * - * Protobuf type {@code com.kcl.api.ListMethod_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethod_Args) - com.kcl.api.Spec.ListMethod_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListMethod_Args.class, - com.kcl.api.Spec.ListMethod_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListMethod_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ListMethod_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args build() { - com.kcl.api.Spec.ListMethod_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args buildPartial() { - com.kcl.api.Spec.ListMethod_Args result = new com.kcl.api.Spec.ListMethod_Args(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListMethod_Args) { - return mergeFrom((com.kcl.api.Spec.ListMethod_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListMethod_Args other) { - if (other == com.kcl.api.Spec.ListMethod_Args.getDefaultInstance()) - return this; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethod_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethod_Args) - private static final com.kcl.api.Spec.ListMethod_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethod_Args(); - } - - public static com.kcl.api.Spec.ListMethod_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMethod_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListMethod_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethod_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string method_name_list = 1; - * - * @return A list containing the methodNameList. - */ - java.util.List getMethodNameListList(); - - /** - * repeated string method_name_list = 1; - * - * @return The count of methodNameList. - */ - int getMethodNameListCount(); - - /** - * repeated string method_name_list = 1; - * - * @param index - * The index of the element to return. - * - * @return The methodNameList at the given index. - */ - java.lang.String getMethodNameList(int index); - - /** - * repeated string method_name_list = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the methodNameList at the given index. - */ - com.google.protobuf.ByteString getMethodNameListBytes(int index); - } - - /** - * Protobuf type {@code com.kcl.api.ListMethod_Result} - */ - public static final class ListMethod_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethod_Result) - ListMethod_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ListMethod_Result.newBuilder() to construct. - private ListMethod_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListMethod_Result() { - methodNameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListMethod_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListMethod_Result.class, - com.kcl.api.Spec.ListMethod_Result.Builder.class); - } - - public static final int METHOD_NAME_LIST_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList methodNameList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - * repeated string method_name_list = 1; - * - * @return A list containing the methodNameList. - */ - public com.google.protobuf.ProtocolStringList getMethodNameListList() { - return methodNameList_; - } - - /** - * repeated string method_name_list = 1; - * - * @return The count of methodNameList. - */ - public int getMethodNameListCount() { - return methodNameList_.size(); - } - - /** - * repeated string method_name_list = 1; - * - * @param index - * The index of the element to return. - * - * @return The methodNameList at the given index. - */ - public java.lang.String getMethodNameList(int index) { - return methodNameList_.get(index); - } - - /** - * repeated string method_name_list = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the methodNameList at the given index. - */ - public com.google.protobuf.ByteString getMethodNameListBytes(int index) { - return methodNameList_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < methodNameList_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, methodNameList_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < methodNameList_.size(); i++) { - dataSize += computeStringSizeNoTag(methodNameList_.getRaw(i)); - } - size += dataSize; - size += 1 * getMethodNameListList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListMethod_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListMethod_Result other = (com.kcl.api.Spec.ListMethod_Result) obj; - - if (!getMethodNameListList().equals(other.getMethodNameListList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getMethodNameListCount() > 0) { - hash = (37 * hash) + METHOD_NAME_LIST_FIELD_NUMBER; - hash = (53 * hash) + getMethodNameListList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Result 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 com.kcl.api.Spec.ListMethod_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Result 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 com.kcl.api.Spec.ListMethod_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListMethod_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ListMethod_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethod_Result) - com.kcl.api.Spec.ListMethod_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListMethod_Result.class, - com.kcl.api.Spec.ListMethod_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListMethod_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - methodNameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListMethod_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result build() { - com.kcl.api.Spec.ListMethod_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result buildPartial() { - com.kcl.api.Spec.ListMethod_Result result = new com.kcl.api.Spec.ListMethod_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ListMethod_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - methodNameList_.makeImmutable(); - result.methodNameList_ = methodNameList_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListMethod_Result) { - return mergeFrom((com.kcl.api.Spec.ListMethod_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListMethod_Result other) { - if (other == com.kcl.api.Spec.ListMethod_Result.getDefaultInstance()) - return this; - if (!other.methodNameList_.isEmpty()) { - if (methodNameList_.isEmpty()) { - methodNameList_ = other.methodNameList_; - bitField0_ |= 0x00000001; - } else { - ensureMethodNameListIsMutable(); - methodNameList_.addAll(other.methodNameList_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureMethodNameListIsMutable(); - methodNameList_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList methodNameList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureMethodNameListIsMutable() { - if (!methodNameList_.isModifiable()) { - methodNameList_ = new com.google.protobuf.LazyStringArrayList(methodNameList_); - } - bitField0_ |= 0x00000001; - } - - /** - * repeated string method_name_list = 1; - * - * @return A list containing the methodNameList. - */ - public com.google.protobuf.ProtocolStringList getMethodNameListList() { - methodNameList_.makeImmutable(); - return methodNameList_; - } - - /** - * repeated string method_name_list = 1; - * - * @return The count of methodNameList. - */ - public int getMethodNameListCount() { - return methodNameList_.size(); - } - - /** - * repeated string method_name_list = 1; - * - * @param index - * The index of the element to return. - * - * @return The methodNameList at the given index. - */ - public java.lang.String getMethodNameList(int index) { - return methodNameList_.get(index); - } - - /** - * repeated string method_name_list = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the methodNameList at the given index. - */ - public com.google.protobuf.ByteString getMethodNameListBytes(int index) { - return methodNameList_.getByteString(index); - } - - /** - * repeated string method_name_list = 1; - * - * @param index - * The index to set the value at. - * @param value - * The methodNameList to set. - * - * @return This builder for chaining. - */ - public Builder setMethodNameList(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMethodNameListIsMutable(); - methodNameList_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string method_name_list = 1; - * - * @param value - * The methodNameList to add. - * - * @return This builder for chaining. - */ - public Builder addMethodNameList(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMethodNameListIsMutable(); - methodNameList_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string method_name_list = 1; - * - * @param values - * The methodNameList to add. - * - * @return This builder for chaining. - */ - public Builder addAllMethodNameList(java.lang.Iterable values) { - ensureMethodNameListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, methodNameList_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string method_name_list = 1; - * - * @return This builder for chaining. - */ - public Builder clearMethodNameList() { - methodNameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - * repeated string method_name_list = 1; - * - * @param value - * The bytes of the methodNameList to add. - * - * @return This builder for chaining. - */ - public Builder addMethodNameListBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureMethodNameListIsMutable(); - methodNameList_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethod_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethod_Result) - private static final com.kcl.api.Spec.ListMethod_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethod_Result(); - } - - public static com.kcl.api.Spec.ListMethod_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMethod_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParseFile_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFile_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string path = 1; - * - * @return The path. - */ - java.lang.String getPath(); - - /** - * string path = 1; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); - - /** - * string source = 2; - * - * @return The source. - */ - java.lang.String getSource(); - - /** - * string source = 2; - * - * @return The bytes for source. - */ - com.google.protobuf.ByteString getSourceBytes(); - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - java.util.List getExternalPkgsList(); - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index); - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - int getExternalPkgsCount(); - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - java.util.List getExternalPkgsOrBuilderList(); - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder(int index); - } - - /** - * Protobuf type {@code com.kcl.api.ParseFile_Args} - */ - public static final class ParseFile_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFile_Args) - ParseFile_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ParseFile_Args.newBuilder() to construct. - private ParseFile_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ParseFile_Args() { - path_ = ""; - source_ = ""; - externalPkgs_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ParseFile_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseFile_Args.class, - com.kcl.api.Spec.ParseFile_Args.Builder.class); - } - - public static final int PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object path_ = ""; - - /** - * string path = 1; - * - * @return The path. - */ - @java.lang.Override - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } - } - - /** - * string path = 1; - * - * @return The bytes for path. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SOURCE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object source_ = ""; - - /** - * string source = 2; - * - * @return The source. - */ - @java.lang.Override - public java.lang.String getSource() { - java.lang.Object ref = source_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - source_ = s; - return s; - } - } - - /** - * string source = 2; - * - * @return The bytes for source. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { - java.lang.Object ref = source_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - source_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List externalPkgs_; - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - @java.lang.Override - public java.util.List getExternalPkgsList() { - return externalPkgs_; - } - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - @java.lang.Override - public java.util.List getExternalPkgsOrBuilderList() { - return externalPkgs_; - } - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - @java.lang.Override - public int getExternalPkgsCount() { - return externalPkgs_.size(); - } - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { - return externalPkgs_.get(index); - } - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder(int index) { - return externalPkgs_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - output.writeMessage(3, externalPkgs_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, externalPkgs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ParseFile_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ParseFile_Args other = (com.kcl.api.Spec.ParseFile_Args) obj; - - if (!getPath().equals(other.getPath())) - return false; - if (!getSource().equals(other.getSource())) - return false; - if (!getExternalPkgsList().equals(other.getExternalPkgsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PATH_FIELD_NUMBER; - hash = (53 * hash) + getPath().hashCode(); - hash = (37 * hash) + SOURCE_FIELD_NUMBER; - hash = (53 * hash) + getSource().hashCode(); - if (getExternalPkgsCount() > 0) { - hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; - hash = (53 * hash) + getExternalPkgsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Args 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 com.kcl.api.Spec.ParseFile_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Args 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 com.kcl.api.Spec.ParseFile_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ParseFile_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ParseFile_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFile_Args) - com.kcl.api.Spec.ParseFile_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseFile_Args.class, - com.kcl.api.Spec.ParseFile_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ParseFile_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - path_ = ""; - source_ = ""; - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - } else { - externalPkgs_ = null; - externalPkgsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseFile_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args build() { - com.kcl.api.Spec.ParseFile_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args buildPartial() { - com.kcl.api.Spec.ParseFile_Args result = new com.kcl.api.Spec.ParseFile_Args(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFile_Args result) { - if (externalPkgsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.externalPkgs_ = externalPkgs_; - } else { - result.externalPkgs_ = externalPkgsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ParseFile_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.path_ = path_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.source_ = source_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseFile_Args) { - return mergeFrom((com.kcl.api.Spec.ParseFile_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ParseFile_Args other) { - if (other == com.kcl.api.Spec.ParseFile_Args.getDefaultInstance()) - return this; - if (!other.getPath().isEmpty()) { - path_ = other.path_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getSource().isEmpty()) { - source_ = other.source_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (externalPkgsBuilder_ == null) { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgs_.isEmpty()) { - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureExternalPkgsIsMutable(); - externalPkgs_.addAll(other.externalPkgs_); - } - onChanged(); - } - } else { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgsBuilder_.isEmpty()) { - externalPkgsBuilder_.dispose(); - externalPkgsBuilder_ = null; - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000004); - externalPkgsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExternalPkgsFieldBuilder() : null; - } else { - externalPkgsBuilder_.addAllMessages(other.externalPkgs_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - source_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.kcl.api.Spec.CmdExternalPkgSpec m = input - .readMessage(com.kcl.api.Spec.CmdExternalPkgSpec.parser(), extensionRegistry); - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(m); - } else { - externalPkgsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object path_ = ""; - - /** - * string path = 1; - * - * @return The path. - */ - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string path = 1; - * - * @return The bytes for path. - */ - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string path = 1; - * - * @param value - * The path to set. - * - * @return This builder for chaining. - */ - public Builder setPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string path = 1; - * - * @return This builder for chaining. - */ - public Builder clearPath() { - path_ = getDefaultInstance().getPath(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string path = 1; - * - * @param value - * The bytes for path to set. - * - * @return This builder for chaining. - */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object source_ = ""; - - /** - * string source = 2; - * - * @return The source. - */ - public java.lang.String getSource() { - java.lang.Object ref = source_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - source_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string source = 2; - * - * @return The bytes for source. - */ - public com.google.protobuf.ByteString getSourceBytes() { - java.lang.Object ref = source_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - source_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string source = 2; - * - * @param value - * The source to set. - * - * @return This builder for chaining. - */ - public Builder setSource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - source_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string source = 2; - * - * @return This builder for chaining. - */ - public Builder clearSource() { - source_ = getDefaultInstance().getSource(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string source = 2; - * - * @param value - * The bytes for source to set. - * - * @return This builder for chaining. - */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - source_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List externalPkgs_ = java.util.Collections - .emptyList(); - - private void ensureExternalPkgsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - externalPkgs_ = new java.util.ArrayList(externalPkgs_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 externalPkgsBuilder_; - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public java.util.List getExternalPkgsList() { - if (externalPkgsBuilder_ == null) { - return java.util.Collections.unmodifiableList(externalPkgs_); - } else { - return externalPkgsBuilder_.getMessageList(); - } - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public int getExternalPkgsCount() { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.size(); - } else { - return externalPkgsBuilder_.getCount(); - } - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessage(index); - } - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, value); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.CmdExternalPkgSpec value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder addAllExternalPkgs( - java.lang.Iterable values) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, externalPkgs_); - onChanged(); - } else { - externalPkgsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder clearExternalPkgs() { - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - externalPkgsBuilder_.clear(); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder removeExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.remove(index); - onChanged(); - } else { - externalPkgsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec.Builder getExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public java.util.List getExternalPkgsOrBuilderList() { - if (externalPkgsBuilder_ != null) { - return externalPkgsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(externalPkgs_); - } - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder() { - return getExternalPkgsFieldBuilder() - .addBuilder(com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().addBuilder(index, - com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public java.util.List getExternalPkgsBuilderList() { - return getExternalPkgsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getExternalPkgsFieldBuilder() { - if (externalPkgsBuilder_ == null) { - externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - externalPkgs_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - externalPkgs_ = null; - } - return externalPkgsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFile_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFile_Args) - private static final com.kcl.api.Spec.ParseFile_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFile_Args(); - } - - public static com.kcl.api.Spec.ParseFile_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParseFile_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParseFile_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFile_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * JSON string value
-         * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - java.lang.String getAstJson(); - - /** - *
-         * JSON string value
-         * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - com.google.protobuf.ByteString getAstJsonBytes(); - - /** - *
-         * file dependency paths
-         * 
- * - * repeated string deps = 2; - * - * @return A list containing the deps. - */ - java.util.List getDepsList(); - - /** - *
-         * file dependency paths
-         * 
- * - * repeated string deps = 2; - * - * @return The count of deps. - */ - int getDepsCount(); - - /** - *
-         * file dependency paths
-         * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the element to return. - * - * @return The deps at the given index. - */ - java.lang.String getDeps(int index); - - /** - *
-         * file dependency paths
-         * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the deps at the given index. - */ - com.google.protobuf.ByteString getDepsBytes(int index); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - java.util.List getErrorsList(); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - com.kcl.api.Spec.Error getErrors(int index); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - int getErrorsCount(); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - java.util.List getErrorsOrBuilderList(); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index); - } - - /** - * Protobuf type {@code com.kcl.api.ParseFile_Result} - */ - public static final class ParseFile_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFile_Result) - ParseFile_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ParseFile_Result.newBuilder() to construct. - private ParseFile_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ParseFile_Result() { - astJson_ = ""; - deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); - errors_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ParseFile_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseFile_Result.class, - com.kcl.api.Spec.ParseFile_Result.Builder.class); - } - - public static final int AST_JSON_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object astJson_ = ""; - - /** - *
-         * JSON string value
-         * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - @java.lang.Override - public java.lang.String getAstJson() { - java.lang.Object ref = astJson_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - astJson_ = s; - return s; - } - } - - /** - *
-         * JSON string value
-         * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - @java.lang.Override - public com.google.protobuf.ByteString getAstJsonBytes() { - java.lang.Object ref = astJson_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - astJson_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DEPS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * file dependency paths
-         * 
- * - * repeated string deps = 2; - * - * @return A list containing the deps. - */ - public com.google.protobuf.ProtocolStringList getDepsList() { - return deps_; - } - - /** - *
-         * file dependency paths
-         * 
- * - * repeated string deps = 2; - * - * @return The count of deps. - */ - public int getDepsCount() { - return deps_.size(); - } - - /** - *
-         * file dependency paths
-         * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the element to return. - * - * @return The deps at the given index. - */ - public java.lang.String getDeps(int index) { - return deps_.get(index); - } - - /** - *
-         * file dependency paths
-         * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the deps at the given index. - */ - public com.google.protobuf.ByteString getDepsBytes(int index) { - return deps_.getByteString(index); - } - - public static final int ERRORS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List errors_; - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public java.util.List getErrorsList() { - return errors_; - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public java.util.List getErrorsOrBuilderList() { - return errors_; - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public int getErrorsCount() { - return errors_.size(); - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getErrors(int index) { - return errors_.get(index); - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index) { - return errors_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(astJson_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, astJson_); - } - for (int i = 0; i < deps_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deps_.getRaw(i)); - } - for (int i = 0; i < errors_.size(); i++) { - output.writeMessage(3, errors_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(astJson_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, astJson_); - } - { - int dataSize = 0; - for (int i = 0; i < deps_.size(); i++) { - dataSize += computeStringSizeNoTag(deps_.getRaw(i)); - } - size += dataSize; - size += 1 * getDepsList().size(); - } - for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, errors_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ParseFile_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ParseFile_Result other = (com.kcl.api.Spec.ParseFile_Result) obj; - - if (!getAstJson().equals(other.getAstJson())) - return false; - if (!getDepsList().equals(other.getDepsList())) - return false; - if (!getErrorsList().equals(other.getErrorsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + AST_JSON_FIELD_NUMBER; - hash = (53 * hash) + getAstJson().hashCode(); - if (getDepsCount() > 0) { - hash = (37 * hash) + DEPS_FIELD_NUMBER; - hash = (53 * hash) + getDepsList().hashCode(); - } - if (getErrorsCount() > 0) { - hash = (37 * hash) + ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getErrorsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Result 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 com.kcl.api.Spec.ParseFile_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Result 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 com.kcl.api.Spec.ParseFile_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ParseFile_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ParseFile_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFile_Result) - com.kcl.api.Spec.ParseFile_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseFile_Result.class, - com.kcl.api.Spec.ParseFile_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ParseFile_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - astJson_ = ""; - deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (errorsBuilder_ == null) { - errors_ = java.util.Collections.emptyList(); - } else { - errors_ = null; - errorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseFile_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result build() { - com.kcl.api.Spec.ParseFile_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result buildPartial() { - com.kcl.api.Spec.ParseFile_Result result = new com.kcl.api.Spec.ParseFile_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFile_Result result) { - if (errorsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - errors_ = java.util.Collections.unmodifiableList(errors_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.errors_ = errors_; - } else { - result.errors_ = errorsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ParseFile_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.astJson_ = astJson_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - deps_.makeImmutable(); - result.deps_ = deps_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseFile_Result) { - return mergeFrom((com.kcl.api.Spec.ParseFile_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ParseFile_Result other) { - if (other == com.kcl.api.Spec.ParseFile_Result.getDefaultInstance()) - return this; - if (!other.getAstJson().isEmpty()) { - astJson_ = other.astJson_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.deps_.isEmpty()) { - if (deps_.isEmpty()) { - deps_ = other.deps_; - bitField0_ |= 0x00000002; - } else { - ensureDepsIsMutable(); - deps_.addAll(other.deps_); - } - onChanged(); - } - if (errorsBuilder_ == null) { - if (!other.errors_.isEmpty()) { - if (errors_.isEmpty()) { - errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureErrorsIsMutable(); - errors_.addAll(other.errors_); - } - onChanged(); - } - } else { - if (!other.errors_.isEmpty()) { - if (errorsBuilder_.isEmpty()) { - errorsBuilder_.dispose(); - errorsBuilder_ = null; - errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x00000004); - errorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() : null; - } else { - errorsBuilder_.addAllMessages(other.errors_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - astJson_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDepsIsMutable(); - deps_.add(s); - break; - } // case 18 - case 26: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object astJson_ = ""; - - /** - *
-             * JSON string value
-             * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - public java.lang.String getAstJson() { - java.lang.Object ref = astJson_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - astJson_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * JSON string value
-             * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - public com.google.protobuf.ByteString getAstJsonBytes() { - java.lang.Object ref = astJson_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - astJson_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * JSON string value
-             * 
- * - * string ast_json = 1; - * - * @param value - * The astJson to set. - * - * @return This builder for chaining. - */ - public Builder setAstJson(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - astJson_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * JSON string value
-             * 
- * - * string ast_json = 1; - * - * @return This builder for chaining. - */ - public Builder clearAstJson() { - astJson_ = getDefaultInstance().getAstJson(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * JSON string value
-             * 
- * - * string ast_json = 1; - * - * @param value - * The bytes for astJson to set. - * - * @return This builder for chaining. - */ - public Builder setAstJsonBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - astJson_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - private void ensureDepsIsMutable() { - if (!deps_.isModifiable()) { - deps_ = new com.google.protobuf.LazyStringArrayList(deps_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * file dependency paths
-             * 
- * - * repeated string deps = 2; - * - * @return A list containing the deps. - */ - public com.google.protobuf.ProtocolStringList getDepsList() { - deps_.makeImmutable(); - return deps_; - } - - /** - *
-             * file dependency paths
-             * 
- * - * repeated string deps = 2; - * - * @return The count of deps. - */ - public int getDepsCount() { - return deps_.size(); - } - - /** - *
-             * file dependency paths
-             * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the element to return. - * - * @return The deps at the given index. - */ - public java.lang.String getDeps(int index) { - return deps_.get(index); - } - - /** - *
-             * file dependency paths
-             * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the deps at the given index. - */ - public com.google.protobuf.ByteString getDepsBytes(int index) { - return deps_.getByteString(index); - } - - /** - *
-             * file dependency paths
-             * 
- * - * repeated string deps = 2; - * - * @param index - * The index to set the value at. - * @param value - * The deps to set. - * - * @return This builder for chaining. - */ - public Builder setDeps(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDepsIsMutable(); - deps_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * file dependency paths
-             * 
- * - * repeated string deps = 2; - * - * @param value - * The deps to add. - * - * @return This builder for chaining. - */ - public Builder addDeps(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDepsIsMutable(); - deps_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * file dependency paths
-             * 
- * - * repeated string deps = 2; - * - * @param values - * The deps to add. - * - * @return This builder for chaining. - */ - public Builder addAllDeps(java.lang.Iterable values) { - ensureDepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deps_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * file dependency paths
-             * 
- * - * repeated string deps = 2; - * - * @return This builder for chaining. - */ - public Builder clearDeps() { - deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * file dependency paths
-             * 
- * - * repeated string deps = 2; - * - * @param value - * The bytes of the deps to add. - * - * @return This builder for chaining. - */ - public Builder addDepsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDepsIsMutable(); - deps_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List errors_ = java.util.Collections.emptyList(); - - private void ensureErrorsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - errors_ = new java.util.ArrayList(errors_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 errorsBuilder_; - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsList() { - if (errorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(errors_); - } else { - return errorsBuilder_.getMessageList(); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public int getErrorsCount() { - if (errorsBuilder_ == null) { - return errors_.size(); - } else { - return errorsBuilder_.getCount(); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error getErrors(int index) { - if (errorsBuilder_ == null) { - return errors_.get(index); - } else { - return errorsBuilder_.getMessage(index); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder setErrors(int index, com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.set(index, value); - onChanged(); - } else { - errorsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder setErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.set(index, builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.add(value); - onChanged(); - } else { - errorsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(int index, com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.add(index, value); - onChanged(); - } else { - errorsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(index, builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addAllErrors(java.lang.Iterable values) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); - onChanged(); - } else { - errorsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder clearErrors() { - if (errorsBuilder_ == null) { - errors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - errorsBuilder_.clear(); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder removeErrors(int index) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.remove(index); - onChanged(); - } else { - errorsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder getErrorsBuilder(int index) { - return getErrorsFieldBuilder().getBuilder(index); - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index) { - if (errorsBuilder_ == null) { - return errors_.get(index); - } else { - return errorsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsOrBuilderList() { - if (errorsBuilder_ != null) { - return errorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(errors_); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsBuilderList() { - return getErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getErrorsFieldBuilder() { - if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - errors_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - errors_ = null; - } - return errorsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFile_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFile_Result) - private static final com.kcl.api.Spec.ParseFile_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFile_Result(); - } - - public static com.kcl.api.Spec.ParseFile_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParseFile_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParseProgram_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgram_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - java.util.List getPathsList(); - - /** - * repeated string paths = 1; - * - * @return The count of paths. - */ - int getPathsCount(); - - /** - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - java.lang.String getPaths(int index); - - /** - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - com.google.protobuf.ByteString getPathsBytes(int index); - - /** - * repeated string sources = 2; - * - * @return A list containing the sources. - */ - java.util.List getSourcesList(); - - /** - * repeated string sources = 2; - * - * @return The count of sources. - */ - int getSourcesCount(); - - /** - * repeated string sources = 2; - * - * @param index - * The index of the element to return. - * - * @return The sources at the given index. - */ - java.lang.String getSources(int index); - - /** - * repeated string sources = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the sources at the given index. - */ - com.google.protobuf.ByteString getSourcesBytes(int index); - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - java.util.List getExternalPkgsList(); - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index); - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - int getExternalPkgsCount(); - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - java.util.List getExternalPkgsOrBuilderList(); - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder(int index); - } - - /** - * Protobuf type {@code com.kcl.api.ParseProgram_Args} - */ - public static final class ParseProgram_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgram_Args) - ParseProgram_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ParseProgram_Args.newBuilder() to construct. - private ParseProgram_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ParseProgram_Args() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - sources_ = com.google.protobuf.LazyStringArrayList.emptyList(); - externalPkgs_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ParseProgram_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseProgram_Args.class, - com.kcl.api.Spec.ParseProgram_Args.Builder.class); - } - - public static final int PATHS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - return paths_; - } - - /** - * repeated string paths = 1; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - public static final int SOURCES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList sources_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - * repeated string sources = 2; - * - * @return A list containing the sources. - */ - public com.google.protobuf.ProtocolStringList getSourcesList() { - return sources_; - } - - /** - * repeated string sources = 2; - * - * @return The count of sources. - */ - public int getSourcesCount() { - return sources_.size(); - } - - /** - * repeated string sources = 2; - * - * @param index - * The index of the element to return. - * - * @return The sources at the given index. - */ - public java.lang.String getSources(int index) { - return sources_.get(index); - } - - /** - * repeated string sources = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the sources at the given index. - */ - public com.google.protobuf.ByteString getSourcesBytes(int index) { - return sources_.getByteString(index); - } - - public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List externalPkgs_; - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - @java.lang.Override - public java.util.List getExternalPkgsList() { - return externalPkgs_; - } - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - @java.lang.Override - public java.util.List getExternalPkgsOrBuilderList() { - return externalPkgs_; - } - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - @java.lang.Override - public int getExternalPkgsCount() { - return externalPkgs_.size(); - } - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { - return externalPkgs_.get(index); - } - - /** - *
-         * External packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder(int index) { - return externalPkgs_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < paths_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paths_.getRaw(i)); - } - for (int i = 0; i < sources_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sources_.getRaw(i)); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - output.writeMessage(3, externalPkgs_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < paths_.size(); i++) { - dataSize += computeStringSizeNoTag(paths_.getRaw(i)); - } - size += dataSize; - size += 1 * getPathsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < sources_.size(); i++) { - dataSize += computeStringSizeNoTag(sources_.getRaw(i)); - } - size += dataSize; - size += 1 * getSourcesList().size(); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, externalPkgs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ParseProgram_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ParseProgram_Args other = (com.kcl.api.Spec.ParseProgram_Args) obj; - - if (!getPathsList().equals(other.getPathsList())) - return false; - if (!getSourcesList().equals(other.getSourcesList())) - return false; - if (!getExternalPkgsList().equals(other.getExternalPkgsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPathsCount() > 0) { - hash = (37 * hash) + PATHS_FIELD_NUMBER; - hash = (53 * hash) + getPathsList().hashCode(); - } - if (getSourcesCount() > 0) { - hash = (37 * hash) + SOURCES_FIELD_NUMBER; - hash = (53 * hash) + getSourcesList().hashCode(); - } - if (getExternalPkgsCount() > 0) { - hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; - hash = (53 * hash) + getExternalPkgsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Args 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 com.kcl.api.Spec.ParseProgram_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Args 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 com.kcl.api.Spec.ParseProgram_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ParseProgram_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ParseProgram_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgram_Args) - com.kcl.api.Spec.ParseProgram_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseProgram_Args.class, - com.kcl.api.Spec.ParseProgram_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ParseProgram_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - sources_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - } else { - externalPkgs_ = null; - externalPkgsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args build() { - com.kcl.api.Spec.ParseProgram_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args buildPartial() { - com.kcl.api.Spec.ParseProgram_Args result = new com.kcl.api.Spec.ParseProgram_Args(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgram_Args result) { - if (externalPkgsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.externalPkgs_ = externalPkgs_; - } else { - result.externalPkgs_ = externalPkgsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ParseProgram_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - paths_.makeImmutable(); - result.paths_ = paths_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - sources_.makeImmutable(); - result.sources_ = sources_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseProgram_Args) { - return mergeFrom((com.kcl.api.Spec.ParseProgram_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ParseProgram_Args other) { - if (other == com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance()) - return this; - if (!other.paths_.isEmpty()) { - if (paths_.isEmpty()) { - paths_ = other.paths_; - bitField0_ |= 0x00000001; - } else { - ensurePathsIsMutable(); - paths_.addAll(other.paths_); - } - onChanged(); - } - if (!other.sources_.isEmpty()) { - if (sources_.isEmpty()) { - sources_ = other.sources_; - bitField0_ |= 0x00000002; - } else { - ensureSourcesIsMutable(); - sources_.addAll(other.sources_); - } - onChanged(); - } - if (externalPkgsBuilder_ == null) { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgs_.isEmpty()) { - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureExternalPkgsIsMutable(); - externalPkgs_.addAll(other.externalPkgs_); - } - onChanged(); - } - } else { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgsBuilder_.isEmpty()) { - externalPkgsBuilder_.dispose(); - externalPkgsBuilder_ = null; - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000004); - externalPkgsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExternalPkgsFieldBuilder() : null; - } else { - externalPkgsBuilder_.addAllMessages(other.externalPkgs_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathsIsMutable(); - paths_.add(s); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSourcesIsMutable(); - sources_.add(s); - break; - } // case 18 - case 26: { - com.kcl.api.Spec.CmdExternalPkgSpec m = input - .readMessage(com.kcl.api.Spec.CmdExternalPkgSpec.parser(), extensionRegistry); - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(m); - } else { - externalPkgsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensurePathsIsMutable() { - if (!paths_.isModifiable()) { - paths_ = new com.google.protobuf.LazyStringArrayList(paths_); - } - bitField0_ |= 0x00000001; - } - - /** - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - paths_.makeImmutable(); - return paths_; - } - - /** - * repeated string paths = 1; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - /** - * repeated string paths = 1; - * - * @param index - * The index to set the value at. - * @param value - * The paths to set. - * - * @return This builder for chaining. - */ - public Builder setPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string paths = 1; - * - * @param value - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string paths = 1; - * - * @param values - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addAllPaths(java.lang.Iterable values) { - ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string paths = 1; - * - * @return This builder for chaining. - */ - public Builder clearPaths() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - * repeated string paths = 1; - * - * @param value - * The bytes of the paths to add. - * - * @return This builder for chaining. - */ - public Builder addPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList sources_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureSourcesIsMutable() { - if (!sources_.isModifiable()) { - sources_ = new com.google.protobuf.LazyStringArrayList(sources_); - } - bitField0_ |= 0x00000002; - } - - /** - * repeated string sources = 2; - * - * @return A list containing the sources. - */ - public com.google.protobuf.ProtocolStringList getSourcesList() { - sources_.makeImmutable(); - return sources_; - } - - /** - * repeated string sources = 2; - * - * @return The count of sources. - */ - public int getSourcesCount() { - return sources_.size(); - } - - /** - * repeated string sources = 2; - * - * @param index - * The index of the element to return. - * - * @return The sources at the given index. - */ - public java.lang.String getSources(int index) { - return sources_.get(index); - } - - /** - * repeated string sources = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the sources at the given index. - */ - public com.google.protobuf.ByteString getSourcesBytes(int index) { - return sources_.getByteString(index); - } - - /** - * repeated string sources = 2; - * - * @param index - * The index to set the value at. - * @param value - * The sources to set. - * - * @return This builder for chaining. - */ - public Builder setSources(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSourcesIsMutable(); - sources_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string sources = 2; - * - * @param value - * The sources to add. - * - * @return This builder for chaining. - */ - public Builder addSources(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSourcesIsMutable(); - sources_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string sources = 2; - * - * @param values - * The sources to add. - * - * @return This builder for chaining. - */ - public Builder addAllSources(java.lang.Iterable values) { - ensureSourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sources_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string sources = 2; - * - * @return This builder for chaining. - */ - public Builder clearSources() { - sources_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - * repeated string sources = 2; - * - * @param value - * The bytes of the sources to add. - * - * @return This builder for chaining. - */ - public Builder addSourcesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureSourcesIsMutable(); - sources_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List externalPkgs_ = java.util.Collections - .emptyList(); - - private void ensureExternalPkgsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - externalPkgs_ = new java.util.ArrayList(externalPkgs_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 externalPkgsBuilder_; - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public java.util.List getExternalPkgsList() { - if (externalPkgsBuilder_ == null) { - return java.util.Collections.unmodifiableList(externalPkgs_); - } else { - return externalPkgsBuilder_.getMessageList(); - } - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public int getExternalPkgsCount() { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.size(); - } else { - return externalPkgsBuilder_.getCount(); - } - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessage(index); - } - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, value); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.CmdExternalPkgSpec value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder addAllExternalPkgs( - java.lang.Iterable values) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, externalPkgs_); - onChanged(); - } else { - externalPkgsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder clearExternalPkgs() { - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - externalPkgsBuilder_.clear(); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public Builder removeExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.remove(index); - onChanged(); - } else { - externalPkgsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec.Builder getExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public java.util.List getExternalPkgsOrBuilderList() { - if (externalPkgsBuilder_ != null) { - return externalPkgsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(externalPkgs_); - } - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder() { - return getExternalPkgsFieldBuilder() - .addBuilder(com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().addBuilder(index, - com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); - } - - /** - *
-             * External packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 3; - */ - public java.util.List getExternalPkgsBuilderList() { - return getExternalPkgsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getExternalPkgsFieldBuilder() { - if (externalPkgsBuilder_ == null) { - externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - externalPkgs_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - externalPkgs_ = null; - } - return externalPkgsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgram_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgram_Args) - private static final com.kcl.api.Spec.ParseProgram_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgram_Args(); - } - - public static com.kcl.api.Spec.ParseProgram_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParseProgram_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParseProgram_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgram_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * JSON string value
-         * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - java.lang.String getAstJson(); - - /** - *
-         * JSON string value
-         * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - com.google.protobuf.ByteString getAstJsonBytes(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - java.util.List getPathsList(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - int getPathsCount(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - java.lang.String getPaths(int index); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - com.google.protobuf.ByteString getPathsBytes(int index); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - java.util.List getErrorsList(); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - com.kcl.api.Spec.Error getErrors(int index); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - int getErrorsCount(); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - java.util.List getErrorsOrBuilderList(); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index); - } - - /** - * Protobuf type {@code com.kcl.api.ParseProgram_Result} - */ - public static final class ParseProgram_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgram_Result) - ParseProgram_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ParseProgram_Result.newBuilder() to construct. - private ParseProgram_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ParseProgram_Result() { - astJson_ = ""; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - errors_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ParseProgram_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseProgram_Result.class, - com.kcl.api.Spec.ParseProgram_Result.Builder.class); - } - - public static final int AST_JSON_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object astJson_ = ""; - - /** - *
-         * JSON string value
-         * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - @java.lang.Override - public java.lang.String getAstJson() { - java.lang.Object ref = astJson_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - astJson_ = s; - return s; - } - } - - /** - *
-         * JSON string value
-         * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - @java.lang.Override - public com.google.protobuf.ByteString getAstJsonBytes() { - java.lang.Object ref = astJson_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - astJson_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PATHS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - return paths_; - } - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - public static final int ERRORS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List errors_; - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public java.util.List getErrorsList() { - return errors_; - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public java.util.List getErrorsOrBuilderList() { - return errors_; - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public int getErrorsCount() { - return errors_.size(); - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getErrors(int index) { - return errors_.get(index); - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index) { - return errors_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(astJson_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, astJson_); - } - for (int i = 0; i < paths_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, paths_.getRaw(i)); - } - for (int i = 0; i < errors_.size(); i++) { - output.writeMessage(3, errors_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(astJson_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, astJson_); - } - { - int dataSize = 0; - for (int i = 0; i < paths_.size(); i++) { - dataSize += computeStringSizeNoTag(paths_.getRaw(i)); - } - size += dataSize; - size += 1 * getPathsList().size(); - } - for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, errors_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ParseProgram_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ParseProgram_Result other = (com.kcl.api.Spec.ParseProgram_Result) obj; - - if (!getAstJson().equals(other.getAstJson())) - return false; - if (!getPathsList().equals(other.getPathsList())) - return false; - if (!getErrorsList().equals(other.getErrorsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + AST_JSON_FIELD_NUMBER; - hash = (53 * hash) + getAstJson().hashCode(); - if (getPathsCount() > 0) { - hash = (37 * hash) + PATHS_FIELD_NUMBER; - hash = (53 * hash) + getPathsList().hashCode(); - } - if (getErrorsCount() > 0) { - hash = (37 * hash) + ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getErrorsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Result 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 com.kcl.api.Spec.ParseProgram_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Result 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 com.kcl.api.Spec.ParseProgram_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ParseProgram_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ParseProgram_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgram_Result) - com.kcl.api.Spec.ParseProgram_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseProgram_Result.class, - com.kcl.api.Spec.ParseProgram_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ParseProgram_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - astJson_ = ""; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (errorsBuilder_ == null) { - errors_ = java.util.Collections.emptyList(); - } else { - errors_ = null; - errorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseProgram_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result build() { - com.kcl.api.Spec.ParseProgram_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result buildPartial() { - com.kcl.api.Spec.ParseProgram_Result result = new com.kcl.api.Spec.ParseProgram_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgram_Result result) { - if (errorsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - errors_ = java.util.Collections.unmodifiableList(errors_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.errors_ = errors_; - } else { - result.errors_ = errorsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ParseProgram_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.astJson_ = astJson_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - paths_.makeImmutable(); - result.paths_ = paths_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseProgram_Result) { - return mergeFrom((com.kcl.api.Spec.ParseProgram_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ParseProgram_Result other) { - if (other == com.kcl.api.Spec.ParseProgram_Result.getDefaultInstance()) - return this; - if (!other.getAstJson().isEmpty()) { - astJson_ = other.astJson_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.paths_.isEmpty()) { - if (paths_.isEmpty()) { - paths_ = other.paths_; - bitField0_ |= 0x00000002; - } else { - ensurePathsIsMutable(); - paths_.addAll(other.paths_); - } - onChanged(); - } - if (errorsBuilder_ == null) { - if (!other.errors_.isEmpty()) { - if (errors_.isEmpty()) { - errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureErrorsIsMutable(); - errors_.addAll(other.errors_); - } - onChanged(); - } - } else { - if (!other.errors_.isEmpty()) { - if (errorsBuilder_.isEmpty()) { - errorsBuilder_.dispose(); - errorsBuilder_ = null; - errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x00000004); - errorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() : null; - } else { - errorsBuilder_.addAllMessages(other.errors_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - astJson_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathsIsMutable(); - paths_.add(s); - break; - } // case 18 - case 26: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object astJson_ = ""; - - /** - *
-             * JSON string value
-             * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - public java.lang.String getAstJson() { - java.lang.Object ref = astJson_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - astJson_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * JSON string value
-             * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - public com.google.protobuf.ByteString getAstJsonBytes() { - java.lang.Object ref = astJson_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - astJson_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * JSON string value
-             * 
- * - * string ast_json = 1; - * - * @param value - * The astJson to set. - * - * @return This builder for chaining. - */ - public Builder setAstJson(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - astJson_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * JSON string value
-             * 
- * - * string ast_json = 1; - * - * @return This builder for chaining. - */ - public Builder clearAstJson() { - astJson_ = getDefaultInstance().getAstJson(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * JSON string value
-             * 
- * - * string ast_json = 1; - * - * @param value - * The bytes for astJson to set. - * - * @return This builder for chaining. - */ - public Builder setAstJsonBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - astJson_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensurePathsIsMutable() { - if (!paths_.isModifiable()) { - paths_ = new com.google.protobuf.LazyStringArrayList(paths_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - paths_.makeImmutable(); - return paths_; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index to set the value at. - * @param value - * The paths to set. - * - * @return This builder for chaining. - */ - public Builder setPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param value - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param values - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addAllPaths(java.lang.Iterable values) { - ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @return This builder for chaining. - */ - public Builder clearPaths() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param value - * The bytes of the paths to add. - * - * @return This builder for chaining. - */ - public Builder addPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List errors_ = java.util.Collections.emptyList(); - - private void ensureErrorsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - errors_ = new java.util.ArrayList(errors_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 errorsBuilder_; - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsList() { - if (errorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(errors_); - } else { - return errorsBuilder_.getMessageList(); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public int getErrorsCount() { - if (errorsBuilder_ == null) { - return errors_.size(); - } else { - return errorsBuilder_.getCount(); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error getErrors(int index) { - if (errorsBuilder_ == null) { - return errors_.get(index); - } else { - return errorsBuilder_.getMessage(index); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder setErrors(int index, com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.set(index, value); - onChanged(); - } else { - errorsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder setErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.set(index, builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.add(value); - onChanged(); - } else { - errorsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(int index, com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.add(index, value); - onChanged(); - } else { - errorsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(index, builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addAllErrors(java.lang.Iterable values) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); - onChanged(); - } else { - errorsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder clearErrors() { - if (errorsBuilder_ == null) { - errors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - errorsBuilder_.clear(); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder removeErrors(int index) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.remove(index); - onChanged(); - } else { - errorsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder getErrorsBuilder(int index) { - return getErrorsFieldBuilder().getBuilder(index); - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index) { - if (errorsBuilder_ == null) { - return errors_.get(index); - } else { - return errorsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsOrBuilderList() { - if (errorsBuilder_ != null) { - return errorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(errors_); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsBuilderList() { - return getErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getErrorsFieldBuilder() { - if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - errors_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - errors_ = null; - } - return errorsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgram_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgram_Result) - private static final com.kcl.api.Spec.ParseProgram_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgram_Result(); - } - - public static com.kcl.api.Spec.ParseProgram_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParseProgram_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LoadPackage_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackage_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return Whether the parseArgs field is set. - */ - boolean hasParseArgs(); - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return The parseArgs. - */ - com.kcl.api.Spec.ParseProgram_Args getParseArgs(); - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder(); - - /** - * bool resolve_ast = 2; - * - * @return The resolveAst. - */ - boolean getResolveAst(); - - /** - * bool load_builtin = 3; - * - * @return The loadBuiltin. - */ - boolean getLoadBuiltin(); - - /** - * bool with_ast_index = 4; - * - * @return The withAstIndex. - */ - boolean getWithAstIndex(); - } - - /** - * Protobuf type {@code com.kcl.api.LoadPackage_Args} - */ - public static final class LoadPackage_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackage_Args) - LoadPackage_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use LoadPackage_Args.newBuilder() to construct. - private LoadPackage_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private LoadPackage_Args() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LoadPackage_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadPackage_Args.class, - com.kcl.api.Spec.LoadPackage_Args.Builder.class); - } - - private int bitField0_; - public static final int PARSE_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ParseProgram_Args parseArgs_; - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return Whether the parseArgs field is set. - */ - @java.lang.Override - public boolean hasParseArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return The parseArgs. - */ - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args getParseArgs() { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; - } - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder() { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; - } - - public static final int RESOLVE_AST_FIELD_NUMBER = 2; - private boolean resolveAst_ = false; - - /** - * bool resolve_ast = 2; - * - * @return The resolveAst. - */ - @java.lang.Override - public boolean getResolveAst() { - return resolveAst_; - } - - public static final int LOAD_BUILTIN_FIELD_NUMBER = 3; - private boolean loadBuiltin_ = false; - - /** - * bool load_builtin = 3; - * - * @return The loadBuiltin. - */ - @java.lang.Override - public boolean getLoadBuiltin() { - return loadBuiltin_; - } - - public static final int WITH_AST_INDEX_FIELD_NUMBER = 4; - private boolean withAstIndex_ = false; - - /** - * bool with_ast_index = 4; - * - * @return The withAstIndex. - */ - @java.lang.Override - public boolean getWithAstIndex() { - return withAstIndex_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getParseArgs()); - } - if (resolveAst_ != false) { - output.writeBool(2, resolveAst_); - } - if (loadBuiltin_ != false) { - output.writeBool(3, loadBuiltin_); - } - if (withAstIndex_ != false) { - output.writeBool(4, withAstIndex_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getParseArgs()); - } - if (resolveAst_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, resolveAst_); - } - if (loadBuiltin_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, loadBuiltin_); - } - if (withAstIndex_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, withAstIndex_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LoadPackage_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.LoadPackage_Args other = (com.kcl.api.Spec.LoadPackage_Args) obj; - - if (hasParseArgs() != other.hasParseArgs()) - return false; - if (hasParseArgs()) { - if (!getParseArgs().equals(other.getParseArgs())) - return false; - } - if (getResolveAst() != other.getResolveAst()) - return false; - if (getLoadBuiltin() != other.getLoadBuiltin()) - return false; - if (getWithAstIndex() != other.getWithAstIndex()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasParseArgs()) { - hash = (37 * hash) + PARSE_ARGS_FIELD_NUMBER; - hash = (53 * hash) + getParseArgs().hashCode(); - } - hash = (37 * hash) + RESOLVE_AST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResolveAst()); - hash = (37 * hash) + LOAD_BUILTIN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLoadBuiltin()); - hash = (37 * hash) + WITH_AST_INDEX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWithAstIndex()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Args 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 com.kcl.api.Spec.LoadPackage_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Args 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 com.kcl.api.Spec.LoadPackage_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LoadPackage_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.LoadPackage_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackage_Args) - com.kcl.api.Spec.LoadPackage_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadPackage_Args.class, - com.kcl.api.Spec.LoadPackage_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.LoadPackage_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getParseArgsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parseArgs_ = null; - if (parseArgsBuilder_ != null) { - parseArgsBuilder_.dispose(); - parseArgsBuilder_ = null; - } - resolveAst_ = false; - loadBuiltin_ = false; - withAstIndex_ = false; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadPackage_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args build() { - com.kcl.api.Spec.LoadPackage_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args buildPartial() { - com.kcl.api.Spec.LoadPackage_Args result = new com.kcl.api.Spec.LoadPackage_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.LoadPackage_Args result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parseArgs_ = parseArgsBuilder_ == null ? parseArgs_ : parseArgsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.resolveAst_ = resolveAst_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.loadBuiltin_ = loadBuiltin_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.withAstIndex_ = withAstIndex_; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadPackage_Args) { - return mergeFrom((com.kcl.api.Spec.LoadPackage_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.LoadPackage_Args other) { - if (other == com.kcl.api.Spec.LoadPackage_Args.getDefaultInstance()) - return this; - if (other.hasParseArgs()) { - mergeParseArgs(other.getParseArgs()); - } - if (other.getResolveAst() != false) { - setResolveAst(other.getResolveAst()); - } - if (other.getLoadBuiltin() != false) { - setLoadBuiltin(other.getLoadBuiltin()); - } - if (other.getWithAstIndex() != false) { - setWithAstIndex(other.getWithAstIndex()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getParseArgsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - resolveAst_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - loadBuiltin_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - withAstIndex_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.kcl.api.Spec.ParseProgram_Args parseArgs_; - private com.google.protobuf.SingleFieldBuilderV3 parseArgsBuilder_; - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return Whether the parseArgs field is set. - */ - public boolean hasParseArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return The parseArgs. - */ - public com.kcl.api.Spec.ParseProgram_Args getParseArgs() { - if (parseArgsBuilder_ == null) { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; - } else { - return parseArgsBuilder_.getMessage(); - } - } - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public Builder setParseArgs(com.kcl.api.Spec.ParseProgram_Args value) { - if (parseArgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - parseArgs_ = value; - } else { - parseArgsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public Builder setParseArgs(com.kcl.api.Spec.ParseProgram_Args.Builder builderForValue) { - if (parseArgsBuilder_ == null) { - parseArgs_ = builderForValue.build(); - } else { - parseArgsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public Builder mergeParseArgs(com.kcl.api.Spec.ParseProgram_Args value) { - if (parseArgsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && parseArgs_ != null - && parseArgs_ != com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance()) { - getParseArgsBuilder().mergeFrom(value); - } else { - parseArgs_ = value; - } - } else { - parseArgsBuilder_.mergeFrom(value); - } - if (parseArgs_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public Builder clearParseArgs() { - bitField0_ = (bitField0_ & ~0x00000001); - parseArgs_ = null; - if (parseArgsBuilder_ != null) { - parseArgsBuilder_.dispose(); - parseArgsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public com.kcl.api.Spec.ParseProgram_Args.Builder getParseArgsBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getParseArgsFieldBuilder().getBuilder(); - } - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder() { - if (parseArgsBuilder_ != null) { - return parseArgsBuilder_.getMessageOrBuilder(); - } else { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; - } - } - - /** - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3 getParseArgsFieldBuilder() { - if (parseArgsBuilder_ == null) { - parseArgsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getParseArgs(), getParentForChildren(), isClean()); - parseArgs_ = null; - } - return parseArgsBuilder_; - } - - private boolean resolveAst_; - - /** - * bool resolve_ast = 2; - * - * @return The resolveAst. - */ - @java.lang.Override - public boolean getResolveAst() { - return resolveAst_; - } - - /** - * bool resolve_ast = 2; - * - * @param value - * The resolveAst to set. - * - * @return This builder for chaining. - */ - public Builder setResolveAst(boolean value) { - - resolveAst_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * bool resolve_ast = 2; - * - * @return This builder for chaining. - */ - public Builder clearResolveAst() { - bitField0_ = (bitField0_ & ~0x00000002); - resolveAst_ = false; - onChanged(); - return this; - } - - private boolean loadBuiltin_; - - /** - * bool load_builtin = 3; - * - * @return The loadBuiltin. - */ - @java.lang.Override - public boolean getLoadBuiltin() { - return loadBuiltin_; - } - - /** - * bool load_builtin = 3; - * - * @param value - * The loadBuiltin to set. - * - * @return This builder for chaining. - */ - public Builder setLoadBuiltin(boolean value) { - - loadBuiltin_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * bool load_builtin = 3; - * - * @return This builder for chaining. - */ - public Builder clearLoadBuiltin() { - bitField0_ = (bitField0_ & ~0x00000004); - loadBuiltin_ = false; - onChanged(); - return this; - } - - private boolean withAstIndex_; - - /** - * bool with_ast_index = 4; - * - * @return The withAstIndex. - */ - @java.lang.Override - public boolean getWithAstIndex() { - return withAstIndex_; - } - - /** - * bool with_ast_index = 4; - * - * @param value - * The withAstIndex to set. - * - * @return This builder for chaining. - */ - public Builder setWithAstIndex(boolean value) { - - withAstIndex_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - * bool with_ast_index = 4; - * - * @return This builder for chaining. - */ - public Builder clearWithAstIndex() { - bitField0_ = (bitField0_ & ~0x00000008); - withAstIndex_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackage_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackage_Args) - private static final com.kcl.api.Spec.LoadPackage_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackage_Args(); - } - - public static com.kcl.api.Spec.LoadPackage_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadPackage_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LoadPackage_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackage_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * JSON string value
-         * 
- * - * string program = 1; - * - * @return The program. - */ - java.lang.String getProgram(); - - /** - *
-         * JSON string value
-         * 
- * - * string program = 1; - * - * @return The bytes for program. - */ - com.google.protobuf.ByteString getProgramBytes(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - java.util.List getPathsList(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - int getPathsCount(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - java.lang.String getPaths(int index); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - com.google.protobuf.ByteString getPathsBytes(int index); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - java.util.List getParseErrorsList(); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - com.kcl.api.Spec.Error getParseErrors(int index); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - int getParseErrorsCount(); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - java.util.List getParseErrorsOrBuilderList(); - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index); - - /** - *
-         * Type errors
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - java.util.List getTypeErrorsList(); - - /** - *
-         * Type errors
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - com.kcl.api.Spec.Error getTypeErrors(int index); - - /** - *
-         * Type errors
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - int getTypeErrorsCount(); - - /** - *
-         * Type errors
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - java.util.List getTypeErrorsOrBuilderList(); - - /** - *
-         * Type errors
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder(int index); - - /** - *
-         * Map key is the ScopeIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - int getScopesCount(); - - /** - *
-         * Map key is the ScopeIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - boolean containsScopes(java.lang.String key); - - /** - * Use {@link #getScopesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getScopes(); - - /** - *
-         * Map key is the ScopeIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - java.util.Map getScopesMap(); - - /** - *
-         * Map key is the ScopeIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - /* nullable */ - com.kcl.api.Spec.Scope getScopesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Scope defaultValue); - - /** - *
-         * Map key is the ScopeIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - com.kcl.api.Spec.Scope getScopesOrThrow(java.lang.String key); - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - int getSymbolsCount(); - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - boolean containsSymbols(java.lang.String key); - - /** - * Use {@link #getSymbolsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getSymbols(); - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - java.util.Map getSymbolsMap(); - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - /* nullable */ - com.kcl.api.Spec.Symbol getSymbolsOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Symbol defaultValue); - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - com.kcl.api.Spec.Symbol getSymbolsOrThrow(java.lang.String key); - - /** - *
-         * Map key is the AST index UUID string.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - int getNodeSymbolMapCount(); - - /** - *
-         * Map key is the AST index UUID string.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - boolean containsNodeSymbolMap(java.lang.String key); - - /** - * Use {@link #getNodeSymbolMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getNodeSymbolMap(); - - /** - *
-         * Map key is the AST index UUID string.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - java.util.Map getNodeSymbolMapMap(); - - /** - *
-         * Map key is the AST index UUID string.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - /* nullable */ - com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue); - - /** - *
-         * Map key is the AST index UUID string.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow(java.lang.String key); - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - int getSymbolNodeMapCount(); - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - boolean containsSymbolNodeMap(java.lang.String key); - - /** - * Use {@link #getSymbolNodeMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getSymbolNodeMap(); - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - java.util.Map getSymbolNodeMapMap(); - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - /* nullable */ - java.lang.String getSymbolNodeMapOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue); - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - java.lang.String getSymbolNodeMapOrThrow(java.lang.String key); - - /** - *
-         * Map key is the fully_qualified_name e.g. `pkg.Name`
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - int getFullyQualifiedNameMapCount(); - - /** - *
-         * Map key is the fully_qualified_name e.g. `pkg.Name`
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - boolean containsFullyQualifiedNameMap(java.lang.String key); - - /** - * Use {@link #getFullyQualifiedNameMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getFullyQualifiedNameMap(); - - /** - *
-         * Map key is the fully_qualified_name e.g. `pkg.Name`
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - java.util.Map getFullyQualifiedNameMapMap(); - - /** - *
-         * Map key is the fully_qualified_name e.g. `pkg.Name`
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - /* nullable */ - com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue); - - /** - *
-         * Map key is the fully_qualified_name e.g. `pkg.Name`
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow(java.lang.String key); - - /** - *
-         * Map key is the package path.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - int getPkgScopeMapCount(); - - /** - *
-         * Map key is the package path.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - boolean containsPkgScopeMap(java.lang.String key); - - /** - * Use {@link #getPkgScopeMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getPkgScopeMap(); - - /** - *
-         * Map key is the package path.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - java.util.Map getPkgScopeMapMap(); - - /** - *
-         * Map key is the package path.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - /* nullable */ - com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.ScopeIndex defaultValue); - - /** - *
-         * Map key is the package path.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow(java.lang.String key); - } - - /** - * Protobuf type {@code com.kcl.api.LoadPackage_Result} - */ - public static final class LoadPackage_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackage_Result) - LoadPackage_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use LoadPackage_Result.newBuilder() to construct. - private LoadPackage_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private LoadPackage_Result() { - program_ = ""; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - parseErrors_ = java.util.Collections.emptyList(); - typeErrors_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LoadPackage_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 5: - return internalGetScopes(); - case 6: - return internalGetSymbols(); - case 7: - return internalGetNodeSymbolMap(); - case 8: - return internalGetSymbolNodeMap(); - case 9: - return internalGetFullyQualifiedNameMap(); - case 10: - return internalGetPkgScopeMap(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadPackage_Result.class, - com.kcl.api.Spec.LoadPackage_Result.Builder.class); - } - - public static final int PROGRAM_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object program_ = ""; - - /** - *
-         * JSON string value
-         * 
- * - * string program = 1; - * - * @return The program. - */ - @java.lang.Override - public java.lang.String getProgram() { - java.lang.Object ref = program_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - program_ = s; - return s; - } - } - - /** - *
-         * JSON string value
-         * 
- * - * string program = 1; - * - * @return The bytes for program. - */ - @java.lang.Override - public com.google.protobuf.ByteString getProgramBytes() { - java.lang.Object ref = program_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - program_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PATHS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - return paths_; - } - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - public static final int PARSE_ERRORS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List parseErrors_; - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public java.util.List getParseErrorsList() { - return parseErrors_; - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public java.util.List getParseErrorsOrBuilderList() { - return parseErrors_; - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public int getParseErrorsCount() { - return parseErrors_.size(); - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getParseErrors(int index) { - return parseErrors_.get(index); - } - - /** - *
-         * Parse errors
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index) { - return parseErrors_.get(index); - } - - public static final int TYPE_ERRORS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List typeErrors_; - - /** - *
-         * Type errors
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - @java.lang.Override - public java.util.List getTypeErrorsList() { - return typeErrors_; - } - - /** - *
-         * Type errors
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - @java.lang.Override - public java.util.List getTypeErrorsOrBuilderList() { - return typeErrors_; - } - - /** - *
-         * Type errors
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - @java.lang.Override - public int getTypeErrorsCount() { - return typeErrors_.size(); - } - - /** - *
-         * Type errors
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getTypeErrors(int index) { - return typeErrors_.get(index); - } - - /** - *
-         * Type errors
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder(int index) { - return typeErrors_.get(index); - } - - public static final int SCOPES_FIELD_NUMBER = 5; - - private static final class ScopesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.Scope.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField scopes_; - - private com.google.protobuf.MapField internalGetScopes() { - if (scopes_ == null) { - return com.google.protobuf.MapField.emptyMapField(ScopesDefaultEntryHolder.defaultEntry); - } - return scopes_; - } - - public int getScopesCount() { - return internalGetScopes().getMap().size(); - } - - /** - *
-         * Map key is the ScopeIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public boolean containsScopes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetScopes().getMap().containsKey(key); - } - - /** - * Use {@link #getScopesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getScopes() { - return getScopesMap(); - } - - /** - *
-         * Map key is the ScopeIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public java.util.Map getScopesMap() { - return internalGetScopes().getMap(); - } - - /** - *
-         * Map key is the ScopeIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Scope getScopesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Scope defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetScopes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map key is the ScopeIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.Scope getScopesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetScopes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int SYMBOLS_FIELD_NUMBER = 6; - - private static final class SymbolsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.Symbol.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField symbols_; - - private com.google.protobuf.MapField internalGetSymbols() { - if (symbols_ == null) { - return com.google.protobuf.MapField.emptyMapField(SymbolsDefaultEntryHolder.defaultEntry); - } - return symbols_; - } - - public int getSymbolsCount() { - return internalGetSymbols().getMap().size(); - } - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public boolean containsSymbols(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSymbols().getMap().containsKey(key); - } - - /** - * Use {@link #getSymbolsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSymbols() { - return getSymbolsMap(); - } - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public java.util.Map getSymbolsMap() { - return internalGetSymbols().getMap(); - } - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Symbol getSymbolsOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Symbol defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbols().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public com.kcl.api.Spec.Symbol getSymbolsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbols().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int NODE_SYMBOL_MAP_FIELD_NUMBER = 7; - - private static final class NodeSymbolMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField nodeSymbolMap_; - - private com.google.protobuf.MapField internalGetNodeSymbolMap() { - if (nodeSymbolMap_ == null) { - return com.google.protobuf.MapField.emptyMapField(NodeSymbolMapDefaultEntryHolder.defaultEntry); - } - return nodeSymbolMap_; - } - - public int getNodeSymbolMapCount() { - return internalGetNodeSymbolMap().getMap().size(); - } - - /** - *
-         * Map key is the AST index UUID string.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public boolean containsNodeSymbolMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetNodeSymbolMap().getMap().containsKey(key); - } - - /** - * Use {@link #getNodeSymbolMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getNodeSymbolMap() { - return getNodeSymbolMapMap(); - } - - /** - *
-         * Map key is the AST index UUID string.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public java.util.Map getNodeSymbolMapMap() { - return internalGetNodeSymbolMap().getMap(); - } - - /** - *
-         * Map key is the AST index UUID string.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetNodeSymbolMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map key is the AST index UUID string.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetNodeSymbolMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int SYMBOL_NODE_MAP_FIELD_NUMBER = 8; - - private static final class SymbolNodeMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.STRING, ""); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField symbolNodeMap_; - - private com.google.protobuf.MapField internalGetSymbolNodeMap() { - if (symbolNodeMap_ == null) { - return com.google.protobuf.MapField.emptyMapField(SymbolNodeMapDefaultEntryHolder.defaultEntry); - } - return symbolNodeMap_; - } - - public int getSymbolNodeMapCount() { - return internalGetSymbolNodeMap().getMap().size(); - } - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public boolean containsSymbolNodeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSymbolNodeMap().getMap().containsKey(key); - } - - /** - * Use {@link #getSymbolNodeMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSymbolNodeMap() { - return getSymbolNodeMapMap(); - } - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public java.util.Map getSymbolNodeMapMap() { - return internalGetSymbolNodeMap().getMap(); - } - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getSymbolNodeMapOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbolNodeMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map key is the SymbolIndex json string.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public java.lang.String getSymbolNodeMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbolNodeMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int FULLY_QUALIFIED_NAME_MAP_FIELD_NUMBER = 9; - - private static final class FullyQualifiedNameMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField fullyQualifiedNameMap_; - - private com.google.protobuf.MapField internalGetFullyQualifiedNameMap() { - if (fullyQualifiedNameMap_ == null) { - return com.google.protobuf.MapField.emptyMapField(FullyQualifiedNameMapDefaultEntryHolder.defaultEntry); - } - return fullyQualifiedNameMap_; - } - - public int getFullyQualifiedNameMapCount() { - return internalGetFullyQualifiedNameMap().getMap().size(); - } - - /** - *
-         * Map key is the fully_qualified_name e.g. `pkg.Name`
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public boolean containsFullyQualifiedNameMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetFullyQualifiedNameMap().getMap().containsKey(key); - } - - /** - * Use {@link #getFullyQualifiedNameMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getFullyQualifiedNameMap() { - return getFullyQualifiedNameMapMap(); - } - - /** - *
-         * Map key is the fully_qualified_name e.g. `pkg.Name`
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public java.util.Map getFullyQualifiedNameMapMap() { - return internalGetFullyQualifiedNameMap().getMap(); - } - - /** - *
-         * Map key is the fully_qualified_name e.g. `pkg.Name`
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetFullyQualifiedNameMap() - .getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map key is the fully_qualified_name e.g. `pkg.Name`
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetFullyQualifiedNameMap() - .getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int PKG_SCOPE_MAP_FIELD_NUMBER = 10; - - private static final class PkgScopeMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField pkgScopeMap_; - - private com.google.protobuf.MapField internalGetPkgScopeMap() { - if (pkgScopeMap_ == null) { - return com.google.protobuf.MapField.emptyMapField(PkgScopeMapDefaultEntryHolder.defaultEntry); - } - return pkgScopeMap_; - } - - public int getPkgScopeMapCount() { - return internalGetPkgScopeMap().getMap().size(); - } - - /** - *
-         * Map key is the package path.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public boolean containsPkgScopeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetPkgScopeMap().getMap().containsKey(key); - } - - /** - * Use {@link #getPkgScopeMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getPkgScopeMap() { - return getPkgScopeMapMap(); - } - - /** - *
-         * Map key is the package path.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public java.util.Map getPkgScopeMapMap() { - return internalGetPkgScopeMap().getMap(); - } - - /** - *
-         * Map key is the package path.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.ScopeIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetPkgScopeMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map key is the package path.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetPkgScopeMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(program_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, program_); - } - for (int i = 0; i < paths_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, paths_.getRaw(i)); - } - for (int i = 0; i < parseErrors_.size(); i++) { - output.writeMessage(3, parseErrors_.get(i)); - } - for (int i = 0; i < typeErrors_.size(); i++) { - output.writeMessage(4, typeErrors_.get(i)); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetScopes(), - ScopesDefaultEntryHolder.defaultEntry, 5); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetSymbols(), - SymbolsDefaultEntryHolder.defaultEntry, 6); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetNodeSymbolMap(), - NodeSymbolMapDefaultEntryHolder.defaultEntry, 7); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetSymbolNodeMap(), - SymbolNodeMapDefaultEntryHolder.defaultEntry, 8); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetFullyQualifiedNameMap(), - FullyQualifiedNameMapDefaultEntryHolder.defaultEntry, 9); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetPkgScopeMap(), - PkgScopeMapDefaultEntryHolder.defaultEntry, 10); - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(program_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, program_); - } - { - int dataSize = 0; - for (int i = 0; i < paths_.size(); i++) { - dataSize += computeStringSizeNoTag(paths_.getRaw(i)); - } - size += dataSize; - size += 1 * getPathsList().size(); - } - for (int i = 0; i < parseErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, parseErrors_.get(i)); - } - for (int i = 0; i < typeErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, typeErrors_.get(i)); - } - for (java.util.Map.Entry entry : internalGetScopes().getMap() - .entrySet()) { - com.google.protobuf.MapEntry scopes__ = ScopesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, scopes__); - } - for (java.util.Map.Entry entry : internalGetSymbols().getMap() - .entrySet()) { - com.google.protobuf.MapEntry symbols__ = SymbolsDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, symbols__); - } - for (java.util.Map.Entry entry : internalGetNodeSymbolMap() - .getMap().entrySet()) { - com.google.protobuf.MapEntry nodeSymbolMap__ = NodeSymbolMapDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, nodeSymbolMap__); - } - for (java.util.Map.Entry entry : internalGetSymbolNodeMap().getMap() - .entrySet()) { - com.google.protobuf.MapEntry symbolNodeMap__ = SymbolNodeMapDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, symbolNodeMap__); - } - for (java.util.Map.Entry entry : internalGetFullyQualifiedNameMap() - .getMap().entrySet()) { - com.google.protobuf.MapEntry fullyQualifiedNameMap__ = FullyQualifiedNameMapDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, fullyQualifiedNameMap__); - } - for (java.util.Map.Entry entry : internalGetPkgScopeMap() - .getMap().entrySet()) { - com.google.protobuf.MapEntry pkgScopeMap__ = PkgScopeMapDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, pkgScopeMap__); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LoadPackage_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.LoadPackage_Result other = (com.kcl.api.Spec.LoadPackage_Result) obj; - - if (!getProgram().equals(other.getProgram())) - return false; - if (!getPathsList().equals(other.getPathsList())) - return false; - if (!getParseErrorsList().equals(other.getParseErrorsList())) - return false; - if (!getTypeErrorsList().equals(other.getTypeErrorsList())) - return false; - if (!internalGetScopes().equals(other.internalGetScopes())) - return false; - if (!internalGetSymbols().equals(other.internalGetSymbols())) - return false; - if (!internalGetNodeSymbolMap().equals(other.internalGetNodeSymbolMap())) - return false; - if (!internalGetSymbolNodeMap().equals(other.internalGetSymbolNodeMap())) - return false; - if (!internalGetFullyQualifiedNameMap().equals(other.internalGetFullyQualifiedNameMap())) - return false; - if (!internalGetPkgScopeMap().equals(other.internalGetPkgScopeMap())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROGRAM_FIELD_NUMBER; - hash = (53 * hash) + getProgram().hashCode(); - if (getPathsCount() > 0) { - hash = (37 * hash) + PATHS_FIELD_NUMBER; - hash = (53 * hash) + getPathsList().hashCode(); - } - if (getParseErrorsCount() > 0) { - hash = (37 * hash) + PARSE_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getParseErrorsList().hashCode(); - } - if (getTypeErrorsCount() > 0) { - hash = (37 * hash) + TYPE_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getTypeErrorsList().hashCode(); - } - if (!internalGetScopes().getMap().isEmpty()) { - hash = (37 * hash) + SCOPES_FIELD_NUMBER; - hash = (53 * hash) + internalGetScopes().hashCode(); - } - if (!internalGetSymbols().getMap().isEmpty()) { - hash = (37 * hash) + SYMBOLS_FIELD_NUMBER; - hash = (53 * hash) + internalGetSymbols().hashCode(); - } - if (!internalGetNodeSymbolMap().getMap().isEmpty()) { - hash = (37 * hash) + NODE_SYMBOL_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetNodeSymbolMap().hashCode(); - } - if (!internalGetSymbolNodeMap().getMap().isEmpty()) { - hash = (37 * hash) + SYMBOL_NODE_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetSymbolNodeMap().hashCode(); - } - if (!internalGetFullyQualifiedNameMap().getMap().isEmpty()) { - hash = (37 * hash) + FULLY_QUALIFIED_NAME_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetFullyQualifiedNameMap().hashCode(); - } - if (!internalGetPkgScopeMap().getMap().isEmpty()) { - hash = (37 * hash) + PKG_SCOPE_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetPkgScopeMap().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Result 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 com.kcl.api.Spec.LoadPackage_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Result 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 com.kcl.api.Spec.LoadPackage_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LoadPackage_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.LoadPackage_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackage_Result) - com.kcl.api.Spec.LoadPackage_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 5: - return internalGetScopes(); - case 6: - return internalGetSymbols(); - case 7: - return internalGetNodeSymbolMap(); - case 8: - return internalGetSymbolNodeMap(); - case 9: - return internalGetFullyQualifiedNameMap(); - case 10: - return internalGetPkgScopeMap(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 5: - return internalGetMutableScopes(); - case 6: - return internalGetMutableSymbols(); - case 7: - return internalGetMutableNodeSymbolMap(); - case 8: - return internalGetMutableSymbolNodeMap(); - case 9: - return internalGetMutableFullyQualifiedNameMap(); - case 10: - return internalGetMutablePkgScopeMap(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadPackage_Result.class, - com.kcl.api.Spec.LoadPackage_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.LoadPackage_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - program_ = ""; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (parseErrorsBuilder_ == null) { - parseErrors_ = java.util.Collections.emptyList(); - } else { - parseErrors_ = null; - parseErrorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - if (typeErrorsBuilder_ == null) { - typeErrors_ = java.util.Collections.emptyList(); - } else { - typeErrors_ = null; - typeErrorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableScopes().clear(); - internalGetMutableSymbols().clear(); - internalGetMutableNodeSymbolMap().clear(); - internalGetMutableSymbolNodeMap().clear(); - internalGetMutableFullyQualifiedNameMap().clear(); - internalGetMutablePkgScopeMap().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadPackage_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result build() { - com.kcl.api.Spec.LoadPackage_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result buildPartial() { - com.kcl.api.Spec.LoadPackage_Result result = new com.kcl.api.Spec.LoadPackage_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadPackage_Result result) { - if (parseErrorsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.parseErrors_ = parseErrors_; - } else { - result.parseErrors_ = parseErrorsBuilder_.build(); - } - if (typeErrorsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - typeErrors_ = java.util.Collections.unmodifiableList(typeErrors_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.typeErrors_ = typeErrors_; - } else { - result.typeErrors_ = typeErrorsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.LoadPackage_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.program_ = program_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - paths_.makeImmutable(); - result.paths_ = paths_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.scopes_ = internalGetScopes().build(ScopesDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.symbols_ = internalGetSymbols().build(SymbolsDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.nodeSymbolMap_ = internalGetNodeSymbolMap() - .build(NodeSymbolMapDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.symbolNodeMap_ = internalGetSymbolNodeMap(); - result.symbolNodeMap_.makeImmutable(); - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.fullyQualifiedNameMap_ = internalGetFullyQualifiedNameMap() - .build(FullyQualifiedNameMapDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.pkgScopeMap_ = internalGetPkgScopeMap().build(PkgScopeMapDefaultEntryHolder.defaultEntry); - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadPackage_Result) { - return mergeFrom((com.kcl.api.Spec.LoadPackage_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.LoadPackage_Result other) { - if (other == com.kcl.api.Spec.LoadPackage_Result.getDefaultInstance()) - return this; - if (!other.getProgram().isEmpty()) { - program_ = other.program_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.paths_.isEmpty()) { - if (paths_.isEmpty()) { - paths_ = other.paths_; - bitField0_ |= 0x00000002; - } else { - ensurePathsIsMutable(); - paths_.addAll(other.paths_); - } - onChanged(); - } - if (parseErrorsBuilder_ == null) { - if (!other.parseErrors_.isEmpty()) { - if (parseErrors_.isEmpty()) { - parseErrors_ = other.parseErrors_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureParseErrorsIsMutable(); - parseErrors_.addAll(other.parseErrors_); - } - onChanged(); - } - } else { - if (!other.parseErrors_.isEmpty()) { - if (parseErrorsBuilder_.isEmpty()) { - parseErrorsBuilder_.dispose(); - parseErrorsBuilder_ = null; - parseErrors_ = other.parseErrors_; - bitField0_ = (bitField0_ & ~0x00000004); - parseErrorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getParseErrorsFieldBuilder() : null; - } else { - parseErrorsBuilder_.addAllMessages(other.parseErrors_); - } - } - } - if (typeErrorsBuilder_ == null) { - if (!other.typeErrors_.isEmpty()) { - if (typeErrors_.isEmpty()) { - typeErrors_ = other.typeErrors_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureTypeErrorsIsMutable(); - typeErrors_.addAll(other.typeErrors_); - } - onChanged(); - } - } else { - if (!other.typeErrors_.isEmpty()) { - if (typeErrorsBuilder_.isEmpty()) { - typeErrorsBuilder_.dispose(); - typeErrorsBuilder_ = null; - typeErrors_ = other.typeErrors_; - bitField0_ = (bitField0_ & ~0x00000008); - typeErrorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTypeErrorsFieldBuilder() : null; - } else { - typeErrorsBuilder_.addAllMessages(other.typeErrors_); - } - } - } - internalGetMutableScopes().mergeFrom(other.internalGetScopes()); - bitField0_ |= 0x00000010; - internalGetMutableSymbols().mergeFrom(other.internalGetSymbols()); - bitField0_ |= 0x00000020; - internalGetMutableNodeSymbolMap().mergeFrom(other.internalGetNodeSymbolMap()); - bitField0_ |= 0x00000040; - internalGetMutableSymbolNodeMap().mergeFrom(other.internalGetSymbolNodeMap()); - bitField0_ |= 0x00000080; - internalGetMutableFullyQualifiedNameMap().mergeFrom(other.internalGetFullyQualifiedNameMap()); - bitField0_ |= 0x00000100; - internalGetMutablePkgScopeMap().mergeFrom(other.internalGetPkgScopeMap()); - bitField0_ |= 0x00000200; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - program_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathsIsMutable(); - paths_.add(s); - break; - } // case 18 - case 26: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(m); - } else { - parseErrorsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - typeErrors_.add(m); - } else { - typeErrorsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - com.google.protobuf.MapEntry scopes__ = input - .readMessage(ScopesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableScopes().ensureBuilderMap().put(scopes__.getKey(), scopes__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry symbols__ = input - .readMessage(SymbolsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSymbols().ensureBuilderMap().put(symbols__.getKey(), - symbols__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - com.google.protobuf.MapEntry nodeSymbolMap__ = input - .readMessage(NodeSymbolMapDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableNodeSymbolMap().ensureBuilderMap().put(nodeSymbolMap__.getKey(), - nodeSymbolMap__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - com.google.protobuf.MapEntry symbolNodeMap__ = input - .readMessage(SymbolNodeMapDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSymbolNodeMap().getMutableMap().put(symbolNodeMap__.getKey(), - symbolNodeMap__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - com.google.protobuf.MapEntry fullyQualifiedNameMap__ = input - .readMessage( - FullyQualifiedNameMapDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableFullyQualifiedNameMap().ensureBuilderMap() - .put(fullyQualifiedNameMap__.getKey(), fullyQualifiedNameMap__.getValue()); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - com.google.protobuf.MapEntry pkgScopeMap__ = input - .readMessage(PkgScopeMapDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutablePkgScopeMap().ensureBuilderMap().put(pkgScopeMap__.getKey(), - pkgScopeMap__.getValue()); - bitField0_ |= 0x00000200; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object program_ = ""; - - /** - *
-             * JSON string value
-             * 
- * - * string program = 1; - * - * @return The program. - */ - public java.lang.String getProgram() { - java.lang.Object ref = program_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - program_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * JSON string value
-             * 
- * - * string program = 1; - * - * @return The bytes for program. - */ - public com.google.protobuf.ByteString getProgramBytes() { - java.lang.Object ref = program_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - program_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * JSON string value
-             * 
- * - * string program = 1; - * - * @param value - * The program to set. - * - * @return This builder for chaining. - */ - public Builder setProgram(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - program_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * JSON string value
-             * 
- * - * string program = 1; - * - * @return This builder for chaining. - */ - public Builder clearProgram() { - program_ = getDefaultInstance().getProgram(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * JSON string value
-             * 
- * - * string program = 1; - * - * @param value - * The bytes for program to set. - * - * @return This builder for chaining. - */ - public Builder setProgramBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - program_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensurePathsIsMutable() { - if (!paths_.isModifiable()) { - paths_ = new com.google.protobuf.LazyStringArrayList(paths_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - paths_.makeImmutable(); - return paths_; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index to set the value at. - * @param value - * The paths to set. - * - * @return This builder for chaining. - */ - public Builder setPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param value - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param values - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addAllPaths(java.lang.Iterable values) { - ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @return This builder for chaining. - */ - public Builder clearPaths() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated string paths = 2; - * - * @param value - * The bytes of the paths to add. - * - * @return This builder for chaining. - */ - public Builder addPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List parseErrors_ = java.util.Collections.emptyList(); - - private void ensureParseErrorsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - parseErrors_ = new java.util.ArrayList(parseErrors_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 parseErrorsBuilder_; - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public java.util.List getParseErrorsList() { - if (parseErrorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(parseErrors_); - } else { - return parseErrorsBuilder_.getMessageList(); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public int getParseErrorsCount() { - if (parseErrorsBuilder_ == null) { - return parseErrors_.size(); - } else { - return parseErrorsBuilder_.getCount(); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error getParseErrors(int index) { - if (parseErrorsBuilder_ == null) { - return parseErrors_.get(index); - } else { - return parseErrorsBuilder_.getMessage(index); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder setParseErrors(int index, com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.set(index, value); - onChanged(); - } else { - parseErrorsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder setParseErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.set(index, builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.add(value); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(int index, com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.add(index, value); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(index, builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addAllParseErrors(java.lang.Iterable values) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parseErrors_); - onChanged(); - } else { - parseErrorsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder clearParseErrors() { - if (parseErrorsBuilder_ == null) { - parseErrors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - parseErrorsBuilder_.clear(); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder removeParseErrors(int index) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.remove(index); - onChanged(); - } else { - parseErrorsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder(int index) { - return getParseErrorsFieldBuilder().getBuilder(index); - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index) { - if (parseErrorsBuilder_ == null) { - return parseErrors_.get(index); - } else { - return parseErrorsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public java.util.List getParseErrorsOrBuilderList() { - if (parseErrorsBuilder_ != null) { - return parseErrorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(parseErrors_); - } - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() { - return getParseErrorsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(int index) { - return getParseErrorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * Parse errors
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public java.util.List getParseErrorsBuilderList() { - return getParseErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getParseErrorsFieldBuilder() { - if (parseErrorsBuilder_ == null) { - parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - parseErrors_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - parseErrors_ = null; - } - return parseErrorsBuilder_; - } - - private java.util.List typeErrors_ = java.util.Collections.emptyList(); - - private void ensureTypeErrorsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - typeErrors_ = new java.util.ArrayList(typeErrors_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 typeErrorsBuilder_; - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public java.util.List getTypeErrorsList() { - if (typeErrorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(typeErrors_); - } else { - return typeErrorsBuilder_.getMessageList(); - } - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public int getTypeErrorsCount() { - if (typeErrorsBuilder_ == null) { - return typeErrors_.size(); - } else { - return typeErrorsBuilder_.getCount(); - } - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public com.kcl.api.Spec.Error getTypeErrors(int index) { - if (typeErrorsBuilder_ == null) { - return typeErrors_.get(index); - } else { - return typeErrorsBuilder_.getMessage(index); - } - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder setTypeErrors(int index, com.kcl.api.Spec.Error value) { - if (typeErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTypeErrorsIsMutable(); - typeErrors_.set(index, value); - onChanged(); - } else { - typeErrorsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder setTypeErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - typeErrors_.set(index, builderForValue.build()); - onChanged(); - } else { - typeErrorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder addTypeErrors(com.kcl.api.Spec.Error value) { - if (typeErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTypeErrorsIsMutable(); - typeErrors_.add(value); - onChanged(); - } else { - typeErrorsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder addTypeErrors(int index, com.kcl.api.Spec.Error value) { - if (typeErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTypeErrorsIsMutable(); - typeErrors_.add(index, value); - onChanged(); - } else { - typeErrorsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder addTypeErrors(com.kcl.api.Spec.Error.Builder builderForValue) { - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - typeErrors_.add(builderForValue.build()); - onChanged(); - } else { - typeErrorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder addTypeErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - typeErrors_.add(index, builderForValue.build()); - onChanged(); - } else { - typeErrorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder addAllTypeErrors(java.lang.Iterable values) { - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, typeErrors_); - onChanged(); - } else { - typeErrorsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder clearTypeErrors() { - if (typeErrorsBuilder_ == null) { - typeErrors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - typeErrorsBuilder_.clear(); - } - return this; - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder removeTypeErrors(int index) { - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - typeErrors_.remove(index); - onChanged(); - } else { - typeErrorsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public com.kcl.api.Spec.Error.Builder getTypeErrorsBuilder(int index) { - return getTypeErrorsFieldBuilder().getBuilder(index); - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder(int index) { - if (typeErrorsBuilder_ == null) { - return typeErrors_.get(index); - } else { - return typeErrorsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public java.util.List getTypeErrorsOrBuilderList() { - if (typeErrorsBuilder_ != null) { - return typeErrorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(typeErrors_); - } - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder() { - return getTypeErrorsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder(int index) { - return getTypeErrorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * Type errors
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public java.util.List getTypeErrorsBuilderList() { - return getTypeErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getTypeErrorsFieldBuilder() { - if (typeErrorsBuilder_ == null) { - typeErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - typeErrors_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - typeErrors_ = null; - } - return typeErrorsBuilder_; - } - - private static final class ScopesConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.Scope build(com.kcl.api.Spec.ScopeOrBuilder val) { - if (val instanceof com.kcl.api.Spec.Scope) { - return (com.kcl.api.Spec.Scope) val; - } - return ((com.kcl.api.Spec.Scope.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return ScopesDefaultEntryHolder.defaultEntry; - } - }; - - private static final ScopesConverter scopesConverter = new ScopesConverter(); - - private com.google.protobuf.MapFieldBuilder scopes_; - - private com.google.protobuf.MapFieldBuilder internalGetScopes() { - if (scopes_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(scopesConverter); - } - return scopes_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableScopes() { - if (scopes_ == null) { - scopes_ = new com.google.protobuf.MapFieldBuilder<>(scopesConverter); - } - bitField0_ |= 0x00000010; - onChanged(); - return scopes_; - } - - public int getScopesCount() { - return internalGetScopes().ensureBuilderMap().size(); - } - - /** - *
-             * Map key is the ScopeIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public boolean containsScopes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetScopes().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getScopesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getScopes() { - return getScopesMap(); - } - - /** - *
-             * Map key is the ScopeIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public java.util.Map getScopesMap() { - return internalGetScopes().getImmutableMap(); - } - - /** - *
-             * Map key is the ScopeIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Scope getScopesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Scope defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableScopes() - .ensureBuilderMap(); - return map.containsKey(key) ? scopesConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map key is the ScopeIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.Scope getScopesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableScopes() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return scopesConverter.build(map.get(key)); - } - - public Builder clearScopes() { - bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableScopes().clear(); - return this; - } - - /** - *
-             * Map key is the ScopeIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - public Builder removeScopes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableScopes().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableScopes() { - bitField0_ |= 0x00000010; - return internalGetMutableScopes().ensureMessageMap(); - } - - /** - *
-             * Map key is the ScopeIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - public Builder putScopes(java.lang.String key, com.kcl.api.Spec.Scope value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableScopes().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000010; - return this; - } - - /** - *
-             * Map key is the ScopeIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - public Builder putAllScopes(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableScopes().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000010; - return this; - } - - /** - *
-             * Map key is the ScopeIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - public com.kcl.api.Spec.Scope.Builder putScopesBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableScopes() - .ensureBuilderMap(); - com.kcl.api.Spec.ScopeOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.Scope.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.Scope) { - entry = ((com.kcl.api.Spec.Scope) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.Scope.Builder) entry; - } - - private static final class SymbolsConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.Symbol build(com.kcl.api.Spec.SymbolOrBuilder val) { - if (val instanceof com.kcl.api.Spec.Symbol) { - return (com.kcl.api.Spec.Symbol) val; - } - return ((com.kcl.api.Spec.Symbol.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return SymbolsDefaultEntryHolder.defaultEntry; - } - }; - - private static final SymbolsConverter symbolsConverter = new SymbolsConverter(); - - private com.google.protobuf.MapFieldBuilder symbols_; - - private com.google.protobuf.MapFieldBuilder internalGetSymbols() { - if (symbols_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(symbolsConverter); - } - return symbols_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableSymbols() { - if (symbols_ == null) { - symbols_ = new com.google.protobuf.MapFieldBuilder<>(symbolsConverter); - } - bitField0_ |= 0x00000020; - onChanged(); - return symbols_; - } - - public int getSymbolsCount() { - return internalGetSymbols().ensureBuilderMap().size(); - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public boolean containsSymbols(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSymbols().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getSymbolsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSymbols() { - return getSymbolsMap(); - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public java.util.Map getSymbolsMap() { - return internalGetSymbols().getImmutableMap(); - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Symbol getSymbolsOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Symbol defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableSymbols() - .ensureBuilderMap(); - return map.containsKey(key) ? symbolsConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public com.kcl.api.Spec.Symbol getSymbolsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableSymbols() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return symbolsConverter.build(map.get(key)); - } - - public Builder clearSymbols() { - bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableSymbols().clear(); - return this; - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - public Builder removeSymbols(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableSymbols().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableSymbols() { - bitField0_ |= 0x00000020; - return internalGetMutableSymbols().ensureMessageMap(); - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - public Builder putSymbols(java.lang.String key, com.kcl.api.Spec.Symbol value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableSymbols().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000020; - return this; - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - public Builder putAllSymbols(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableSymbols().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000020; - return this; - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - public com.kcl.api.Spec.Symbol.Builder putSymbolsBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableSymbols() - .ensureBuilderMap(); - com.kcl.api.Spec.SymbolOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.Symbol.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.Symbol) { - entry = ((com.kcl.api.Spec.Symbol) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.Symbol.Builder) entry; - } - - private static final class NodeSymbolMapConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex build(com.kcl.api.Spec.SymbolIndexOrBuilder val) { - if (val instanceof com.kcl.api.Spec.SymbolIndex) { - return (com.kcl.api.Spec.SymbolIndex) val; - } - return ((com.kcl.api.Spec.SymbolIndex.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return NodeSymbolMapDefaultEntryHolder.defaultEntry; - } - }; - - private static final NodeSymbolMapConverter nodeSymbolMapConverter = new NodeSymbolMapConverter(); - - private com.google.protobuf.MapFieldBuilder nodeSymbolMap_; - - private com.google.protobuf.MapFieldBuilder internalGetNodeSymbolMap() { - if (nodeSymbolMap_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(nodeSymbolMapConverter); - } - return nodeSymbolMap_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableNodeSymbolMap() { - if (nodeSymbolMap_ == null) { - nodeSymbolMap_ = new com.google.protobuf.MapFieldBuilder<>(nodeSymbolMapConverter); - } - bitField0_ |= 0x00000040; - onChanged(); - return nodeSymbolMap_; - } - - public int getNodeSymbolMapCount() { - return internalGetNodeSymbolMap().ensureBuilderMap().size(); - } - - /** - *
-             * Map key is the AST index UUID string.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public boolean containsNodeSymbolMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetNodeSymbolMap().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getNodeSymbolMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getNodeSymbolMap() { - return getNodeSymbolMapMap(); - } - - /** - *
-             * Map key is the AST index UUID string.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public java.util.Map getNodeSymbolMapMap() { - return internalGetNodeSymbolMap().getImmutableMap(); - } - - /** - *
-             * Map key is the AST index UUID string.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableNodeSymbolMap() - .ensureBuilderMap(); - return map.containsKey(key) ? nodeSymbolMapConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map key is the AST index UUID string.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableNodeSymbolMap() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return nodeSymbolMapConverter.build(map.get(key)); - } - - public Builder clearNodeSymbolMap() { - bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableNodeSymbolMap().clear(); - return this; - } - - /** - *
-             * Map key is the AST index UUID string.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - public Builder removeNodeSymbolMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableNodeSymbolMap().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableNodeSymbolMap() { - bitField0_ |= 0x00000040; - return internalGetMutableNodeSymbolMap().ensureMessageMap(); - } - - /** - *
-             * Map key is the AST index UUID string.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - public Builder putNodeSymbolMap(java.lang.String key, com.kcl.api.Spec.SymbolIndex value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableNodeSymbolMap().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000040; - return this; - } - - /** - *
-             * Map key is the AST index UUID string.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - public Builder putAllNodeSymbolMap(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableNodeSymbolMap().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000040; - return this; - } - - /** - *
-             * Map key is the AST index UUID string.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - public com.kcl.api.Spec.SymbolIndex.Builder putNodeSymbolMapBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableNodeSymbolMap() - .ensureBuilderMap(); - com.kcl.api.Spec.SymbolIndexOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.SymbolIndex.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.SymbolIndex) { - entry = ((com.kcl.api.Spec.SymbolIndex) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.SymbolIndex.Builder) entry; - } - - private com.google.protobuf.MapField symbolNodeMap_; - - private com.google.protobuf.MapField internalGetSymbolNodeMap() { - if (symbolNodeMap_ == null) { - return com.google.protobuf.MapField.emptyMapField(SymbolNodeMapDefaultEntryHolder.defaultEntry); - } - return symbolNodeMap_; - } - - private com.google.protobuf.MapField internalGetMutableSymbolNodeMap() { - if (symbolNodeMap_ == null) { - symbolNodeMap_ = com.google.protobuf.MapField - .newMapField(SymbolNodeMapDefaultEntryHolder.defaultEntry); - } - if (!symbolNodeMap_.isMutable()) { - symbolNodeMap_ = symbolNodeMap_.copy(); - } - bitField0_ |= 0x00000080; - onChanged(); - return symbolNodeMap_; - } - - public int getSymbolNodeMapCount() { - return internalGetSymbolNodeMap().getMap().size(); - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public boolean containsSymbolNodeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSymbolNodeMap().getMap().containsKey(key); - } - - /** - * Use {@link #getSymbolNodeMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSymbolNodeMap() { - return getSymbolNodeMapMap(); - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public java.util.Map getSymbolNodeMapMap() { - return internalGetSymbolNodeMap().getMap(); - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getSymbolNodeMapOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbolNodeMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public java.lang.String getSymbolNodeMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbolNodeMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearSymbolNodeMap() { - bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableSymbolNodeMap().getMutableMap().clear(); - return this; - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - public Builder removeSymbolNodeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableSymbolNodeMap().getMutableMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableSymbolNodeMap() { - bitField0_ |= 0x00000080; - return internalGetMutableSymbolNodeMap().getMutableMap(); - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - public Builder putSymbolNodeMap(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableSymbolNodeMap().getMutableMap().put(key, value); - bitField0_ |= 0x00000080; - return this; - } - - /** - *
-             * Map key is the SymbolIndex json string.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - public Builder putAllSymbolNodeMap(java.util.Map values) { - internalGetMutableSymbolNodeMap().getMutableMap().putAll(values); - bitField0_ |= 0x00000080; - return this; - } - - private static final class FullyQualifiedNameMapConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex build(com.kcl.api.Spec.SymbolIndexOrBuilder val) { - if (val instanceof com.kcl.api.Spec.SymbolIndex) { - return (com.kcl.api.Spec.SymbolIndex) val; - } - return ((com.kcl.api.Spec.SymbolIndex.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return FullyQualifiedNameMapDefaultEntryHolder.defaultEntry; - } - }; - - private static final FullyQualifiedNameMapConverter fullyQualifiedNameMapConverter = new FullyQualifiedNameMapConverter(); - - private com.google.protobuf.MapFieldBuilder fullyQualifiedNameMap_; - - private com.google.protobuf.MapFieldBuilder internalGetFullyQualifiedNameMap() { - if (fullyQualifiedNameMap_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(fullyQualifiedNameMapConverter); - } - return fullyQualifiedNameMap_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableFullyQualifiedNameMap() { - if (fullyQualifiedNameMap_ == null) { - fullyQualifiedNameMap_ = new com.google.protobuf.MapFieldBuilder<>(fullyQualifiedNameMapConverter); - } - bitField0_ |= 0x00000100; - onChanged(); - return fullyQualifiedNameMap_; - } - - public int getFullyQualifiedNameMapCount() { - return internalGetFullyQualifiedNameMap().ensureBuilderMap().size(); - } - - /** - *
-             * Map key is the fully_qualified_name e.g. `pkg.Name`
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public boolean containsFullyQualifiedNameMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetFullyQualifiedNameMap().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getFullyQualifiedNameMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getFullyQualifiedNameMap() { - return getFullyQualifiedNameMapMap(); - } - - /** - *
-             * Map key is the fully_qualified_name e.g. `pkg.Name`
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public java.util.Map getFullyQualifiedNameMapMap() { - return internalGetFullyQualifiedNameMap().getImmutableMap(); - } - - /** - *
-             * Map key is the fully_qualified_name e.g. `pkg.Name`
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableFullyQualifiedNameMap() - .ensureBuilderMap(); - return map.containsKey(key) ? fullyQualifiedNameMapConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map key is the fully_qualified_name e.g. `pkg.Name`
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableFullyQualifiedNameMap() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return fullyQualifiedNameMapConverter.build(map.get(key)); - } - - public Builder clearFullyQualifiedNameMap() { - bitField0_ = (bitField0_ & ~0x00000100); - internalGetMutableFullyQualifiedNameMap().clear(); - return this; - } - - /** - *
-             * Map key is the fully_qualified_name e.g. `pkg.Name`
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - public Builder removeFullyQualifiedNameMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableFullyQualifiedNameMap().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableFullyQualifiedNameMap() { - bitField0_ |= 0x00000100; - return internalGetMutableFullyQualifiedNameMap().ensureMessageMap(); - } - - /** - *
-             * Map key is the fully_qualified_name e.g. `pkg.Name`
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - public Builder putFullyQualifiedNameMap(java.lang.String key, com.kcl.api.Spec.SymbolIndex value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableFullyQualifiedNameMap().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000100; - return this; - } - - /** - *
-             * Map key is the fully_qualified_name e.g. `pkg.Name`
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - public Builder putAllFullyQualifiedNameMap( - java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableFullyQualifiedNameMap().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000100; - return this; - } - - /** - *
-             * Map key is the fully_qualified_name e.g. `pkg.Name`
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - public com.kcl.api.Spec.SymbolIndex.Builder putFullyQualifiedNameMapBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableFullyQualifiedNameMap() - .ensureBuilderMap(); - com.kcl.api.Spec.SymbolIndexOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.SymbolIndex.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.SymbolIndex) { - entry = ((com.kcl.api.Spec.SymbolIndex) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.SymbolIndex.Builder) entry; - } - - private static final class PkgScopeMapConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex build(com.kcl.api.Spec.ScopeIndexOrBuilder val) { - if (val instanceof com.kcl.api.Spec.ScopeIndex) { - return (com.kcl.api.Spec.ScopeIndex) val; - } - return ((com.kcl.api.Spec.ScopeIndex.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return PkgScopeMapDefaultEntryHolder.defaultEntry; - } - }; - - private static final PkgScopeMapConverter pkgScopeMapConverter = new PkgScopeMapConverter(); - - private com.google.protobuf.MapFieldBuilder pkgScopeMap_; - - private com.google.protobuf.MapFieldBuilder internalGetPkgScopeMap() { - if (pkgScopeMap_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(pkgScopeMapConverter); - } - return pkgScopeMap_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutablePkgScopeMap() { - if (pkgScopeMap_ == null) { - pkgScopeMap_ = new com.google.protobuf.MapFieldBuilder<>(pkgScopeMapConverter); - } - bitField0_ |= 0x00000200; - onChanged(); - return pkgScopeMap_; - } - - public int getPkgScopeMapCount() { - return internalGetPkgScopeMap().ensureBuilderMap().size(); - } - - /** - *
-             * Map key is the package path.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public boolean containsPkgScopeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetPkgScopeMap().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getPkgScopeMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getPkgScopeMap() { - return getPkgScopeMapMap(); - } - - /** - *
-             * Map key is the package path.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public java.util.Map getPkgScopeMapMap() { - return internalGetPkgScopeMap().getImmutableMap(); - } - - /** - *
-             * Map key is the package path.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.ScopeIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutablePkgScopeMap() - .ensureBuilderMap(); - return map.containsKey(key) ? pkgScopeMapConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map key is the package path.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutablePkgScopeMap() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return pkgScopeMapConverter.build(map.get(key)); - } - - public Builder clearPkgScopeMap() { - bitField0_ = (bitField0_ & ~0x00000200); - internalGetMutablePkgScopeMap().clear(); - return this; - } - - /** - *
-             * Map key is the package path.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - public Builder removePkgScopeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutablePkgScopeMap().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutablePkgScopeMap() { - bitField0_ |= 0x00000200; - return internalGetMutablePkgScopeMap().ensureMessageMap(); - } - - /** - *
-             * Map key is the package path.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - public Builder putPkgScopeMap(java.lang.String key, com.kcl.api.Spec.ScopeIndex value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutablePkgScopeMap().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000200; - return this; - } - - /** - *
-             * Map key is the package path.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - public Builder putAllPkgScopeMap(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutablePkgScopeMap().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000200; - return this; - } - - /** - *
-             * Map key is the package path.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - public com.kcl.api.Spec.ScopeIndex.Builder putPkgScopeMapBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutablePkgScopeMap() - .ensureBuilderMap(); - com.kcl.api.Spec.ScopeIndexOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.ScopeIndex.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.ScopeIndex) { - entry = ((com.kcl.api.Spec.ScopeIndex) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.ScopeIndex.Builder) entry; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackage_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackage_Result) - private static final com.kcl.api.Spec.LoadPackage_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackage_Result(); - } - - public static com.kcl.api.Spec.LoadPackage_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadPackage_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListOptions_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListOptions_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - java.util.List getOptionsList(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - com.kcl.api.Spec.OptionHelp getOptions(int index); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - int getOptionsCount(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - java.util.List getOptionsOrBuilderList(); - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder(int index); - } - - /** - * Protobuf type {@code com.kcl.api.ListOptions_Result} - */ - public static final class ListOptions_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListOptions_Result) - ListOptions_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ListOptions_Result.newBuilder() to construct. - private ListOptions_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListOptions_Result() { - options_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListOptions_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListOptions_Result.class, - com.kcl.api.Spec.ListOptions_Result.Builder.class); - } - - public static final int OPTIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List options_; - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - @java.lang.Override - public java.util.List getOptionsList() { - return options_; - } - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - @java.lang.Override - public java.util.List getOptionsOrBuilderList() { - return options_; - } - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - @java.lang.Override - public int getOptionsCount() { - return options_.size(); - } - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.OptionHelp getOptions(int index) { - return options_.get(index); - } - - /** - *
-         * Returns the files in the order they should be compiled
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder(int index) { - return options_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < options_.size(); i++) { - output.writeMessage(2, options_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (int i = 0; i < options_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, options_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListOptions_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListOptions_Result other = (com.kcl.api.Spec.ListOptions_Result) obj; - - if (!getOptionsList().equals(other.getOptionsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getOptionsCount() > 0) { - hash = (37 * hash) + OPTIONS_FIELD_NUMBER; - hash = (53 * hash) + getOptionsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListOptions_Result 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 com.kcl.api.Spec.ListOptions_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListOptions_Result 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 com.kcl.api.Spec.ListOptions_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListOptions_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ListOptions_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListOptions_Result) - com.kcl.api.Spec.ListOptions_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListOptions_Result.class, - com.kcl.api.Spec.ListOptions_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListOptions_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (optionsBuilder_ == null) { - options_ = java.util.Collections.emptyList(); - } else { - options_ = null; - optionsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListOptions_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result build() { - com.kcl.api.Spec.ListOptions_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result buildPartial() { - com.kcl.api.Spec.ListOptions_Result result = new com.kcl.api.Spec.ListOptions_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ListOptions_Result result) { - if (optionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - options_ = java.util.Collections.unmodifiableList(options_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.options_ = options_; - } else { - result.options_ = optionsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ListOptions_Result result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListOptions_Result) { - return mergeFrom((com.kcl.api.Spec.ListOptions_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListOptions_Result other) { - if (other == com.kcl.api.Spec.ListOptions_Result.getDefaultInstance()) - return this; - if (optionsBuilder_ == null) { - if (!other.options_.isEmpty()) { - if (options_.isEmpty()) { - options_ = other.options_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureOptionsIsMutable(); - options_.addAll(other.options_); - } - onChanged(); - } - } else { - if (!other.options_.isEmpty()) { - if (optionsBuilder_.isEmpty()) { - optionsBuilder_.dispose(); - optionsBuilder_ = null; - options_ = other.options_; - bitField0_ = (bitField0_ & ~0x00000001); - optionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOptionsFieldBuilder() : null; - } else { - optionsBuilder_.addAllMessages(other.options_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: { - com.kcl.api.Spec.OptionHelp m = input.readMessage(com.kcl.api.Spec.OptionHelp.parser(), - extensionRegistry); - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - options_.add(m); - } else { - optionsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List options_ = java.util.Collections.emptyList(); - - private void ensureOptionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - options_ = new java.util.ArrayList(options_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 optionsBuilder_; - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public java.util.List getOptionsList() { - if (optionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(options_); - } else { - return optionsBuilder_.getMessageList(); - } - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public int getOptionsCount() { - if (optionsBuilder_ == null) { - return options_.size(); - } else { - return optionsBuilder_.getCount(); - } - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public com.kcl.api.Spec.OptionHelp getOptions(int index) { - if (optionsBuilder_ == null) { - return options_.get(index); - } else { - return optionsBuilder_.getMessage(index); - } - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder setOptions(int index, com.kcl.api.Spec.OptionHelp value) { - if (optionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOptionsIsMutable(); - options_.set(index, value); - onChanged(); - } else { - optionsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder setOptions(int index, com.kcl.api.Spec.OptionHelp.Builder builderForValue) { - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - options_.set(index, builderForValue.build()); - onChanged(); - } else { - optionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder addOptions(com.kcl.api.Spec.OptionHelp value) { - if (optionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOptionsIsMutable(); - options_.add(value); - onChanged(); - } else { - optionsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder addOptions(int index, com.kcl.api.Spec.OptionHelp value) { - if (optionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOptionsIsMutable(); - options_.add(index, value); - onChanged(); - } else { - optionsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder addOptions(com.kcl.api.Spec.OptionHelp.Builder builderForValue) { - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - options_.add(builderForValue.build()); - onChanged(); - } else { - optionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder addOptions(int index, com.kcl.api.Spec.OptionHelp.Builder builderForValue) { - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - options_.add(index, builderForValue.build()); - onChanged(); - } else { - optionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder addAllOptions(java.lang.Iterable values) { - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, options_); - onChanged(); - } else { - optionsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder clearOptions() { - if (optionsBuilder_ == null) { - options_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - optionsBuilder_.clear(); - } - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder removeOptions(int index) { - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - options_.remove(index); - onChanged(); - } else { - optionsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public com.kcl.api.Spec.OptionHelp.Builder getOptionsBuilder(int index) { - return getOptionsFieldBuilder().getBuilder(index); - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder(int index) { - if (optionsBuilder_ == null) { - return options_.get(index); - } else { - return optionsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public java.util.List getOptionsOrBuilderList() { - if (optionsBuilder_ != null) { - return optionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(options_); - } - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder() { - return getOptionsFieldBuilder().addBuilder(com.kcl.api.Spec.OptionHelp.getDefaultInstance()); - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder(int index) { - return getOptionsFieldBuilder().addBuilder(index, com.kcl.api.Spec.OptionHelp.getDefaultInstance()); - } - - /** - *
-             * Returns the files in the order they should be compiled
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public java.util.List getOptionsBuilderList() { - return getOptionsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getOptionsFieldBuilder() { - if (optionsBuilder_ == null) { - optionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - options_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - options_ = null; - } - return optionsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListOptions_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListOptions_Result) - private static final com.kcl.api.Spec.ListOptions_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListOptions_Result(); - } - - public static com.kcl.api.Spec.ListOptions_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOptions_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OptionHelpOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.OptionHelp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * string type = 2; - * - * @return The type. - */ - java.lang.String getType(); - - /** - * string type = 2; - * - * @return The bytes for type. - */ - com.google.protobuf.ByteString getTypeBytes(); - - /** - * bool required = 3; - * - * @return The required. - */ - boolean getRequired(); - - /** - * string default_value = 4; - * - * @return The defaultValue. - */ - java.lang.String getDefaultValue(); - - /** - * string default_value = 4; - * - * @return The bytes for defaultValue. - */ - com.google.protobuf.ByteString getDefaultValueBytes(); - - /** - * string help = 5; - * - * @return The help. - */ - java.lang.String getHelp(); - - /** - * string help = 5; - * - * @return The bytes for help. - */ - com.google.protobuf.ByteString getHelpBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.OptionHelp} - */ - public static final class OptionHelp extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.OptionHelp) - OptionHelpOrBuilder { - private static final long serialVersionUID = 0L; - - // Use OptionHelp.newBuilder() to construct. - private OptionHelp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private OptionHelp() { - name_ = ""; - type_ = ""; - defaultValue_ = ""; - help_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OptionHelp(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OptionHelp.class, - com.kcl.api.Spec.OptionHelp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object type_ = ""; - - /** - * string type = 2; - * - * @return The type. - */ - @java.lang.Override - public java.lang.String getType() { - java.lang.Object ref = type_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } - } - - /** - * string type = 2; - * - * @return The bytes for type. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int REQUIRED_FIELD_NUMBER = 3; - private boolean required_ = false; - - /** - * bool required = 3; - * - * @return The required. - */ - @java.lang.Override - public boolean getRequired() { - return required_; - } - - public static final int DEFAULT_VALUE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object defaultValue_ = ""; - - /** - * string default_value = 4; - * - * @return The defaultValue. - */ - @java.lang.Override - public java.lang.String getDefaultValue() { - java.lang.Object ref = defaultValue_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - defaultValue_ = s; - return s; - } - } - - /** - * string default_value = 4; - * - * @return The bytes for defaultValue. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDefaultValueBytes() { - java.lang.Object ref = defaultValue_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - defaultValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int HELP_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private volatile java.lang.Object help_ = ""; - - /** - * string help = 5; - * - * @return The help. - */ - @java.lang.Override - public java.lang.String getHelp() { - java.lang.Object ref = help_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - help_ = s; - return s; - } - } - - /** - * string help = 5; - * - * @return The bytes for help. - */ - @java.lang.Override - public com.google.protobuf.ByteString getHelpBytes() { - java.lang.Object ref = help_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - help_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_); - } - if (required_ != false) { - output.writeBool(3, required_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultValue_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, defaultValue_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(help_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, help_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); - } - if (required_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, required_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultValue_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, defaultValue_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(help_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, help_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.OptionHelp)) { - return super.equals(obj); - } - com.kcl.api.Spec.OptionHelp other = (com.kcl.api.Spec.OptionHelp) obj; - - if (!getName().equals(other.getName())) - return false; - if (!getType().equals(other.getType())) - return false; - if (getRequired() != other.getRequired()) - return false; - if (!getDefaultValue().equals(other.getDefaultValue())) - return false; - if (!getHelp().equals(other.getHelp())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - hash = (37 * hash) + REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequired()); - hash = (37 * hash) + DEFAULT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getDefaultValue().hashCode(); - hash = (37 * hash) + HELP_FIELD_NUMBER; - hash = (53 * hash) + getHelp().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OptionHelp 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 com.kcl.api.Spec.OptionHelp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OptionHelp 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 com.kcl.api.Spec.OptionHelp parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.OptionHelp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.OptionHelp} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.OptionHelp) - com.kcl.api.Spec.OptionHelpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OptionHelp.class, - com.kcl.api.Spec.OptionHelp.Builder.class); - } - - // Construct using com.kcl.api.Spec.OptionHelp.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - type_ = ""; - required_ = false; - defaultValue_ = ""; - help_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.OptionHelp getDefaultInstanceForType() { - return com.kcl.api.Spec.OptionHelp.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.OptionHelp build() { - com.kcl.api.Spec.OptionHelp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.OptionHelp buildPartial() { - com.kcl.api.Spec.OptionHelp result = new com.kcl.api.Spec.OptionHelp(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.OptionHelp result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.type_ = type_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.required_ = required_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.defaultValue_ = defaultValue_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.help_ = help_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.OptionHelp) { - return mergeFrom((com.kcl.api.Spec.OptionHelp) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.OptionHelp other) { - if (other == com.kcl.api.Spec.OptionHelp.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getType().isEmpty()) { - type_ = other.type_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (other.getRequired() != false) { - setRequired(other.getRequired()); - } - if (!other.getDefaultValue().isEmpty()) { - defaultValue_ = other.defaultValue_; - bitField0_ |= 0x00000008; - onChanged(); - } - if (!other.getHelp().isEmpty()) { - help_ = other.help_; - bitField0_ |= 0x00000010; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - required_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - defaultValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - help_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string name = 1; - * - * @param value - * The name to set. - * - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string name = 1; - * - * @param value - * The bytes for name to set. - * - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object type_ = ""; - - /** - * string type = 2; - * - * @return The type. - */ - public java.lang.String getType() { - java.lang.Object ref = type_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string type = 2; - * - * @return The bytes for type. - */ - public com.google.protobuf.ByteString getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string type = 2; - * - * @param value - * The type to set. - * - * @return This builder for chaining. - */ - public Builder setType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string type = 2; - * - * @return This builder for chaining. - */ - public Builder clearType() { - type_ = getDefaultInstance().getType(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string type = 2; - * - * @param value - * The bytes for type to set. - * - * @return This builder for chaining. - */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - type_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private boolean required_; - - /** - * bool required = 3; - * - * @return The required. - */ - @java.lang.Override - public boolean getRequired() { - return required_; - } - - /** - * bool required = 3; - * - * @param value - * The required to set. - * - * @return This builder for chaining. - */ - public Builder setRequired(boolean value) { - - required_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * bool required = 3; - * - * @return This builder for chaining. - */ - public Builder clearRequired() { - bitField0_ = (bitField0_ & ~0x00000004); - required_ = false; - onChanged(); - return this; - } - - private java.lang.Object defaultValue_ = ""; - - /** - * string default_value = 4; - * - * @return The defaultValue. - */ - public java.lang.String getDefaultValue() { - java.lang.Object ref = defaultValue_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - defaultValue_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string default_value = 4; - * - * @return The bytes for defaultValue. - */ - public com.google.protobuf.ByteString getDefaultValueBytes() { - java.lang.Object ref = defaultValue_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - defaultValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string default_value = 4; - * - * @param value - * The defaultValue to set. - * - * @return This builder for chaining. - */ - public Builder setDefaultValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - defaultValue_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - * string default_value = 4; - * - * @return This builder for chaining. - */ - public Builder clearDefaultValue() { - defaultValue_ = getDefaultInstance().getDefaultValue(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - - /** - * string default_value = 4; - * - * @param value - * The bytes for defaultValue to set. - * - * @return This builder for chaining. - */ - public Builder setDefaultValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - defaultValue_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - private java.lang.Object help_ = ""; - - /** - * string help = 5; - * - * @return The help. - */ - public java.lang.String getHelp() { - java.lang.Object ref = help_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - help_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string help = 5; - * - * @return The bytes for help. - */ - public com.google.protobuf.ByteString getHelpBytes() { - java.lang.Object ref = help_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - help_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string help = 5; - * - * @param value - * The help to set. - * - * @return This builder for chaining. - */ - public Builder setHelp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - help_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - /** - * string help = 5; - * - * @return This builder for chaining. - */ - public Builder clearHelp() { - help_ = getDefaultInstance().getHelp(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - - /** - * string help = 5; - * - * @param value - * The bytes for help to set. - * - * @return This builder for chaining. - */ - public Builder setHelpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - help_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.OptionHelp) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.OptionHelp) - private static final com.kcl.api.Spec.OptionHelp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.OptionHelp(); - } - - public static com.kcl.api.Spec.OptionHelp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OptionHelp parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.OptionHelp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SymbolOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Symbol) - com.google.protobuf.MessageOrBuilder { - - /** - * .com.kcl.api.KclType ty = 1; - * - * @return Whether the ty field is set. - */ - boolean hasTy(); - - /** - * .com.kcl.api.KclType ty = 1; - * - * @return The ty. - */ - com.kcl.api.Spec.KclType getTy(); - - /** - * .com.kcl.api.KclType ty = 1; - */ - com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder(); - - /** - * string name = 2; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * string name = 2; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - boolean hasOwner(); - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - com.kcl.api.Spec.SymbolIndex getOwner(); - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder(); - - /** - * .com.kcl.api.SymbolIndex def = 4; - * - * @return Whether the def field is set. - */ - boolean hasDef(); - - /** - * .com.kcl.api.SymbolIndex def = 4; - * - * @return The def. - */ - com.kcl.api.Spec.SymbolIndex getDef(); - - /** - * .com.kcl.api.SymbolIndex def = 4; - */ - com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder(); - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - java.util.List getAttrsList(); - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - com.kcl.api.Spec.SymbolIndex getAttrs(int index); - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - int getAttrsCount(); - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - java.util.List getAttrsOrBuilderList(); - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder(int index); - - /** - * bool is_global = 6; - * - * @return The isGlobal. - */ - boolean getIsGlobal(); - } - - /** - * Protobuf type {@code com.kcl.api.Symbol} - */ - public static final class Symbol extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Symbol) - SymbolOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Symbol.newBuilder() to construct. - private Symbol(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Symbol() { - name_ = ""; - attrs_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Symbol(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Symbol.class, - com.kcl.api.Spec.Symbol.Builder.class); - } - - private int bitField0_; - public static final int TY_FIELD_NUMBER = 1; - private com.kcl.api.Spec.KclType ty_; - - /** - * .com.kcl.api.KclType ty = 1; - * - * @return Whether the ty field is set. - */ - @java.lang.Override - public boolean hasTy() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.KclType ty = 1; - * - * @return The ty. - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getTy() { - return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; - } - - /** - * .com.kcl.api.KclType ty = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder() { - return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; - } - - public static final int NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * string name = 2; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * string name = 2; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OWNER_FIELD_NUMBER = 3; - private com.kcl.api.Spec.SymbolIndex owner_; - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - @java.lang.Override - public boolean hasOwner() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getOwner() { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - - public static final int DEF_FIELD_NUMBER = 4; - private com.kcl.api.Spec.SymbolIndex def_; - - /** - * .com.kcl.api.SymbolIndex def = 4; - * - * @return Whether the def field is set. - */ - @java.lang.Override - public boolean hasDef() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * .com.kcl.api.SymbolIndex def = 4; - * - * @return The def. - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getDef() { - return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; - } - - /** - * .com.kcl.api.SymbolIndex def = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder() { - return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; - } - - public static final int ATTRS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private java.util.List attrs_; - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - @java.lang.Override - public java.util.List getAttrsList() { - return attrs_; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - @java.lang.Override - public java.util.List getAttrsOrBuilderList() { - return attrs_; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - @java.lang.Override - public int getAttrsCount() { - return attrs_.size(); - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getAttrs(int index) { - return attrs_.get(index); - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder(int index) { - return attrs_.get(index); - } - - public static final int IS_GLOBAL_FIELD_NUMBER = 6; - private boolean isGlobal_ = false; - - /** - * bool is_global = 6; - * - * @return The isGlobal. - */ - @java.lang.Override - public boolean getIsGlobal() { - return isGlobal_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getTy()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(3, getOwner()); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(4, getDef()); - } - for (int i = 0; i < attrs_.size(); i++) { - output.writeMessage(5, attrs_.get(i)); - } - if (isGlobal_ != false) { - output.writeBool(6, isGlobal_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTy()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOwner()); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDef()); - } - for (int i = 0; i < attrs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, attrs_.get(i)); - } - if (isGlobal_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, isGlobal_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Symbol)) { - return super.equals(obj); - } - com.kcl.api.Spec.Symbol other = (com.kcl.api.Spec.Symbol) obj; - - if (hasTy() != other.hasTy()) - return false; - if (hasTy()) { - if (!getTy().equals(other.getTy())) - return false; - } - if (!getName().equals(other.getName())) - return false; - if (hasOwner() != other.hasOwner()) - return false; - if (hasOwner()) { - if (!getOwner().equals(other.getOwner())) - return false; - } - if (hasDef() != other.hasDef()) - return false; - if (hasDef()) { - if (!getDef().equals(other.getDef())) - return false; - } - if (!getAttrsList().equals(other.getAttrsList())) - return false; - if (getIsGlobal() != other.getIsGlobal()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTy()) { - hash = (37 * hash) + TY_FIELD_NUMBER; - hash = (53 * hash) + getTy().hashCode(); - } - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (hasOwner()) { - hash = (37 * hash) + OWNER_FIELD_NUMBER; - hash = (53 * hash) + getOwner().hashCode(); - } - if (hasDef()) { - hash = (37 * hash) + DEF_FIELD_NUMBER; - hash = (53 * hash) + getDef().hashCode(); - } - if (getAttrsCount() > 0) { - hash = (37 * hash) + ATTRS_FIELD_NUMBER; - hash = (53 * hash) + getAttrsList().hashCode(); - } - hash = (37 * hash) + IS_GLOBAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsGlobal()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Symbol parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Symbol parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Symbol parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Symbol parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Symbol parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Symbol parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Symbol parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Symbol 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 com.kcl.api.Spec.Symbol parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Symbol 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 com.kcl.api.Spec.Symbol parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Symbol parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Symbol prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Symbol} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Symbol) - com.kcl.api.Spec.SymbolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Symbol.class, - com.kcl.api.Spec.Symbol.Builder.class); - } - - // Construct using com.kcl.api.Spec.Symbol.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getTyFieldBuilder(); - getOwnerFieldBuilder(); - getDefFieldBuilder(); - getAttrsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - ty_ = null; - if (tyBuilder_ != null) { - tyBuilder_.dispose(); - tyBuilder_ = null; - } - name_ = ""; - owner_ = null; - if (ownerBuilder_ != null) { - ownerBuilder_.dispose(); - ownerBuilder_ = null; - } - def_ = null; - if (defBuilder_ != null) { - defBuilder_.dispose(); - defBuilder_ = null; - } - if (attrsBuilder_ == null) { - attrs_ = java.util.Collections.emptyList(); - } else { - attrs_ = null; - attrsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - isGlobal_ = false; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Symbol getDefaultInstanceForType() { - return com.kcl.api.Spec.Symbol.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Symbol build() { - com.kcl.api.Spec.Symbol result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Symbol buildPartial() { - com.kcl.api.Spec.Symbol result = new com.kcl.api.Spec.Symbol(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.Symbol result) { - if (attrsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - attrs_ = java.util.Collections.unmodifiableList(attrs_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.attrs_ = attrs_; - } else { - result.attrs_ = attrsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.Symbol result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.ty_ = tyBuilder_ == null ? ty_ : tyBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.owner_ = ownerBuilder_ == null ? owner_ : ownerBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.def_ = defBuilder_ == null ? def_ : defBuilder_.build(); - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.isGlobal_ = isGlobal_; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Symbol) { - return mergeFrom((com.kcl.api.Spec.Symbol) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Symbol other) { - if (other == com.kcl.api.Spec.Symbol.getDefaultInstance()) - return this; - if (other.hasTy()) { - mergeTy(other.getTy()); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (other.hasOwner()) { - mergeOwner(other.getOwner()); - } - if (other.hasDef()) { - mergeDef(other.getDef()); - } - if (attrsBuilder_ == null) { - if (!other.attrs_.isEmpty()) { - if (attrs_.isEmpty()) { - attrs_ = other.attrs_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureAttrsIsMutable(); - attrs_.addAll(other.attrs_); - } - onChanged(); - } - } else { - if (!other.attrs_.isEmpty()) { - if (attrsBuilder_.isEmpty()) { - attrsBuilder_.dispose(); - attrsBuilder_ = null; - attrs_ = other.attrs_; - bitField0_ = (bitField0_ & ~0x00000010); - attrsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAttrsFieldBuilder() : null; - } else { - attrsBuilder_.addAllMessages(other.attrs_); - } - } - } - if (other.getIsGlobal() != false) { - setIsGlobal(other.getIsGlobal()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getTyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage(getOwnerFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage(getDefFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - com.kcl.api.Spec.SymbolIndex m = input.readMessage(com.kcl.api.Spec.SymbolIndex.parser(), - extensionRegistry); - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - attrs_.add(m); - } else { - attrsBuilder_.addMessage(m); - } - break; - } // case 42 - case 48: { - isGlobal_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.kcl.api.Spec.KclType ty_; - private com.google.protobuf.SingleFieldBuilderV3 tyBuilder_; - - /** - * .com.kcl.api.KclType ty = 1; - * - * @return Whether the ty field is set. - */ - public boolean hasTy() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.KclType ty = 1; - * - * @return The ty. - */ - public com.kcl.api.Spec.KclType getTy() { - if (tyBuilder_ == null) { - return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; - } else { - return tyBuilder_.getMessage(); - } - } - - /** - * .com.kcl.api.KclType ty = 1; - */ - public Builder setTy(com.kcl.api.Spec.KclType value) { - if (tyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ty_ = value; - } else { - tyBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * .com.kcl.api.KclType ty = 1; - */ - public Builder setTy(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (tyBuilder_ == null) { - ty_ = builderForValue.build(); - } else { - tyBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * .com.kcl.api.KclType ty = 1; - */ - public Builder mergeTy(com.kcl.api.Spec.KclType value) { - if (tyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && ty_ != null - && ty_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { - getTyBuilder().mergeFrom(value); - } else { - ty_ = value; - } - } else { - tyBuilder_.mergeFrom(value); - } - if (ty_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } - - /** - * .com.kcl.api.KclType ty = 1; - */ - public Builder clearTy() { - bitField0_ = (bitField0_ & ~0x00000001); - ty_ = null; - if (tyBuilder_ != null) { - tyBuilder_.dispose(); - tyBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * .com.kcl.api.KclType ty = 1; - */ - public com.kcl.api.Spec.KclType.Builder getTyBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getTyFieldBuilder().getBuilder(); - } - - /** - * .com.kcl.api.KclType ty = 1; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder() { - if (tyBuilder_ != null) { - return tyBuilder_.getMessageOrBuilder(); - } else { - return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; - } - } - - /** - * .com.kcl.api.KclType ty = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3 getTyFieldBuilder() { - if (tyBuilder_ == null) { - tyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getTy(), getParentForChildren(), isClean()); - ty_ = null; - } - return tyBuilder_; - } - - private java.lang.Object name_ = ""; - - /** - * string name = 2; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string name = 2; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string name = 2; - * - * @param value - * The name to set. - * - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string name = 2; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string name = 2; - * - * @param value - * The bytes for name to set. - * - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.kcl.api.Spec.SymbolIndex owner_; - private com.google.protobuf.SingleFieldBuilderV3 ownerBuilder_; - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - public boolean hasOwner() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - public com.kcl.api.Spec.SymbolIndex getOwner() { - if (ownerBuilder_ == null) { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } else { - return ownerBuilder_.getMessage(); - } - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder setOwner(com.kcl.api.Spec.SymbolIndex value) { - if (ownerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - owner_ = value; - } else { - ownerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder setOwner(com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (ownerBuilder_ == null) { - owner_ = builderForValue.build(); - } else { - ownerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder mergeOwner(com.kcl.api.Spec.SymbolIndex value) { - if (ownerBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && owner_ != null - && owner_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { - getOwnerBuilder().mergeFrom(value); - } else { - owner_ = value; - } - } else { - ownerBuilder_.mergeFrom(value); - } - if (owner_ != null) { - bitField0_ |= 0x00000004; - onChanged(); - } - return this; - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder clearOwner() { - bitField0_ = (bitField0_ & ~0x00000004); - owner_ = null; - if (ownerBuilder_ != null) { - ownerBuilder_.dispose(); - ownerBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public com.kcl.api.Spec.SymbolIndex.Builder getOwnerBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getOwnerFieldBuilder().getBuilder(); - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { - if (ownerBuilder_ != null) { - return ownerBuilder_.getMessageOrBuilder(); - } else { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3 getOwnerFieldBuilder() { - if (ownerBuilder_ == null) { - ownerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getOwner(), getParentForChildren(), isClean()); - owner_ = null; - } - return ownerBuilder_; - } - - private com.kcl.api.Spec.SymbolIndex def_; - private com.google.protobuf.SingleFieldBuilderV3 defBuilder_; - - /** - * .com.kcl.api.SymbolIndex def = 4; - * - * @return Whether the def field is set. - */ - public boolean hasDef() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * .com.kcl.api.SymbolIndex def = 4; - * - * @return The def. - */ - public com.kcl.api.Spec.SymbolIndex getDef() { - if (defBuilder_ == null) { - return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; - } else { - return defBuilder_.getMessage(); - } - } - - /** - * .com.kcl.api.SymbolIndex def = 4; - */ - public Builder setDef(com.kcl.api.Spec.SymbolIndex value) { - if (defBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - def_ = value; - } else { - defBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - * .com.kcl.api.SymbolIndex def = 4; - */ - public Builder setDef(com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (defBuilder_ == null) { - def_ = builderForValue.build(); - } else { - defBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - * .com.kcl.api.SymbolIndex def = 4; - */ - public Builder mergeDef(com.kcl.api.Spec.SymbolIndex value) { - if (defBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && def_ != null - && def_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { - getDefBuilder().mergeFrom(value); - } else { - def_ = value; - } - } else { - defBuilder_.mergeFrom(value); - } - if (def_ != null) { - bitField0_ |= 0x00000008; - onChanged(); - } - return this; - } - - /** - * .com.kcl.api.SymbolIndex def = 4; - */ - public Builder clearDef() { - bitField0_ = (bitField0_ & ~0x00000008); - def_ = null; - if (defBuilder_ != null) { - defBuilder_.dispose(); - defBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * .com.kcl.api.SymbolIndex def = 4; - */ - public com.kcl.api.Spec.SymbolIndex.Builder getDefBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getDefFieldBuilder().getBuilder(); - } - - /** - * .com.kcl.api.SymbolIndex def = 4; - */ - public com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder() { - if (defBuilder_ != null) { - return defBuilder_.getMessageOrBuilder(); - } else { - return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; - } - } - - /** - * .com.kcl.api.SymbolIndex def = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3 getDefFieldBuilder() { - if (defBuilder_ == null) { - defBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getDef(), getParentForChildren(), isClean()); - def_ = null; - } - return defBuilder_; - } - - private java.util.List attrs_ = java.util.Collections.emptyList(); - - private void ensureAttrsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - attrs_ = new java.util.ArrayList(attrs_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 attrsBuilder_; - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public java.util.List getAttrsList() { - if (attrsBuilder_ == null) { - return java.util.Collections.unmodifiableList(attrs_); - } else { - return attrsBuilder_.getMessageList(); - } - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public int getAttrsCount() { - if (attrsBuilder_ == null) { - return attrs_.size(); - } else { - return attrsBuilder_.getCount(); - } - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public com.kcl.api.Spec.SymbolIndex getAttrs(int index) { - if (attrsBuilder_ == null) { - return attrs_.get(index); - } else { - return attrsBuilder_.getMessage(index); - } - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder setAttrs(int index, com.kcl.api.Spec.SymbolIndex value) { - if (attrsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAttrsIsMutable(); - attrs_.set(index, value); - onChanged(); - } else { - attrsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder setAttrs(int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - attrs_.set(index, builderForValue.build()); - onChanged(); - } else { - attrsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder addAttrs(com.kcl.api.Spec.SymbolIndex value) { - if (attrsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAttrsIsMutable(); - attrs_.add(value); - onChanged(); - } else { - attrsBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder addAttrs(int index, com.kcl.api.Spec.SymbolIndex value) { - if (attrsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAttrsIsMutable(); - attrs_.add(index, value); - onChanged(); - } else { - attrsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder addAttrs(com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - attrs_.add(builderForValue.build()); - onChanged(); - } else { - attrsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder addAttrs(int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - attrs_.add(index, builderForValue.build()); - onChanged(); - } else { - attrsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder addAllAttrs(java.lang.Iterable values) { - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attrs_); - onChanged(); - } else { - attrsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder clearAttrs() { - if (attrsBuilder_ == null) { - attrs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - attrsBuilder_.clear(); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder removeAttrs(int index) { - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - attrs_.remove(index); - onChanged(); - } else { - attrsBuilder_.remove(index); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder getAttrsBuilder(int index) { - return getAttrsFieldBuilder().getBuilder(index); - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder(int index) { - if (attrsBuilder_ == null) { - return attrs_.get(index); - } else { - return attrsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public java.util.List getAttrsOrBuilderList() { - if (attrsBuilder_ != null) { - return attrsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(attrs_); - } - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder() { - return getAttrsFieldBuilder().addBuilder(com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder(int index) { - return getAttrsFieldBuilder().addBuilder(index, com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public java.util.List getAttrsBuilderList() { - return getAttrsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getAttrsFieldBuilder() { - if (attrsBuilder_ == null) { - attrsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - attrs_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - attrs_ = null; - } - return attrsBuilder_; - } - - private boolean isGlobal_; - - /** - * bool is_global = 6; - * - * @return The isGlobal. - */ - @java.lang.Override - public boolean getIsGlobal() { - return isGlobal_; - } - - /** - * bool is_global = 6; - * - * @param value - * The isGlobal to set. - * - * @return This builder for chaining. - */ - public Builder setIsGlobal(boolean value) { - - isGlobal_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - /** - * bool is_global = 6; - * - * @return This builder for chaining. - */ - public Builder clearIsGlobal() { - bitField0_ = (bitField0_ & ~0x00000020); - isGlobal_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Symbol) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Symbol) - private static final com.kcl.api.Spec.Symbol DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Symbol(); - } - - public static com.kcl.api.Spec.Symbol getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Symbol parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Symbol getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ScopeOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Scope) - com.google.protobuf.MessageOrBuilder { - - /** - * string kind = 1; - * - * @return The kind. - */ - java.lang.String getKind(); - - /** - * string kind = 1; - * - * @return The bytes for kind. - */ - com.google.protobuf.ByteString getKindBytes(); - - /** - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return Whether the parent field is set. - */ - boolean hasParent(); - - /** - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return The parent. - */ - com.kcl.api.Spec.ScopeIndex getParent(); - - /** - * .com.kcl.api.ScopeIndex parent = 2; - */ - com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder(); - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - boolean hasOwner(); - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - com.kcl.api.Spec.SymbolIndex getOwner(); - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder(); - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - java.util.List getChildrenList(); - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - com.kcl.api.Spec.ScopeIndex getChildren(int index); - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - int getChildrenCount(); - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - java.util.List getChildrenOrBuilderList(); - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder(int index); - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - java.util.List getDefsList(); - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - com.kcl.api.Spec.SymbolIndex getDefs(int index); - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - int getDefsCount(); - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - java.util.List getDefsOrBuilderList(); - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder(int index); - } - - /** - * Protobuf type {@code com.kcl.api.Scope} - */ - public static final class Scope extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Scope) - ScopeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Scope.newBuilder() to construct. - private Scope(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Scope() { - kind_ = ""; - children_ = java.util.Collections.emptyList(); - defs_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Scope(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Scope.class, - com.kcl.api.Spec.Scope.Builder.class); - } - - private int bitField0_; - public static final int KIND_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object kind_ = ""; - - /** - * string kind = 1; - * - * @return The kind. - */ - @java.lang.Override - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } - } - - /** - * string kind = 1; - * - * @return The bytes for kind. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PARENT_FIELD_NUMBER = 2; - private com.kcl.api.Spec.ScopeIndex parent_; - - /** - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return Whether the parent field is set. - */ - @java.lang.Override - public boolean hasParent() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return The parent. - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getParent() { - return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; - } - - /** - * .com.kcl.api.ScopeIndex parent = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder() { - return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; - } - - public static final int OWNER_FIELD_NUMBER = 3; - private com.kcl.api.Spec.SymbolIndex owner_; - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - @java.lang.Override - public boolean hasOwner() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getOwner() { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - - public static final int CHILDREN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List children_; - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - @java.lang.Override - public java.util.List getChildrenList() { - return children_; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - @java.lang.Override - public java.util.List getChildrenOrBuilderList() { - return children_; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - @java.lang.Override - public int getChildrenCount() { - return children_.size(); - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getChildren(int index) { - return children_.get(index); - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder(int index) { - return children_.get(index); - } - - public static final int DEFS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private java.util.List defs_; - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - @java.lang.Override - public java.util.List getDefsList() { - return defs_; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - @java.lang.Override - public java.util.List getDefsOrBuilderList() { - return defs_; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - @java.lang.Override - public int getDefsCount() { - return defs_.size(); - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getDefs(int index) { - return defs_.get(index); - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder(int index) { - return defs_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(2, getParent()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(3, getOwner()); - } - for (int i = 0; i < children_.size(); i++) { - output.writeMessage(4, children_.get(i)); - } - for (int i = 0; i < defs_.size(); i++) { - output.writeMessage(5, defs_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getParent()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOwner()); - } - for (int i = 0; i < children_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, children_.get(i)); - } - for (int i = 0; i < defs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, defs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Scope)) { - return super.equals(obj); - } - com.kcl.api.Spec.Scope other = (com.kcl.api.Spec.Scope) obj; - - if (!getKind().equals(other.getKind())) - return false; - if (hasParent() != other.hasParent()) - return false; - if (hasParent()) { - if (!getParent().equals(other.getParent())) - return false; - } - if (hasOwner() != other.hasOwner()) - return false; - if (hasOwner()) { - if (!getOwner().equals(other.getOwner())) - return false; - } - if (!getChildrenList().equals(other.getChildrenList())) - return false; - if (!getDefsList().equals(other.getDefsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); - if (hasParent()) { - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - } - if (hasOwner()) { - hash = (37 * hash) + OWNER_FIELD_NUMBER; - hash = (53 * hash) + getOwner().hashCode(); - } - if (getChildrenCount() > 0) { - hash = (37 * hash) + CHILDREN_FIELD_NUMBER; - hash = (53 * hash) + getChildrenList().hashCode(); - } - if (getDefsCount() > 0) { - hash = (37 * hash) + DEFS_FIELD_NUMBER; - hash = (53 * hash) + getDefsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Scope parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Scope parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Scope parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Scope parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Scope parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Scope parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Scope parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Scope 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 com.kcl.api.Spec.Scope parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Scope 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 com.kcl.api.Spec.Scope parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Scope parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Scope prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Scope} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Scope) - com.kcl.api.Spec.ScopeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Scope.class, - com.kcl.api.Spec.Scope.Builder.class); - } - - // Construct using com.kcl.api.Spec.Scope.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getParentFieldBuilder(); - getOwnerFieldBuilder(); - getChildrenFieldBuilder(); - getDefsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - kind_ = ""; - parent_ = null; - if (parentBuilder_ != null) { - parentBuilder_.dispose(); - parentBuilder_ = null; - } - owner_ = null; - if (ownerBuilder_ != null) { - ownerBuilder_.dispose(); - ownerBuilder_ = null; - } - if (childrenBuilder_ == null) { - children_ = java.util.Collections.emptyList(); - } else { - children_ = null; - childrenBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - if (defsBuilder_ == null) { - defs_ = java.util.Collections.emptyList(); - } else { - defs_ = null; - defsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Scope getDefaultInstanceForType() { - return com.kcl.api.Spec.Scope.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Scope build() { - com.kcl.api.Spec.Scope result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Scope buildPartial() { - com.kcl.api.Spec.Scope result = new com.kcl.api.Spec.Scope(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.Scope result) { - if (childrenBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - children_ = java.util.Collections.unmodifiableList(children_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.children_ = children_; - } else { - result.children_ = childrenBuilder_.build(); - } - if (defsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - defs_ = java.util.Collections.unmodifiableList(defs_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.defs_ = defs_; - } else { - result.defs_ = defsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.Scope result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.kind_ = kind_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.parent_ = parentBuilder_ == null ? parent_ : parentBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.owner_ = ownerBuilder_ == null ? owner_ : ownerBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Scope) { - return mergeFrom((com.kcl.api.Spec.Scope) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Scope other) { - if (other == com.kcl.api.Spec.Scope.getDefaultInstance()) - return this; - if (!other.getKind().isEmpty()) { - kind_ = other.kind_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasParent()) { - mergeParent(other.getParent()); - } - if (other.hasOwner()) { - mergeOwner(other.getOwner()); - } - if (childrenBuilder_ == null) { - if (!other.children_.isEmpty()) { - if (children_.isEmpty()) { - children_ = other.children_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureChildrenIsMutable(); - children_.addAll(other.children_); - } - onChanged(); - } - } else { - if (!other.children_.isEmpty()) { - if (childrenBuilder_.isEmpty()) { - childrenBuilder_.dispose(); - childrenBuilder_ = null; - children_ = other.children_; - bitField0_ = (bitField0_ & ~0x00000008); - childrenBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChildrenFieldBuilder() : null; - } else { - childrenBuilder_.addAllMessages(other.children_); - } - } - } - if (defsBuilder_ == null) { - if (!other.defs_.isEmpty()) { - if (defs_.isEmpty()) { - defs_ = other.defs_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureDefsIsMutable(); - defs_.addAll(other.defs_); - } - onChanged(); - } - } else { - if (!other.defs_.isEmpty()) { - if (defsBuilder_.isEmpty()) { - defsBuilder_.dispose(); - defsBuilder_ = null; - defs_ = other.defs_; - bitField0_ = (bitField0_ & ~0x00000010); - defsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDefsFieldBuilder() : null; - } else { - defsBuilder_.addAllMessages(other.defs_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage(getParentFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage(getOwnerFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.kcl.api.Spec.ScopeIndex m = input.readMessage(com.kcl.api.Spec.ScopeIndex.parser(), - extensionRegistry); - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(m); - } else { - childrenBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - com.kcl.api.Spec.SymbolIndex m = input.readMessage(com.kcl.api.Spec.SymbolIndex.parser(), - extensionRegistry); - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - defs_.add(m); - } else { - defsBuilder_.addMessage(m); - } - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object kind_ = ""; - - /** - * string kind = 1; - * - * @return The kind. - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string kind = 1; - * - * @return The bytes for kind. - */ - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string kind = 1; - * - * @param value - * The kind to set. - * - * @return This builder for chaining. - */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string kind = 1; - * - * @return This builder for chaining. - */ - public Builder clearKind() { - kind_ = getDefaultInstance().getKind(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string kind = 1; - * - * @param value - * The bytes for kind to set. - * - * @return This builder for chaining. - */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - kind_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.kcl.api.Spec.ScopeIndex parent_; - private com.google.protobuf.SingleFieldBuilderV3 parentBuilder_; - - /** - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return Whether the parent field is set. - */ - public boolean hasParent() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return The parent. - */ - public com.kcl.api.Spec.ScopeIndex getParent() { - if (parentBuilder_ == null) { - return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; - } else { - return parentBuilder_.getMessage(); - } - } - - /** - * .com.kcl.api.ScopeIndex parent = 2; - */ - public Builder setParent(com.kcl.api.Spec.ScopeIndex value) { - if (parentBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - parent_ = value; - } else { - parentBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * .com.kcl.api.ScopeIndex parent = 2; - */ - public Builder setParent(com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { - if (parentBuilder_ == null) { - parent_ = builderForValue.build(); - } else { - parentBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * .com.kcl.api.ScopeIndex parent = 2; - */ - public Builder mergeParent(com.kcl.api.Spec.ScopeIndex value) { - if (parentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && parent_ != null - && parent_ != com.kcl.api.Spec.ScopeIndex.getDefaultInstance()) { - getParentBuilder().mergeFrom(value); - } else { - parent_ = value; - } - } else { - parentBuilder_.mergeFrom(value); - } - if (parent_ != null) { - bitField0_ |= 0x00000002; - onChanged(); - } - return this; - } - - /** - * .com.kcl.api.ScopeIndex parent = 2; - */ - public Builder clearParent() { - bitField0_ = (bitField0_ & ~0x00000002); - parent_ = null; - if (parentBuilder_ != null) { - parentBuilder_.dispose(); - parentBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * .com.kcl.api.ScopeIndex parent = 2; - */ - public com.kcl.api.Spec.ScopeIndex.Builder getParentBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getParentFieldBuilder().getBuilder(); - } - - /** - * .com.kcl.api.ScopeIndex parent = 2; - */ - public com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder() { - if (parentBuilder_ != null) { - return parentBuilder_.getMessageOrBuilder(); - } else { - return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; - } - } - - /** - * .com.kcl.api.ScopeIndex parent = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3 getParentFieldBuilder() { - if (parentBuilder_ == null) { - parentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getParent(), getParentForChildren(), isClean()); - parent_ = null; - } - return parentBuilder_; - } - - private com.kcl.api.Spec.SymbolIndex owner_; - private com.google.protobuf.SingleFieldBuilderV3 ownerBuilder_; - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - public boolean hasOwner() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - public com.kcl.api.Spec.SymbolIndex getOwner() { - if (ownerBuilder_ == null) { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } else { - return ownerBuilder_.getMessage(); - } - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder setOwner(com.kcl.api.Spec.SymbolIndex value) { - if (ownerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - owner_ = value; - } else { - ownerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder setOwner(com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (ownerBuilder_ == null) { - owner_ = builderForValue.build(); - } else { - ownerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder mergeOwner(com.kcl.api.Spec.SymbolIndex value) { - if (ownerBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && owner_ != null - && owner_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { - getOwnerBuilder().mergeFrom(value); - } else { - owner_ = value; - } - } else { - ownerBuilder_.mergeFrom(value); - } - if (owner_ != null) { - bitField0_ |= 0x00000004; - onChanged(); - } - return this; - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder clearOwner() { - bitField0_ = (bitField0_ & ~0x00000004); - owner_ = null; - if (ownerBuilder_ != null) { - ownerBuilder_.dispose(); - ownerBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public com.kcl.api.Spec.SymbolIndex.Builder getOwnerBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getOwnerFieldBuilder().getBuilder(); - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { - if (ownerBuilder_ != null) { - return ownerBuilder_.getMessageOrBuilder(); - } else { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - } - - /** - * .com.kcl.api.SymbolIndex owner = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3 getOwnerFieldBuilder() { - if (ownerBuilder_ == null) { - ownerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getOwner(), getParentForChildren(), isClean()); - owner_ = null; - } - return ownerBuilder_; - } - - private java.util.List children_ = java.util.Collections.emptyList(); - - private void ensureChildrenIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - children_ = new java.util.ArrayList(children_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 childrenBuilder_; - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public java.util.List getChildrenList() { - if (childrenBuilder_ == null) { - return java.util.Collections.unmodifiableList(children_); - } else { - return childrenBuilder_.getMessageList(); - } - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public int getChildrenCount() { - if (childrenBuilder_ == null) { - return children_.size(); - } else { - return childrenBuilder_.getCount(); - } - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public com.kcl.api.Spec.ScopeIndex getChildren(int index) { - if (childrenBuilder_ == null) { - return children_.get(index); - } else { - return childrenBuilder_.getMessage(index); - } - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder setChildren(int index, com.kcl.api.Spec.ScopeIndex value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.set(index, value); - onChanged(); - } else { - childrenBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder setChildren(int index, com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.set(index, builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder addChildren(com.kcl.api.Spec.ScopeIndex value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.add(value); - onChanged(); - } else { - childrenBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder addChildren(int index, com.kcl.api.Spec.ScopeIndex value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.add(index, value); - onChanged(); - } else { - childrenBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder addChildren(com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder addChildren(int index, com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(index, builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder addAllChildren(java.lang.Iterable values) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, children_); - onChanged(); - } else { - childrenBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder clearChildren() { - if (childrenBuilder_ == null) { - children_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - childrenBuilder_.clear(); - } - return this; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder removeChildren(int index) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.remove(index); - onChanged(); - } else { - childrenBuilder_.remove(index); - } - return this; - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public com.kcl.api.Spec.ScopeIndex.Builder getChildrenBuilder(int index) { - return getChildrenFieldBuilder().getBuilder(index); - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder(int index) { - if (childrenBuilder_ == null) { - return children_.get(index); - } else { - return childrenBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public java.util.List getChildrenOrBuilderList() { - if (childrenBuilder_ != null) { - return childrenBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(children_); - } - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder() { - return getChildrenFieldBuilder().addBuilder(com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder(int index) { - return getChildrenFieldBuilder().addBuilder(index, com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public java.util.List getChildrenBuilderList() { - return getChildrenFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getChildrenFieldBuilder() { - if (childrenBuilder_ == null) { - childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - children_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - children_ = null; - } - return childrenBuilder_; - } - - private java.util.List defs_ = java.util.Collections.emptyList(); - - private void ensureDefsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - defs_ = new java.util.ArrayList(defs_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 defsBuilder_; - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public java.util.List getDefsList() { - if (defsBuilder_ == null) { - return java.util.Collections.unmodifiableList(defs_); - } else { - return defsBuilder_.getMessageList(); - } - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public int getDefsCount() { - if (defsBuilder_ == null) { - return defs_.size(); - } else { - return defsBuilder_.getCount(); - } - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public com.kcl.api.Spec.SymbolIndex getDefs(int index) { - if (defsBuilder_ == null) { - return defs_.get(index); - } else { - return defsBuilder_.getMessage(index); - } - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder setDefs(int index, com.kcl.api.Spec.SymbolIndex value) { - if (defsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDefsIsMutable(); - defs_.set(index, value); - onChanged(); - } else { - defsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder setDefs(int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - defs_.set(index, builderForValue.build()); - onChanged(); - } else { - defsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder addDefs(com.kcl.api.Spec.SymbolIndex value) { - if (defsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDefsIsMutable(); - defs_.add(value); - onChanged(); - } else { - defsBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder addDefs(int index, com.kcl.api.Spec.SymbolIndex value) { - if (defsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDefsIsMutable(); - defs_.add(index, value); - onChanged(); - } else { - defsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder addDefs(com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - defs_.add(builderForValue.build()); - onChanged(); - } else { - defsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder addDefs(int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - defs_.add(index, builderForValue.build()); - onChanged(); - } else { - defsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder addAllDefs(java.lang.Iterable values) { - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, defs_); - onChanged(); - } else { - defsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder clearDefs() { - if (defsBuilder_ == null) { - defs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - defsBuilder_.clear(); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder removeDefs(int index) { - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - defs_.remove(index); - onChanged(); - } else { - defsBuilder_.remove(index); - } - return this; - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder getDefsBuilder(int index) { - return getDefsFieldBuilder().getBuilder(index); - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder(int index) { - if (defsBuilder_ == null) { - return defs_.get(index); - } else { - return defsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public java.util.List getDefsOrBuilderList() { - if (defsBuilder_ != null) { - return defsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(defs_); - } - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder() { - return getDefsFieldBuilder().addBuilder(com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder(int index) { - return getDefsFieldBuilder().addBuilder(index, com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public java.util.List getDefsBuilderList() { - return getDefsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getDefsFieldBuilder() { - if (defsBuilder_ == null) { - defsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - defs_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - defs_ = null; - } - return defsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Scope) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Scope) - private static final com.kcl.api.Spec.Scope DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Scope(); - } - - public static com.kcl.api.Spec.Scope getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Scope parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Scope getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SymbolIndexOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.SymbolIndex) - com.google.protobuf.MessageOrBuilder { - - /** - * uint64 i = 1; - * - * @return The i. - */ - long getI(); - - /** - * uint64 g = 2; - * - * @return The g. - */ - long getG(); - - /** - * string kind = 3; - * - * @return The kind. - */ - java.lang.String getKind(); - - /** - * string kind = 3; - * - * @return The bytes for kind. - */ - com.google.protobuf.ByteString getKindBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.SymbolIndex} - */ - public static final class SymbolIndex extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.SymbolIndex) - SymbolIndexOrBuilder { - private static final long serialVersionUID = 0L; - - // Use SymbolIndex.newBuilder() to construct. - private SymbolIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private SymbolIndex() { - kind_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SymbolIndex(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.SymbolIndex.class, - com.kcl.api.Spec.SymbolIndex.Builder.class); - } - - public static final int I_FIELD_NUMBER = 1; - private long i_ = 0L; - - /** - * uint64 i = 1; - * - * @return The i. - */ - @java.lang.Override - public long getI() { - return i_; - } - - public static final int G_FIELD_NUMBER = 2; - private long g_ = 0L; - - /** - * uint64 g = 2; - * - * @return The g. - */ - @java.lang.Override - public long getG() { - return g_; - } - - public static final int KIND_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object kind_ = ""; - - /** - * string kind = 3; - * - * @return The kind. - */ - @java.lang.Override - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } - } - - /** - * string kind = 3; - * - * @return The bytes for kind. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (i_ != 0L) { - output.writeUInt64(1, i_); - } - if (g_ != 0L) { - output.writeUInt64(2, g_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (i_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(1, i_); - } - if (g_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(2, g_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.SymbolIndex)) { - return super.equals(obj); - } - com.kcl.api.Spec.SymbolIndex other = (com.kcl.api.Spec.SymbolIndex) obj; - - if (getI() != other.getI()) - return false; - if (getG() != other.getG()) - return false; - if (!getKind().equals(other.getKind())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + I_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getI()); - hash = (37 * hash) + G_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getG()); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.SymbolIndex 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 com.kcl.api.Spec.SymbolIndex parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.SymbolIndex 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 com.kcl.api.Spec.SymbolIndex parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.SymbolIndex prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.SymbolIndex} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.SymbolIndex) - com.kcl.api.Spec.SymbolIndexOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.SymbolIndex.class, - com.kcl.api.Spec.SymbolIndex.Builder.class); - } - - // Construct using com.kcl.api.Spec.SymbolIndex.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - i_ = 0L; - g_ = 0L; - kind_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getDefaultInstanceForType() { - return com.kcl.api.Spec.SymbolIndex.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex build() { - com.kcl.api.Spec.SymbolIndex result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex buildPartial() { - com.kcl.api.Spec.SymbolIndex result = new com.kcl.api.Spec.SymbolIndex(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.SymbolIndex result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.i_ = i_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.g_ = g_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.kind_ = kind_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.SymbolIndex) { - return mergeFrom((com.kcl.api.Spec.SymbolIndex) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.SymbolIndex other) { - if (other == com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) - return this; - if (other.getI() != 0L) { - setI(other.getI()); - } - if (other.getG() != 0L) { - setG(other.getG()); - } - if (!other.getKind().isEmpty()) { - kind_ = other.kind_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - i_ = input.readUInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - g_ = input.readUInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private long i_; - - /** - * uint64 i = 1; - * - * @return The i. - */ - @java.lang.Override - public long getI() { - return i_; - } - - /** - * uint64 i = 1; - * - * @param value - * The i to set. - * - * @return This builder for chaining. - */ - public Builder setI(long value) { - - i_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * uint64 i = 1; - * - * @return This builder for chaining. - */ - public Builder clearI() { - bitField0_ = (bitField0_ & ~0x00000001); - i_ = 0L; - onChanged(); - return this; - } - - private long g_; - - /** - * uint64 g = 2; - * - * @return The g. - */ - @java.lang.Override - public long getG() { - return g_; - } - - /** - * uint64 g = 2; - * - * @param value - * The g to set. - * - * @return This builder for chaining. - */ - public Builder setG(long value) { - - g_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * uint64 g = 2; - * - * @return This builder for chaining. - */ - public Builder clearG() { - bitField0_ = (bitField0_ & ~0x00000002); - g_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object kind_ = ""; - - /** - * string kind = 3; - * - * @return The kind. - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string kind = 3; - * - * @return The bytes for kind. - */ - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string kind = 3; - * - * @param value - * The kind to set. - * - * @return This builder for chaining. - */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * string kind = 3; - * - * @return This builder for chaining. - */ - public Builder clearKind() { - kind_ = getDefaultInstance().getKind(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - * string kind = 3; - * - * @param value - * The bytes for kind to set. - * - * @return This builder for chaining. - */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - kind_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.SymbolIndex) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.SymbolIndex) - private static final com.kcl.api.Spec.SymbolIndex DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.SymbolIndex(); - } - - public static com.kcl.api.Spec.SymbolIndex getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SymbolIndex parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ScopeIndexOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ScopeIndex) - com.google.protobuf.MessageOrBuilder { - - /** - * uint64 i = 1; - * - * @return The i. - */ - long getI(); - - /** - * uint64 g = 2; - * - * @return The g. - */ - long getG(); - - /** - * string kind = 3; - * - * @return The kind. - */ - java.lang.String getKind(); - - /** - * string kind = 3; - * - * @return The bytes for kind. - */ - com.google.protobuf.ByteString getKindBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.ScopeIndex} - */ - public static final class ScopeIndex extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ScopeIndex) - ScopeIndexOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ScopeIndex.newBuilder() to construct. - private ScopeIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ScopeIndex() { - kind_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ScopeIndex(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ScopeIndex.class, - com.kcl.api.Spec.ScopeIndex.Builder.class); - } - - public static final int I_FIELD_NUMBER = 1; - private long i_ = 0L; - - /** - * uint64 i = 1; - * - * @return The i. - */ - @java.lang.Override - public long getI() { - return i_; - } - - public static final int G_FIELD_NUMBER = 2; - private long g_ = 0L; - - /** - * uint64 g = 2; - * - * @return The g. - */ - @java.lang.Override - public long getG() { - return g_; - } - - public static final int KIND_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object kind_ = ""; - - /** - * string kind = 3; - * - * @return The kind. - */ - @java.lang.Override - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } - } - - /** - * string kind = 3; - * - * @return The bytes for kind. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (i_ != 0L) { - output.writeUInt64(1, i_); - } - if (g_ != 0L) { - output.writeUInt64(2, g_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (i_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(1, i_); - } - if (g_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(2, g_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ScopeIndex)) { - return super.equals(obj); - } - com.kcl.api.Spec.ScopeIndex other = (com.kcl.api.Spec.ScopeIndex) obj; - - if (getI() != other.getI()) - return false; - if (getG() != other.getG()) - return false; - if (!getKind().equals(other.getKind())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + I_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getI()); - hash = (37 * hash) + G_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getG()); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ScopeIndex 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 com.kcl.api.Spec.ScopeIndex parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ScopeIndex 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 com.kcl.api.Spec.ScopeIndex parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ScopeIndex prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ScopeIndex} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ScopeIndex) - com.kcl.api.Spec.ScopeIndexOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ScopeIndex.class, - com.kcl.api.Spec.ScopeIndex.Builder.class); - } - - // Construct using com.kcl.api.Spec.ScopeIndex.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - i_ = 0L; - g_ = 0L; - kind_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getDefaultInstanceForType() { - return com.kcl.api.Spec.ScopeIndex.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex build() { - com.kcl.api.Spec.ScopeIndex result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex buildPartial() { - com.kcl.api.Spec.ScopeIndex result = new com.kcl.api.Spec.ScopeIndex(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ScopeIndex result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.i_ = i_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.g_ = g_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.kind_ = kind_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ScopeIndex) { - return mergeFrom((com.kcl.api.Spec.ScopeIndex) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ScopeIndex other) { - if (other == com.kcl.api.Spec.ScopeIndex.getDefaultInstance()) - return this; - if (other.getI() != 0L) { - setI(other.getI()); - } - if (other.getG() != 0L) { - setG(other.getG()); - } - if (!other.getKind().isEmpty()) { - kind_ = other.kind_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - i_ = input.readUInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - g_ = input.readUInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private long i_; - - /** - * uint64 i = 1; - * - * @return The i. - */ - @java.lang.Override - public long getI() { - return i_; - } - - /** - * uint64 i = 1; - * - * @param value - * The i to set. - * - * @return This builder for chaining. - */ - public Builder setI(long value) { - - i_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * uint64 i = 1; - * - * @return This builder for chaining. - */ - public Builder clearI() { - bitField0_ = (bitField0_ & ~0x00000001); - i_ = 0L; - onChanged(); - return this; - } - - private long g_; - - /** - * uint64 g = 2; - * - * @return The g. - */ - @java.lang.Override - public long getG() { - return g_; - } - - /** - * uint64 g = 2; - * - * @param value - * The g to set. - * - * @return This builder for chaining. - */ - public Builder setG(long value) { - - g_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * uint64 g = 2; - * - * @return This builder for chaining. - */ - public Builder clearG() { - bitField0_ = (bitField0_ & ~0x00000002); - g_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object kind_ = ""; - - /** - * string kind = 3; - * - * @return The kind. - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string kind = 3; - * - * @return The bytes for kind. - */ - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string kind = 3; - * - * @param value - * The kind to set. - * - * @return This builder for chaining. - */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * string kind = 3; - * - * @return This builder for chaining. - */ - public Builder clearKind() { - kind_ = getDefaultInstance().getKind(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - * string kind = 3; - * - * @param value - * The bytes for kind to set. - * - * @return This builder for chaining. - */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - kind_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ScopeIndex) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ScopeIndex) - private static final com.kcl.api.Spec.ScopeIndex DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ScopeIndex(); - } - - public static com.kcl.api.Spec.ScopeIndex getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScopeIndex parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecProgram_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgram_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string work_dir = 1; - * - * @return The workDir. - */ - java.lang.String getWorkDir(); - - /** - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - com.google.protobuf.ByteString getWorkDirBytes(); - - /** - * repeated string k_filename_list = 2; - * - * @return A list containing the kFilenameList. - */ - java.util.List getKFilenameListList(); - - /** - * repeated string k_filename_list = 2; - * - * @return The count of kFilenameList. - */ - int getKFilenameListCount(); - - /** - * repeated string k_filename_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The kFilenameList at the given index. - */ - java.lang.String getKFilenameList(int index); - - /** - * repeated string k_filename_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kFilenameList at the given index. - */ - com.google.protobuf.ByteString getKFilenameListBytes(int index); - - /** - * repeated string k_code_list = 3; - * - * @return A list containing the kCodeList. - */ - java.util.List getKCodeListList(); - - /** - * repeated string k_code_list = 3; - * - * @return The count of kCodeList. - */ - int getKCodeListCount(); - - /** - * repeated string k_code_list = 3; - * - * @param index - * The index of the element to return. - * - * @return The kCodeList at the given index. - */ - java.lang.String getKCodeList(int index); - - /** - * repeated string k_code_list = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kCodeList at the given index. - */ - com.google.protobuf.ByteString getKCodeListBytes(int index); - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - java.util.List getArgsList(); - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - com.kcl.api.Spec.CmdArgSpec getArgs(int index); - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - int getArgsCount(); - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - java.util.List getArgsOrBuilderList(); - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - com.kcl.api.Spec.CmdArgSpecOrBuilder getArgsOrBuilder(int index); - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - java.util.List getOverridesList(); - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - com.kcl.api.Spec.CmdOverrideSpec getOverrides(int index); - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - int getOverridesCount(); - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - java.util.List getOverridesOrBuilderList(); - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - com.kcl.api.Spec.CmdOverrideSpecOrBuilder getOverridesOrBuilder(int index); - - /** - * bool disable_yaml_result = 6; - * - * @return The disableYamlResult. - */ - boolean getDisableYamlResult(); - - /** - * bool print_override_ast = 7; - * - * @return The printOverrideAst. - */ - boolean getPrintOverrideAst(); - - /** - *
-         * -r --strict-range-check
-         * 
- * - * bool strict_range_check = 8; - * - * @return The strictRangeCheck. - */ - boolean getStrictRangeCheck(); - - /** - *
-         * -n --disable-none
-         * 
- * - * bool disable_none = 9; - * - * @return The disableNone. - */ - boolean getDisableNone(); - - /** - *
-         * -v --verbose
-         * 
- * - * int32 verbose = 10; - * - * @return The verbose. - */ - int getVerbose(); - - /** - *
-         * -d --debug
-         * 
- * - * int32 debug = 11; - * - * @return The debug. - */ - int getDebug(); - - /** - *
-         * yaml/json: sort keys
-         * 
- * - * bool sort_keys = 12; - * - * @return The sortKeys. - */ - boolean getSortKeys(); - - /** - *
-         * -E --external : external packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - java.util.List getExternalPkgsList(); - - /** - *
-         * -E --external : external packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index); - - /** - *
-         * -E --external : external packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - int getExternalPkgsCount(); - - /** - *
-         * -E --external : external packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - java.util.List getExternalPkgsOrBuilderList(); - - /** - *
-         * -E --external : external packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder(int index); - - /** - *
-         * Whether including schema type in JSON/YAML result
-         * 
- * - * bool include_schema_type_path = 14; - * - * @return The includeSchemaTypePath. - */ - boolean getIncludeSchemaTypePath(); - - /** - *
-         * Whether only compiling the program
-         * 
- * - * bool compile_only = 15; - * - * @return The compileOnly. - */ - boolean getCompileOnly(); - - /** - *
-         * Show hidden attributes
-         * 
- * - * bool show_hidden = 16; - * - * @return The showHidden. - */ - boolean getShowHidden(); - - /** - *
-         * -S --path_selector
-         * 
- * - * repeated string path_selector = 17; - * - * @return A list containing the pathSelector. - */ - java.util.List getPathSelectorList(); - - /** - *
-         * -S --path_selector
-         * 
- * - * repeated string path_selector = 17; - * - * @return The count of pathSelector. - */ - int getPathSelectorCount(); - - /** - *
-         * -S --path_selector
-         * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - java.lang.String getPathSelector(int index); - - /** - *
-         * -S --path_selector
-         * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - com.google.protobuf.ByteString getPathSelectorBytes(int index); - - /** - *
-         * -K --fast_eval
-         * 
- * - * bool fast_eval = 18; - * - * @return The fastEval. - */ - boolean getFastEval(); - } - - /** - * Protobuf type {@code com.kcl.api.ExecProgram_Args} - */ - public static final class ExecProgram_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgram_Args) - ExecProgram_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ExecProgram_Args.newBuilder() to construct. - private ExecProgram_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ExecProgram_Args() { - workDir_ = ""; - kFilenameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - kCodeList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - args_ = java.util.Collections.emptyList(); - overrides_ = java.util.Collections.emptyList(); - externalPkgs_ = java.util.Collections.emptyList(); - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ExecProgram_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecProgram_Args.class, - com.kcl.api.Spec.ExecProgram_Args.Builder.class); - } - - public static final int WORK_DIR_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object workDir_ = ""; - - /** - * string work_dir = 1; - * - * @return The workDir. - */ - @java.lang.Override - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } - } - - /** - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - @java.lang.Override - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int K_FILENAME_LIST_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList kFilenameList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - * repeated string k_filename_list = 2; - * - * @return A list containing the kFilenameList. - */ - public com.google.protobuf.ProtocolStringList getKFilenameListList() { - return kFilenameList_; - } - - /** - * repeated string k_filename_list = 2; - * - * @return The count of kFilenameList. - */ - public int getKFilenameListCount() { - return kFilenameList_.size(); - } - - /** - * repeated string k_filename_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The kFilenameList at the given index. - */ - public java.lang.String getKFilenameList(int index) { - return kFilenameList_.get(index); - } - - /** - * repeated string k_filename_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kFilenameList at the given index. - */ - public com.google.protobuf.ByteString getKFilenameListBytes(int index) { - return kFilenameList_.getByteString(index); - } - - public static final int K_CODE_LIST_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList kCodeList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - * repeated string k_code_list = 3; - * - * @return A list containing the kCodeList. - */ - public com.google.protobuf.ProtocolStringList getKCodeListList() { - return kCodeList_; - } - - /** - * repeated string k_code_list = 3; - * - * @return The count of kCodeList. - */ - public int getKCodeListCount() { - return kCodeList_.size(); - } - - /** - * repeated string k_code_list = 3; - * - * @param index - * The index of the element to return. - * - * @return The kCodeList at the given index. - */ - public java.lang.String getKCodeList(int index) { - return kCodeList_.get(index); - } - - /** - * repeated string k_code_list = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kCodeList at the given index. - */ - public com.google.protobuf.ByteString getKCodeListBytes(int index) { - return kCodeList_.getByteString(index); - } - - public static final int ARGS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List args_; - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - @java.lang.Override - public java.util.List getArgsList() { - return args_; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - @java.lang.Override - public java.util.List getArgsOrBuilderList() { - return args_; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - @java.lang.Override - public int getArgsCount() { - return args_.size(); - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.CmdArgSpec getArgs(int index) { - return args_.get(index); - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.CmdArgSpecOrBuilder getArgsOrBuilder(int index) { - return args_.get(index); - } - - public static final int OVERRIDES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private java.util.List overrides_; - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - @java.lang.Override - public java.util.List getOverridesList() { - return overrides_; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - @java.lang.Override - public java.util.List getOverridesOrBuilderList() { - return overrides_; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - @java.lang.Override - public int getOverridesCount() { - return overrides_.size(); - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.CmdOverrideSpec getOverrides(int index) { - return overrides_.get(index); - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.CmdOverrideSpecOrBuilder getOverridesOrBuilder(int index) { - return overrides_.get(index); - } - - public static final int DISABLE_YAML_RESULT_FIELD_NUMBER = 6; - private boolean disableYamlResult_ = false; - - /** - * bool disable_yaml_result = 6; - * - * @return The disableYamlResult. - */ - @java.lang.Override - public boolean getDisableYamlResult() { - return disableYamlResult_; - } - - public static final int PRINT_OVERRIDE_AST_FIELD_NUMBER = 7; - private boolean printOverrideAst_ = false; - - /** - * bool print_override_ast = 7; - * - * @return The printOverrideAst. - */ - @java.lang.Override - public boolean getPrintOverrideAst() { - return printOverrideAst_; - } - - public static final int STRICT_RANGE_CHECK_FIELD_NUMBER = 8; - private boolean strictRangeCheck_ = false; - - /** - *
-         * -r --strict-range-check
-         * 
- * - * bool strict_range_check = 8; - * - * @return The strictRangeCheck. - */ - @java.lang.Override - public boolean getStrictRangeCheck() { - return strictRangeCheck_; - } - - public static final int DISABLE_NONE_FIELD_NUMBER = 9; - private boolean disableNone_ = false; - - /** - *
-         * -n --disable-none
-         * 
- * - * bool disable_none = 9; - * - * @return The disableNone. - */ - @java.lang.Override - public boolean getDisableNone() { - return disableNone_; - } - - public static final int VERBOSE_FIELD_NUMBER = 10; - private int verbose_ = 0; - - /** - *
-         * -v --verbose
-         * 
- * - * int32 verbose = 10; - * - * @return The verbose. - */ - @java.lang.Override - public int getVerbose() { - return verbose_; - } - - public static final int DEBUG_FIELD_NUMBER = 11; - private int debug_ = 0; - - /** - *
-         * -d --debug
-         * 
- * - * int32 debug = 11; - * - * @return The debug. - */ - @java.lang.Override - public int getDebug() { - return debug_; - } - - public static final int SORT_KEYS_FIELD_NUMBER = 12; - private boolean sortKeys_ = false; - - /** - *
-         * yaml/json: sort keys
-         * 
- * - * bool sort_keys = 12; - * - * @return The sortKeys. - */ - @java.lang.Override - public boolean getSortKeys() { - return sortKeys_; - } - - public static final int EXTERNAL_PKGS_FIELD_NUMBER = 13; - @SuppressWarnings("serial") - private java.util.List externalPkgs_; - - /** - *
-         * -E --external : external packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - @java.lang.Override - public java.util.List getExternalPkgsList() { - return externalPkgs_; - } - - /** - *
-         * -E --external : external packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - @java.lang.Override - public java.util.List getExternalPkgsOrBuilderList() { - return externalPkgs_; - } - - /** - *
-         * -E --external : external packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - @java.lang.Override - public int getExternalPkgsCount() { - return externalPkgs_.size(); - } - - /** - *
-         * -E --external : external packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - @java.lang.Override - public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { - return externalPkgs_.get(index); - } - - /** - *
-         * -E --external : external packages path
-         * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - @java.lang.Override - public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder(int index) { - return externalPkgs_.get(index); - } - - public static final int INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER = 14; - private boolean includeSchemaTypePath_ = false; - - /** - *
-         * Whether including schema type in JSON/YAML result
-         * 
- * - * bool include_schema_type_path = 14; - * - * @return The includeSchemaTypePath. - */ - @java.lang.Override - public boolean getIncludeSchemaTypePath() { - return includeSchemaTypePath_; - } - - public static final int COMPILE_ONLY_FIELD_NUMBER = 15; - private boolean compileOnly_ = false; - - /** - *
-         * Whether only compiling the program
-         * 
- * - * bool compile_only = 15; - * - * @return The compileOnly. - */ - @java.lang.Override - public boolean getCompileOnly() { - return compileOnly_; - } - - public static final int SHOW_HIDDEN_FIELD_NUMBER = 16; - private boolean showHidden_ = false; - - /** - *
-         * Show hidden attributes
-         * 
- * - * bool show_hidden = 16; - * - * @return The showHidden. - */ - @java.lang.Override - public boolean getShowHidden() { - return showHidden_; - } - - public static final int PATH_SELECTOR_FIELD_NUMBER = 17; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList pathSelector_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * -S --path_selector
-         * 
- * - * repeated string path_selector = 17; - * - * @return A list containing the pathSelector. - */ - public com.google.protobuf.ProtocolStringList getPathSelectorList() { - return pathSelector_; - } - - /** - *
-         * -S --path_selector
-         * 
- * - * repeated string path_selector = 17; - * - * @return The count of pathSelector. - */ - public int getPathSelectorCount() { - return pathSelector_.size(); - } - - /** - *
-         * -S --path_selector
-         * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - public java.lang.String getPathSelector(int index) { - return pathSelector_.get(index); - } - - /** - *
-         * -S --path_selector
-         * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - public com.google.protobuf.ByteString getPathSelectorBytes(int index) { - return pathSelector_.getByteString(index); - } - - public static final int FAST_EVAL_FIELD_NUMBER = 18; - private boolean fastEval_ = false; - - /** - *
-         * -K --fast_eval
-         * 
- * - * bool fast_eval = 18; - * - * @return The fastEval. - */ - @java.lang.Override - public boolean getFastEval() { - return fastEval_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workDir_); - } - for (int i = 0; i < kFilenameList_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kFilenameList_.getRaw(i)); - } - for (int i = 0; i < kCodeList_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kCodeList_.getRaw(i)); - } - for (int i = 0; i < args_.size(); i++) { - output.writeMessage(4, args_.get(i)); - } - for (int i = 0; i < overrides_.size(); i++) { - output.writeMessage(5, overrides_.get(i)); - } - if (disableYamlResult_ != false) { - output.writeBool(6, disableYamlResult_); - } - if (printOverrideAst_ != false) { - output.writeBool(7, printOverrideAst_); - } - if (strictRangeCheck_ != false) { - output.writeBool(8, strictRangeCheck_); - } - if (disableNone_ != false) { - output.writeBool(9, disableNone_); - } - if (verbose_ != 0) { - output.writeInt32(10, verbose_); - } - if (debug_ != 0) { - output.writeInt32(11, debug_); - } - if (sortKeys_ != false) { - output.writeBool(12, sortKeys_); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - output.writeMessage(13, externalPkgs_.get(i)); - } - if (includeSchemaTypePath_ != false) { - output.writeBool(14, includeSchemaTypePath_); - } - if (compileOnly_ != false) { - output.writeBool(15, compileOnly_); - } - if (showHidden_ != false) { - output.writeBool(16, showHidden_); - } - for (int i = 0; i < pathSelector_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 17, pathSelector_.getRaw(i)); - } - if (fastEval_ != false) { - output.writeBool(18, fastEval_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workDir_); - } - { - int dataSize = 0; - for (int i = 0; i < kFilenameList_.size(); i++) { - dataSize += computeStringSizeNoTag(kFilenameList_.getRaw(i)); - } - size += dataSize; - size += 1 * getKFilenameListList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < kCodeList_.size(); i++) { - dataSize += computeStringSizeNoTag(kCodeList_.getRaw(i)); - } - size += dataSize; - size += 1 * getKCodeListList().size(); - } - for (int i = 0; i < args_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, args_.get(i)); - } - for (int i = 0; i < overrides_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, overrides_.get(i)); - } - if (disableYamlResult_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, disableYamlResult_); - } - if (printOverrideAst_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, printOverrideAst_); - } - if (strictRangeCheck_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, strictRangeCheck_); - } - if (disableNone_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, disableNone_); - } - if (verbose_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, verbose_); - } - if (debug_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, debug_); - } - if (sortKeys_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, sortKeys_); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, externalPkgs_.get(i)); - } - if (includeSchemaTypePath_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, includeSchemaTypePath_); - } - if (compileOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, compileOnly_); - } - if (showHidden_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, showHidden_); - } - { - int dataSize = 0; - for (int i = 0; i < pathSelector_.size(); i++) { - dataSize += computeStringSizeNoTag(pathSelector_.getRaw(i)); - } - size += dataSize; - size += 2 * getPathSelectorList().size(); - } - if (fastEval_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(18, fastEval_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ExecProgram_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ExecProgram_Args other = (com.kcl.api.Spec.ExecProgram_Args) obj; - - if (!getWorkDir().equals(other.getWorkDir())) - return false; - if (!getKFilenameListList().equals(other.getKFilenameListList())) - return false; - if (!getKCodeListList().equals(other.getKCodeListList())) - return false; - if (!getArgsList().equals(other.getArgsList())) - return false; - if (!getOverridesList().equals(other.getOverridesList())) - return false; - if (getDisableYamlResult() != other.getDisableYamlResult()) - return false; - if (getPrintOverrideAst() != other.getPrintOverrideAst()) - return false; - if (getStrictRangeCheck() != other.getStrictRangeCheck()) - return false; - if (getDisableNone() != other.getDisableNone()) - return false; - if (getVerbose() != other.getVerbose()) - return false; - if (getDebug() != other.getDebug()) - return false; - if (getSortKeys() != other.getSortKeys()) - return false; - if (!getExternalPkgsList().equals(other.getExternalPkgsList())) - return false; - if (getIncludeSchemaTypePath() != other.getIncludeSchemaTypePath()) - return false; - if (getCompileOnly() != other.getCompileOnly()) - return false; - if (getShowHidden() != other.getShowHidden()) - return false; - if (!getPathSelectorList().equals(other.getPathSelectorList())) - return false; - if (getFastEval() != other.getFastEval()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; - hash = (53 * hash) + getWorkDir().hashCode(); - if (getKFilenameListCount() > 0) { - hash = (37 * hash) + K_FILENAME_LIST_FIELD_NUMBER; - hash = (53 * hash) + getKFilenameListList().hashCode(); - } - if (getKCodeListCount() > 0) { - hash = (37 * hash) + K_CODE_LIST_FIELD_NUMBER; - hash = (53 * hash) + getKCodeListList().hashCode(); - } - if (getArgsCount() > 0) { - hash = (37 * hash) + ARGS_FIELD_NUMBER; - hash = (53 * hash) + getArgsList().hashCode(); - } - if (getOverridesCount() > 0) { - hash = (37 * hash) + OVERRIDES_FIELD_NUMBER; - hash = (53 * hash) + getOverridesList().hashCode(); - } - hash = (37 * hash) + DISABLE_YAML_RESULT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableYamlResult()); - hash = (37 * hash) + PRINT_OVERRIDE_AST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrintOverrideAst()); - hash = (37 * hash) + STRICT_RANGE_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictRangeCheck()); - hash = (37 * hash) + DISABLE_NONE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableNone()); - hash = (37 * hash) + VERBOSE_FIELD_NUMBER; - hash = (53 * hash) + getVerbose(); - hash = (37 * hash) + DEBUG_FIELD_NUMBER; - hash = (53 * hash) + getDebug(); - hash = (37 * hash) + SORT_KEYS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSortKeys()); - if (getExternalPkgsCount() > 0) { - hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; - hash = (53 * hash) + getExternalPkgsList().hashCode(); - } - hash = (37 * hash) + INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeSchemaTypePath()); - hash = (37 * hash) + COMPILE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCompileOnly()); - hash = (37 * hash) + SHOW_HIDDEN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowHidden()); - if (getPathSelectorCount() > 0) { - hash = (37 * hash) + PATH_SELECTOR_FIELD_NUMBER; - hash = (53 * hash) + getPathSelectorList().hashCode(); - } - hash = (37 * hash) + FAST_EVAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFastEval()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Args 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 com.kcl.api.Spec.ExecProgram_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Args 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 com.kcl.api.Spec.ExecProgram_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ExecProgram_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ExecProgram_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgram_Args) - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecProgram_Args.class, - com.kcl.api.Spec.ExecProgram_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ExecProgram_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - workDir_ = ""; - kFilenameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - kCodeList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (argsBuilder_ == null) { - args_ = java.util.Collections.emptyList(); - } else { - args_ = null; - argsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - if (overridesBuilder_ == null) { - overrides_ = java.util.Collections.emptyList(); - } else { - overrides_ = null; - overridesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - disableYamlResult_ = false; - printOverrideAst_ = false; - strictRangeCheck_ = false; - disableNone_ = false; - verbose_ = 0; - debug_ = 0; - sortKeys_ = false; - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - } else { - externalPkgs_ = null; - externalPkgsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00001000); - includeSchemaTypePath_ = false; - compileOnly_ = false; - showHidden_ = false; - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - fastEval_ = false; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args build() { - com.kcl.api.Spec.ExecProgram_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args buildPartial() { - com.kcl.api.Spec.ExecProgram_Args result = new com.kcl.api.Spec.ExecProgram_Args(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ExecProgram_Args result) { - if (argsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - args_ = java.util.Collections.unmodifiableList(args_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.args_ = args_; - } else { - result.args_ = argsBuilder_.build(); - } - if (overridesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - overrides_ = java.util.Collections.unmodifiableList(overrides_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.overrides_ = overrides_; - } else { - result.overrides_ = overridesBuilder_.build(); - } - if (externalPkgsBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0)) { - externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); - bitField0_ = (bitField0_ & ~0x00001000); - } - result.externalPkgs_ = externalPkgs_; - } else { - result.externalPkgs_ = externalPkgsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ExecProgram_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.workDir_ = workDir_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - kFilenameList_.makeImmutable(); - result.kFilenameList_ = kFilenameList_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - kCodeList_.makeImmutable(); - result.kCodeList_ = kCodeList_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.disableYamlResult_ = disableYamlResult_; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.printOverrideAst_ = printOverrideAst_; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.strictRangeCheck_ = strictRangeCheck_; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.disableNone_ = disableNone_; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.verbose_ = verbose_; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.debug_ = debug_; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.sortKeys_ = sortKeys_; - } - if (((from_bitField0_ & 0x00002000) != 0)) { - result.includeSchemaTypePath_ = includeSchemaTypePath_; - } - if (((from_bitField0_ & 0x00004000) != 0)) { - result.compileOnly_ = compileOnly_; - } - if (((from_bitField0_ & 0x00008000) != 0)) { - result.showHidden_ = showHidden_; - } - if (((from_bitField0_ & 0x00010000) != 0)) { - pathSelector_.makeImmutable(); - result.pathSelector_ = pathSelector_; - } - if (((from_bitField0_ & 0x00020000) != 0)) { - result.fastEval_ = fastEval_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ExecProgram_Args) { - return mergeFrom((com.kcl.api.Spec.ExecProgram_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ExecProgram_Args other) { - if (other == com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) - return this; - if (!other.getWorkDir().isEmpty()) { - workDir_ = other.workDir_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.kFilenameList_.isEmpty()) { - if (kFilenameList_.isEmpty()) { - kFilenameList_ = other.kFilenameList_; - bitField0_ |= 0x00000002; - } else { - ensureKFilenameListIsMutable(); - kFilenameList_.addAll(other.kFilenameList_); - } - onChanged(); - } - if (!other.kCodeList_.isEmpty()) { - if (kCodeList_.isEmpty()) { - kCodeList_ = other.kCodeList_; - bitField0_ |= 0x00000004; - } else { - ensureKCodeListIsMutable(); - kCodeList_.addAll(other.kCodeList_); - } - onChanged(); - } - if (argsBuilder_ == null) { - if (!other.args_.isEmpty()) { - if (args_.isEmpty()) { - args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureArgsIsMutable(); - args_.addAll(other.args_); - } - onChanged(); - } - } else { - if (!other.args_.isEmpty()) { - if (argsBuilder_.isEmpty()) { - argsBuilder_.dispose(); - argsBuilder_ = null; - args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000008); - argsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getArgsFieldBuilder() : null; - } else { - argsBuilder_.addAllMessages(other.args_); - } - } - } - if (overridesBuilder_ == null) { - if (!other.overrides_.isEmpty()) { - if (overrides_.isEmpty()) { - overrides_ = other.overrides_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureOverridesIsMutable(); - overrides_.addAll(other.overrides_); - } - onChanged(); - } - } else { - if (!other.overrides_.isEmpty()) { - if (overridesBuilder_.isEmpty()) { - overridesBuilder_.dispose(); - overridesBuilder_ = null; - overrides_ = other.overrides_; - bitField0_ = (bitField0_ & ~0x00000010); - overridesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOverridesFieldBuilder() : null; - } else { - overridesBuilder_.addAllMessages(other.overrides_); - } - } - } - if (other.getDisableYamlResult() != false) { - setDisableYamlResult(other.getDisableYamlResult()); - } - if (other.getPrintOverrideAst() != false) { - setPrintOverrideAst(other.getPrintOverrideAst()); - } - if (other.getStrictRangeCheck() != false) { - setStrictRangeCheck(other.getStrictRangeCheck()); - } - if (other.getDisableNone() != false) { - setDisableNone(other.getDisableNone()); - } - if (other.getVerbose() != 0) { - setVerbose(other.getVerbose()); - } - if (other.getDebug() != 0) { - setDebug(other.getDebug()); - } - if (other.getSortKeys() != false) { - setSortKeys(other.getSortKeys()); - } - if (externalPkgsBuilder_ == null) { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgs_.isEmpty()) { - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00001000); - } else { - ensureExternalPkgsIsMutable(); - externalPkgs_.addAll(other.externalPkgs_); - } - onChanged(); - } - } else { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgsBuilder_.isEmpty()) { - externalPkgsBuilder_.dispose(); - externalPkgsBuilder_ = null; - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00001000); - externalPkgsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExternalPkgsFieldBuilder() : null; - } else { - externalPkgsBuilder_.addAllMessages(other.externalPkgs_); - } - } - } - if (other.getIncludeSchemaTypePath() != false) { - setIncludeSchemaTypePath(other.getIncludeSchemaTypePath()); - } - if (other.getCompileOnly() != false) { - setCompileOnly(other.getCompileOnly()); - } - if (other.getShowHidden() != false) { - setShowHidden(other.getShowHidden()); - } - if (!other.pathSelector_.isEmpty()) { - if (pathSelector_.isEmpty()) { - pathSelector_ = other.pathSelector_; - bitField0_ |= 0x00010000; - } else { - ensurePathSelectorIsMutable(); - pathSelector_.addAll(other.pathSelector_); - } - onChanged(); - } - if (other.getFastEval() != false) { - setFastEval(other.getFastEval()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - workDir_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureKFilenameListIsMutable(); - kFilenameList_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureKCodeListIsMutable(); - kCodeList_.add(s); - break; - } // case 26 - case 34: { - com.kcl.api.Spec.CmdArgSpec m = input.readMessage(com.kcl.api.Spec.CmdArgSpec.parser(), - extensionRegistry); - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - args_.add(m); - } else { - argsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - com.kcl.api.Spec.CmdOverrideSpec m = input - .readMessage(com.kcl.api.Spec.CmdOverrideSpec.parser(), extensionRegistry); - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - overrides_.add(m); - } else { - overridesBuilder_.addMessage(m); - } - break; - } // case 42 - case 48: { - disableYamlResult_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - printOverrideAst_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - strictRangeCheck_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - disableNone_ = input.readBool(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 80: { - verbose_ = input.readInt32(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 88: { - debug_ = input.readInt32(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 96: { - sortKeys_ = input.readBool(); - bitField0_ |= 0x00000800; - break; - } // case 96 - case 106: { - com.kcl.api.Spec.CmdExternalPkgSpec m = input - .readMessage(com.kcl.api.Spec.CmdExternalPkgSpec.parser(), extensionRegistry); - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(m); - } else { - externalPkgsBuilder_.addMessage(m); - } - break; - } // case 106 - case 112: { - includeSchemaTypePath_ = input.readBool(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: { - compileOnly_ = input.readBool(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 128: { - showHidden_ = input.readBool(); - bitField0_ |= 0x00008000; - break; - } // case 128 - case 138: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathSelectorIsMutable(); - pathSelector_.add(s); - break; - } // case 138 - case 144: { - fastEval_ = input.readBool(); - bitField0_ |= 0x00020000; - break; - } // case 144 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object workDir_ = ""; - - /** - * string work_dir = 1; - * - * @return The workDir. - */ - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string work_dir = 1; - * - * @param value - * The workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDir(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string work_dir = 1; - * - * @return This builder for chaining. - */ - public Builder clearWorkDir() { - workDir_ = getDefaultInstance().getWorkDir(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string work_dir = 1; - * - * @param value - * The bytes for workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDirBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList kFilenameList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureKFilenameListIsMutable() { - if (!kFilenameList_.isModifiable()) { - kFilenameList_ = new com.google.protobuf.LazyStringArrayList(kFilenameList_); - } - bitField0_ |= 0x00000002; - } - - /** - * repeated string k_filename_list = 2; - * - * @return A list containing the kFilenameList. - */ - public com.google.protobuf.ProtocolStringList getKFilenameListList() { - kFilenameList_.makeImmutable(); - return kFilenameList_; - } - - /** - * repeated string k_filename_list = 2; - * - * @return The count of kFilenameList. - */ - public int getKFilenameListCount() { - return kFilenameList_.size(); - } - - /** - * repeated string k_filename_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The kFilenameList at the given index. - */ - public java.lang.String getKFilenameList(int index) { - return kFilenameList_.get(index); - } - - /** - * repeated string k_filename_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kFilenameList at the given index. - */ - public com.google.protobuf.ByteString getKFilenameListBytes(int index) { - return kFilenameList_.getByteString(index); - } - - /** - * repeated string k_filename_list = 2; - * - * @param index - * The index to set the value at. - * @param value - * The kFilenameList to set. - * - * @return This builder for chaining. - */ - public Builder setKFilenameList(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKFilenameListIsMutable(); - kFilenameList_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string k_filename_list = 2; - * - * @param value - * The kFilenameList to add. - * - * @return This builder for chaining. - */ - public Builder addKFilenameList(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKFilenameListIsMutable(); - kFilenameList_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string k_filename_list = 2; - * - * @param values - * The kFilenameList to add. - * - * @return This builder for chaining. - */ - public Builder addAllKFilenameList(java.lang.Iterable values) { - ensureKFilenameListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kFilenameList_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string k_filename_list = 2; - * - * @return This builder for chaining. - */ - public Builder clearKFilenameList() { - kFilenameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - * repeated string k_filename_list = 2; - * - * @param value - * The bytes of the kFilenameList to add. - * - * @return This builder for chaining. - */ - public Builder addKFilenameListBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureKFilenameListIsMutable(); - kFilenameList_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList kCodeList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureKCodeListIsMutable() { - if (!kCodeList_.isModifiable()) { - kCodeList_ = new com.google.protobuf.LazyStringArrayList(kCodeList_); - } - bitField0_ |= 0x00000004; - } - - /** - * repeated string k_code_list = 3; - * - * @return A list containing the kCodeList. - */ - public com.google.protobuf.ProtocolStringList getKCodeListList() { - kCodeList_.makeImmutable(); - return kCodeList_; - } - - /** - * repeated string k_code_list = 3; - * - * @return The count of kCodeList. - */ - public int getKCodeListCount() { - return kCodeList_.size(); - } - - /** - * repeated string k_code_list = 3; - * - * @param index - * The index of the element to return. - * - * @return The kCodeList at the given index. - */ - public java.lang.String getKCodeList(int index) { - return kCodeList_.get(index); - } - - /** - * repeated string k_code_list = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kCodeList at the given index. - */ - public com.google.protobuf.ByteString getKCodeListBytes(int index) { - return kCodeList_.getByteString(index); - } - - /** - * repeated string k_code_list = 3; - * - * @param index - * The index to set the value at. - * @param value - * The kCodeList to set. - * - * @return This builder for chaining. - */ - public Builder setKCodeList(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKCodeListIsMutable(); - kCodeList_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * repeated string k_code_list = 3; - * - * @param value - * The kCodeList to add. - * - * @return This builder for chaining. - */ - public Builder addKCodeList(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKCodeListIsMutable(); - kCodeList_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * repeated string k_code_list = 3; - * - * @param values - * The kCodeList to add. - * - * @return This builder for chaining. - */ - public Builder addAllKCodeList(java.lang.Iterable values) { - ensureKCodeListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kCodeList_); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * repeated string k_code_list = 3; - * - * @return This builder for chaining. - */ - public Builder clearKCodeList() { - kCodeList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; - } - - /** - * repeated string k_code_list = 3; - * - * @param value - * The bytes of the kCodeList to add. - * - * @return This builder for chaining. - */ - public Builder addKCodeListBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureKCodeListIsMutable(); - kCodeList_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.util.List args_ = java.util.Collections.emptyList(); - - private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - args_ = new java.util.ArrayList(args_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 argsBuilder_; - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public java.util.List getArgsList() { - if (argsBuilder_ == null) { - return java.util.Collections.unmodifiableList(args_); - } else { - return argsBuilder_.getMessageList(); - } - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public int getArgsCount() { - if (argsBuilder_ == null) { - return args_.size(); - } else { - return argsBuilder_.getCount(); - } - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public com.kcl.api.Spec.CmdArgSpec getArgs(int index) { - if (argsBuilder_ == null) { - return args_.get(index); - } else { - return argsBuilder_.getMessage(index); - } - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public Builder setArgs(int index, com.kcl.api.Spec.CmdArgSpec value) { - if (argsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); - args_.set(index, value); - onChanged(); - } else { - argsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public Builder setArgs(int index, com.kcl.api.Spec.CmdArgSpec.Builder builderForValue) { - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - args_.set(index, builderForValue.build()); - onChanged(); - } else { - argsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public Builder addArgs(com.kcl.api.Spec.CmdArgSpec value) { - if (argsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); - args_.add(value); - onChanged(); - } else { - argsBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public Builder addArgs(int index, com.kcl.api.Spec.CmdArgSpec value) { - if (argsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); - args_.add(index, value); - onChanged(); - } else { - argsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public Builder addArgs(com.kcl.api.Spec.CmdArgSpec.Builder builderForValue) { - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - args_.add(builderForValue.build()); - onChanged(); - } else { - argsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public Builder addArgs(int index, com.kcl.api.Spec.CmdArgSpec.Builder builderForValue) { - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - args_.add(index, builderForValue.build()); - onChanged(); - } else { - argsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public Builder addAllArgs(java.lang.Iterable values) { - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, args_); - onChanged(); - } else { - argsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public Builder clearArgs() { - if (argsBuilder_ == null) { - args_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - argsBuilder_.clear(); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public Builder removeArgs(int index) { - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - args_.remove(index); - onChanged(); - } else { - argsBuilder_.remove(index); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public com.kcl.api.Spec.CmdArgSpec.Builder getArgsBuilder(int index) { - return getArgsFieldBuilder().getBuilder(index); - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public com.kcl.api.Spec.CmdArgSpecOrBuilder getArgsOrBuilder(int index) { - if (argsBuilder_ == null) { - return args_.get(index); - } else { - return argsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public java.util.List getArgsOrBuilderList() { - if (argsBuilder_ != null) { - return argsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(args_); - } - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public com.kcl.api.Spec.CmdArgSpec.Builder addArgsBuilder() { - return getArgsFieldBuilder().addBuilder(com.kcl.api.Spec.CmdArgSpec.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public com.kcl.api.Spec.CmdArgSpec.Builder addArgsBuilder(int index) { - return getArgsFieldBuilder().addBuilder(index, com.kcl.api.Spec.CmdArgSpec.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.CmdArgSpec args = 4; - */ - public java.util.List getArgsBuilderList() { - return getArgsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getArgsFieldBuilder() { - if (argsBuilder_ == null) { - argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - args_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - args_ = null; - } - return argsBuilder_; - } - - private java.util.List overrides_ = java.util.Collections.emptyList(); - - private void ensureOverridesIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - overrides_ = new java.util.ArrayList(overrides_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 overridesBuilder_; - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public java.util.List getOverridesList() { - if (overridesBuilder_ == null) { - return java.util.Collections.unmodifiableList(overrides_); - } else { - return overridesBuilder_.getMessageList(); - } - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public int getOverridesCount() { - if (overridesBuilder_ == null) { - return overrides_.size(); - } else { - return overridesBuilder_.getCount(); - } - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public com.kcl.api.Spec.CmdOverrideSpec getOverrides(int index) { - if (overridesBuilder_ == null) { - return overrides_.get(index); - } else { - return overridesBuilder_.getMessage(index); - } - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public Builder setOverrides(int index, com.kcl.api.Spec.CmdOverrideSpec value) { - if (overridesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.set(index, value); - onChanged(); - } else { - overridesBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public Builder setOverrides(int index, com.kcl.api.Spec.CmdOverrideSpec.Builder builderForValue) { - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - overrides_.set(index, builderForValue.build()); - onChanged(); - } else { - overridesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public Builder addOverrides(com.kcl.api.Spec.CmdOverrideSpec value) { - if (overridesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.add(value); - onChanged(); - } else { - overridesBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public Builder addOverrides(int index, com.kcl.api.Spec.CmdOverrideSpec value) { - if (overridesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.add(index, value); - onChanged(); - } else { - overridesBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public Builder addOverrides(com.kcl.api.Spec.CmdOverrideSpec.Builder builderForValue) { - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - overrides_.add(builderForValue.build()); - onChanged(); - } else { - overridesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public Builder addOverrides(int index, com.kcl.api.Spec.CmdOverrideSpec.Builder builderForValue) { - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - overrides_.add(index, builderForValue.build()); - onChanged(); - } else { - overridesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public Builder addAllOverrides(java.lang.Iterable values) { - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, overrides_); - onChanged(); - } else { - overridesBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public Builder clearOverrides() { - if (overridesBuilder_ == null) { - overrides_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - overridesBuilder_.clear(); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public Builder removeOverrides(int index) { - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - overrides_.remove(index); - onChanged(); - } else { - overridesBuilder_.remove(index); - } - return this; - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public com.kcl.api.Spec.CmdOverrideSpec.Builder getOverridesBuilder(int index) { - return getOverridesFieldBuilder().getBuilder(index); - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public com.kcl.api.Spec.CmdOverrideSpecOrBuilder getOverridesOrBuilder(int index) { - if (overridesBuilder_ == null) { - return overrides_.get(index); - } else { - return overridesBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public java.util.List getOverridesOrBuilderList() { - if (overridesBuilder_ != null) { - return overridesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(overrides_); - } - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public com.kcl.api.Spec.CmdOverrideSpec.Builder addOverridesBuilder() { - return getOverridesFieldBuilder().addBuilder(com.kcl.api.Spec.CmdOverrideSpec.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public com.kcl.api.Spec.CmdOverrideSpec.Builder addOverridesBuilder(int index) { - return getOverridesFieldBuilder().addBuilder(index, - com.kcl.api.Spec.CmdOverrideSpec.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; - */ - public java.util.List getOverridesBuilderList() { - return getOverridesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getOverridesFieldBuilder() { - if (overridesBuilder_ == null) { - overridesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - overrides_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - overrides_ = null; - } - return overridesBuilder_; - } - - private boolean disableYamlResult_; - - /** - * bool disable_yaml_result = 6; - * - * @return The disableYamlResult. - */ - @java.lang.Override - public boolean getDisableYamlResult() { - return disableYamlResult_; - } - - /** - * bool disable_yaml_result = 6; - * - * @param value - * The disableYamlResult to set. - * - * @return This builder for chaining. - */ - public Builder setDisableYamlResult(boolean value) { - - disableYamlResult_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - /** - * bool disable_yaml_result = 6; - * - * @return This builder for chaining. - */ - public Builder clearDisableYamlResult() { - bitField0_ = (bitField0_ & ~0x00000020); - disableYamlResult_ = false; - onChanged(); - return this; - } - - private boolean printOverrideAst_; - - /** - * bool print_override_ast = 7; - * - * @return The printOverrideAst. - */ - @java.lang.Override - public boolean getPrintOverrideAst() { - return printOverrideAst_; - } - - /** - * bool print_override_ast = 7; - * - * @param value - * The printOverrideAst to set. - * - * @return This builder for chaining. - */ - public Builder setPrintOverrideAst(boolean value) { - - printOverrideAst_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; - } - - /** - * bool print_override_ast = 7; - * - * @return This builder for chaining. - */ - public Builder clearPrintOverrideAst() { - bitField0_ = (bitField0_ & ~0x00000040); - printOverrideAst_ = false; - onChanged(); - return this; - } - - private boolean strictRangeCheck_; - - /** - *
-             * -r --strict-range-check
-             * 
- * - * bool strict_range_check = 8; - * - * @return The strictRangeCheck. - */ - @java.lang.Override - public boolean getStrictRangeCheck() { - return strictRangeCheck_; - } - - /** - *
-             * -r --strict-range-check
-             * 
- * - * bool strict_range_check = 8; - * - * @param value - * The strictRangeCheck to set. - * - * @return This builder for chaining. - */ - public Builder setStrictRangeCheck(boolean value) { - - strictRangeCheck_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; - } - - /** - *
-             * -r --strict-range-check
-             * 
- * - * bool strict_range_check = 8; - * - * @return This builder for chaining. - */ - public Builder clearStrictRangeCheck() { - bitField0_ = (bitField0_ & ~0x00000080); - strictRangeCheck_ = false; - onChanged(); - return this; - } - - private boolean disableNone_; - - /** - *
-             * -n --disable-none
-             * 
- * - * bool disable_none = 9; - * - * @return The disableNone. - */ - @java.lang.Override - public boolean getDisableNone() { - return disableNone_; - } - - /** - *
-             * -n --disable-none
-             * 
- * - * bool disable_none = 9; - * - * @param value - * The disableNone to set. - * - * @return This builder for chaining. - */ - public Builder setDisableNone(boolean value) { - - disableNone_ = value; - bitField0_ |= 0x00000100; - onChanged(); - return this; - } - - /** - *
-             * -n --disable-none
-             * 
- * - * bool disable_none = 9; - * - * @return This builder for chaining. - */ - public Builder clearDisableNone() { - bitField0_ = (bitField0_ & ~0x00000100); - disableNone_ = false; - onChanged(); - return this; - } - - private int verbose_; - - /** - *
-             * -v --verbose
-             * 
- * - * int32 verbose = 10; - * - * @return The verbose. - */ - @java.lang.Override - public int getVerbose() { - return verbose_; - } - - /** - *
-             * -v --verbose
-             * 
- * - * int32 verbose = 10; - * - * @param value - * The verbose to set. - * - * @return This builder for chaining. - */ - public Builder setVerbose(int value) { - - verbose_ = value; - bitField0_ |= 0x00000200; - onChanged(); - return this; - } - - /** - *
-             * -v --verbose
-             * 
- * - * int32 verbose = 10; - * - * @return This builder for chaining. - */ - public Builder clearVerbose() { - bitField0_ = (bitField0_ & ~0x00000200); - verbose_ = 0; - onChanged(); - return this; - } - - private int debug_; - - /** - *
-             * -d --debug
-             * 
- * - * int32 debug = 11; - * - * @return The debug. - */ - @java.lang.Override - public int getDebug() { - return debug_; - } - - /** - *
-             * -d --debug
-             * 
- * - * int32 debug = 11; - * - * @param value - * The debug to set. - * - * @return This builder for chaining. - */ - public Builder setDebug(int value) { - - debug_ = value; - bitField0_ |= 0x00000400; - onChanged(); - return this; - } - - /** - *
-             * -d --debug
-             * 
- * - * int32 debug = 11; - * - * @return This builder for chaining. - */ - public Builder clearDebug() { - bitField0_ = (bitField0_ & ~0x00000400); - debug_ = 0; - onChanged(); - return this; - } - - private boolean sortKeys_; - - /** - *
-             * yaml/json: sort keys
-             * 
- * - * bool sort_keys = 12; - * - * @return The sortKeys. - */ - @java.lang.Override - public boolean getSortKeys() { - return sortKeys_; - } - - /** - *
-             * yaml/json: sort keys
-             * 
- * - * bool sort_keys = 12; - * - * @param value - * The sortKeys to set. - * - * @return This builder for chaining. - */ - public Builder setSortKeys(boolean value) { - - sortKeys_ = value; - bitField0_ |= 0x00000800; - onChanged(); - return this; - } - - /** - *
-             * yaml/json: sort keys
-             * 
- * - * bool sort_keys = 12; - * - * @return This builder for chaining. - */ - public Builder clearSortKeys() { - bitField0_ = (bitField0_ & ~0x00000800); - sortKeys_ = false; - onChanged(); - return this; - } - - private java.util.List externalPkgs_ = java.util.Collections - .emptyList(); - - private void ensureExternalPkgsIsMutable() { - if (!((bitField0_ & 0x00001000) != 0)) { - externalPkgs_ = new java.util.ArrayList(externalPkgs_); - bitField0_ |= 0x00001000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 externalPkgsBuilder_; - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public java.util.List getExternalPkgsList() { - if (externalPkgsBuilder_ == null) { - return java.util.Collections.unmodifiableList(externalPkgs_); - } else { - return externalPkgsBuilder_.getMessageList(); - } - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public int getExternalPkgsCount() { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.size(); - } else { - return externalPkgsBuilder_.getCount(); - } - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessage(index); - } - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, value); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.CmdExternalPkgSpec value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public Builder addAllExternalPkgs( - java.lang.Iterable values) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, externalPkgs_); - onChanged(); - } else { - externalPkgsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public Builder clearExternalPkgs() { - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00001000); - onChanged(); - } else { - externalPkgsBuilder_.clear(); - } - return this; - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public Builder removeExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.remove(index); - onChanged(); - } else { - externalPkgsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec.Builder getExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public java.util.List getExternalPkgsOrBuilderList() { - if (externalPkgsBuilder_ != null) { - return externalPkgsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(externalPkgs_); - } - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder() { - return getExternalPkgsFieldBuilder() - .addBuilder(com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().addBuilder(index, - com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); - } - - /** - *
-             * -E --external : external packages path
-             * 
- * - * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; - */ - public java.util.List getExternalPkgsBuilderList() { - return getExternalPkgsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getExternalPkgsFieldBuilder() { - if (externalPkgsBuilder_ == null) { - externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - externalPkgs_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); - externalPkgs_ = null; - } - return externalPkgsBuilder_; - } - - private boolean includeSchemaTypePath_; - - /** - *
-             * Whether including schema type in JSON/YAML result
-             * 
- * - * bool include_schema_type_path = 14; - * - * @return The includeSchemaTypePath. - */ - @java.lang.Override - public boolean getIncludeSchemaTypePath() { - return includeSchemaTypePath_; - } - - /** - *
-             * Whether including schema type in JSON/YAML result
-             * 
- * - * bool include_schema_type_path = 14; - * - * @param value - * The includeSchemaTypePath to set. - * - * @return This builder for chaining. - */ - public Builder setIncludeSchemaTypePath(boolean value) { - - includeSchemaTypePath_ = value; - bitField0_ |= 0x00002000; - onChanged(); - return this; - } - - /** - *
-             * Whether including schema type in JSON/YAML result
-             * 
- * - * bool include_schema_type_path = 14; - * - * @return This builder for chaining. - */ - public Builder clearIncludeSchemaTypePath() { - bitField0_ = (bitField0_ & ~0x00002000); - includeSchemaTypePath_ = false; - onChanged(); - return this; - } - - private boolean compileOnly_; - - /** - *
-             * Whether only compiling the program
-             * 
- * - * bool compile_only = 15; - * - * @return The compileOnly. - */ - @java.lang.Override - public boolean getCompileOnly() { - return compileOnly_; - } - - /** - *
-             * Whether only compiling the program
-             * 
- * - * bool compile_only = 15; - * - * @param value - * The compileOnly to set. - * - * @return This builder for chaining. - */ - public Builder setCompileOnly(boolean value) { - - compileOnly_ = value; - bitField0_ |= 0x00004000; - onChanged(); - return this; - } - - /** - *
-             * Whether only compiling the program
-             * 
- * - * bool compile_only = 15; - * - * @return This builder for chaining. - */ - public Builder clearCompileOnly() { - bitField0_ = (bitField0_ & ~0x00004000); - compileOnly_ = false; - onChanged(); - return this; - } - - private boolean showHidden_; - - /** - *
-             * Show hidden attributes
-             * 
- * - * bool show_hidden = 16; - * - * @return The showHidden. - */ - @java.lang.Override - public boolean getShowHidden() { - return showHidden_; - } - - /** - *
-             * Show hidden attributes
-             * 
- * - * bool show_hidden = 16; - * - * @param value - * The showHidden to set. - * - * @return This builder for chaining. - */ - public Builder setShowHidden(boolean value) { - - showHidden_ = value; - bitField0_ |= 0x00008000; - onChanged(); - return this; - } - - /** - *
-             * Show hidden attributes
-             * 
- * - * bool show_hidden = 16; - * - * @return This builder for chaining. - */ - public Builder clearShowHidden() { - bitField0_ = (bitField0_ & ~0x00008000); - showHidden_ = false; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList pathSelector_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensurePathSelectorIsMutable() { - if (!pathSelector_.isModifiable()) { - pathSelector_ = new com.google.protobuf.LazyStringArrayList(pathSelector_); - } - bitField0_ |= 0x00010000; - } - - /** - *
-             * -S --path_selector
-             * 
- * - * repeated string path_selector = 17; - * - * @return A list containing the pathSelector. - */ - public com.google.protobuf.ProtocolStringList getPathSelectorList() { - pathSelector_.makeImmutable(); - return pathSelector_; - } - - /** - *
-             * -S --path_selector
-             * 
- * - * repeated string path_selector = 17; - * - * @return The count of pathSelector. - */ - public int getPathSelectorCount() { - return pathSelector_.size(); - } - - /** - *
-             * -S --path_selector
-             * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - public java.lang.String getPathSelector(int index) { - return pathSelector_.get(index); - } - - /** - *
-             * -S --path_selector
-             * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - public com.google.protobuf.ByteString getPathSelectorBytes(int index) { - return pathSelector_.getByteString(index); - } - - /** - *
-             * -S --path_selector
-             * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index to set the value at. - * @param value - * The pathSelector to set. - * - * @return This builder for chaining. - */ - public Builder setPathSelector(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathSelectorIsMutable(); - pathSelector_.set(index, value); - bitField0_ |= 0x00010000; - onChanged(); - return this; - } - - /** - *
-             * -S --path_selector
-             * 
- * - * repeated string path_selector = 17; - * - * @param value - * The pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addPathSelector(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathSelectorIsMutable(); - pathSelector_.add(value); - bitField0_ |= 0x00010000; - onChanged(); - return this; - } - - /** - *
-             * -S --path_selector
-             * 
- * - * repeated string path_selector = 17; - * - * @param values - * The pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addAllPathSelector(java.lang.Iterable values) { - ensurePathSelectorIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pathSelector_); - bitField0_ |= 0x00010000; - onChanged(); - return this; - } - - /** - *
-             * -S --path_selector
-             * 
- * - * repeated string path_selector = 17; - * - * @return This builder for chaining. - */ - public Builder clearPathSelector() { - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00010000); - ; - onChanged(); - return this; - } - - /** - *
-             * -S --path_selector
-             * 
- * - * repeated string path_selector = 17; - * - * @param value - * The bytes of the pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addPathSelectorBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathSelectorIsMutable(); - pathSelector_.add(value); - bitField0_ |= 0x00010000; - onChanged(); - return this; - } - - private boolean fastEval_; - - /** - *
-             * -K --fast_eval
-             * 
- * - * bool fast_eval = 18; - * - * @return The fastEval. - */ - @java.lang.Override - public boolean getFastEval() { - return fastEval_; - } - - /** - *
-             * -K --fast_eval
-             * 
- * - * bool fast_eval = 18; - * - * @param value - * The fastEval to set. - * - * @return This builder for chaining. - */ - public Builder setFastEval(boolean value) { - - fastEval_ = value; - bitField0_ |= 0x00020000; - onChanged(); - return this; - } - - /** - *
-             * -K --fast_eval
-             * 
- * - * bool fast_eval = 18; - * - * @return This builder for chaining. - */ - public Builder clearFastEval() { - bitField0_ = (bitField0_ & ~0x00020000); - fastEval_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgram_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgram_Args) - private static final com.kcl.api.Spec.ExecProgram_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgram_Args(); - } - - public static com.kcl.api.Spec.ExecProgram_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecProgram_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecProgram_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgram_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * string json_result = 1; - * - * @return The jsonResult. - */ - java.lang.String getJsonResult(); - - /** - * string json_result = 1; - * - * @return The bytes for jsonResult. - */ - com.google.protobuf.ByteString getJsonResultBytes(); - - /** - * string yaml_result = 2; - * - * @return The yamlResult. - */ - java.lang.String getYamlResult(); - - /** - * string yaml_result = 2; - * - * @return The bytes for yamlResult. - */ - com.google.protobuf.ByteString getYamlResultBytes(); - - /** - * string log_message = 3; - * - * @return The logMessage. - */ - java.lang.String getLogMessage(); - - /** - * string log_message = 3; - * - * @return The bytes for logMessage. - */ - com.google.protobuf.ByteString getLogMessageBytes(); - - /** - * string err_message = 4; - * - * @return The errMessage. - */ - java.lang.String getErrMessage(); - - /** - * string err_message = 4; - * - * @return The bytes for errMessage. - */ - com.google.protobuf.ByteString getErrMessageBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.ExecProgram_Result} - */ - public static final class ExecProgram_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgram_Result) - ExecProgram_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ExecProgram_Result.newBuilder() to construct. - private ExecProgram_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ExecProgram_Result() { - jsonResult_ = ""; - yamlResult_ = ""; - logMessage_ = ""; - errMessage_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ExecProgram_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecProgram_Result.class, - com.kcl.api.Spec.ExecProgram_Result.Builder.class); - } - - public static final int JSON_RESULT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object jsonResult_ = ""; - - /** - * string json_result = 1; - * - * @return The jsonResult. - */ - @java.lang.Override - public java.lang.String getJsonResult() { - java.lang.Object ref = jsonResult_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - jsonResult_ = s; - return s; - } - } - - /** - * string json_result = 1; - * - * @return The bytes for jsonResult. - */ - @java.lang.Override - public com.google.protobuf.ByteString getJsonResultBytes() { - java.lang.Object ref = jsonResult_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - jsonResult_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int YAML_RESULT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object yamlResult_ = ""; - - /** - * string yaml_result = 2; - * - * @return The yamlResult. - */ - @java.lang.Override - public java.lang.String getYamlResult() { - java.lang.Object ref = yamlResult_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - yamlResult_ = s; - return s; - } - } - - /** - * string yaml_result = 2; - * - * @return The bytes for yamlResult. - */ - @java.lang.Override - public com.google.protobuf.ByteString getYamlResultBytes() { - java.lang.Object ref = yamlResult_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - yamlResult_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LOG_MESSAGE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object logMessage_ = ""; - - /** - * string log_message = 3; - * - * @return The logMessage. - */ - @java.lang.Override - public java.lang.String getLogMessage() { - java.lang.Object ref = logMessage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - logMessage_ = s; - return s; - } - } - - /** - * string log_message = 3; - * - * @return The bytes for logMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString getLogMessageBytes() { - java.lang.Object ref = logMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - logMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERR_MESSAGE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object errMessage_ = ""; - - /** - * string err_message = 4; - * - * @return The errMessage. - */ - @java.lang.Override - public java.lang.String getErrMessage() { - java.lang.Object ref = errMessage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - errMessage_ = s; - return s; - } - } - - /** - * string err_message = 4; - * - * @return The bytes for errMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString getErrMessageBytes() { - java.lang.Object ref = errMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - errMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jsonResult_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jsonResult_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yamlResult_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, yamlResult_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logMessage_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, logMessage_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errMessage_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, errMessage_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jsonResult_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jsonResult_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yamlResult_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, yamlResult_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logMessage_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, logMessage_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errMessage_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, errMessage_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ExecProgram_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ExecProgram_Result other = (com.kcl.api.Spec.ExecProgram_Result) obj; - - if (!getJsonResult().equals(other.getJsonResult())) - return false; - if (!getYamlResult().equals(other.getYamlResult())) - return false; - if (!getLogMessage().equals(other.getLogMessage())) - return false; - if (!getErrMessage().equals(other.getErrMessage())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + JSON_RESULT_FIELD_NUMBER; - hash = (53 * hash) + getJsonResult().hashCode(); - hash = (37 * hash) + YAML_RESULT_FIELD_NUMBER; - hash = (53 * hash) + getYamlResult().hashCode(); - hash = (37 * hash) + LOG_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getLogMessage().hashCode(); - hash = (37 * hash) + ERR_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getErrMessage().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Result 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 com.kcl.api.Spec.ExecProgram_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Result 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 com.kcl.api.Spec.ExecProgram_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ExecProgram_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ExecProgram_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgram_Result) - com.kcl.api.Spec.ExecProgram_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecProgram_Result.class, - com.kcl.api.Spec.ExecProgram_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ExecProgram_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - jsonResult_ = ""; - yamlResult_ = ""; - logMessage_ = ""; - errMessage_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ExecProgram_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result build() { - com.kcl.api.Spec.ExecProgram_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result buildPartial() { - com.kcl.api.Spec.ExecProgram_Result result = new com.kcl.api.Spec.ExecProgram_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ExecProgram_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.jsonResult_ = jsonResult_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.yamlResult_ = yamlResult_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.logMessage_ = logMessage_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.errMessage_ = errMessage_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ExecProgram_Result) { - return mergeFrom((com.kcl.api.Spec.ExecProgram_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ExecProgram_Result other) { - if (other == com.kcl.api.Spec.ExecProgram_Result.getDefaultInstance()) - return this; - if (!other.getJsonResult().isEmpty()) { - jsonResult_ = other.jsonResult_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getYamlResult().isEmpty()) { - yamlResult_ = other.yamlResult_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getLogMessage().isEmpty()) { - logMessage_ = other.logMessage_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.getErrMessage().isEmpty()) { - errMessage_ = other.errMessage_; - bitField0_ |= 0x00000008; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - jsonResult_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - yamlResult_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - logMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - errMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object jsonResult_ = ""; - - /** - * string json_result = 1; - * - * @return The jsonResult. - */ - public java.lang.String getJsonResult() { - java.lang.Object ref = jsonResult_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - jsonResult_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string json_result = 1; - * - * @return The bytes for jsonResult. - */ - public com.google.protobuf.ByteString getJsonResultBytes() { - java.lang.Object ref = jsonResult_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - jsonResult_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string json_result = 1; - * - * @param value - * The jsonResult to set. - * - * @return This builder for chaining. - */ - public Builder setJsonResult(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - jsonResult_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string json_result = 1; - * - * @return This builder for chaining. - */ - public Builder clearJsonResult() { - jsonResult_ = getDefaultInstance().getJsonResult(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string json_result = 1; - * - * @param value - * The bytes for jsonResult to set. - * - * @return This builder for chaining. - */ - public Builder setJsonResultBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - jsonResult_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object yamlResult_ = ""; - - /** - * string yaml_result = 2; - * - * @return The yamlResult. - */ - public java.lang.String getYamlResult() { - java.lang.Object ref = yamlResult_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - yamlResult_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string yaml_result = 2; - * - * @return The bytes for yamlResult. - */ - public com.google.protobuf.ByteString getYamlResultBytes() { - java.lang.Object ref = yamlResult_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - yamlResult_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string yaml_result = 2; - * - * @param value - * The yamlResult to set. - * - * @return This builder for chaining. - */ - public Builder setYamlResult(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - yamlResult_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string yaml_result = 2; - * - * @return This builder for chaining. - */ - public Builder clearYamlResult() { - yamlResult_ = getDefaultInstance().getYamlResult(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string yaml_result = 2; - * - * @param value - * The bytes for yamlResult to set. - * - * @return This builder for chaining. - */ - public Builder setYamlResultBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - yamlResult_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object logMessage_ = ""; - - /** - * string log_message = 3; - * - * @return The logMessage. - */ - public java.lang.String getLogMessage() { - java.lang.Object ref = logMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - logMessage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string log_message = 3; - * - * @return The bytes for logMessage. - */ - public com.google.protobuf.ByteString getLogMessageBytes() { - java.lang.Object ref = logMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - logMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string log_message = 3; - * - * @param value - * The logMessage to set. - * - * @return This builder for chaining. - */ - public Builder setLogMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - logMessage_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * string log_message = 3; - * - * @return This builder for chaining. - */ - public Builder clearLogMessage() { - logMessage_ = getDefaultInstance().getLogMessage(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - * string log_message = 3; - * - * @param value - * The bytes for logMessage to set. - * - * @return This builder for chaining. - */ - public Builder setLogMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - logMessage_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.lang.Object errMessage_ = ""; - - /** - * string err_message = 4; - * - * @return The errMessage. - */ - public java.lang.String getErrMessage() { - java.lang.Object ref = errMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - errMessage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string err_message = 4; - * - * @return The bytes for errMessage. - */ - public com.google.protobuf.ByteString getErrMessageBytes() { - java.lang.Object ref = errMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - errMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string err_message = 4; - * - * @param value - * The errMessage to set. - * - * @return This builder for chaining. - */ - public Builder setErrMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - errMessage_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - * string err_message = 4; - * - * @return This builder for chaining. - */ - public Builder clearErrMessage() { - errMessage_ = getDefaultInstance().getErrMessage(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - - /** - * string err_message = 4; - * - * @param value - * The bytes for errMessage to set. - * - * @return This builder for chaining. - */ - public Builder setErrMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - errMessage_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgram_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgram_Result) - private static final com.kcl.api.Spec.ExecProgram_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgram_Result(); - } - - public static com.kcl.api.Spec.ExecProgram_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecProgram_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BuildProgram_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgram_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - boolean hasExecArgs(); - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - - /** - * string output = 2; - * - * @return The output. - */ - java.lang.String getOutput(); - - /** - * string output = 2; - * - * @return The bytes for output. - */ - com.google.protobuf.ByteString getOutputBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.BuildProgram_Args} - */ - public static final class BuildProgram_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgram_Args) - BuildProgram_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use BuildProgram_Args.newBuilder() to construct. - private BuildProgram_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private BuildProgram_Args() { - output_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BuildProgram_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.BuildProgram_Args.class, - com.kcl.api.Spec.BuildProgram_Args.Builder.class); - } - - private int bitField0_; - public static final int EXEC_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - @java.lang.Override - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - public static final int OUTPUT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object output_ = ""; - - /** - * string output = 2; - * - * @return The output. - */ - @java.lang.Override - public java.lang.String getOutput() { - java.lang.Object ref = output_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - output_ = s; - return s; - } - } - - /** - * string output = 2; - * - * @return The bytes for output. - */ - @java.lang.Override - public com.google.protobuf.ByteString getOutputBytes() { - java.lang.Object ref = output_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - output_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getExecArgs()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(output_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, output_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExecArgs()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(output_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, output_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.BuildProgram_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.BuildProgram_Args other = (com.kcl.api.Spec.BuildProgram_Args) obj; - - if (hasExecArgs() != other.hasExecArgs()) - return false; - if (hasExecArgs()) { - if (!getExecArgs().equals(other.getExecArgs())) - return false; - } - if (!getOutput().equals(other.getOutput())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasExecArgs()) { - hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; - hash = (53 * hash) + getExecArgs().hashCode(); - } - hash = (37 * hash) + OUTPUT_FIELD_NUMBER; - hash = (53 * hash) + getOutput().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Args 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 com.kcl.api.Spec.BuildProgram_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Args 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 com.kcl.api.Spec.BuildProgram_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.BuildProgram_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.BuildProgram_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgram_Args) - com.kcl.api.Spec.BuildProgram_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.BuildProgram_Args.class, - com.kcl.api.Spec.BuildProgram_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.BuildProgram_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - output_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.BuildProgram_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args build() { - com.kcl.api.Spec.BuildProgram_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args buildPartial() { - com.kcl.api.Spec.BuildProgram_Args result = new com.kcl.api.Spec.BuildProgram_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.BuildProgram_Args result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.execArgs_ = execArgsBuilder_ == null ? execArgs_ : execArgsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.output_ = output_; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.BuildProgram_Args) { - return mergeFrom((com.kcl.api.Spec.BuildProgram_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.BuildProgram_Args other) { - if (other == com.kcl.api.Spec.BuildProgram_Args.getDefaultInstance()) - return this; - if (other.hasExecArgs()) { - mergeExecArgs(other.getExecArgs()); - } - if (!other.getOutput().isEmpty()) { - output_ = other.output_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getExecArgsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - output_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - private com.google.protobuf.SingleFieldBuilderV3 execArgsBuilder_; - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } else { - return execArgsBuilder_.getMessage(); - } - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - execArgs_ = value; - } else { - execArgsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { - if (execArgsBuilder_ == null) { - execArgs_ = builderForValue.build(); - } else { - execArgsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && execArgs_ != null - && execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { - getExecArgsBuilder().mergeFrom(value); - } else { - execArgs_ = value; - } - } else { - execArgsBuilder_.mergeFrom(value); - } - if (execArgs_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder clearExecArgs() { - bitField0_ = (bitField0_ & ~0x00000001); - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getExecArgsFieldBuilder().getBuilder(); - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - if (execArgsBuilder_ != null) { - return execArgsBuilder_.getMessageOrBuilder(); - } else { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3 getExecArgsFieldBuilder() { - if (execArgsBuilder_ == null) { - execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getExecArgs(), getParentForChildren(), isClean()); - execArgs_ = null; - } - return execArgsBuilder_; - } - - private java.lang.Object output_ = ""; - - /** - * string output = 2; - * - * @return The output. - */ - public java.lang.String getOutput() { - java.lang.Object ref = output_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - output_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string output = 2; - * - * @return The bytes for output. - */ - public com.google.protobuf.ByteString getOutputBytes() { - java.lang.Object ref = output_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - output_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string output = 2; - * - * @param value - * The output to set. - * - * @return This builder for chaining. - */ - public Builder setOutput(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - output_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string output = 2; - * - * @return This builder for chaining. - */ - public Builder clearOutput() { - output_ = getDefaultInstance().getOutput(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string output = 2; - * - * @param value - * The bytes for output to set. - * - * @return This builder for chaining. - */ - public Builder setOutputBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - output_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgram_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgram_Args) - private static final com.kcl.api.Spec.BuildProgram_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgram_Args(); - } - - public static com.kcl.api.Spec.BuildProgram_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BuildProgram_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BuildProgram_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgram_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * string path = 1; - * - * @return The path. - */ - java.lang.String getPath(); - - /** - * string path = 1; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.BuildProgram_Result} - */ - public static final class BuildProgram_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgram_Result) - BuildProgram_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use BuildProgram_Result.newBuilder() to construct. - private BuildProgram_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private BuildProgram_Result() { - path_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BuildProgram_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.BuildProgram_Result.class, - com.kcl.api.Spec.BuildProgram_Result.Builder.class); - } - - public static final int PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object path_ = ""; - - /** - * string path = 1; - * - * @return The path. - */ - @java.lang.Override - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } - } - - /** - * string path = 1; - * - * @return The bytes for path. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.BuildProgram_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.BuildProgram_Result other = (com.kcl.api.Spec.BuildProgram_Result) obj; - - if (!getPath().equals(other.getPath())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PATH_FIELD_NUMBER; - hash = (53 * hash) + getPath().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Result 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 com.kcl.api.Spec.BuildProgram_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Result 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 com.kcl.api.Spec.BuildProgram_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.BuildProgram_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.BuildProgram_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgram_Result) - com.kcl.api.Spec.BuildProgram_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.BuildProgram_Result.class, - com.kcl.api.Spec.BuildProgram_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.BuildProgram_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - path_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.BuildProgram_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result build() { - com.kcl.api.Spec.BuildProgram_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result buildPartial() { - com.kcl.api.Spec.BuildProgram_Result result = new com.kcl.api.Spec.BuildProgram_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.BuildProgram_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.path_ = path_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.BuildProgram_Result) { - return mergeFrom((com.kcl.api.Spec.BuildProgram_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.BuildProgram_Result other) { - if (other == com.kcl.api.Spec.BuildProgram_Result.getDefaultInstance()) - return this; - if (!other.getPath().isEmpty()) { - path_ = other.path_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object path_ = ""; - - /** - * string path = 1; - * - * @return The path. - */ - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string path = 1; - * - * @return The bytes for path. - */ - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string path = 1; - * - * @param value - * The path to set. - * - * @return This builder for chaining. - */ - public Builder setPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string path = 1; - * - * @return This builder for chaining. - */ - public Builder clearPath() { - path_ = getDefaultInstance().getPath(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string path = 1; - * - * @param value - * The bytes for path to set. - * - * @return This builder for chaining. - */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgram_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgram_Result) - private static final com.kcl.api.Spec.BuildProgram_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgram_Result(); - } - - public static com.kcl.api.Spec.BuildProgram_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BuildProgram_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecArtifact_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecArtifact_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string path = 1; - * - * @return The path. - */ - java.lang.String getPath(); - - /** - * string path = 1; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return Whether the execArgs field is set. - */ - boolean hasExecArgs(); - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return The execArgs. - */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - } - - /** - * Protobuf type {@code com.kcl.api.ExecArtifact_Args} - */ - public static final class ExecArtifact_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ExecArtifact_Args) - ExecArtifact_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ExecArtifact_Args.newBuilder() to construct. - private ExecArtifact_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ExecArtifact_Args() { - path_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ExecArtifact_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecArtifact_Args.class, - com.kcl.api.Spec.ExecArtifact_Args.Builder.class); - } - - private int bitField0_; - public static final int PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object path_ = ""; - - /** - * string path = 1; - * - * @return The path. - */ - @java.lang.Override - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } - } - - /** - * string path = 1; - * - * @return The bytes for path. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXEC_ARGS_FIELD_NUMBER = 2; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return Whether the execArgs field is set. - */ - @java.lang.Override - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return The execArgs. - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(2, getExecArgs()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExecArgs()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ExecArtifact_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ExecArtifact_Args other = (com.kcl.api.Spec.ExecArtifact_Args) obj; - - if (!getPath().equals(other.getPath())) - return false; - if (hasExecArgs() != other.hasExecArgs()) - return false; - if (hasExecArgs()) { - if (!getExecArgs().equals(other.getExecArgs())) - return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PATH_FIELD_NUMBER; - hash = (53 * hash) + getPath().hashCode(); - if (hasExecArgs()) { - hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; - hash = (53 * hash) + getExecArgs().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecArtifact_Args 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 com.kcl.api.Spec.ExecArtifact_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecArtifact_Args 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 com.kcl.api.Spec.ExecArtifact_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ExecArtifact_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ExecArtifact_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecArtifact_Args) - com.kcl.api.Spec.ExecArtifact_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecArtifact_Args.class, - com.kcl.api.Spec.ExecArtifact_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ExecArtifact_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - path_ = ""; - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ExecArtifact_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args build() { - com.kcl.api.Spec.ExecArtifact_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args buildPartial() { - com.kcl.api.Spec.ExecArtifact_Args result = new com.kcl.api.Spec.ExecArtifact_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ExecArtifact_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.path_ = path_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.execArgs_ = execArgsBuilder_ == null ? execArgs_ : execArgsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ExecArtifact_Args) { - return mergeFrom((com.kcl.api.Spec.ExecArtifact_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ExecArtifact_Args other) { - if (other == com.kcl.api.Spec.ExecArtifact_Args.getDefaultInstance()) - return this; - if (!other.getPath().isEmpty()) { - path_ = other.path_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasExecArgs()) { - mergeExecArgs(other.getExecArgs()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage(getExecArgsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object path_ = ""; - - /** - * string path = 1; - * - * @return The path. - */ - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string path = 1; - * - * @return The bytes for path. - */ - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string path = 1; - * - * @param value - * The path to set. - * - * @return This builder for chaining. - */ - public Builder setPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string path = 1; - * - * @return This builder for chaining. - */ - public Builder clearPath() { - path_ = getDefaultInstance().getPath(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string path = 1; - * - * @param value - * The bytes for path to set. - * - * @return This builder for chaining. - */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - private com.google.protobuf.SingleFieldBuilderV3 execArgsBuilder_; - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return Whether the execArgs field is set. - */ - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return The execArgs. - */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } else { - return execArgsBuilder_.getMessage(); - } - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - execArgs_ = value; - } else { - execArgsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { - if (execArgsBuilder_ == null) { - execArgs_ = builderForValue.build(); - } else { - execArgsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && execArgs_ != null - && execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { - getExecArgsBuilder().mergeFrom(value); - } else { - execArgs_ = value; - } - } else { - execArgsBuilder_.mergeFrom(value); - } - if (execArgs_ != null) { - bitField0_ |= 0x00000002; - onChanged(); - } - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public Builder clearExecArgs() { - bitField0_ = (bitField0_ & ~0x00000002); - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getExecArgsFieldBuilder().getBuilder(); - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - if (execArgsBuilder_ != null) { - return execArgsBuilder_.getMessageOrBuilder(); - } else { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3 getExecArgsFieldBuilder() { - if (execArgsBuilder_ == null) { - execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getExecArgs(), getParentForChildren(), isClean()); - execArgs_ = null; - } - return execArgsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecArtifact_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ExecArtifact_Args) - private static final com.kcl.api.Spec.ExecArtifact_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecArtifact_Args(); - } - - public static com.kcl.api.Spec.ExecArtifact_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecArtifact_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ResetPlugin_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ResetPlugin_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string plugin_root = 1; - * - * @return The pluginRoot. - */ - java.lang.String getPluginRoot(); - - /** - * string plugin_root = 1; - * - * @return The bytes for pluginRoot. - */ - com.google.protobuf.ByteString getPluginRootBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.ResetPlugin_Args} - */ - public static final class ResetPlugin_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ResetPlugin_Args) - ResetPlugin_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ResetPlugin_Args.newBuilder() to construct. - private ResetPlugin_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ResetPlugin_Args() { - pluginRoot_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ResetPlugin_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ResetPlugin_Args.class, - com.kcl.api.Spec.ResetPlugin_Args.Builder.class); - } - - public static final int PLUGIN_ROOT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object pluginRoot_ = ""; - - /** - * string plugin_root = 1; - * - * @return The pluginRoot. - */ - @java.lang.Override - public java.lang.String getPluginRoot() { - java.lang.Object ref = pluginRoot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pluginRoot_ = s; - return s; - } - } - - /** - * string plugin_root = 1; - * - * @return The bytes for pluginRoot. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPluginRootBytes() { - java.lang.Object ref = pluginRoot_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pluginRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pluginRoot_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pluginRoot_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pluginRoot_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pluginRoot_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ResetPlugin_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ResetPlugin_Args other = (com.kcl.api.Spec.ResetPlugin_Args) obj; - - if (!getPluginRoot().equals(other.getPluginRoot())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PLUGIN_ROOT_FIELD_NUMBER; - hash = (53 * hash) + getPluginRoot().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ResetPlugin_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ResetPlugin_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ResetPlugin_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ResetPlugin_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ResetPlugin_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ResetPlugin_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ResetPlugin_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ResetPlugin_Args 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 com.kcl.api.Spec.ResetPlugin_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ResetPlugin_Args 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 com.kcl.api.Spec.ResetPlugin_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ResetPlugin_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ResetPlugin_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ResetPlugin_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ResetPlugin_Args) - com.kcl.api.Spec.ResetPlugin_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ResetPlugin_Args.class, - com.kcl.api.Spec.ResetPlugin_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ResetPlugin_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - pluginRoot_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ResetPlugin_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ResetPlugin_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ResetPlugin_Args build() { - com.kcl.api.Spec.ResetPlugin_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ResetPlugin_Args buildPartial() { - com.kcl.api.Spec.ResetPlugin_Args result = new com.kcl.api.Spec.ResetPlugin_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ResetPlugin_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.pluginRoot_ = pluginRoot_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ResetPlugin_Args) { - return mergeFrom((com.kcl.api.Spec.ResetPlugin_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ResetPlugin_Args other) { - if (other == com.kcl.api.Spec.ResetPlugin_Args.getDefaultInstance()) - return this; - if (!other.getPluginRoot().isEmpty()) { - pluginRoot_ = other.pluginRoot_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - pluginRoot_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object pluginRoot_ = ""; - - /** - * string plugin_root = 1; - * - * @return The pluginRoot. - */ - public java.lang.String getPluginRoot() { - java.lang.Object ref = pluginRoot_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pluginRoot_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string plugin_root = 1; - * - * @return The bytes for pluginRoot. - */ - public com.google.protobuf.ByteString getPluginRootBytes() { - java.lang.Object ref = pluginRoot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pluginRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string plugin_root = 1; - * - * @param value - * The pluginRoot to set. - * - * @return This builder for chaining. - */ - public Builder setPluginRoot(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pluginRoot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string plugin_root = 1; - * - * @return This builder for chaining. - */ - public Builder clearPluginRoot() { - pluginRoot_ = getDefaultInstance().getPluginRoot(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string plugin_root = 1; - * - * @param value - * The bytes for pluginRoot to set. - * - * @return This builder for chaining. - */ - public Builder setPluginRootBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pluginRoot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ResetPlugin_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ResetPlugin_Args) - private static final com.kcl.api.Spec.ResetPlugin_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ResetPlugin_Args(); - } - - public static com.kcl.api.Spec.ResetPlugin_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetPlugin_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ResetPlugin_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ResetPlugin_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ResetPlugin_Result) - com.google.protobuf.MessageOrBuilder { - } - - /** - *
-     * empty
-     * 
- * - * Protobuf type {@code com.kcl.api.ResetPlugin_Result} - */ - public static final class ResetPlugin_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ResetPlugin_Result) - ResetPlugin_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ResetPlugin_Result.newBuilder() to construct. - private ResetPlugin_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ResetPlugin_Result() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ResetPlugin_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ResetPlugin_Result.class, - com.kcl.api.Spec.ResetPlugin_Result.Builder.class); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ResetPlugin_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ResetPlugin_Result other = (com.kcl.api.Spec.ResetPlugin_Result) obj; - - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ResetPlugin_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ResetPlugin_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ResetPlugin_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ResetPlugin_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ResetPlugin_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ResetPlugin_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ResetPlugin_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ResetPlugin_Result 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 com.kcl.api.Spec.ResetPlugin_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ResetPlugin_Result 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 com.kcl.api.Spec.ResetPlugin_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ResetPlugin_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ResetPlugin_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * empty
-         * 
- * - * Protobuf type {@code com.kcl.api.ResetPlugin_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ResetPlugin_Result) - com.kcl.api.Spec.ResetPlugin_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ResetPlugin_Result.class, - com.kcl.api.Spec.ResetPlugin_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ResetPlugin_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ResetPlugin_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ResetPlugin_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ResetPlugin_Result build() { - com.kcl.api.Spec.ResetPlugin_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ResetPlugin_Result buildPartial() { - com.kcl.api.Spec.ResetPlugin_Result result = new com.kcl.api.Spec.ResetPlugin_Result(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ResetPlugin_Result) { - return mergeFrom((com.kcl.api.Spec.ResetPlugin_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ResetPlugin_Result other) { - if (other == com.kcl.api.Spec.ResetPlugin_Result.getDefaultInstance()) - return this; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ResetPlugin_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ResetPlugin_Result) - private static final com.kcl.api.Spec.ResetPlugin_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ResetPlugin_Result(); - } - - public static com.kcl.api.Spec.ResetPlugin_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetPlugin_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ResetPlugin_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FormatCode_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCode_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string source = 1; - * - * @return The source. - */ - java.lang.String getSource(); - - /** - * string source = 1; - * - * @return The bytes for source. - */ - com.google.protobuf.ByteString getSourceBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.FormatCode_Args} - */ - public static final class FormatCode_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCode_Args) - FormatCode_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use FormatCode_Args.newBuilder() to construct. - private FormatCode_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private FormatCode_Args() { - source_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new FormatCode_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatCode_Args.class, - com.kcl.api.Spec.FormatCode_Args.Builder.class); - } - - public static final int SOURCE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object source_ = ""; - - /** - * string source = 1; - * - * @return The source. - */ - @java.lang.Override - public java.lang.String getSource() { - java.lang.Object ref = source_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - source_ = s; - return s; - } - } - - /** - * string source = 1; - * - * @return The bytes for source. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { - java.lang.Object ref = source_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - source_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.FormatCode_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.FormatCode_Args other = (com.kcl.api.Spec.FormatCode_Args) obj; - - if (!getSource().equals(other.getSource())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SOURCE_FIELD_NUMBER; - hash = (53 * hash) + getSource().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Args 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 com.kcl.api.Spec.FormatCode_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Args 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 com.kcl.api.Spec.FormatCode_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.FormatCode_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.FormatCode_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCode_Args) - com.kcl.api.Spec.FormatCode_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatCode_Args.class, - com.kcl.api.Spec.FormatCode_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.FormatCode_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - source_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatCode_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args build() { - com.kcl.api.Spec.FormatCode_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args buildPartial() { - com.kcl.api.Spec.FormatCode_Args result = new com.kcl.api.Spec.FormatCode_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.FormatCode_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.source_ = source_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatCode_Args) { - return mergeFrom((com.kcl.api.Spec.FormatCode_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.FormatCode_Args other) { - if (other == com.kcl.api.Spec.FormatCode_Args.getDefaultInstance()) - return this; - if (!other.getSource().isEmpty()) { - source_ = other.source_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - source_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object source_ = ""; - - /** - * string source = 1; - * - * @return The source. - */ - public java.lang.String getSource() { - java.lang.Object ref = source_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - source_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string source = 1; - * - * @return The bytes for source. - */ - public com.google.protobuf.ByteString getSourceBytes() { - java.lang.Object ref = source_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - source_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string source = 1; - * - * @param value - * The source to set. - * - * @return This builder for chaining. - */ - public Builder setSource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - source_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string source = 1; - * - * @return This builder for chaining. - */ - public Builder clearSource() { - source_ = getDefaultInstance().getSource(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string source = 1; - * - * @param value - * The bytes for source to set. - * - * @return This builder for chaining. - */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - source_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCode_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCode_Args) - private static final com.kcl.api.Spec.FormatCode_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCode_Args(); - } - - public static com.kcl.api.Spec.FormatCode_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FormatCode_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FormatCode_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCode_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * bytes formatted = 1; - * - * @return The formatted. - */ - com.google.protobuf.ByteString getFormatted(); - } - - /** - * Protobuf type {@code com.kcl.api.FormatCode_Result} - */ - public static final class FormatCode_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCode_Result) - FormatCode_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use FormatCode_Result.newBuilder() to construct. - private FormatCode_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private FormatCode_Result() { - formatted_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new FormatCode_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatCode_Result.class, - com.kcl.api.Spec.FormatCode_Result.Builder.class); - } - - public static final int FORMATTED_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString formatted_ = com.google.protobuf.ByteString.EMPTY; - - /** - * bytes formatted = 1; - * - * @return The formatted. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFormatted() { - return formatted_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!formatted_.isEmpty()) { - output.writeBytes(1, formatted_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!formatted_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, formatted_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.FormatCode_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.FormatCode_Result other = (com.kcl.api.Spec.FormatCode_Result) obj; - - if (!getFormatted().equals(other.getFormatted())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FORMATTED_FIELD_NUMBER; - hash = (53 * hash) + getFormatted().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Result 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 com.kcl.api.Spec.FormatCode_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Result 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 com.kcl.api.Spec.FormatCode_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.FormatCode_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.FormatCode_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCode_Result) - com.kcl.api.Spec.FormatCode_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatCode_Result.class, - com.kcl.api.Spec.FormatCode_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.FormatCode_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - formatted_ = com.google.protobuf.ByteString.EMPTY; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatCode_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result build() { - com.kcl.api.Spec.FormatCode_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result buildPartial() { - com.kcl.api.Spec.FormatCode_Result result = new com.kcl.api.Spec.FormatCode_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.FormatCode_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.formatted_ = formatted_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatCode_Result) { - return mergeFrom((com.kcl.api.Spec.FormatCode_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.FormatCode_Result other) { - if (other == com.kcl.api.Spec.FormatCode_Result.getDefaultInstance()) - return this; - if (other.getFormatted() != com.google.protobuf.ByteString.EMPTY) { - setFormatted(other.getFormatted()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - formatted_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.ByteString formatted_ = com.google.protobuf.ByteString.EMPTY; - - /** - * bytes formatted = 1; - * - * @return The formatted. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFormatted() { - return formatted_; - } - - /** - * bytes formatted = 1; - * - * @param value - * The formatted to set. - * - * @return This builder for chaining. - */ - public Builder setFormatted(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - formatted_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * bytes formatted = 1; - * - * @return This builder for chaining. - */ - public Builder clearFormatted() { - bitField0_ = (bitField0_ & ~0x00000001); - formatted_ = getDefaultInstance().getFormatted(); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCode_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCode_Result) - private static final com.kcl.api.Spec.FormatCode_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCode_Result(); - } - - public static com.kcl.api.Spec.FormatCode_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FormatCode_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FormatPath_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPath_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string path = 1; - * - * @return The path. - */ - java.lang.String getPath(); - - /** - * string path = 1; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.FormatPath_Args} - */ - public static final class FormatPath_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPath_Args) - FormatPath_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use FormatPath_Args.newBuilder() to construct. - private FormatPath_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private FormatPath_Args() { - path_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new FormatPath_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatPath_Args.class, - com.kcl.api.Spec.FormatPath_Args.Builder.class); - } - - public static final int PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object path_ = ""; - - /** - * string path = 1; - * - * @return The path. - */ - @java.lang.Override - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } - } - - /** - * string path = 1; - * - * @return The bytes for path. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.FormatPath_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.FormatPath_Args other = (com.kcl.api.Spec.FormatPath_Args) obj; - - if (!getPath().equals(other.getPath())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PATH_FIELD_NUMBER; - hash = (53 * hash) + getPath().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Args 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 com.kcl.api.Spec.FormatPath_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Args 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 com.kcl.api.Spec.FormatPath_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.FormatPath_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.FormatPath_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPath_Args) - com.kcl.api.Spec.FormatPath_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatPath_Args.class, - com.kcl.api.Spec.FormatPath_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.FormatPath_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - path_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatPath_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args build() { - com.kcl.api.Spec.FormatPath_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args buildPartial() { - com.kcl.api.Spec.FormatPath_Args result = new com.kcl.api.Spec.FormatPath_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.FormatPath_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.path_ = path_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatPath_Args) { - return mergeFrom((com.kcl.api.Spec.FormatPath_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.FormatPath_Args other) { - if (other == com.kcl.api.Spec.FormatPath_Args.getDefaultInstance()) - return this; - if (!other.getPath().isEmpty()) { - path_ = other.path_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object path_ = ""; - - /** - * string path = 1; - * - * @return The path. - */ - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string path = 1; - * - * @return The bytes for path. - */ - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string path = 1; - * - * @param value - * The path to set. - * - * @return This builder for chaining. - */ - public Builder setPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string path = 1; - * - * @return This builder for chaining. - */ - public Builder clearPath() { - path_ = getDefaultInstance().getPath(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string path = 1; - * - * @param value - * The bytes for path to set. - * - * @return This builder for chaining. - */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPath_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPath_Args) - private static final com.kcl.api.Spec.FormatPath_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPath_Args(); - } - - public static com.kcl.api.Spec.FormatPath_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FormatPath_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FormatPath_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPath_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string changed_paths = 1; - * - * @return A list containing the changedPaths. - */ - java.util.List getChangedPathsList(); - - /** - * repeated string changed_paths = 1; - * - * @return The count of changedPaths. - */ - int getChangedPathsCount(); - - /** - * repeated string changed_paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedPaths at the given index. - */ - java.lang.String getChangedPaths(int index); - - /** - * repeated string changed_paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedPaths at the given index. - */ - com.google.protobuf.ByteString getChangedPathsBytes(int index); - } - - /** - * Protobuf type {@code com.kcl.api.FormatPath_Result} - */ - public static final class FormatPath_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPath_Result) - FormatPath_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use FormatPath_Result.newBuilder() to construct. - private FormatPath_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private FormatPath_Result() { - changedPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new FormatPath_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatPath_Result.class, - com.kcl.api.Spec.FormatPath_Result.Builder.class); - } - - public static final int CHANGED_PATHS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList changedPaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - * repeated string changed_paths = 1; - * - * @return A list containing the changedPaths. - */ - public com.google.protobuf.ProtocolStringList getChangedPathsList() { - return changedPaths_; - } - - /** - * repeated string changed_paths = 1; - * - * @return The count of changedPaths. - */ - public int getChangedPathsCount() { - return changedPaths_.size(); - } - - /** - * repeated string changed_paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedPaths at the given index. - */ - public java.lang.String getChangedPaths(int index) { - return changedPaths_.get(index); - } - - /** - * repeated string changed_paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedPaths at the given index. - */ - public com.google.protobuf.ByteString getChangedPathsBytes(int index) { - return changedPaths_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < changedPaths_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, changedPaths_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < changedPaths_.size(); i++) { - dataSize += computeStringSizeNoTag(changedPaths_.getRaw(i)); - } - size += dataSize; - size += 1 * getChangedPathsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.FormatPath_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.FormatPath_Result other = (com.kcl.api.Spec.FormatPath_Result) obj; - - if (!getChangedPathsList().equals(other.getChangedPathsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getChangedPathsCount() > 0) { - hash = (37 * hash) + CHANGED_PATHS_FIELD_NUMBER; - hash = (53 * hash) + getChangedPathsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Result 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 com.kcl.api.Spec.FormatPath_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Result 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 com.kcl.api.Spec.FormatPath_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.FormatPath_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.FormatPath_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPath_Result) - com.kcl.api.Spec.FormatPath_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatPath_Result.class, - com.kcl.api.Spec.FormatPath_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.FormatPath_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - changedPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatPath_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result build() { - com.kcl.api.Spec.FormatPath_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result buildPartial() { - com.kcl.api.Spec.FormatPath_Result result = new com.kcl.api.Spec.FormatPath_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.FormatPath_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - changedPaths_.makeImmutable(); - result.changedPaths_ = changedPaths_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatPath_Result) { - return mergeFrom((com.kcl.api.Spec.FormatPath_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.FormatPath_Result other) { - if (other == com.kcl.api.Spec.FormatPath_Result.getDefaultInstance()) - return this; - if (!other.changedPaths_.isEmpty()) { - if (changedPaths_.isEmpty()) { - changedPaths_ = other.changedPaths_; - bitField0_ |= 0x00000001; - } else { - ensureChangedPathsIsMutable(); - changedPaths_.addAll(other.changedPaths_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureChangedPathsIsMutable(); - changedPaths_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList changedPaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureChangedPathsIsMutable() { - if (!changedPaths_.isModifiable()) { - changedPaths_ = new com.google.protobuf.LazyStringArrayList(changedPaths_); - } - bitField0_ |= 0x00000001; - } - - /** - * repeated string changed_paths = 1; - * - * @return A list containing the changedPaths. - */ - public com.google.protobuf.ProtocolStringList getChangedPathsList() { - changedPaths_.makeImmutable(); - return changedPaths_; - } - - /** - * repeated string changed_paths = 1; - * - * @return The count of changedPaths. - */ - public int getChangedPathsCount() { - return changedPaths_.size(); - } - - /** - * repeated string changed_paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedPaths at the given index. - */ - public java.lang.String getChangedPaths(int index) { - return changedPaths_.get(index); - } - - /** - * repeated string changed_paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedPaths at the given index. - */ - public com.google.protobuf.ByteString getChangedPathsBytes(int index) { - return changedPaths_.getByteString(index); - } - - /** - * repeated string changed_paths = 1; - * - * @param index - * The index to set the value at. - * @param value - * The changedPaths to set. - * - * @return This builder for chaining. - */ - public Builder setChangedPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureChangedPathsIsMutable(); - changedPaths_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string changed_paths = 1; - * - * @param value - * The changedPaths to add. - * - * @return This builder for chaining. - */ - public Builder addChangedPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureChangedPathsIsMutable(); - changedPaths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string changed_paths = 1; - * - * @param values - * The changedPaths to add. - * - * @return This builder for chaining. - */ - public Builder addAllChangedPaths(java.lang.Iterable values) { - ensureChangedPathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changedPaths_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string changed_paths = 1; - * - * @return This builder for chaining. - */ - public Builder clearChangedPaths() { - changedPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - * repeated string changed_paths = 1; - * - * @param value - * The bytes of the changedPaths to add. - * - * @return This builder for chaining. - */ - public Builder addChangedPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureChangedPathsIsMutable(); - changedPaths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPath_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPath_Result) - private static final com.kcl.api.Spec.FormatPath_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPath_Result(); - } - - public static com.kcl.api.Spec.FormatPath_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FormatPath_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LintPath_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPath_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - java.util.List getPathsList(); - - /** - * repeated string paths = 1; - * - * @return The count of paths. - */ - int getPathsCount(); - - /** - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - java.lang.String getPaths(int index); - - /** - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - com.google.protobuf.ByteString getPathsBytes(int index); - } - - /** - * Protobuf type {@code com.kcl.api.LintPath_Args} - */ - public static final class LintPath_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LintPath_Args) - LintPath_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use LintPath_Args.newBuilder() to construct. - private LintPath_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private LintPath_Args() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LintPath_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LintPath_Args.class, - com.kcl.api.Spec.LintPath_Args.Builder.class); - } - - public static final int PATHS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - return paths_; - } - - /** - * repeated string paths = 1; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < paths_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paths_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < paths_.size(); i++) { - dataSize += computeStringSizeNoTag(paths_.getRaw(i)); - } - size += dataSize; - size += 1 * getPathsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LintPath_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.LintPath_Args other = (com.kcl.api.Spec.LintPath_Args) obj; - - if (!getPathsList().equals(other.getPathsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPathsCount() > 0) { - hash = (37 * hash) + PATHS_FIELD_NUMBER; - hash = (53 * hash) + getPathsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Args 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 com.kcl.api.Spec.LintPath_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Args 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 com.kcl.api.Spec.LintPath_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LintPath_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.LintPath_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPath_Args) - com.kcl.api.Spec.LintPath_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LintPath_Args.class, - com.kcl.api.Spec.LintPath_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.LintPath_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.LintPath_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Args build() { - com.kcl.api.Spec.LintPath_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Args buildPartial() { - com.kcl.api.Spec.LintPath_Args result = new com.kcl.api.Spec.LintPath_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.LintPath_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - paths_.makeImmutable(); - result.paths_ = paths_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LintPath_Args) { - return mergeFrom((com.kcl.api.Spec.LintPath_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.LintPath_Args other) { - if (other == com.kcl.api.Spec.LintPath_Args.getDefaultInstance()) - return this; - if (!other.paths_.isEmpty()) { - if (paths_.isEmpty()) { - paths_ = other.paths_; - bitField0_ |= 0x00000001; - } else { - ensurePathsIsMutable(); - paths_.addAll(other.paths_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathsIsMutable(); - paths_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensurePathsIsMutable() { - if (!paths_.isModifiable()) { - paths_ = new com.google.protobuf.LazyStringArrayList(paths_); - } - bitField0_ |= 0x00000001; - } - - /** - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - paths_.makeImmutable(); - return paths_; - } - - /** - * repeated string paths = 1; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - /** - * repeated string paths = 1; - * - * @param index - * The index to set the value at. - * @param value - * The paths to set. - * - * @return This builder for chaining. - */ - public Builder setPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string paths = 1; - * - * @param value - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string paths = 1; - * - * @param values - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addAllPaths(java.lang.Iterable values) { - ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string paths = 1; - * - * @return This builder for chaining. - */ - public Builder clearPaths() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - * repeated string paths = 1; - * - * @param value - * The bytes of the paths to add. - * - * @return This builder for chaining. - */ - public Builder addPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPath_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.LintPath_Args) - private static final com.kcl.api.Spec.LintPath_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPath_Args(); - } - - public static com.kcl.api.Spec.LintPath_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LintPath_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LintPath_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPath_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string results = 1; - * - * @return A list containing the results. - */ - java.util.List getResultsList(); - - /** - * repeated string results = 1; - * - * @return The count of results. - */ - int getResultsCount(); - - /** - * repeated string results = 1; - * - * @param index - * The index of the element to return. - * - * @return The results at the given index. - */ - java.lang.String getResults(int index); - - /** - * repeated string results = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the results at the given index. - */ - com.google.protobuf.ByteString getResultsBytes(int index); - } - - /** - * Protobuf type {@code com.kcl.api.LintPath_Result} - */ - public static final class LintPath_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LintPath_Result) - LintPath_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use LintPath_Result.newBuilder() to construct. - private LintPath_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private LintPath_Result() { - results_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LintPath_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LintPath_Result.class, - com.kcl.api.Spec.LintPath_Result.Builder.class); - } - - public static final int RESULTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList results_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - * repeated string results = 1; - * - * @return A list containing the results. - */ - public com.google.protobuf.ProtocolStringList getResultsList() { - return results_; - } - - /** - * repeated string results = 1; - * - * @return The count of results. - */ - public int getResultsCount() { - return results_.size(); - } - - /** - * repeated string results = 1; - * - * @param index - * The index of the element to return. - * - * @return The results at the given index. - */ - public java.lang.String getResults(int index) { - return results_.get(index); - } - - /** - * repeated string results = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the results at the given index. - */ - public com.google.protobuf.ByteString getResultsBytes(int index) { - return results_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < results_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, results_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < results_.size(); i++) { - dataSize += computeStringSizeNoTag(results_.getRaw(i)); - } - size += dataSize; - size += 1 * getResultsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LintPath_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.LintPath_Result other = (com.kcl.api.Spec.LintPath_Result) obj; - - if (!getResultsList().equals(other.getResultsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getResultsCount() > 0) { - hash = (37 * hash) + RESULTS_FIELD_NUMBER; - hash = (53 * hash) + getResultsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Result 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 com.kcl.api.Spec.LintPath_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Result 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 com.kcl.api.Spec.LintPath_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LintPath_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.LintPath_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPath_Result) - com.kcl.api.Spec.LintPath_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LintPath_Result.class, - com.kcl.api.Spec.LintPath_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.LintPath_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - results_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.LintPath_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Result build() { - com.kcl.api.Spec.LintPath_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Result buildPartial() { - com.kcl.api.Spec.LintPath_Result result = new com.kcl.api.Spec.LintPath_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.LintPath_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - results_.makeImmutable(); - result.results_ = results_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LintPath_Result) { - return mergeFrom((com.kcl.api.Spec.LintPath_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.LintPath_Result other) { - if (other == com.kcl.api.Spec.LintPath_Result.getDefaultInstance()) - return this; - if (!other.results_.isEmpty()) { - if (results_.isEmpty()) { - results_ = other.results_; - bitField0_ |= 0x00000001; - } else { - ensureResultsIsMutable(); - results_.addAll(other.results_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureResultsIsMutable(); - results_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList results_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureResultsIsMutable() { - if (!results_.isModifiable()) { - results_ = new com.google.protobuf.LazyStringArrayList(results_); - } - bitField0_ |= 0x00000001; - } - - /** - * repeated string results = 1; - * - * @return A list containing the results. - */ - public com.google.protobuf.ProtocolStringList getResultsList() { - results_.makeImmutable(); - return results_; - } - - /** - * repeated string results = 1; - * - * @return The count of results. - */ - public int getResultsCount() { - return results_.size(); - } - - /** - * repeated string results = 1; - * - * @param index - * The index of the element to return. - * - * @return The results at the given index. - */ - public java.lang.String getResults(int index) { - return results_.get(index); - } - - /** - * repeated string results = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the results at the given index. - */ - public com.google.protobuf.ByteString getResultsBytes(int index) { - return results_.getByteString(index); - } - - /** - * repeated string results = 1; - * - * @param index - * The index to set the value at. - * @param value - * The results to set. - * - * @return This builder for chaining. - */ - public Builder setResults(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureResultsIsMutable(); - results_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string results = 1; - * - * @param value - * The results to add. - * - * @return This builder for chaining. - */ - public Builder addResults(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureResultsIsMutable(); - results_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string results = 1; - * - * @param values - * The results to add. - * - * @return This builder for chaining. - */ - public Builder addAllResults(java.lang.Iterable values) { - ensureResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * repeated string results = 1; - * - * @return This builder for chaining. - */ - public Builder clearResults() { - results_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - * repeated string results = 1; - * - * @param value - * The bytes of the results to add. - * - * @return This builder for chaining. - */ - public Builder addResultsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureResultsIsMutable(); - results_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPath_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.LintPath_Result) - private static final com.kcl.api.Spec.LintPath_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPath_Result(); - } - - public static com.kcl.api.Spec.LintPath_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LintPath_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OverrideFile_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFile_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string file = 1; - * - * @return The file. - */ - java.lang.String getFile(); - - /** - * string file = 1; - * - * @return The bytes for file. - */ - com.google.protobuf.ByteString getFileBytes(); - - /** - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - java.util.List getSpecsList(); - - /** - * repeated string specs = 2; - * - * @return The count of specs. - */ - int getSpecsCount(); - - /** - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - java.lang.String getSpecs(int index); - - /** - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - com.google.protobuf.ByteString getSpecsBytes(int index); - - /** - * repeated string import_paths = 3; - * - * @return A list containing the importPaths. - */ - java.util.List getImportPathsList(); - - /** - * repeated string import_paths = 3; - * - * @return The count of importPaths. - */ - int getImportPathsCount(); - - /** - * repeated string import_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The importPaths at the given index. - */ - java.lang.String getImportPaths(int index); - - /** - * repeated string import_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the importPaths at the given index. - */ - com.google.protobuf.ByteString getImportPathsBytes(int index); - } - - /** - * Protobuf type {@code com.kcl.api.OverrideFile_Args} - */ - public static final class OverrideFile_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFile_Args) - OverrideFile_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use OverrideFile_Args.newBuilder() to construct. - private OverrideFile_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private OverrideFile_Args() { - file_ = ""; - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - importPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OverrideFile_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OverrideFile_Args.class, - com.kcl.api.Spec.OverrideFile_Args.Builder.class); - } - - public static final int FILE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object file_ = ""; - - /** - * string file = 1; - * - * @return The file. - */ - @java.lang.Override - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } - } - - /** - * string file = 1; - * - * @return The bytes for file. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SPECS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - public com.google.protobuf.ProtocolStringList getSpecsList() { - return specs_; - } - - /** - * repeated string specs = 2; - * - * @return The count of specs. - */ - public int getSpecsCount() { - return specs_.size(); - } - - /** - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - public java.lang.String getSpecs(int index) { - return specs_.get(index); - } - - /** - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - public com.google.protobuf.ByteString getSpecsBytes(int index) { - return specs_.getByteString(index); - } - - public static final int IMPORT_PATHS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList importPaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - * repeated string import_paths = 3; - * - * @return A list containing the importPaths. - */ - public com.google.protobuf.ProtocolStringList getImportPathsList() { - return importPaths_; - } - - /** - * repeated string import_paths = 3; - * - * @return The count of importPaths. - */ - public int getImportPathsCount() { - return importPaths_.size(); - } - - /** - * repeated string import_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The importPaths at the given index. - */ - public java.lang.String getImportPaths(int index) { - return importPaths_.get(index); - } - - /** - * repeated string import_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the importPaths at the given index. - */ - public com.google.protobuf.ByteString getImportPathsBytes(int index) { - return importPaths_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_); - } - for (int i = 0; i < specs_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, specs_.getRaw(i)); - } - for (int i = 0; i < importPaths_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, importPaths_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_); - } - { - int dataSize = 0; - for (int i = 0; i < specs_.size(); i++) { - dataSize += computeStringSizeNoTag(specs_.getRaw(i)); - } - size += dataSize; - size += 1 * getSpecsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < importPaths_.size(); i++) { - dataSize += computeStringSizeNoTag(importPaths_.getRaw(i)); - } - size += dataSize; - size += 1 * getImportPathsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.OverrideFile_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.OverrideFile_Args other = (com.kcl.api.Spec.OverrideFile_Args) obj; - - if (!getFile().equals(other.getFile())) - return false; - if (!getSpecsList().equals(other.getSpecsList())) - return false; - if (!getImportPathsList().equals(other.getImportPathsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FILE_FIELD_NUMBER; - hash = (53 * hash) + getFile().hashCode(); - if (getSpecsCount() > 0) { - hash = (37 * hash) + SPECS_FIELD_NUMBER; - hash = (53 * hash) + getSpecsList().hashCode(); - } - if (getImportPathsCount() > 0) { - hash = (37 * hash) + IMPORT_PATHS_FIELD_NUMBER; - hash = (53 * hash) + getImportPathsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Args 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 com.kcl.api.Spec.OverrideFile_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Args 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 com.kcl.api.Spec.OverrideFile_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.OverrideFile_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.OverrideFile_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFile_Args) - com.kcl.api.Spec.OverrideFile_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OverrideFile_Args.class, - com.kcl.api.Spec.OverrideFile_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.OverrideFile_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - file_ = ""; - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - importPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.OverrideFile_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args build() { - com.kcl.api.Spec.OverrideFile_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args buildPartial() { - com.kcl.api.Spec.OverrideFile_Args result = new com.kcl.api.Spec.OverrideFile_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.OverrideFile_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.file_ = file_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - specs_.makeImmutable(); - result.specs_ = specs_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - importPaths_.makeImmutable(); - result.importPaths_ = importPaths_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.OverrideFile_Args) { - return mergeFrom((com.kcl.api.Spec.OverrideFile_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.OverrideFile_Args other) { - if (other == com.kcl.api.Spec.OverrideFile_Args.getDefaultInstance()) - return this; - if (!other.getFile().isEmpty()) { - file_ = other.file_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.specs_.isEmpty()) { - if (specs_.isEmpty()) { - specs_ = other.specs_; - bitField0_ |= 0x00000002; - } else { - ensureSpecsIsMutable(); - specs_.addAll(other.specs_); - } - onChanged(); - } - if (!other.importPaths_.isEmpty()) { - if (importPaths_.isEmpty()) { - importPaths_ = other.importPaths_; - bitField0_ |= 0x00000004; - } else { - ensureImportPathsIsMutable(); - importPaths_.addAll(other.importPaths_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - file_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSpecsIsMutable(); - specs_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureImportPathsIsMutable(); - importPaths_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object file_ = ""; - - /** - * string file = 1; - * - * @return The file. - */ - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string file = 1; - * - * @return The bytes for file. - */ - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string file = 1; - * - * @param value - * The file to set. - * - * @return This builder for chaining. - */ - public Builder setFile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - file_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string file = 1; - * - * @return This builder for chaining. - */ - public Builder clearFile() { - file_ = getDefaultInstance().getFile(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string file = 1; - * - * @param value - * The bytes for file to set. - * - * @return This builder for chaining. - */ - public Builder setFileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - file_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList specs_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureSpecsIsMutable() { - if (!specs_.isModifiable()) { - specs_ = new com.google.protobuf.LazyStringArrayList(specs_); - } - bitField0_ |= 0x00000002; - } - - /** - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - public com.google.protobuf.ProtocolStringList getSpecsList() { - specs_.makeImmutable(); - return specs_; - } - - /** - * repeated string specs = 2; - * - * @return The count of specs. - */ - public int getSpecsCount() { - return specs_.size(); - } - - /** - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - public java.lang.String getSpecs(int index) { - return specs_.get(index); - } - - /** - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - public com.google.protobuf.ByteString getSpecsBytes(int index) { - return specs_.getByteString(index); - } - - /** - * repeated string specs = 2; - * - * @param index - * The index to set the value at. - * @param value - * The specs to set. - * - * @return This builder for chaining. - */ - public Builder setSpecs(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpecsIsMutable(); - specs_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string specs = 2; - * - * @param value - * The specs to add. - * - * @return This builder for chaining. - */ - public Builder addSpecs(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpecsIsMutable(); - specs_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string specs = 2; - * - * @param values - * The specs to add. - * - * @return This builder for chaining. - */ - public Builder addAllSpecs(java.lang.Iterable values) { - ensureSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, specs_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string specs = 2; - * - * @return This builder for chaining. - */ - public Builder clearSpecs() { - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - * repeated string specs = 2; - * - * @param value - * The bytes of the specs to add. - * - * @return This builder for chaining. - */ - public Builder addSpecsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureSpecsIsMutable(); - specs_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList importPaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureImportPathsIsMutable() { - if (!importPaths_.isModifiable()) { - importPaths_ = new com.google.protobuf.LazyStringArrayList(importPaths_); - } - bitField0_ |= 0x00000004; - } - - /** - * repeated string import_paths = 3; - * - * @return A list containing the importPaths. - */ - public com.google.protobuf.ProtocolStringList getImportPathsList() { - importPaths_.makeImmutable(); - return importPaths_; - } - - /** - * repeated string import_paths = 3; - * - * @return The count of importPaths. - */ - public int getImportPathsCount() { - return importPaths_.size(); - } - - /** - * repeated string import_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The importPaths at the given index. - */ - public java.lang.String getImportPaths(int index) { - return importPaths_.get(index); - } - - /** - * repeated string import_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the importPaths at the given index. - */ - public com.google.protobuf.ByteString getImportPathsBytes(int index) { - return importPaths_.getByteString(index); - } - - /** - * repeated string import_paths = 3; - * - * @param index - * The index to set the value at. - * @param value - * The importPaths to set. - * - * @return This builder for chaining. - */ - public Builder setImportPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureImportPathsIsMutable(); - importPaths_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * repeated string import_paths = 3; - * - * @param value - * The importPaths to add. - * - * @return This builder for chaining. - */ - public Builder addImportPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureImportPathsIsMutable(); - importPaths_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * repeated string import_paths = 3; - * - * @param values - * The importPaths to add. - * - * @return This builder for chaining. - */ - public Builder addAllImportPaths(java.lang.Iterable values) { - ensureImportPathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, importPaths_); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * repeated string import_paths = 3; - * - * @return This builder for chaining. - */ - public Builder clearImportPaths() { - importPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; - } - - /** - * repeated string import_paths = 3; - * - * @param value - * The bytes of the importPaths to add. - * - * @return This builder for chaining. - */ - public Builder addImportPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureImportPathsIsMutable(); - importPaths_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFile_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFile_Args) - private static final com.kcl.api.Spec.OverrideFile_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFile_Args(); - } - - public static com.kcl.api.Spec.OverrideFile_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OverrideFile_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OverrideFile_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFile_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * bool result = 1; - * - * @return The result. - */ - boolean getResult(); - } - - /** - * Protobuf type {@code com.kcl.api.OverrideFile_Result} - */ - public static final class OverrideFile_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFile_Result) - OverrideFile_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use OverrideFile_Result.newBuilder() to construct. - private OverrideFile_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private OverrideFile_Result() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OverrideFile_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OverrideFile_Result.class, - com.kcl.api.Spec.OverrideFile_Result.Builder.class); - } - - public static final int RESULT_FIELD_NUMBER = 1; - private boolean result_ = false; - - /** - * bool result = 1; - * - * @return The result. - */ - @java.lang.Override - public boolean getResult() { - return result_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (result_ != false) { - output.writeBool(1, result_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (result_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, result_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.OverrideFile_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.OverrideFile_Result other = (com.kcl.api.Spec.OverrideFile_Result) obj; - - if (getResult() != other.getResult()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RESULT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResult()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Result 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 com.kcl.api.Spec.OverrideFile_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Result 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 com.kcl.api.Spec.OverrideFile_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.OverrideFile_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.OverrideFile_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFile_Result) - com.kcl.api.Spec.OverrideFile_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OverrideFile_Result.class, - com.kcl.api.Spec.OverrideFile_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.OverrideFile_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - result_ = false; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.OverrideFile_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result build() { - com.kcl.api.Spec.OverrideFile_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result buildPartial() { - com.kcl.api.Spec.OverrideFile_Result result = new com.kcl.api.Spec.OverrideFile_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.OverrideFile_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.result_ = result_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.OverrideFile_Result) { - return mergeFrom((com.kcl.api.Spec.OverrideFile_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.OverrideFile_Result other) { - if (other == com.kcl.api.Spec.OverrideFile_Result.getDefaultInstance()) - return this; - if (other.getResult() != false) { - setResult(other.getResult()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - result_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private boolean result_; - - /** - * bool result = 1; - * - * @return The result. - */ - @java.lang.Override - public boolean getResult() { - return result_; - } - - /** - * bool result = 1; - * - * @param value - * The result to set. - * - * @return This builder for chaining. - */ - public Builder setResult(boolean value) { - - result_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * bool result = 1; - * - * @return This builder for chaining. - */ - public Builder clearResult() { - bitField0_ = (bitField0_ & ~0x00000001); - result_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFile_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFile_Result) - private static final com.kcl.api.Spec.OverrideFile_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFile_Result(); - } - - public static com.kcl.api.Spec.OverrideFile_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OverrideFile_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListVariables_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariables_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string file = 1; - * - * @return The file. - */ - java.lang.String getFile(); - - /** - * string file = 1; - * - * @return The bytes for file. - */ - com.google.protobuf.ByteString getFileBytes(); - - /** - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - java.util.List getSpecsList(); - - /** - * repeated string specs = 2; - * - * @return The count of specs. - */ - int getSpecsCount(); - - /** - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - java.lang.String getSpecs(int index); - - /** - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - com.google.protobuf.ByteString getSpecsBytes(int index); - } - - /** - * Protobuf type {@code com.kcl.api.ListVariables_Args} - */ - public static final class ListVariables_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariables_Args) - ListVariables_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ListVariables_Args.newBuilder() to construct. - private ListVariables_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListVariables_Args() { - file_ = ""; - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListVariables_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListVariables_Args.class, - com.kcl.api.Spec.ListVariables_Args.Builder.class); - } - - public static final int FILE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object file_ = ""; - - /** - * string file = 1; - * - * @return The file. - */ - @java.lang.Override - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } - } - - /** - * string file = 1; - * - * @return The bytes for file. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SPECS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - public com.google.protobuf.ProtocolStringList getSpecsList() { - return specs_; - } - - /** - * repeated string specs = 2; - * - * @return The count of specs. - */ - public int getSpecsCount() { - return specs_.size(); - } - - /** - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - public java.lang.String getSpecs(int index) { - return specs_.get(index); - } - - /** - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - public com.google.protobuf.ByteString getSpecsBytes(int index) { - return specs_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_); - } - for (int i = 0; i < specs_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, specs_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_); - } - { - int dataSize = 0; - for (int i = 0; i < specs_.size(); i++) { - dataSize += computeStringSizeNoTag(specs_.getRaw(i)); - } - size += dataSize; - size += 1 * getSpecsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListVariables_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListVariables_Args other = (com.kcl.api.Spec.ListVariables_Args) obj; - - if (!getFile().equals(other.getFile())) - return false; - if (!getSpecsList().equals(other.getSpecsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FILE_FIELD_NUMBER; - hash = (53 * hash) + getFile().hashCode(); - if (getSpecsCount() > 0) { - hash = (37 * hash) + SPECS_FIELD_NUMBER; - hash = (53 * hash) + getSpecsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Args 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 com.kcl.api.Spec.ListVariables_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Args 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 com.kcl.api.Spec.ListVariables_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListVariables_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ListVariables_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariables_Args) - com.kcl.api.Spec.ListVariables_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListVariables_Args.class, - com.kcl.api.Spec.ListVariables_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListVariables_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - file_ = ""; - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ListVariables_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args build() { - com.kcl.api.Spec.ListVariables_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args buildPartial() { - com.kcl.api.Spec.ListVariables_Args result = new com.kcl.api.Spec.ListVariables_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ListVariables_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.file_ = file_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - specs_.makeImmutable(); - result.specs_ = specs_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListVariables_Args) { - return mergeFrom((com.kcl.api.Spec.ListVariables_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Args other) { - if (other == com.kcl.api.Spec.ListVariables_Args.getDefaultInstance()) - return this; - if (!other.getFile().isEmpty()) { - file_ = other.file_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.specs_.isEmpty()) { - if (specs_.isEmpty()) { - specs_ = other.specs_; - bitField0_ |= 0x00000002; - } else { - ensureSpecsIsMutable(); - specs_.addAll(other.specs_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - file_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSpecsIsMutable(); - specs_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object file_ = ""; - - /** - * string file = 1; - * - * @return The file. - */ - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string file = 1; - * - * @return The bytes for file. - */ - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string file = 1; - * - * @param value - * The file to set. - * - * @return This builder for chaining. - */ - public Builder setFile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - file_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string file = 1; - * - * @return This builder for chaining. - */ - public Builder clearFile() { - file_ = getDefaultInstance().getFile(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string file = 1; - * - * @param value - * The bytes for file to set. - * - * @return This builder for chaining. - */ - public Builder setFileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - file_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList specs_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureSpecsIsMutable() { - if (!specs_.isModifiable()) { - specs_ = new com.google.protobuf.LazyStringArrayList(specs_); - } - bitField0_ |= 0x00000002; - } - - /** - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - public com.google.protobuf.ProtocolStringList getSpecsList() { - specs_.makeImmutable(); - return specs_; - } - - /** - * repeated string specs = 2; - * - * @return The count of specs. - */ - public int getSpecsCount() { - return specs_.size(); - } - - /** - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - public java.lang.String getSpecs(int index) { - return specs_.get(index); - } - - /** - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - public com.google.protobuf.ByteString getSpecsBytes(int index) { - return specs_.getByteString(index); - } - - /** - * repeated string specs = 2; - * - * @param index - * The index to set the value at. - * @param value - * The specs to set. - * - * @return This builder for chaining. - */ - public Builder setSpecs(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpecsIsMutable(); - specs_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string specs = 2; - * - * @param value - * The specs to add. - * - * @return This builder for chaining. - */ - public Builder addSpecs(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpecsIsMutable(); - specs_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string specs = 2; - * - * @param values - * The specs to add. - * - * @return This builder for chaining. - */ - public Builder addAllSpecs(java.lang.Iterable values) { - ensureSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, specs_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string specs = 2; - * - * @return This builder for chaining. - */ - public Builder clearSpecs() { - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - * repeated string specs = 2; - * - * @param value - * The bytes of the specs to add. - * - * @return This builder for chaining. - */ - public Builder addSpecsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureSpecsIsMutable(); - specs_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariables_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariables_Args) - private static final com.kcl.api.Spec.ListVariables_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariables_Args(); - } - - public static com.kcl.api.Spec.ListVariables_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVariables_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListVariables_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariables_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - int getVariablesCount(); - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - boolean containsVariables(java.lang.String key); - - /** - * Use {@link #getVariablesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getVariables(); - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - java.util.Map getVariablesMap(); - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - /* nullable */ - com.kcl.api.Spec.Variable getVariablesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Variable defaultValue); - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - com.kcl.api.Spec.Variable getVariablesOrThrow(java.lang.String key); - - /** - * repeated string unsupported_codes = 2; - * - * @return A list containing the unsupportedCodes. - */ - java.util.List getUnsupportedCodesList(); - - /** - * repeated string unsupported_codes = 2; - * - * @return The count of unsupportedCodes. - */ - int getUnsupportedCodesCount(); - - /** - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the element to return. - * - * @return The unsupportedCodes at the given index. - */ - java.lang.String getUnsupportedCodes(int index); - - /** - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the unsupportedCodes at the given index. - */ - com.google.protobuf.ByteString getUnsupportedCodesBytes(int index); - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - java.util.List getParseErrsList(); - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - com.kcl.api.Spec.Error getParseErrs(int index); - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - int getParseErrsCount(); - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - java.util.List getParseErrsOrBuilderList(); - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - com.kcl.api.Spec.ErrorOrBuilder getParseErrsOrBuilder(int index); - } - - /** - * Protobuf type {@code com.kcl.api.ListVariables_Result} - */ - public static final class ListVariables_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariables_Result) - ListVariables_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ListVariables_Result.newBuilder() to construct. - private ListVariables_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListVariables_Result() { - unsupportedCodes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - parseErrs_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListVariables_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetVariables(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListVariables_Result.class, - com.kcl.api.Spec.ListVariables_Result.Builder.class); - } - - public static final int VARIABLES_FIELD_NUMBER = 1; - - private static final class VariablesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.Variable.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField variables_; - - private com.google.protobuf.MapField internalGetVariables() { - if (variables_ == null) { - return com.google.protobuf.MapField.emptyMapField(VariablesDefaultEntryHolder.defaultEntry); - } - return variables_; - } - - public int getVariablesCount() { - return internalGetVariables().getMap().size(); - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - @java.lang.Override - public boolean containsVariables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetVariables().getMap().containsKey(key); - } - - /** - * Use {@link #getVariablesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getVariables() { - return getVariablesMap(); - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - @java.lang.Override - public java.util.Map getVariablesMap() { - return internalGetVariables().getMap(); - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Variable getVariablesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Variable defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetVariables().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.Variable getVariablesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetVariables().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int UNSUPPORTED_CODES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList unsupportedCodes_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - * repeated string unsupported_codes = 2; - * - * @return A list containing the unsupportedCodes. - */ - public com.google.protobuf.ProtocolStringList getUnsupportedCodesList() { - return unsupportedCodes_; - } - - /** - * repeated string unsupported_codes = 2; - * - * @return The count of unsupportedCodes. - */ - public int getUnsupportedCodesCount() { - return unsupportedCodes_.size(); - } - - /** - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the element to return. - * - * @return The unsupportedCodes at the given index. - */ - public java.lang.String getUnsupportedCodes(int index) { - return unsupportedCodes_.get(index); - } - - /** - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the unsupportedCodes at the given index. - */ - public com.google.protobuf.ByteString getUnsupportedCodesBytes(int index) { - return unsupportedCodes_.getByteString(index); - } - - public static final int PARSE_ERRS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List parseErrs_; - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - @java.lang.Override - public java.util.List getParseErrsList() { - return parseErrs_; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - @java.lang.Override - public java.util.List getParseErrsOrBuilderList() { - return parseErrs_; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - @java.lang.Override - public int getParseErrsCount() { - return parseErrs_.size(); - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getParseErrs(int index) { - return parseErrs_.get(index); - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getParseErrsOrBuilder(int index) { - return parseErrs_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetVariables(), - VariablesDefaultEntryHolder.defaultEntry, 1); - for (int i = 0; i < unsupportedCodes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, unsupportedCodes_.getRaw(i)); - } - for (int i = 0; i < parseErrs_.size(); i++) { - output.writeMessage(3, parseErrs_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (java.util.Map.Entry entry : internalGetVariables() - .getMap().entrySet()) { - com.google.protobuf.MapEntry variables__ = VariablesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, variables__); - } - { - int dataSize = 0; - for (int i = 0; i < unsupportedCodes_.size(); i++) { - dataSize += computeStringSizeNoTag(unsupportedCodes_.getRaw(i)); - } - size += dataSize; - size += 1 * getUnsupportedCodesList().size(); - } - for (int i = 0; i < parseErrs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, parseErrs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListVariables_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListVariables_Result other = (com.kcl.api.Spec.ListVariables_Result) obj; - - if (!internalGetVariables().equals(other.internalGetVariables())) - return false; - if (!getUnsupportedCodesList().equals(other.getUnsupportedCodesList())) - return false; - if (!getParseErrsList().equals(other.getParseErrsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetVariables().getMap().isEmpty()) { - hash = (37 * hash) + VARIABLES_FIELD_NUMBER; - hash = (53 * hash) + internalGetVariables().hashCode(); - } - if (getUnsupportedCodesCount() > 0) { - hash = (37 * hash) + UNSUPPORTED_CODES_FIELD_NUMBER; - hash = (53 * hash) + getUnsupportedCodesList().hashCode(); - } - if (getParseErrsCount() > 0) { - hash = (37 * hash) + PARSE_ERRS_FIELD_NUMBER; - hash = (53 * hash) + getParseErrsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Result 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 com.kcl.api.Spec.ListVariables_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Result 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 com.kcl.api.Spec.ListVariables_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListVariables_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ListVariables_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariables_Result) - com.kcl.api.Spec.ListVariables_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetVariables(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetMutableVariables(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListVariables_Result.class, - com.kcl.api.Spec.ListVariables_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListVariables_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - internalGetMutableVariables().clear(); - unsupportedCodes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (parseErrsBuilder_ == null) { - parseErrs_ = java.util.Collections.emptyList(); - } else { - parseErrs_ = null; - parseErrsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListVariables_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result build() { - com.kcl.api.Spec.ListVariables_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result buildPartial() { - com.kcl.api.Spec.ListVariables_Result result = new com.kcl.api.Spec.ListVariables_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ListVariables_Result result) { - if (parseErrsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - parseErrs_ = java.util.Collections.unmodifiableList(parseErrs_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.parseErrs_ = parseErrs_; - } else { - result.parseErrs_ = parseErrsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ListVariables_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.variables_ = internalGetVariables().build(VariablesDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000002) != 0)) { - unsupportedCodes_.makeImmutable(); - result.unsupportedCodes_ = unsupportedCodes_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListVariables_Result) { - return mergeFrom((com.kcl.api.Spec.ListVariables_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Result other) { - if (other == com.kcl.api.Spec.ListVariables_Result.getDefaultInstance()) - return this; - internalGetMutableVariables().mergeFrom(other.internalGetVariables()); - bitField0_ |= 0x00000001; - if (!other.unsupportedCodes_.isEmpty()) { - if (unsupportedCodes_.isEmpty()) { - unsupportedCodes_ = other.unsupportedCodes_; - bitField0_ |= 0x00000002; - } else { - ensureUnsupportedCodesIsMutable(); - unsupportedCodes_.addAll(other.unsupportedCodes_); - } - onChanged(); - } - if (parseErrsBuilder_ == null) { - if (!other.parseErrs_.isEmpty()) { - if (parseErrs_.isEmpty()) { - parseErrs_ = other.parseErrs_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureParseErrsIsMutable(); - parseErrs_.addAll(other.parseErrs_); - } - onChanged(); - } - } else { - if (!other.parseErrs_.isEmpty()) { - if (parseErrsBuilder_.isEmpty()) { - parseErrsBuilder_.dispose(); - parseErrsBuilder_ = null; - parseErrs_ = other.parseErrs_; - bitField0_ = (bitField0_ & ~0x00000004); - parseErrsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getParseErrsFieldBuilder() : null; - } else { - parseErrsBuilder_.addAllMessages(other.parseErrs_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.MapEntry variables__ = input - .readMessage(VariablesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableVariables().ensureBuilderMap().put(variables__.getKey(), - variables__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnsupportedCodesIsMutable(); - unsupportedCodes_.add(s); - break; - } // case 18 - case 26: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (parseErrsBuilder_ == null) { - ensureParseErrsIsMutable(); - parseErrs_.add(m); - } else { - parseErrsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private static final class VariablesConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.Variable build(com.kcl.api.Spec.VariableOrBuilder val) { - if (val instanceof com.kcl.api.Spec.Variable) { - return (com.kcl.api.Spec.Variable) val; - } - return ((com.kcl.api.Spec.Variable.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return VariablesDefaultEntryHolder.defaultEntry; - } - }; - - private static final VariablesConverter variablesConverter = new VariablesConverter(); - - private com.google.protobuf.MapFieldBuilder variables_; - - private com.google.protobuf.MapFieldBuilder internalGetVariables() { - if (variables_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(variablesConverter); - } - return variables_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableVariables() { - if (variables_ == null) { - variables_ = new com.google.protobuf.MapFieldBuilder<>(variablesConverter); - } - bitField0_ |= 0x00000001; - onChanged(); - return variables_; - } - - public int getVariablesCount() { - return internalGetVariables().ensureBuilderMap().size(); - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - @java.lang.Override - public boolean containsVariables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetVariables().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getVariablesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getVariables() { - return getVariablesMap(); - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - @java.lang.Override - public java.util.Map getVariablesMap() { - return internalGetVariables().getImmutableMap(); - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Variable getVariablesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Variable defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableVariables() - .ensureBuilderMap(); - return map.containsKey(key) ? variablesConverter.build(map.get(key)) : defaultValue; - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.Variable getVariablesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableVariables() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return variablesConverter.build(map.get(key)); - } - - public Builder clearVariables() { - bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableVariables().clear(); - return this; - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - public Builder removeVariables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableVariables().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableVariables() { - bitField0_ |= 0x00000001; - return internalGetMutableVariables().ensureMessageMap(); - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - public Builder putVariables(java.lang.String key, com.kcl.api.Spec.Variable value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableVariables().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000001; - return this; - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - public Builder putAllVariables(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableVariables().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000001; - return this; - } - - /** - * map<string, .com.kcl.api.Variable> variables = 1; - */ - public com.kcl.api.Spec.Variable.Builder putVariablesBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableVariables() - .ensureBuilderMap(); - com.kcl.api.Spec.VariableOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.Variable.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.Variable) { - entry = ((com.kcl.api.Spec.Variable) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.Variable.Builder) entry; - } - - private com.google.protobuf.LazyStringArrayList unsupportedCodes_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureUnsupportedCodesIsMutable() { - if (!unsupportedCodes_.isModifiable()) { - unsupportedCodes_ = new com.google.protobuf.LazyStringArrayList(unsupportedCodes_); - } - bitField0_ |= 0x00000002; - } - - /** - * repeated string unsupported_codes = 2; - * - * @return A list containing the unsupportedCodes. - */ - public com.google.protobuf.ProtocolStringList getUnsupportedCodesList() { - unsupportedCodes_.makeImmutable(); - return unsupportedCodes_; - } - - /** - * repeated string unsupported_codes = 2; - * - * @return The count of unsupportedCodes. - */ - public int getUnsupportedCodesCount() { - return unsupportedCodes_.size(); - } - - /** - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the element to return. - * - * @return The unsupportedCodes at the given index. - */ - public java.lang.String getUnsupportedCodes(int index) { - return unsupportedCodes_.get(index); - } - - /** - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the unsupportedCodes at the given index. - */ - public com.google.protobuf.ByteString getUnsupportedCodesBytes(int index) { - return unsupportedCodes_.getByteString(index); - } - - /** - * repeated string unsupported_codes = 2; - * - * @param index - * The index to set the value at. - * @param value - * The unsupportedCodes to set. - * - * @return This builder for chaining. - */ - public Builder setUnsupportedCodes(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureUnsupportedCodesIsMutable(); - unsupportedCodes_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string unsupported_codes = 2; - * - * @param value - * The unsupportedCodes to add. - * - * @return This builder for chaining. - */ - public Builder addUnsupportedCodes(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureUnsupportedCodesIsMutable(); - unsupportedCodes_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string unsupported_codes = 2; - * - * @param values - * The unsupportedCodes to add. - * - * @return This builder for chaining. - */ - public Builder addAllUnsupportedCodes(java.lang.Iterable values) { - ensureUnsupportedCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unsupportedCodes_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string unsupported_codes = 2; - * - * @return This builder for chaining. - */ - public Builder clearUnsupportedCodes() { - unsupportedCodes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - * repeated string unsupported_codes = 2; - * - * @param value - * The bytes of the unsupportedCodes to add. - * - * @return This builder for chaining. - */ - public Builder addUnsupportedCodesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureUnsupportedCodesIsMutable(); - unsupportedCodes_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List parseErrs_ = java.util.Collections.emptyList(); - - private void ensureParseErrsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - parseErrs_ = new java.util.ArrayList(parseErrs_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 parseErrsBuilder_; - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public java.util.List getParseErrsList() { - if (parseErrsBuilder_ == null) { - return java.util.Collections.unmodifiableList(parseErrs_); - } else { - return parseErrsBuilder_.getMessageList(); - } - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public int getParseErrsCount() { - if (parseErrsBuilder_ == null) { - return parseErrs_.size(); - } else { - return parseErrsBuilder_.getCount(); - } - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public com.kcl.api.Spec.Error getParseErrs(int index) { - if (parseErrsBuilder_ == null) { - return parseErrs_.get(index); - } else { - return parseErrsBuilder_.getMessage(index); - } - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public Builder setParseErrs(int index, com.kcl.api.Spec.Error value) { - if (parseErrsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrsIsMutable(); - parseErrs_.set(index, value); - onChanged(); - } else { - parseErrsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public Builder setParseErrs(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrsBuilder_ == null) { - ensureParseErrsIsMutable(); - parseErrs_.set(index, builderForValue.build()); - onChanged(); - } else { - parseErrsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public Builder addParseErrs(com.kcl.api.Spec.Error value) { - if (parseErrsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrsIsMutable(); - parseErrs_.add(value); - onChanged(); - } else { - parseErrsBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public Builder addParseErrs(int index, com.kcl.api.Spec.Error value) { - if (parseErrsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrsIsMutable(); - parseErrs_.add(index, value); - onChanged(); - } else { - parseErrsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public Builder addParseErrs(com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrsBuilder_ == null) { - ensureParseErrsIsMutable(); - parseErrs_.add(builderForValue.build()); - onChanged(); - } else { - parseErrsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public Builder addParseErrs(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrsBuilder_ == null) { - ensureParseErrsIsMutable(); - parseErrs_.add(index, builderForValue.build()); - onChanged(); - } else { - parseErrsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public Builder addAllParseErrs(java.lang.Iterable values) { - if (parseErrsBuilder_ == null) { - ensureParseErrsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parseErrs_); - onChanged(); - } else { - parseErrsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public Builder clearParseErrs() { - if (parseErrsBuilder_ == null) { - parseErrs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - parseErrsBuilder_.clear(); - } - return this; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public Builder removeParseErrs(int index) { - if (parseErrsBuilder_ == null) { - ensureParseErrsIsMutable(); - parseErrs_.remove(index); - onChanged(); - } else { - parseErrsBuilder_.remove(index); - } - return this; - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public com.kcl.api.Spec.Error.Builder getParseErrsBuilder(int index) { - return getParseErrsFieldBuilder().getBuilder(index); - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public com.kcl.api.Spec.ErrorOrBuilder getParseErrsOrBuilder(int index) { - if (parseErrsBuilder_ == null) { - return parseErrs_.get(index); - } else { - return parseErrsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public java.util.List getParseErrsOrBuilderList() { - if (parseErrsBuilder_ != null) { - return parseErrsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(parseErrs_); - } - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public com.kcl.api.Spec.Error.Builder addParseErrsBuilder() { - return getParseErrsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public com.kcl.api.Spec.Error.Builder addParseErrsBuilder(int index) { - return getParseErrsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.Error parse_errs = 3; - */ - public java.util.List getParseErrsBuilderList() { - return getParseErrsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getParseErrsFieldBuilder() { - if (parseErrsBuilder_ == null) { - parseErrsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - parseErrs_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - parseErrs_ = null; - } - return parseErrsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariables_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariables_Result) - private static final com.kcl.api.Spec.ListVariables_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariables_Result(); - } - - public static com.kcl.api.Spec.ListVariables_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVariables_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface VariableOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Variable) - com.google.protobuf.MessageOrBuilder { - - /** - * string value = 1; - * - * @return The value. - */ - java.lang.String getValue(); - - /** - * string value = 1; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); - - /** - * string type_name = 2; - * - * @return The typeName. - */ - java.lang.String getTypeName(); - - /** - * string type_name = 2; - * - * @return The bytes for typeName. - */ - com.google.protobuf.ByteString getTypeNameBytes(); - - /** - * string op_sym = 3; - * - * @return The opSym. - */ - java.lang.String getOpSym(); - - /** - * string op_sym = 3; - * - * @return The bytes for opSym. - */ - com.google.protobuf.ByteString getOpSymBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.Variable} - */ - public static final class Variable extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Variable) - VariableOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Variable.newBuilder() to construct. - private Variable(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Variable() { - value_ = ""; - typeName_ = ""; - opSym_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Variable(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Variable.class, - com.kcl.api.Spec.Variable.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; - - /** - * string value = 1; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } - - /** - * string value = 1; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TYPE_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object typeName_ = ""; - - /** - * string type_name = 2; - * - * @return The typeName. - */ - @java.lang.Override - public java.lang.String getTypeName() { - java.lang.Object ref = typeName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - typeName_ = s; - return s; - } - } - - /** - * string type_name = 2; - * - * @return The bytes for typeName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTypeNameBytes() { - java.lang.Object ref = typeName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - typeName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OP_SYM_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object opSym_ = ""; - - /** - * string op_sym = 3; - * - * @return The opSym. - */ - @java.lang.Override - public java.lang.String getOpSym() { - java.lang.Object ref = opSym_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - opSym_ = s; - return s; - } - } - - /** - * string op_sym = 3; - * - * @return The bytes for opSym. - */ - @java.lang.Override - public com.google.protobuf.ByteString getOpSymBytes() { - java.lang.Object ref = opSym_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - opSym_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, typeName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(opSym_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, opSym_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, typeName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(opSym_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, opSym_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Variable)) { - return super.equals(obj); - } - com.kcl.api.Spec.Variable other = (com.kcl.api.Spec.Variable) obj; - - if (!getValue().equals(other.getValue())) - return false; - if (!getTypeName().equals(other.getTypeName())) - return false; - if (!getOpSym().equals(other.getOpSym())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getTypeName().hashCode(); - hash = (37 * hash) + OP_SYM_FIELD_NUMBER; - hash = (53 * hash) + getOpSym().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Variable parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Variable parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Variable parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Variable parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Variable parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Variable parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Variable parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Variable 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 com.kcl.api.Spec.Variable parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Variable 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 com.kcl.api.Spec.Variable parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Variable parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Variable prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Variable} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Variable) - com.kcl.api.Spec.VariableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Variable.class, - com.kcl.api.Spec.Variable.Builder.class); - } - - // Construct using com.kcl.api.Spec.Variable.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - value_ = ""; - typeName_ = ""; - opSym_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Variable getDefaultInstanceForType() { - return com.kcl.api.Spec.Variable.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Variable build() { - com.kcl.api.Spec.Variable result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Variable buildPartial() { - com.kcl.api.Spec.Variable result = new com.kcl.api.Spec.Variable(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.Variable result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.value_ = value_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.typeName_ = typeName_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.opSym_ = opSym_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Variable) { - return mergeFrom((com.kcl.api.Spec.Variable) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Variable other) { - if (other == com.kcl.api.Spec.Variable.getDefaultInstance()) - return this; - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getTypeName().isEmpty()) { - typeName_ = other.typeName_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getOpSym().isEmpty()) { - opSym_ = other.opSym_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - typeName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - opSym_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object value_ = ""; - - /** - * string value = 1; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string value = 1; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string value = 1; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string value = 1; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string value = 1; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object typeName_ = ""; - - /** - * string type_name = 2; - * - * @return The typeName. - */ - public java.lang.String getTypeName() { - java.lang.Object ref = typeName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - typeName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string type_name = 2; - * - * @return The bytes for typeName. - */ - public com.google.protobuf.ByteString getTypeNameBytes() { - java.lang.Object ref = typeName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - typeName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string type_name = 2; - * - * @param value - * The typeName to set. - * - * @return This builder for chaining. - */ - public Builder setTypeName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - typeName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string type_name = 2; - * - * @return This builder for chaining. - */ - public Builder clearTypeName() { - typeName_ = getDefaultInstance().getTypeName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string type_name = 2; - * - * @param value - * The bytes for typeName to set. - * - * @return This builder for chaining. - */ - public Builder setTypeNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - typeName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object opSym_ = ""; - - /** - * string op_sym = 3; - * - * @return The opSym. - */ - public java.lang.String getOpSym() { - java.lang.Object ref = opSym_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - opSym_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string op_sym = 3; - * - * @return The bytes for opSym. - */ - public com.google.protobuf.ByteString getOpSymBytes() { - java.lang.Object ref = opSym_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - opSym_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string op_sym = 3; - * - * @param value - * The opSym to set. - * - * @return This builder for chaining. - */ - public Builder setOpSym(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - opSym_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * string op_sym = 3; - * - * @return This builder for chaining. - */ - public Builder clearOpSym() { - opSym_ = getDefaultInstance().getOpSym(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - * string op_sym = 3; - * - * @param value - * The bytes for opSym to set. - * - * @return This builder for chaining. - */ - public Builder setOpSymBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - opSym_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Variable) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Variable) - private static final com.kcl.api.Spec.Variable DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Variable(); - } - - public static com.kcl.api.Spec.Variable getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Variable parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Variable getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetFullSchemaType_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetFullSchemaType_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - boolean hasExecArgs(); - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - - /** - * string schema_name = 2; - * - * @return The schemaName. - */ - java.lang.String getSchemaName(); - - /** - * string schema_name = 2; - * - * @return The bytes for schemaName. - */ - com.google.protobuf.ByteString getSchemaNameBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.GetFullSchemaType_Args} - */ - public static final class GetFullSchemaType_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetFullSchemaType_Args) - GetFullSchemaType_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use GetFullSchemaType_Args.newBuilder() to construct. - private GetFullSchemaType_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private GetFullSchemaType_Args() { - schemaName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetFullSchemaType_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetFullSchemaType_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetFullSchemaType_Args.class, - com.kcl.api.Spec.GetFullSchemaType_Args.Builder.class); - } - - private int bitField0_; - public static final int EXEC_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - @java.lang.Override - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - public static final int SCHEMA_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object schemaName_ = ""; - - /** - * string schema_name = 2; - * - * @return The schemaName. - */ - @java.lang.Override - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } - } - - /** - * string schema_name = 2; - * - * @return The bytes for schemaName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getExecArgs()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaName_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExecArgs()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaName_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.GetFullSchemaType_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.GetFullSchemaType_Args other = (com.kcl.api.Spec.GetFullSchemaType_Args) obj; - - if (hasExecArgs() != other.hasExecArgs()) - return false; - if (hasExecArgs()) { - if (!getExecArgs().equals(other.getExecArgs())) - return false; - } - if (!getSchemaName().equals(other.getSchemaName())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasExecArgs()) { - hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; - hash = (53 * hash) + getExecArgs().hashCode(); - } - hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; - hash = (53 * hash) + getSchemaName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args 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 com.kcl.api.Spec.GetFullSchemaType_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args 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 com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.GetFullSchemaType_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.GetFullSchemaType_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetFullSchemaType_Args) - com.kcl.api.Spec.GetFullSchemaType_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetFullSchemaType_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetFullSchemaType_Args.class, - com.kcl.api.Spec.GetFullSchemaType_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.GetFullSchemaType_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - schemaName_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.GetFullSchemaType_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.GetFullSchemaType_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.GetFullSchemaType_Args build() { - com.kcl.api.Spec.GetFullSchemaType_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.GetFullSchemaType_Args buildPartial() { - com.kcl.api.Spec.GetFullSchemaType_Args result = new com.kcl.api.Spec.GetFullSchemaType_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.GetFullSchemaType_Args result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.execArgs_ = execArgsBuilder_ == null ? execArgs_ : execArgsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.schemaName_ = schemaName_; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetFullSchemaType_Args) { - return mergeFrom((com.kcl.api.Spec.GetFullSchemaType_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.GetFullSchemaType_Args other) { - if (other == com.kcl.api.Spec.GetFullSchemaType_Args.getDefaultInstance()) - return this; - if (other.hasExecArgs()) { - mergeExecArgs(other.getExecArgs()); - } - if (!other.getSchemaName().isEmpty()) { - schemaName_ = other.schemaName_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getExecArgsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - schemaName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - private com.google.protobuf.SingleFieldBuilderV3 execArgsBuilder_; - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } else { - return execArgsBuilder_.getMessage(); - } - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - execArgs_ = value; - } else { - execArgsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { - if (execArgsBuilder_ == null) { - execArgs_ = builderForValue.build(); - } else { - execArgsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && execArgs_ != null - && execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { - getExecArgsBuilder().mergeFrom(value); - } else { - execArgs_ = value; - } - } else { - execArgsBuilder_.mergeFrom(value); - } - if (execArgs_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder clearExecArgs() { - bitField0_ = (bitField0_ & ~0x00000001); - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getExecArgsFieldBuilder().getBuilder(); - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - if (execArgsBuilder_ != null) { - return execArgsBuilder_.getMessageOrBuilder(); - } else { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - } - - /** - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3 getExecArgsFieldBuilder() { - if (execArgsBuilder_ == null) { - execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getExecArgs(), getParentForChildren(), isClean()); - execArgs_ = null; - } - return execArgsBuilder_; - } - - private java.lang.Object schemaName_ = ""; - - /** - * string schema_name = 2; - * - * @return The schemaName. - */ - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string schema_name = 2; - * - * @return The bytes for schemaName. - */ - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string schema_name = 2; - * - * @param value - * The schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - schemaName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string schema_name = 2; - * - * @return This builder for chaining. - */ - public Builder clearSchemaName() { - schemaName_ = getDefaultInstance().getSchemaName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string schema_name = 2; - * - * @param value - * The bytes for schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - schemaName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetFullSchemaType_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.GetFullSchemaType_Args) - private static final com.kcl.api.Spec.GetFullSchemaType_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetFullSchemaType_Args(); - } - - public static com.kcl.api.Spec.GetFullSchemaType_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFullSchemaType_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.GetFullSchemaType_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetSchemaType_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaType_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string file = 1; - * - * @return The file. - */ - java.lang.String getFile(); - - /** - * string file = 1; - * - * @return The bytes for file. - */ - com.google.protobuf.ByteString getFileBytes(); - - /** - * string code = 2; - * - * @return The code. - */ - java.lang.String getCode(); - - /** - * string code = 2; - * - * @return The bytes for code. - */ - com.google.protobuf.ByteString getCodeBytes(); - - /** - * string schema_name = 3; - * - * @return The schemaName. - */ - java.lang.String getSchemaName(); - - /** - * string schema_name = 3; - * - * @return The bytes for schemaName. - */ - com.google.protobuf.ByteString getSchemaNameBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.GetSchemaType_Args} - */ - public static final class GetSchemaType_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaType_Args) - GetSchemaType_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use GetSchemaType_Args.newBuilder() to construct. - private GetSchemaType_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private GetSchemaType_Args() { - file_ = ""; - code_ = ""; - schemaName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetSchemaType_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaType_Args.class, - com.kcl.api.Spec.GetSchemaType_Args.Builder.class); - } - - public static final int FILE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object file_ = ""; - - /** - * string file = 1; - * - * @return The file. - */ - @java.lang.Override - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } - } - - /** - * string file = 1; - * - * @return The bytes for file. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CODE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object code_ = ""; - - /** - * string code = 2; - * - * @return The code. - */ - @java.lang.Override - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } - } - - /** - * string code = 2; - * - * @return The bytes for code. - */ - @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SCHEMA_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object schemaName_ = ""; - - /** - * string schema_name = 3; - * - * @return The schemaName. - */ - @java.lang.Override - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } - } - - /** - * string schema_name = 3; - * - * @return The bytes for schemaName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schemaName_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schemaName_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.GetSchemaType_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.GetSchemaType_Args other = (com.kcl.api.Spec.GetSchemaType_Args) obj; - - if (!getFile().equals(other.getFile())) - return false; - if (!getCode().equals(other.getCode())) - return false; - if (!getSchemaName().equals(other.getSchemaName())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FILE_FIELD_NUMBER; - hash = (53 * hash) + getFile().hashCode(); - hash = (37 * hash) + CODE_FIELD_NUMBER; - hash = (53 * hash) + getCode().hashCode(); - hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; - hash = (53 * hash) + getSchemaName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.GetSchemaType_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaType_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaType_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaType_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaType_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaType_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaType_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaType_Args 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 com.kcl.api.Spec.GetSchemaType_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaType_Args 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 com.kcl.api.Spec.GetSchemaType_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaType_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.GetSchemaType_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.GetSchemaType_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaType_Args) - com.kcl.api.Spec.GetSchemaType_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaType_Args.class, - com.kcl.api.Spec.GetSchemaType_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.GetSchemaType_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - file_ = ""; - code_ = ""; - schemaName_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaType_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.GetSchemaType_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaType_Args build() { - com.kcl.api.Spec.GetSchemaType_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaType_Args buildPartial() { - com.kcl.api.Spec.GetSchemaType_Args result = new com.kcl.api.Spec.GetSchemaType_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.GetSchemaType_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.file_ = file_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.code_ = code_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.schemaName_ = schemaName_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetSchemaType_Args) { - return mergeFrom((com.kcl.api.Spec.GetSchemaType_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.GetSchemaType_Args other) { - if (other == com.kcl.api.Spec.GetSchemaType_Args.getDefaultInstance()) - return this; - if (!other.getFile().isEmpty()) { - file_ = other.file_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getCode().isEmpty()) { - code_ = other.code_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getSchemaName().isEmpty()) { - schemaName_ = other.schemaName_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - file_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - code_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - schemaName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object file_ = ""; - - /** - * string file = 1; - * - * @return The file. - */ - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string file = 1; - * - * @return The bytes for file. - */ - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string file = 1; - * - * @param value - * The file to set. - * - * @return This builder for chaining. - */ - public Builder setFile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - file_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string file = 1; - * - * @return This builder for chaining. - */ - public Builder clearFile() { - file_ = getDefaultInstance().getFile(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string file = 1; - * - * @param value - * The bytes for file to set. - * - * @return This builder for chaining. - */ - public Builder setFileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - file_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object code_ = ""; - - /** - * string code = 2; - * - * @return The code. - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string code = 2; - * - * @return The bytes for code. - */ - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string code = 2; - * - * @param value - * The code to set. - * - * @return This builder for chaining. - */ - public Builder setCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - code_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string code = 2; - * - * @return This builder for chaining. - */ - public Builder clearCode() { - code_ = getDefaultInstance().getCode(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string code = 2; - * - * @param value - * The bytes for code to set. - * - * @return This builder for chaining. - */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - code_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object schemaName_ = ""; - - /** - * string schema_name = 3; - * - * @return The schemaName. - */ - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string schema_name = 3; - * - * @return The bytes for schemaName. - */ - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string schema_name = 3; - * - * @param value - * The schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - schemaName_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * string schema_name = 3; - * - * @return This builder for chaining. - */ - public Builder clearSchemaName() { - schemaName_ = getDefaultInstance().getSchemaName(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - * string schema_name = 3; - * - * @param value - * The bytes for schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - schemaName_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaType_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaType_Args) - private static final com.kcl.api.Spec.GetSchemaType_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaType_Args(); - } - - public static com.kcl.api.Spec.GetSchemaType_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSchemaType_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaType_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetSchemaType_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaType_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - java.util.List getSchemaTypeListList(); - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - com.kcl.api.Spec.KclType getSchemaTypeList(int index); - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - int getSchemaTypeListCount(); - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - java.util.List getSchemaTypeListOrBuilderList(); - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeListOrBuilder(int index); - } - - /** - * Protobuf type {@code com.kcl.api.GetSchemaType_Result} - */ - public static final class GetSchemaType_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaType_Result) - GetSchemaType_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use GetSchemaType_Result.newBuilder() to construct. - private GetSchemaType_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private GetSchemaType_Result() { - schemaTypeList_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetSchemaType_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaType_Result.class, - com.kcl.api.Spec.GetSchemaType_Result.Builder.class); - } - - public static final int SCHEMA_TYPE_LIST_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List schemaTypeList_; - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - @java.lang.Override - public java.util.List getSchemaTypeListList() { - return schemaTypeList_; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - @java.lang.Override - public java.util.List getSchemaTypeListOrBuilderList() { - return schemaTypeList_; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - @java.lang.Override - public int getSchemaTypeListCount() { - return schemaTypeList_.size(); - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getSchemaTypeList(int index) { - return schemaTypeList_.get(index); - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeListOrBuilder(int index) { - return schemaTypeList_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < schemaTypeList_.size(); i++) { - output.writeMessage(1, schemaTypeList_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (int i = 0; i < schemaTypeList_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, schemaTypeList_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.GetSchemaType_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.GetSchemaType_Result other = (com.kcl.api.Spec.GetSchemaType_Result) obj; - - if (!getSchemaTypeListList().equals(other.getSchemaTypeListList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getSchemaTypeListCount() > 0) { - hash = (37 * hash) + SCHEMA_TYPE_LIST_FIELD_NUMBER; - hash = (53 * hash) + getSchemaTypeListList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.GetSchemaType_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaType_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaType_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaType_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaType_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaType_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaType_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaType_Result 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 com.kcl.api.Spec.GetSchemaType_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaType_Result 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 com.kcl.api.Spec.GetSchemaType_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaType_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.GetSchemaType_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.GetSchemaType_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaType_Result) - com.kcl.api.Spec.GetSchemaType_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaType_Result.class, - com.kcl.api.Spec.GetSchemaType_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.GetSchemaType_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (schemaTypeListBuilder_ == null) { - schemaTypeList_ = java.util.Collections.emptyList(); - } else { - schemaTypeList_ = null; - schemaTypeListBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaType_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.GetSchemaType_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaType_Result build() { - com.kcl.api.Spec.GetSchemaType_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaType_Result buildPartial() { - com.kcl.api.Spec.GetSchemaType_Result result = new com.kcl.api.Spec.GetSchemaType_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.GetSchemaType_Result result) { - if (schemaTypeListBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - schemaTypeList_ = java.util.Collections.unmodifiableList(schemaTypeList_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.schemaTypeList_ = schemaTypeList_; - } else { - result.schemaTypeList_ = schemaTypeListBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.GetSchemaType_Result result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetSchemaType_Result) { - return mergeFrom((com.kcl.api.Spec.GetSchemaType_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.GetSchemaType_Result other) { - if (other == com.kcl.api.Spec.GetSchemaType_Result.getDefaultInstance()) - return this; - if (schemaTypeListBuilder_ == null) { - if (!other.schemaTypeList_.isEmpty()) { - if (schemaTypeList_.isEmpty()) { - schemaTypeList_ = other.schemaTypeList_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSchemaTypeListIsMutable(); - schemaTypeList_.addAll(other.schemaTypeList_); - } - onChanged(); - } - } else { - if (!other.schemaTypeList_.isEmpty()) { - if (schemaTypeListBuilder_.isEmpty()) { - schemaTypeListBuilder_.dispose(); - schemaTypeListBuilder_ = null; - schemaTypeList_ = other.schemaTypeList_; - bitField0_ = (bitField0_ & ~0x00000001); - schemaTypeListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSchemaTypeListFieldBuilder() : null; - } else { - schemaTypeListBuilder_.addAllMessages(other.schemaTypeList_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.kcl.api.Spec.KclType m = input.readMessage(com.kcl.api.Spec.KclType.parser(), - extensionRegistry); - if (schemaTypeListBuilder_ == null) { - ensureSchemaTypeListIsMutable(); - schemaTypeList_.add(m); - } else { - schemaTypeListBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List schemaTypeList_ = java.util.Collections.emptyList(); - - private void ensureSchemaTypeListIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - schemaTypeList_ = new java.util.ArrayList(schemaTypeList_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 schemaTypeListBuilder_; - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public java.util.List getSchemaTypeListList() { - if (schemaTypeListBuilder_ == null) { - return java.util.Collections.unmodifiableList(schemaTypeList_); - } else { - return schemaTypeListBuilder_.getMessageList(); - } - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public int getSchemaTypeListCount() { - if (schemaTypeListBuilder_ == null) { - return schemaTypeList_.size(); - } else { - return schemaTypeListBuilder_.getCount(); - } - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public com.kcl.api.Spec.KclType getSchemaTypeList(int index) { - if (schemaTypeListBuilder_ == null) { - return schemaTypeList_.get(index); - } else { - return schemaTypeListBuilder_.getMessage(index); - } - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public Builder setSchemaTypeList(int index, com.kcl.api.Spec.KclType value) { - if (schemaTypeListBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSchemaTypeListIsMutable(); - schemaTypeList_.set(index, value); - onChanged(); - } else { - schemaTypeListBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public Builder setSchemaTypeList(int index, com.kcl.api.Spec.KclType.Builder builderForValue) { - if (schemaTypeListBuilder_ == null) { - ensureSchemaTypeListIsMutable(); - schemaTypeList_.set(index, builderForValue.build()); - onChanged(); - } else { - schemaTypeListBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public Builder addSchemaTypeList(com.kcl.api.Spec.KclType value) { - if (schemaTypeListBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSchemaTypeListIsMutable(); - schemaTypeList_.add(value); - onChanged(); - } else { - schemaTypeListBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public Builder addSchemaTypeList(int index, com.kcl.api.Spec.KclType value) { - if (schemaTypeListBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSchemaTypeListIsMutable(); - schemaTypeList_.add(index, value); - onChanged(); - } else { - schemaTypeListBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public Builder addSchemaTypeList(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (schemaTypeListBuilder_ == null) { - ensureSchemaTypeListIsMutable(); - schemaTypeList_.add(builderForValue.build()); - onChanged(); - } else { - schemaTypeListBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public Builder addSchemaTypeList(int index, com.kcl.api.Spec.KclType.Builder builderForValue) { - if (schemaTypeListBuilder_ == null) { - ensureSchemaTypeListIsMutable(); - schemaTypeList_.add(index, builderForValue.build()); - onChanged(); - } else { - schemaTypeListBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public Builder addAllSchemaTypeList(java.lang.Iterable values) { - if (schemaTypeListBuilder_ == null) { - ensureSchemaTypeListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, schemaTypeList_); - onChanged(); - } else { - schemaTypeListBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public Builder clearSchemaTypeList() { - if (schemaTypeListBuilder_ == null) { - schemaTypeList_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - schemaTypeListBuilder_.clear(); - } - return this; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public Builder removeSchemaTypeList(int index) { - if (schemaTypeListBuilder_ == null) { - ensureSchemaTypeListIsMutable(); - schemaTypeList_.remove(index); - onChanged(); - } else { - schemaTypeListBuilder_.remove(index); - } - return this; - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public com.kcl.api.Spec.KclType.Builder getSchemaTypeListBuilder(int index) { - return getSchemaTypeListFieldBuilder().getBuilder(index); - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeListOrBuilder(int index) { - if (schemaTypeListBuilder_ == null) { - return schemaTypeList_.get(index); - } else { - return schemaTypeListBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public java.util.List getSchemaTypeListOrBuilderList() { - if (schemaTypeListBuilder_ != null) { - return schemaTypeListBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(schemaTypeList_); - } - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public com.kcl.api.Spec.KclType.Builder addSchemaTypeListBuilder() { - return getSchemaTypeListFieldBuilder().addBuilder(com.kcl.api.Spec.KclType.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public com.kcl.api.Spec.KclType.Builder addSchemaTypeListBuilder(int index) { - return getSchemaTypeListFieldBuilder().addBuilder(index, com.kcl.api.Spec.KclType.getDefaultInstance()); - } - - /** - * repeated .com.kcl.api.KclType schema_type_list = 1; - */ - public java.util.List getSchemaTypeListBuilderList() { - return getSchemaTypeListFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getSchemaTypeListFieldBuilder() { - if (schemaTypeListBuilder_ == null) { - schemaTypeListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - schemaTypeList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - schemaTypeList_ = null; - } - return schemaTypeListBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaType_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaType_Result) - private static final com.kcl.api.Spec.GetSchemaType_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaType_Result(); - } - - public static com.kcl.api.Spec.GetSchemaType_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSchemaType_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaType_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetSchemaTypeMapping_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMapping_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string file = 1; - * - * @return The file. - */ - java.lang.String getFile(); - - /** - * string file = 1; - * - * @return The bytes for file. - */ - com.google.protobuf.ByteString getFileBytes(); - - /** - * string code = 2; - * - * @return The code. - */ - java.lang.String getCode(); - - /** - * string code = 2; - * - * @return The bytes for code. - */ - com.google.protobuf.ByteString getCodeBytes(); - - /** - * string schema_name = 3; - * - * @return The schemaName. - */ - java.lang.String getSchemaName(); - - /** - * string schema_name = 3; - * - * @return The bytes for schemaName. - */ - com.google.protobuf.ByteString getSchemaNameBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Args} - */ - public static final class GetSchemaTypeMapping_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMapping_Args) - GetSchemaTypeMapping_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use GetSchemaTypeMapping_Args.newBuilder() to construct. - private GetSchemaTypeMapping_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private GetSchemaTypeMapping_Args() { - file_ = ""; - code_ = ""; - schemaName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetSchemaTypeMapping_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaTypeMapping_Args.class, - com.kcl.api.Spec.GetSchemaTypeMapping_Args.Builder.class); - } - - public static final int FILE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object file_ = ""; - - /** - * string file = 1; - * - * @return The file. - */ - @java.lang.Override - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } - } - - /** - * string file = 1; - * - * @return The bytes for file. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CODE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object code_ = ""; - - /** - * string code = 2; - * - * @return The code. - */ - @java.lang.Override - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } - } - - /** - * string code = 2; - * - * @return The bytes for code. - */ - @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SCHEMA_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object schemaName_ = ""; - - /** - * string schema_name = 3; - * - * @return The schemaName. - */ - @java.lang.Override - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } - } - - /** - * string schema_name = 3; - * - * @return The bytes for schemaName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schemaName_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schemaName_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.GetSchemaTypeMapping_Args other = (com.kcl.api.Spec.GetSchemaTypeMapping_Args) obj; - - if (!getFile().equals(other.getFile())) - return false; - if (!getCode().equals(other.getCode())) - return false; - if (!getSchemaName().equals(other.getSchemaName())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FILE_FIELD_NUMBER; - hash = (53 * hash) + getFile().hashCode(); - hash = (37 * hash) + CODE_FIELD_NUMBER; - hash = (53 * hash) + getCode().hashCode(); - hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; - hash = (53 * hash) + getSchemaName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args 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 com.kcl.api.Spec.GetSchemaTypeMapping_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args 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 com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMapping_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMapping_Args) - com.kcl.api.Spec.GetSchemaTypeMapping_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaTypeMapping_Args.class, - com.kcl.api.Spec.GetSchemaTypeMapping_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.GetSchemaTypeMapping_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - file_ = ""; - code_ = ""; - schemaName_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.GetSchemaTypeMapping_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args build() { - com.kcl.api.Spec.GetSchemaTypeMapping_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args buildPartial() { - com.kcl.api.Spec.GetSchemaTypeMapping_Args result = new com.kcl.api.Spec.GetSchemaTypeMapping_Args( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMapping_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.file_ = file_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.code_ = code_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.schemaName_ = schemaName_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Args) { - return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMapping_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMapping_Args other) { - if (other == com.kcl.api.Spec.GetSchemaTypeMapping_Args.getDefaultInstance()) - return this; - if (!other.getFile().isEmpty()) { - file_ = other.file_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getCode().isEmpty()) { - code_ = other.code_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getSchemaName().isEmpty()) { - schemaName_ = other.schemaName_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - file_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - code_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - schemaName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object file_ = ""; - - /** - * string file = 1; - * - * @return The file. - */ - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string file = 1; - * - * @return The bytes for file. - */ - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string file = 1; - * - * @param value - * The file to set. - * - * @return This builder for chaining. - */ - public Builder setFile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - file_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string file = 1; - * - * @return This builder for chaining. - */ - public Builder clearFile() { - file_ = getDefaultInstance().getFile(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string file = 1; - * - * @param value - * The bytes for file to set. - * - * @return This builder for chaining. - */ - public Builder setFileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - file_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object code_ = ""; - - /** - * string code = 2; - * - * @return The code. - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string code = 2; - * - * @return The bytes for code. - */ - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string code = 2; - * - * @param value - * The code to set. - * - * @return This builder for chaining. - */ - public Builder setCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - code_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string code = 2; - * - * @return This builder for chaining. - */ - public Builder clearCode() { - code_ = getDefaultInstance().getCode(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string code = 2; - * - * @param value - * The bytes for code to set. - * - * @return This builder for chaining. - */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - code_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object schemaName_ = ""; - - /** - * string schema_name = 3; - * - * @return The schemaName. - */ - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string schema_name = 3; - * - * @return The bytes for schemaName. - */ - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string schema_name = 3; - * - * @param value - * The schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - schemaName_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * string schema_name = 3; - * - * @return This builder for chaining. - */ - public Builder clearSchemaName() { - schemaName_ = getDefaultInstance().getSchemaName(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - * string schema_name = 3; - * - * @param value - * The bytes for schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - schemaName_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMapping_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMapping_Args) - private static final com.kcl.api.Spec.GetSchemaTypeMapping_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMapping_Args(); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSchemaTypeMapping_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetSchemaTypeMapping_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMapping_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - int getSchemaTypeMappingCount(); - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - boolean containsSchemaTypeMapping(java.lang.String key); - - /** - * Use {@link #getSchemaTypeMappingMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getSchemaTypeMapping(); - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - java.util.Map getSchemaTypeMappingMap(); - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - /* nullable */ - com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue); - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow(java.lang.String key); - } - - /** - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Result} - */ - public static final class GetSchemaTypeMapping_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMapping_Result) - GetSchemaTypeMapping_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use GetSchemaTypeMapping_Result.newBuilder() to construct. - private GetSchemaTypeMapping_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private GetSchemaTypeMapping_Result() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetSchemaTypeMapping_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetSchemaTypeMapping(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaTypeMapping_Result.class, - com.kcl.api.Spec.GetSchemaTypeMapping_Result.Builder.class); - } - - public static final int SCHEMA_TYPE_MAPPING_FIELD_NUMBER = 1; - - private static final class SchemaTypeMappingDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.KclType.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField schemaTypeMapping_; - - private com.google.protobuf.MapField internalGetSchemaTypeMapping() { - if (schemaTypeMapping_ == null) { - return com.google.protobuf.MapField.emptyMapField(SchemaTypeMappingDefaultEntryHolder.defaultEntry); - } - return schemaTypeMapping_; - } - - public int getSchemaTypeMappingCount() { - return internalGetSchemaTypeMapping().getMap().size(); - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public boolean containsSchemaTypeMapping(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSchemaTypeMapping().getMap().containsKey(key); - } - - /** - * Use {@link #getSchemaTypeMappingMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSchemaTypeMapping() { - return getSchemaTypeMappingMap(); - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public java.util.Map getSchemaTypeMappingMap() { - return internalGetSchemaTypeMapping().getMap(); - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSchemaTypeMapping().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSchemaTypeMapping().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetSchemaTypeMapping(), - SchemaTypeMappingDefaultEntryHolder.defaultEntry, 1); - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (java.util.Map.Entry entry : internalGetSchemaTypeMapping() - .getMap().entrySet()) { - com.google.protobuf.MapEntry schemaTypeMapping__ = SchemaTypeMappingDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, schemaTypeMapping__); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.GetSchemaTypeMapping_Result other = (com.kcl.api.Spec.GetSchemaTypeMapping_Result) obj; - - if (!internalGetSchemaTypeMapping().equals(other.internalGetSchemaTypeMapping())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetSchemaTypeMapping().getMap().isEmpty()) { - hash = (37 * hash) + SCHEMA_TYPE_MAPPING_FIELD_NUMBER; - hash = (53 * hash) + internalGetSchemaTypeMapping().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result 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 com.kcl.api.Spec.GetSchemaTypeMapping_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result 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 com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMapping_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMapping_Result) - com.kcl.api.Spec.GetSchemaTypeMapping_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetSchemaTypeMapping(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetMutableSchemaTypeMapping(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaTypeMapping_Result.class, - com.kcl.api.Spec.GetSchemaTypeMapping_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.GetSchemaTypeMapping_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - internalGetMutableSchemaTypeMapping().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.GetSchemaTypeMapping_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result build() { - com.kcl.api.Spec.GetSchemaTypeMapping_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result buildPartial() { - com.kcl.api.Spec.GetSchemaTypeMapping_Result result = new com.kcl.api.Spec.GetSchemaTypeMapping_Result( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMapping_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.schemaTypeMapping_ = internalGetSchemaTypeMapping() - .build(SchemaTypeMappingDefaultEntryHolder.defaultEntry); - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Result) { - return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMapping_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMapping_Result other) { - if (other == com.kcl.api.Spec.GetSchemaTypeMapping_Result.getDefaultInstance()) - return this; - internalGetMutableSchemaTypeMapping().mergeFrom(other.internalGetSchemaTypeMapping()); - bitField0_ |= 0x00000001; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.MapEntry schemaTypeMapping__ = input - .readMessage(SchemaTypeMappingDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSchemaTypeMapping().ensureBuilderMap().put(schemaTypeMapping__.getKey(), - schemaTypeMapping__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private static final class SchemaTypeMappingConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.KclType build(com.kcl.api.Spec.KclTypeOrBuilder val) { - if (val instanceof com.kcl.api.Spec.KclType) { - return (com.kcl.api.Spec.KclType) val; - } - return ((com.kcl.api.Spec.KclType.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return SchemaTypeMappingDefaultEntryHolder.defaultEntry; - } - }; - - private static final SchemaTypeMappingConverter schemaTypeMappingConverter = new SchemaTypeMappingConverter(); - - private com.google.protobuf.MapFieldBuilder schemaTypeMapping_; - - private com.google.protobuf.MapFieldBuilder internalGetSchemaTypeMapping() { - if (schemaTypeMapping_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); - } - return schemaTypeMapping_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableSchemaTypeMapping() { - if (schemaTypeMapping_ == null) { - schemaTypeMapping_ = new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); - } - bitField0_ |= 0x00000001; - onChanged(); - return schemaTypeMapping_; - } - - public int getSchemaTypeMappingCount() { - return internalGetSchemaTypeMapping().ensureBuilderMap().size(); - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public boolean containsSchemaTypeMapping(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSchemaTypeMapping().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getSchemaTypeMappingMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSchemaTypeMapping() { - return getSchemaTypeMappingMap(); - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public java.util.Map getSchemaTypeMappingMap() { - return internalGetSchemaTypeMapping().getImmutableMap(); - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableSchemaTypeMapping() - .ensureBuilderMap(); - return map.containsKey(key) ? schemaTypeMappingConverter.build(map.get(key)) : defaultValue; - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableSchemaTypeMapping() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return schemaTypeMappingConverter.build(map.get(key)); - } - - public Builder clearSchemaTypeMapping() { - bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableSchemaTypeMapping().clear(); - return this; - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - public Builder removeSchemaTypeMapping(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableSchemaTypeMapping().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableSchemaTypeMapping() { - bitField0_ |= 0x00000001; - return internalGetMutableSchemaTypeMapping().ensureMessageMap(); - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - public Builder putSchemaTypeMapping(java.lang.String key, com.kcl.api.Spec.KclType value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableSchemaTypeMapping().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000001; - return this; - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - public Builder putAllSchemaTypeMapping(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableSchemaTypeMapping().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000001; - return this; - } - - /** - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - public com.kcl.api.Spec.KclType.Builder putSchemaTypeMappingBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableSchemaTypeMapping() - .ensureBuilderMap(); - com.kcl.api.Spec.KclTypeOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.KclType.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.KclType) { - entry = ((com.kcl.api.Spec.KclType) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.KclType.Builder) entry; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMapping_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMapping_Result) - private static final com.kcl.api.Spec.GetSchemaTypeMapping_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMapping_Result(); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSchemaTypeMapping_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ValidateCode_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCode_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string datafile = 1; - * - * @return The datafile. - */ - java.lang.String getDatafile(); - - /** - * string datafile = 1; - * - * @return The bytes for datafile. - */ - com.google.protobuf.ByteString getDatafileBytes(); - - /** - * string data = 2; - * - * @return The data. - */ - java.lang.String getData(); - - /** - * string data = 2; - * - * @return The bytes for data. - */ - com.google.protobuf.ByteString getDataBytes(); - - /** - * string file = 3; - * - * @return The file. - */ - java.lang.String getFile(); - - /** - * string file = 3; - * - * @return The bytes for file. - */ - com.google.protobuf.ByteString getFileBytes(); - - /** - * string code = 4; - * - * @return The code. - */ - java.lang.String getCode(); - - /** - * string code = 4; - * - * @return The bytes for code. - */ - com.google.protobuf.ByteString getCodeBytes(); - - /** - * string schema = 5; - * - * @return The schema. - */ - java.lang.String getSchema(); - - /** - * string schema = 5; - * - * @return The bytes for schema. - */ - com.google.protobuf.ByteString getSchemaBytes(); - - /** - * string attribute_name = 6; - * - * @return The attributeName. - */ - java.lang.String getAttributeName(); - - /** - * string attribute_name = 6; - * - * @return The bytes for attributeName. - */ - com.google.protobuf.ByteString getAttributeNameBytes(); - - /** - * string format = 7; - * - * @return The format. - */ - java.lang.String getFormat(); - - /** - * string format = 7; - * - * @return The bytes for format. - */ - com.google.protobuf.ByteString getFormatBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.ValidateCode_Args} - */ - public static final class ValidateCode_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCode_Args) - ValidateCode_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ValidateCode_Args.newBuilder() to construct. - private ValidateCode_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ValidateCode_Args() { - datafile_ = ""; - data_ = ""; - file_ = ""; - code_ = ""; - schema_ = ""; - attributeName_ = ""; - format_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ValidateCode_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ValidateCode_Args.class, - com.kcl.api.Spec.ValidateCode_Args.Builder.class); - } - - public static final int DATAFILE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object datafile_ = ""; - - /** - * string datafile = 1; - * - * @return The datafile. - */ - @java.lang.Override - public java.lang.String getDatafile() { - java.lang.Object ref = datafile_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - datafile_ = s; - return s; - } - } - - /** - * string datafile = 1; - * - * @return The bytes for datafile. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDatafileBytes() { - java.lang.Object ref = datafile_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - datafile_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATA_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object data_ = ""; - - /** - * string data = 2; - * - * @return The data. - */ - @java.lang.Override - public java.lang.String getData() { - java.lang.Object ref = data_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - data_ = s; - return s; - } - } - - /** - * string data = 2; - * - * @return The bytes for data. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDataBytes() { - java.lang.Object ref = data_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - data_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object file_ = ""; - - /** - * string file = 3; - * - * @return The file. - */ - @java.lang.Override - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } - } - - /** - * string file = 3; - * - * @return The bytes for file. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CODE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object code_ = ""; - - /** - * string code = 4; - * - * @return The code. - */ - @java.lang.Override - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } - } - - /** - * string code = 4; - * - * @return The bytes for code. - */ - @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SCHEMA_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private volatile java.lang.Object schema_ = ""; - - /** - * string schema = 5; - * - * @return The schema. - */ - @java.lang.Override - public java.lang.String getSchema() { - java.lang.Object ref = schema_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schema_ = s; - return s; - } - } - - /** - * string schema = 5; - * - * @return The bytes for schema. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaBytes() { - java.lang.Object ref = schema_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schema_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ATTRIBUTE_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") - private volatile java.lang.Object attributeName_ = ""; - - /** - * string attribute_name = 6; - * - * @return The attributeName. - */ - @java.lang.Override - public java.lang.String getAttributeName() { - java.lang.Object ref = attributeName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - attributeName_ = s; - return s; - } - } - - /** - * string attribute_name = 6; - * - * @return The bytes for attributeName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getAttributeNameBytes() { - java.lang.Object ref = attributeName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - attributeName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FORMAT_FIELD_NUMBER = 7; - @SuppressWarnings("serial") - private volatile java.lang.Object format_ = ""; - - /** - * string format = 7; - * - * @return The format. - */ - @java.lang.Override - public java.lang.String getFormat() { - java.lang.Object ref = format_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - format_ = s; - return s; - } - } - - /** - * string format = 7; - * - * @return The bytes for format. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFormatBytes() { - java.lang.Object ref = format_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - format_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datafile_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datafile_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(data_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, data_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, file_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, code_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, schema_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, attributeName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, format_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datafile_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, datafile_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(data_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, data_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, file_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, code_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, schema_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, attributeName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, format_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ValidateCode_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ValidateCode_Args other = (com.kcl.api.Spec.ValidateCode_Args) obj; - - if (!getDatafile().equals(other.getDatafile())) - return false; - if (!getData().equals(other.getData())) - return false; - if (!getFile().equals(other.getFile())) - return false; - if (!getCode().equals(other.getCode())) - return false; - if (!getSchema().equals(other.getSchema())) - return false; - if (!getAttributeName().equals(other.getAttributeName())) - return false; - if (!getFormat().equals(other.getFormat())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DATAFILE_FIELD_NUMBER; - hash = (53 * hash) + getDatafile().hashCode(); - hash = (37 * hash) + DATA_FIELD_NUMBER; - hash = (53 * hash) + getData().hashCode(); - hash = (37 * hash) + FILE_FIELD_NUMBER; - hash = (53 * hash) + getFile().hashCode(); - hash = (37 * hash) + CODE_FIELD_NUMBER; - hash = (53 * hash) + getCode().hashCode(); - hash = (37 * hash) + SCHEMA_FIELD_NUMBER; - hash = (53 * hash) + getSchema().hashCode(); - hash = (37 * hash) + ATTRIBUTE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getAttributeName().hashCode(); - hash = (37 * hash) + FORMAT_FIELD_NUMBER; - hash = (53 * hash) + getFormat().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Args 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 com.kcl.api.Spec.ValidateCode_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Args 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 com.kcl.api.Spec.ValidateCode_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ValidateCode_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ValidateCode_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCode_Args) - com.kcl.api.Spec.ValidateCode_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ValidateCode_Args.class, - com.kcl.api.Spec.ValidateCode_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ValidateCode_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - datafile_ = ""; - data_ = ""; - file_ = ""; - code_ = ""; - schema_ = ""; - attributeName_ = ""; - format_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ValidateCode_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args build() { - com.kcl.api.Spec.ValidateCode_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args buildPartial() { - com.kcl.api.Spec.ValidateCode_Args result = new com.kcl.api.Spec.ValidateCode_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ValidateCode_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.datafile_ = datafile_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.data_ = data_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.file_ = file_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.code_ = code_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.schema_ = schema_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.attributeName_ = attributeName_; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.format_ = format_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ValidateCode_Args) { - return mergeFrom((com.kcl.api.Spec.ValidateCode_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ValidateCode_Args other) { - if (other == com.kcl.api.Spec.ValidateCode_Args.getDefaultInstance()) - return this; - if (!other.getDatafile().isEmpty()) { - datafile_ = other.datafile_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getData().isEmpty()) { - data_ = other.data_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getFile().isEmpty()) { - file_ = other.file_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.getCode().isEmpty()) { - code_ = other.code_; - bitField0_ |= 0x00000008; - onChanged(); - } - if (!other.getSchema().isEmpty()) { - schema_ = other.schema_; - bitField0_ |= 0x00000010; - onChanged(); - } - if (!other.getAttributeName().isEmpty()) { - attributeName_ = other.attributeName_; - bitField0_ |= 0x00000020; - onChanged(); - } - if (!other.getFormat().isEmpty()) { - format_ = other.format_; - bitField0_ |= 0x00000040; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - datafile_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - data_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - file_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - code_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - schema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - attributeName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - format_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object datafile_ = ""; - - /** - * string datafile = 1; - * - * @return The datafile. - */ - public java.lang.String getDatafile() { - java.lang.Object ref = datafile_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - datafile_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string datafile = 1; - * - * @return The bytes for datafile. - */ - public com.google.protobuf.ByteString getDatafileBytes() { - java.lang.Object ref = datafile_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - datafile_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string datafile = 1; - * - * @param value - * The datafile to set. - * - * @return This builder for chaining. - */ - public Builder setDatafile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - datafile_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string datafile = 1; - * - * @return This builder for chaining. - */ - public Builder clearDatafile() { - datafile_ = getDefaultInstance().getDatafile(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string datafile = 1; - * - * @param value - * The bytes for datafile to set. - * - * @return This builder for chaining. - */ - public Builder setDatafileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - datafile_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object data_ = ""; - - /** - * string data = 2; - * - * @return The data. - */ - public java.lang.String getData() { - java.lang.Object ref = data_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - data_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string data = 2; - * - * @return The bytes for data. - */ - public com.google.protobuf.ByteString getDataBytes() { - java.lang.Object ref = data_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - data_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string data = 2; - * - * @param value - * The data to set. - * - * @return This builder for chaining. - */ - public Builder setData(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - data_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string data = 2; - * - * @return This builder for chaining. - */ - public Builder clearData() { - data_ = getDefaultInstance().getData(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string data = 2; - * - * @param value - * The bytes for data to set. - * - * @return This builder for chaining. - */ - public Builder setDataBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - data_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object file_ = ""; - - /** - * string file = 3; - * - * @return The file. - */ - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string file = 3; - * - * @return The bytes for file. - */ - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string file = 3; - * - * @param value - * The file to set. - * - * @return This builder for chaining. - */ - public Builder setFile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - file_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * string file = 3; - * - * @return This builder for chaining. - */ - public Builder clearFile() { - file_ = getDefaultInstance().getFile(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - * string file = 3; - * - * @param value - * The bytes for file to set. - * - * @return This builder for chaining. - */ - public Builder setFileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - file_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.lang.Object code_ = ""; - - /** - * string code = 4; - * - * @return The code. - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string code = 4; - * - * @return The bytes for code. - */ - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string code = 4; - * - * @param value - * The code to set. - * - * @return This builder for chaining. - */ - public Builder setCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - code_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - * string code = 4; - * - * @return This builder for chaining. - */ - public Builder clearCode() { - code_ = getDefaultInstance().getCode(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - - /** - * string code = 4; - * - * @param value - * The bytes for code to set. - * - * @return This builder for chaining. - */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - code_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - private java.lang.Object schema_ = ""; - - /** - * string schema = 5; - * - * @return The schema. - */ - public java.lang.String getSchema() { - java.lang.Object ref = schema_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schema_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string schema = 5; - * - * @return The bytes for schema. - */ - public com.google.protobuf.ByteString getSchemaBytes() { - java.lang.Object ref = schema_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - schema_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string schema = 5; - * - * @param value - * The schema to set. - * - * @return This builder for chaining. - */ - public Builder setSchema(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - schema_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - /** - * string schema = 5; - * - * @return This builder for chaining. - */ - public Builder clearSchema() { - schema_ = getDefaultInstance().getSchema(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - - /** - * string schema = 5; - * - * @param value - * The bytes for schema to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - schema_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - private java.lang.Object attributeName_ = ""; - - /** - * string attribute_name = 6; - * - * @return The attributeName. - */ - public java.lang.String getAttributeName() { - java.lang.Object ref = attributeName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - attributeName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string attribute_name = 6; - * - * @return The bytes for attributeName. - */ - public com.google.protobuf.ByteString getAttributeNameBytes() { - java.lang.Object ref = attributeName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - attributeName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string attribute_name = 6; - * - * @param value - * The attributeName to set. - * - * @return This builder for chaining. - */ - public Builder setAttributeName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - attributeName_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - /** - * string attribute_name = 6; - * - * @return This builder for chaining. - */ - public Builder clearAttributeName() { - attributeName_ = getDefaultInstance().getAttributeName(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - return this; - } - - /** - * string attribute_name = 6; - * - * @param value - * The bytes for attributeName to set. - * - * @return This builder for chaining. - */ - public Builder setAttributeNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - attributeName_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - private java.lang.Object format_ = ""; - - /** - * string format = 7; - * - * @return The format. - */ - public java.lang.String getFormat() { - java.lang.Object ref = format_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - format_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string format = 7; - * - * @return The bytes for format. - */ - public com.google.protobuf.ByteString getFormatBytes() { - java.lang.Object ref = format_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - format_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string format = 7; - * - * @param value - * The format to set. - * - * @return This builder for chaining. - */ - public Builder setFormat(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - format_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; - } - - /** - * string format = 7; - * - * @return This builder for chaining. - */ - public Builder clearFormat() { - format_ = getDefaultInstance().getFormat(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - return this; - } - - /** - * string format = 7; - * - * @param value - * The bytes for format to set. - * - * @return This builder for chaining. - */ - public Builder setFormatBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - format_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCode_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCode_Args) - private static final com.kcl.api.Spec.ValidateCode_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCode_Args(); - } - - public static com.kcl.api.Spec.ValidateCode_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateCode_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ValidateCode_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCode_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * bool success = 1; - * - * @return The success. - */ - boolean getSuccess(); - - /** - * string err_message = 2; - * - * @return The errMessage. - */ - java.lang.String getErrMessage(); - - /** - * string err_message = 2; - * - * @return The bytes for errMessage. - */ - com.google.protobuf.ByteString getErrMessageBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.ValidateCode_Result} - */ - public static final class ValidateCode_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCode_Result) - ValidateCode_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ValidateCode_Result.newBuilder() to construct. - private ValidateCode_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ValidateCode_Result() { - errMessage_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ValidateCode_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ValidateCode_Result.class, - com.kcl.api.Spec.ValidateCode_Result.Builder.class); - } - - public static final int SUCCESS_FIELD_NUMBER = 1; - private boolean success_ = false; - - /** - * bool success = 1; - * - * @return The success. - */ - @java.lang.Override - public boolean getSuccess() { - return success_; - } - - public static final int ERR_MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object errMessage_ = ""; - - /** - * string err_message = 2; - * - * @return The errMessage. - */ - @java.lang.Override - public java.lang.String getErrMessage() { - java.lang.Object ref = errMessage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - errMessage_ = s; - return s; - } - } - - /** - * string err_message = 2; - * - * @return The bytes for errMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString getErrMessageBytes() { - java.lang.Object ref = errMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - errMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (success_ != false) { - output.writeBool(1, success_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errMessage_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errMessage_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (success_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, success_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errMessage_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errMessage_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ValidateCode_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ValidateCode_Result other = (com.kcl.api.Spec.ValidateCode_Result) obj; - - if (getSuccess() != other.getSuccess()) - return false; - if (!getErrMessage().equals(other.getErrMessage())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SUCCESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuccess()); - hash = (37 * hash) + ERR_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getErrMessage().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Result 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 com.kcl.api.Spec.ValidateCode_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Result 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 com.kcl.api.Spec.ValidateCode_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ValidateCode_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ValidateCode_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCode_Result) - com.kcl.api.Spec.ValidateCode_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ValidateCode_Result.class, - com.kcl.api.Spec.ValidateCode_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ValidateCode_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - success_ = false; - errMessage_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ValidateCode_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result build() { - com.kcl.api.Spec.ValidateCode_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result buildPartial() { - com.kcl.api.Spec.ValidateCode_Result result = new com.kcl.api.Spec.ValidateCode_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ValidateCode_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.success_ = success_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.errMessage_ = errMessage_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ValidateCode_Result) { - return mergeFrom((com.kcl.api.Spec.ValidateCode_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ValidateCode_Result other) { - if (other == com.kcl.api.Spec.ValidateCode_Result.getDefaultInstance()) - return this; - if (other.getSuccess() != false) { - setSuccess(other.getSuccess()); - } - if (!other.getErrMessage().isEmpty()) { - errMessage_ = other.errMessage_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - success_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - errMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private boolean success_; - - /** - * bool success = 1; - * - * @return The success. - */ - @java.lang.Override - public boolean getSuccess() { - return success_; - } - - /** - * bool success = 1; - * - * @param value - * The success to set. - * - * @return This builder for chaining. - */ - public Builder setSuccess(boolean value) { - - success_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * bool success = 1; - * - * @return This builder for chaining. - */ - public Builder clearSuccess() { - bitField0_ = (bitField0_ & ~0x00000001); - success_ = false; - onChanged(); - return this; - } - - private java.lang.Object errMessage_ = ""; - - /** - * string err_message = 2; - * - * @return The errMessage. - */ - public java.lang.String getErrMessage() { - java.lang.Object ref = errMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - errMessage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string err_message = 2; - * - * @return The bytes for errMessage. - */ - public com.google.protobuf.ByteString getErrMessageBytes() { - java.lang.Object ref = errMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - errMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string err_message = 2; - * - * @param value - * The errMessage to set. - * - * @return This builder for chaining. - */ - public Builder setErrMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - errMessage_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string err_message = 2; - * - * @return This builder for chaining. - */ - public Builder clearErrMessage() { - errMessage_ = getDefaultInstance().getErrMessage(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string err_message = 2; - * - * @param value - * The bytes for errMessage to set. - * - * @return This builder for chaining. - */ - public Builder setErrMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - errMessage_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCode_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCode_Result) - private static final com.kcl.api.Spec.ValidateCode_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCode_Result(); - } - - public static com.kcl.api.Spec.ValidateCode_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateCode_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PositionOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Position) - com.google.protobuf.MessageOrBuilder { - - /** - * int64 line = 1; - * - * @return The line. - */ - long getLine(); - - /** - * int64 column = 2; - * - * @return The column. - */ - long getColumn(); - - /** - * string filename = 3; - * - * @return The filename. - */ - java.lang.String getFilename(); - - /** - * string filename = 3; - * - * @return The bytes for filename. - */ - com.google.protobuf.ByteString getFilenameBytes(); - } - - /** - * Protobuf type {@code com.kcl.api.Position} - */ - public static final class Position extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Position) - PositionOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Position.newBuilder() to construct. - private Position(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Position() { - filename_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Position(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Position_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Position.class, - com.kcl.api.Spec.Position.Builder.class); - } - - public static final int LINE_FIELD_NUMBER = 1; - private long line_ = 0L; - - /** - * int64 line = 1; - * - * @return The line. - */ - @java.lang.Override - public long getLine() { - return line_; - } - - public static final int COLUMN_FIELD_NUMBER = 2; - private long column_ = 0L; - - /** - * int64 column = 2; - * - * @return The column. - */ - @java.lang.Override - public long getColumn() { - return column_; - } - - public static final int FILENAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object filename_ = ""; - - /** - * string filename = 3; - * - * @return The filename. - */ - @java.lang.Override - public java.lang.String getFilename() { - java.lang.Object ref = filename_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filename_ = s; - return s; - } - } - - /** - * string filename = 3; - * - * @return The bytes for filename. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFilenameBytes() { - java.lang.Object ref = filename_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - filename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (line_ != 0L) { - output.writeInt64(1, line_); - } - if (column_ != 0L) { - output.writeInt64(2, column_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filename_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filename_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (line_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, line_); - } - if (column_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, column_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filename_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filename_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Position)) { - return super.equals(obj); - } - com.kcl.api.Spec.Position other = (com.kcl.api.Spec.Position) obj; - - if (getLine() != other.getLine()) - return false; - if (getColumn() != other.getColumn()) - return false; - if (!getFilename().equals(other.getFilename())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + LINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLine()); - hash = (37 * hash) + COLUMN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getColumn()); - hash = (37 * hash) + FILENAME_FIELD_NUMBER; - hash = (53 * hash) + getFilename().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Position parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Position parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Position parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Position parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Position parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Position parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Position parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Position 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 com.kcl.api.Spec.Position parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Position 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 com.kcl.api.Spec.Position parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Position parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Position prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Position} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Position) - com.kcl.api.Spec.PositionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Position_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Position.class, - com.kcl.api.Spec.Position.Builder.class); - } - - // Construct using com.kcl.api.Spec.Position.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - line_ = 0L; - column_ = 0L; - filename_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Position getDefaultInstanceForType() { - return com.kcl.api.Spec.Position.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Position build() { - com.kcl.api.Spec.Position result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Position buildPartial() { - com.kcl.api.Spec.Position result = new com.kcl.api.Spec.Position(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.Position result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.line_ = line_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.column_ = column_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.filename_ = filename_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Position) { - return mergeFrom((com.kcl.api.Spec.Position) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Position other) { - if (other == com.kcl.api.Spec.Position.getDefaultInstance()) - return this; - if (other.getLine() != 0L) { - setLine(other.getLine()); - } - if (other.getColumn() != 0L) { - setColumn(other.getColumn()); - } - if (!other.getFilename().isEmpty()) { - filename_ = other.filename_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - line_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - column_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - filename_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private long line_; - - /** - * int64 line = 1; - * - * @return The line. - */ - @java.lang.Override - public long getLine() { - return line_; - } - - /** - * int64 line = 1; - * - * @param value - * The line to set. - * - * @return This builder for chaining. - */ - public Builder setLine(long value) { - - line_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * int64 line = 1; - * - * @return This builder for chaining. - */ - public Builder clearLine() { - bitField0_ = (bitField0_ & ~0x00000001); - line_ = 0L; - onChanged(); - return this; - } - - private long column_; - - /** - * int64 column = 2; - * - * @return The column. - */ - @java.lang.Override - public long getColumn() { - return column_; - } - - /** - * int64 column = 2; - * - * @param value - * The column to set. - * - * @return This builder for chaining. - */ - public Builder setColumn(long value) { - - column_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * int64 column = 2; - * - * @return This builder for chaining. - */ - public Builder clearColumn() { - bitField0_ = (bitField0_ & ~0x00000002); - column_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object filename_ = ""; - - /** - * string filename = 3; - * - * @return The filename. - */ - public java.lang.String getFilename() { - java.lang.Object ref = filename_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filename_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string filename = 3; - * - * @return The bytes for filename. - */ - public com.google.protobuf.ByteString getFilenameBytes() { - java.lang.Object ref = filename_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - filename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string filename = 3; - * - * @param value - * The filename to set. - * - * @return This builder for chaining. - */ - public Builder setFilename(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - filename_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * string filename = 3; - * - * @return This builder for chaining. - */ - public Builder clearFilename() { - filename_ = getDefaultInstance().getFilename(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - * string filename = 3; - * - * @param value - * The bytes for filename to set. - * - * @return This builder for chaining. - */ - public Builder setFilenameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - filename_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Position) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Position) - private static final com.kcl.api.Spec.Position DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Position(); - } - - public static com.kcl.api.Spec.Position getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Position parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Position getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListDepFiles_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFiles_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string work_dir = 1; - * - * @return The workDir. - */ - java.lang.String getWorkDir(); - - /** - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - com.google.protobuf.ByteString getWorkDirBytes(); - - /** - * bool use_abs_path = 2; - * - * @return The useAbsPath. - */ - boolean getUseAbsPath(); - - /** - * bool include_all = 3; - * - * @return The includeAll. - */ - boolean getIncludeAll(); - - /** - * bool use_fast_parser = 4; - * - * @return The useFastParser. - */ - boolean getUseFastParser(); - } - - /** - * Protobuf type {@code com.kcl.api.ListDepFiles_Args} - */ - public static final class ListDepFiles_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFiles_Args) - ListDepFiles_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ListDepFiles_Args.newBuilder() to construct. - private ListDepFiles_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListDepFiles_Args() { - workDir_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListDepFiles_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListDepFiles_Args.class, - com.kcl.api.Spec.ListDepFiles_Args.Builder.class); - } - - public static final int WORK_DIR_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object workDir_ = ""; - - /** - * string work_dir = 1; - * - * @return The workDir. - */ - @java.lang.Override - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } - } - - /** - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - @java.lang.Override - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int USE_ABS_PATH_FIELD_NUMBER = 2; - private boolean useAbsPath_ = false; - - /** - * bool use_abs_path = 2; - * - * @return The useAbsPath. - */ - @java.lang.Override - public boolean getUseAbsPath() { - return useAbsPath_; - } - - public static final int INCLUDE_ALL_FIELD_NUMBER = 3; - private boolean includeAll_ = false; - - /** - * bool include_all = 3; - * - * @return The includeAll. - */ - @java.lang.Override - public boolean getIncludeAll() { - return includeAll_; - } - - public static final int USE_FAST_PARSER_FIELD_NUMBER = 4; - private boolean useFastParser_ = false; - - /** - * bool use_fast_parser = 4; - * - * @return The useFastParser. - */ - @java.lang.Override - public boolean getUseFastParser() { - return useFastParser_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workDir_); - } - if (useAbsPath_ != false) { - output.writeBool(2, useAbsPath_); - } - if (includeAll_ != false) { - output.writeBool(3, includeAll_); - } - if (useFastParser_ != false) { - output.writeBool(4, useFastParser_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workDir_); - } - if (useAbsPath_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useAbsPath_); - } - if (includeAll_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, includeAll_); - } - if (useFastParser_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, useFastParser_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListDepFiles_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListDepFiles_Args other = (com.kcl.api.Spec.ListDepFiles_Args) obj; - - if (!getWorkDir().equals(other.getWorkDir())) - return false; - if (getUseAbsPath() != other.getUseAbsPath()) - return false; - if (getIncludeAll() != other.getIncludeAll()) - return false; - if (getUseFastParser() != other.getUseFastParser()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; - hash = (53 * hash) + getWorkDir().hashCode(); - hash = (37 * hash) + USE_ABS_PATH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseAbsPath()); - hash = (37 * hash) + INCLUDE_ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAll()); - hash = (37 * hash) + USE_FAST_PARSER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseFastParser()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Args 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 com.kcl.api.Spec.ListDepFiles_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Args 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 com.kcl.api.Spec.ListDepFiles_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListDepFiles_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ListDepFiles_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFiles_Args) - com.kcl.api.Spec.ListDepFiles_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListDepFiles_Args.class, - com.kcl.api.Spec.ListDepFiles_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListDepFiles_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - workDir_ = ""; - useAbsPath_ = false; - includeAll_ = false; - useFastParser_ = false; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ListDepFiles_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args build() { - com.kcl.api.Spec.ListDepFiles_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args buildPartial() { - com.kcl.api.Spec.ListDepFiles_Args result = new com.kcl.api.Spec.ListDepFiles_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ListDepFiles_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.workDir_ = workDir_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.useAbsPath_ = useAbsPath_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.includeAll_ = includeAll_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.useFastParser_ = useFastParser_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListDepFiles_Args) { - return mergeFrom((com.kcl.api.Spec.ListDepFiles_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListDepFiles_Args other) { - if (other == com.kcl.api.Spec.ListDepFiles_Args.getDefaultInstance()) - return this; - if (!other.getWorkDir().isEmpty()) { - workDir_ = other.workDir_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.getUseAbsPath() != false) { - setUseAbsPath(other.getUseAbsPath()); - } - if (other.getIncludeAll() != false) { - setIncludeAll(other.getIncludeAll()); - } - if (other.getUseFastParser() != false) { - setUseFastParser(other.getUseFastParser()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - workDir_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - useAbsPath_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - includeAll_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - useFastParser_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object workDir_ = ""; - - /** - * string work_dir = 1; - * - * @return The workDir. - */ - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string work_dir = 1; - * - * @param value - * The workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDir(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string work_dir = 1; - * - * @return This builder for chaining. - */ - public Builder clearWorkDir() { - workDir_ = getDefaultInstance().getWorkDir(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string work_dir = 1; - * - * @param value - * The bytes for workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDirBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private boolean useAbsPath_; - - /** - * bool use_abs_path = 2; - * - * @return The useAbsPath. - */ - @java.lang.Override - public boolean getUseAbsPath() { - return useAbsPath_; - } - - /** - * bool use_abs_path = 2; - * - * @param value - * The useAbsPath to set. - * - * @return This builder for chaining. - */ - public Builder setUseAbsPath(boolean value) { - - useAbsPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * bool use_abs_path = 2; - * - * @return This builder for chaining. - */ - public Builder clearUseAbsPath() { - bitField0_ = (bitField0_ & ~0x00000002); - useAbsPath_ = false; - onChanged(); - return this; - } - - private boolean includeAll_; - - /** - * bool include_all = 3; - * - * @return The includeAll. - */ - @java.lang.Override - public boolean getIncludeAll() { - return includeAll_; - } - - /** - * bool include_all = 3; - * - * @param value - * The includeAll to set. - * - * @return This builder for chaining. - */ - public Builder setIncludeAll(boolean value) { - - includeAll_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * bool include_all = 3; - * - * @return This builder for chaining. - */ - public Builder clearIncludeAll() { - bitField0_ = (bitField0_ & ~0x00000004); - includeAll_ = false; - onChanged(); - return this; - } - - private boolean useFastParser_; - - /** - * bool use_fast_parser = 4; - * - * @return The useFastParser. - */ - @java.lang.Override - public boolean getUseFastParser() { - return useFastParser_; - } - - /** - * bool use_fast_parser = 4; - * - * @param value - * The useFastParser to set. - * - * @return This builder for chaining. - */ - public Builder setUseFastParser(boolean value) { - - useFastParser_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - * bool use_fast_parser = 4; - * - * @return This builder for chaining. - */ - public Builder clearUseFastParser() { - bitField0_ = (bitField0_ & ~0x00000008); - useFastParser_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFiles_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFiles_Args) - private static final com.kcl.api.Spec.ListDepFiles_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFiles_Args(); - } - - public static com.kcl.api.Spec.ListDepFiles_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDepFiles_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListDepFiles_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFiles_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * string pkgroot = 1; - * - * @return The pkgroot. - */ - java.lang.String getPkgroot(); - - /** - * string pkgroot = 1; - * - * @return The bytes for pkgroot. - */ - com.google.protobuf.ByteString getPkgrootBytes(); - - /** - * string pkgpath = 2; - * - * @return The pkgpath. - */ - java.lang.String getPkgpath(); - - /** - * string pkgpath = 2; - * - * @return The bytes for pkgpath. - */ - com.google.protobuf.ByteString getPkgpathBytes(); - - /** - * repeated string files = 3; - * - * @return A list containing the files. - */ - java.util.List getFilesList(); - - /** - * repeated string files = 3; - * - * @return The count of files. - */ - int getFilesCount(); - - /** - * repeated string files = 3; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - java.lang.String getFiles(int index); - - /** - * repeated string files = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - com.google.protobuf.ByteString getFilesBytes(int index); - } - - /** - * Protobuf type {@code com.kcl.api.ListDepFiles_Result} - */ - public static final class ListDepFiles_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFiles_Result) - ListDepFiles_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ListDepFiles_Result.newBuilder() to construct. - private ListDepFiles_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListDepFiles_Result() { - pkgroot_ = ""; - pkgpath_ = ""; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListDepFiles_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListDepFiles_Result.class, - com.kcl.api.Spec.ListDepFiles_Result.Builder.class); - } - - public static final int PKGROOT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object pkgroot_ = ""; - - /** - * string pkgroot = 1; - * - * @return The pkgroot. - */ - @java.lang.Override - public java.lang.String getPkgroot() { - java.lang.Object ref = pkgroot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgroot_ = s; - return s; - } - } - - /** - * string pkgroot = 1; - * - * @return The bytes for pkgroot. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPkgrootBytes() { - java.lang.Object ref = pkgroot_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pkgroot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PKGPATH_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object pkgpath_ = ""; - - /** - * string pkgpath = 2; - * - * @return The pkgpath. - */ - @java.lang.Override - public java.lang.String getPkgpath() { - java.lang.Object ref = pkgpath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgpath_ = s; - return s; - } - } - - /** - * string pkgpath = 2; - * - * @return The bytes for pkgpath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPkgpathBytes() { - java.lang.Object ref = pkgpath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pkgpath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - * repeated string files = 3; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - return files_; - } - - /** - * repeated string files = 3; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - * repeated string files = 3; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - * repeated string files = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgroot_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pkgroot_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgpath_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pkgpath_); - } - for (int i = 0; i < files_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, files_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgroot_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pkgroot_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgpath_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pkgpath_); - } - { - int dataSize = 0; - for (int i = 0; i < files_.size(); i++) { - dataSize += computeStringSizeNoTag(files_.getRaw(i)); - } - size += dataSize; - size += 1 * getFilesList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListDepFiles_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListDepFiles_Result other = (com.kcl.api.Spec.ListDepFiles_Result) obj; - - if (!getPkgroot().equals(other.getPkgroot())) - return false; - if (!getPkgpath().equals(other.getPkgpath())) - return false; - if (!getFilesList().equals(other.getFilesList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PKGROOT_FIELD_NUMBER; - hash = (53 * hash) + getPkgroot().hashCode(); - hash = (37 * hash) + PKGPATH_FIELD_NUMBER; - hash = (53 * hash) + getPkgpath().hashCode(); - if (getFilesCount() > 0) { - hash = (37 * hash) + FILES_FIELD_NUMBER; - hash = (53 * hash) + getFilesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Result 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 com.kcl.api.Spec.ListDepFiles_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Result 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 com.kcl.api.Spec.ListDepFiles_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListDepFiles_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.ListDepFiles_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFiles_Result) - com.kcl.api.Spec.ListDepFiles_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListDepFiles_Result.class, - com.kcl.api.Spec.ListDepFiles_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListDepFiles_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - pkgroot_ = ""; - pkgpath_ = ""; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListDepFiles_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result build() { - com.kcl.api.Spec.ListDepFiles_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result buildPartial() { - com.kcl.api.Spec.ListDepFiles_Result result = new com.kcl.api.Spec.ListDepFiles_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ListDepFiles_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.pkgroot_ = pkgroot_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.pkgpath_ = pkgpath_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - files_.makeImmutable(); - result.files_ = files_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListDepFiles_Result) { - return mergeFrom((com.kcl.api.Spec.ListDepFiles_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListDepFiles_Result other) { - if (other == com.kcl.api.Spec.ListDepFiles_Result.getDefaultInstance()) - return this; - if (!other.getPkgroot().isEmpty()) { - pkgroot_ = other.pkgroot_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getPkgpath().isEmpty()) { - pkgpath_ = other.pkgpath_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.files_.isEmpty()) { - if (files_.isEmpty()) { - files_ = other.files_; - bitField0_ |= 0x00000004; - } else { - ensureFilesIsMutable(); - files_.addAll(other.files_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - pkgroot_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - pkgpath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilesIsMutable(); - files_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object pkgroot_ = ""; - - /** - * string pkgroot = 1; - * - * @return The pkgroot. - */ - public java.lang.String getPkgroot() { - java.lang.Object ref = pkgroot_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgroot_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string pkgroot = 1; - * - * @return The bytes for pkgroot. - */ - public com.google.protobuf.ByteString getPkgrootBytes() { - java.lang.Object ref = pkgroot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgroot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string pkgroot = 1; - * - * @param value - * The pkgroot to set. - * - * @return This builder for chaining. - */ - public Builder setPkgroot(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgroot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string pkgroot = 1; - * - * @return This builder for chaining. - */ - public Builder clearPkgroot() { - pkgroot_ = getDefaultInstance().getPkgroot(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string pkgroot = 1; - * - * @param value - * The bytes for pkgroot to set. - * - * @return This builder for chaining. - */ - public Builder setPkgrootBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgroot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object pkgpath_ = ""; - - /** - * string pkgpath = 2; - * - * @return The pkgpath. - */ - public java.lang.String getPkgpath() { - java.lang.Object ref = pkgpath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgpath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string pkgpath = 2; - * - * @return The bytes for pkgpath. - */ - public com.google.protobuf.ByteString getPkgpathBytes() { - java.lang.Object ref = pkgpath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgpath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string pkgpath = 2; - * - * @param value - * The pkgpath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgpath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgpath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * string pkgpath = 2; - * - * @return This builder for chaining. - */ - public Builder clearPkgpath() { - pkgpath_ = getDefaultInstance().getPkgpath(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * string pkgpath = 2; - * - * @param value - * The bytes for pkgpath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgpathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgpath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureFilesIsMutable() { - if (!files_.isModifiable()) { - files_ = new com.google.protobuf.LazyStringArrayList(files_); - } - bitField0_ |= 0x00000004; - } - - /** - * repeated string files = 3; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - files_.makeImmutable(); - return files_; - } - - /** - * repeated string files = 3; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - * repeated string files = 3; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - * repeated string files = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - /** - * repeated string files = 3; - * - * @param index - * The index to set the value at. - * @param value - * The files to set. - * - * @return This builder for chaining. - */ - public Builder setFiles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * repeated string files = 3; - * - * @param value - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addFiles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * repeated string files = 3; - * - * @param values - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addAllFiles(java.lang.Iterable values) { - ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * repeated string files = 3; - * - * @return This builder for chaining. - */ - public Builder clearFiles() { - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; - } - - /** - * repeated string files = 3; - * - * @param value - * The bytes of the files to add. - * - * @return This builder for chaining. - */ - public Builder addFilesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFiles_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFiles_Result) - private static final com.kcl.api.Spec.ListDepFiles_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFiles_Result(); - } - - public static com.kcl.api.Spec.ListDepFiles_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDepFiles_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LoadSettingsFiles_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFiles_Args) - com.google.protobuf.MessageOrBuilder { - - /** - * string work_dir = 1; - * - * @return The workDir. - */ - java.lang.String getWorkDir(); - - /** - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - com.google.protobuf.ByteString getWorkDirBytes(); - - /** - * repeated string files = 2; - * - * @return A list containing the files. - */ - java.util.List getFilesList(); - - /** - * repeated string files = 2; - * - * @return The count of files. - */ - int getFilesCount(); - - /** - * repeated string files = 2; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - java.lang.String getFiles(int index); - - /** - * repeated string files = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - com.google.protobuf.ByteString getFilesBytes(int index); - } - - /** - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Args} - */ - public static final class LoadSettingsFiles_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFiles_Args) - LoadSettingsFiles_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use LoadSettingsFiles_Args.newBuilder() to construct. - private LoadSettingsFiles_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private LoadSettingsFiles_Args() { - workDir_ = ""; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LoadSettingsFiles_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadSettingsFiles_Args.class, - com.kcl.api.Spec.LoadSettingsFiles_Args.Builder.class); - } - - public static final int WORK_DIR_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object workDir_ = ""; - - /** - * string work_dir = 1; - * - * @return The workDir. - */ - @java.lang.Override - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } - } - - /** - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - @java.lang.Override - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - * repeated string files = 2; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - return files_; - } - - /** - * repeated string files = 2; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - * repeated string files = 2; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - * repeated string files = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workDir_); - } - for (int i = 0; i < files_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, files_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workDir_); - } - { - int dataSize = 0; - for (int i = 0; i < files_.size(); i++) { - dataSize += computeStringSizeNoTag(files_.getRaw(i)); - } - size += dataSize; - size += 1 * getFilesList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFiles_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.LoadSettingsFiles_Args other = (com.kcl.api.Spec.LoadSettingsFiles_Args) obj; - - if (!getWorkDir().equals(other.getWorkDir())) - return false; - if (!getFilesList().equals(other.getFilesList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; - hash = (53 * hash) + getWorkDir().hashCode(); - if (getFilesCount() > 0) { - hash = (37 * hash) + FILES_FIELD_NUMBER; - hash = (53 * hash) + getFilesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args 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 com.kcl.api.Spec.LoadSettingsFiles_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args 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 com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFiles_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFiles_Args) - com.kcl.api.Spec.LoadSettingsFiles_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadSettingsFiles_Args.class, - com.kcl.api.Spec.LoadSettingsFiles_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.LoadSettingsFiles_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - workDir_ = ""; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadSettingsFiles_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args build() { - com.kcl.api.Spec.LoadSettingsFiles_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args buildPartial() { - com.kcl.api.Spec.LoadSettingsFiles_Args result = new com.kcl.api.Spec.LoadSettingsFiles_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.LoadSettingsFiles_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.workDir_ = workDir_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - files_.makeImmutable(); - result.files_ = files_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadSettingsFiles_Args) { - return mergeFrom((com.kcl.api.Spec.LoadSettingsFiles_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFiles_Args other) { - if (other == com.kcl.api.Spec.LoadSettingsFiles_Args.getDefaultInstance()) - return this; - if (!other.getWorkDir().isEmpty()) { - workDir_ = other.workDir_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.files_.isEmpty()) { - if (files_.isEmpty()) { - files_ = other.files_; - bitField0_ |= 0x00000002; - } else { - ensureFilesIsMutable(); - files_.addAll(other.files_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - workDir_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilesIsMutable(); - files_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object workDir_ = ""; - - /** - * string work_dir = 1; - * - * @return The workDir. - */ - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * string work_dir = 1; - * - * @param value - * The workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDir(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * string work_dir = 1; - * - * @return This builder for chaining. - */ - public Builder clearWorkDir() { - workDir_ = getDefaultInstance().getWorkDir(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * string work_dir = 1; - * - * @param value - * The bytes for workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDirBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureFilesIsMutable() { - if (!files_.isModifiable()) { - files_ = new com.google.protobuf.LazyStringArrayList(files_); - } - bitField0_ |= 0x00000002; - } - - /** - * repeated string files = 2; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - files_.makeImmutable(); - return files_; - } - - /** - * repeated string files = 2; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - * repeated string files = 2; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - * repeated string files = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - /** - * repeated string files = 2; - * - * @param index - * The index to set the value at. - * @param value - * The files to set. - * - * @return This builder for chaining. - */ - public Builder setFiles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string files = 2; - * - * @param value - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addFiles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string files = 2; - * - * @param values - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addAllFiles(java.lang.Iterable values) { - ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * repeated string files = 2; - * - * @return This builder for chaining. - */ - public Builder clearFiles() { - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - * repeated string files = 2; - * - * @param value - * The bytes of the files to add. - * - * @return This builder for chaining. - */ - public Builder addFilesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + int getSymbolNodeMapCount(); + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + boolean containsSymbolNodeMap( + java.lang.String key); + /** + * Use {@link #getSymbolNodeMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSymbolNodeMap(); + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + java.util.Map + getSymbolNodeMapMap(); + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + /* nullable */ +java.lang.String getSymbolNodeMapOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + java.lang.String getSymbolNodeMapOrThrow( + java.lang.String key); - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + /** + *
+     * Map key is the fully_qualified_name e.g. `pkg.Name`
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + int getFullyQualifiedNameMapCount(); + /** + *
+     * Map key is the fully_qualified_name e.g. `pkg.Name`
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + boolean containsFullyQualifiedNameMap( + java.lang.String key); + /** + * Use {@link #getFullyQualifiedNameMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getFullyQualifiedNameMap(); + /** + *
+     * Map key is the fully_qualified_name e.g. `pkg.Name`
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + java.util.Map + getFullyQualifiedNameMapMap(); + /** + *
+     * Map key is the fully_qualified_name e.g. `pkg.Name`
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + /* nullable */ +com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue); + /** + *
+     * Map key is the fully_qualified_name e.g. `pkg.Name`
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow( + java.lang.String key); - // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFiles_Args) - } + /** + *
+     * Map key is the package path.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + int getPkgScopeMapCount(); + /** + *
+     * Map key is the package path.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + boolean containsPkgScopeMap( + java.lang.String key); + /** + * Use {@link #getPkgScopeMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getPkgScopeMap(); + /** + *
+     * Map key is the package path.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + java.util.Map + getPkgScopeMapMap(); + /** + *
+     * Map key is the package path.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + /* nullable */ +com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.ScopeIndex defaultValue); + /** + *
+     * Map key is the package path.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow( + java.lang.String key); + } + /** + * Protobuf type {@code com.kcl.api.LoadPackage_Result} + */ + public static final class LoadPackage_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackage_Result) + LoadPackage_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use LoadPackage_Result.newBuilder() to construct. + private LoadPackage_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LoadPackage_Result() { + program_ = ""; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + parseErrors_ = java.util.Collections.emptyList(); + typeErrors_ = java.util.Collections.emptyList(); + } - // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFiles_Args) - private static final com.kcl.api.Spec.LoadSettingsFiles_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFiles_Args(); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LoadPackage_Result(); + } - public static com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadSettingsFiles_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 5: + return internalGetScopes(); + case 6: + return internalGetSymbols(); + case 7: + return internalGetNodeSymbolMap(); + case 8: + return internalGetSymbolNodeMap(); + case 9: + return internalGetFullyQualifiedNameMap(); + case 10: + return internalGetPkgScopeMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadPackage_Result.class, com.kcl.api.Spec.LoadPackage_Result.Builder.class); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static final int PROGRAM_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object program_ = ""; + /** + *
+     * JSON string value
+     * 
+ * + * string program = 1; + * @return The program. + */ + @java.lang.Override + public java.lang.String getProgram() { + java.lang.Object ref = program_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + program_ = s; + return s; + } + } + /** + *
+     * JSON string value
+     * 
+ * + * string program = 1; + * @return The bytes for program. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getProgramBytes() { + java.lang.Object ref = program_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + program_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final int PATHS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_; + } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + public static final int PARSE_ERRORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List parseErrors_; + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public java.util.List getParseErrorsList() { + return parseErrors_; + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public java.util.List + getParseErrorsOrBuilderList() { + return parseErrors_; + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public int getParseErrorsCount() { + return parseErrors_.size(); + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getParseErrors(int index) { + return parseErrors_.get(index); + } + /** + *
+     * Parse errors
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index) { + return parseErrors_.get(index); + } + public static final int TYPE_ERRORS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List typeErrors_; + /** + *
+     * Type errors
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + @java.lang.Override + public java.util.List getTypeErrorsList() { + return typeErrors_; + } + /** + *
+     * Type errors
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + @java.lang.Override + public java.util.List + getTypeErrorsOrBuilderList() { + return typeErrors_; + } + /** + *
+     * Type errors
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + @java.lang.Override + public int getTypeErrorsCount() { + return typeErrors_.size(); } - - public interface LoadSettingsFiles_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFiles_Result) - com.google.protobuf.MessageOrBuilder { - - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return Whether the kclCliConfigs field is set. - */ - boolean hasKclCliConfigs(); - - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return The kclCliConfigs. - */ - com.kcl.api.Spec.CliConfig getKclCliConfigs(); - - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder(); - - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - java.util.List getKclOptionsList(); - - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - com.kcl.api.Spec.KeyValuePair getKclOptions(int index); - - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - int getKclOptionsCount(); - - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - java.util.List getKclOptionsOrBuilderList(); - - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder(int index); + /** + *
+     * Type errors
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getTypeErrors(int index) { + return typeErrors_.get(index); } - /** - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Result} + *
+     * Type errors
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; */ - public static final class LoadSettingsFiles_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFiles_Result) - LoadSettingsFiles_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use LoadSettingsFiles_Result.newBuilder() to construct. - private LoadSettingsFiles_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private LoadSettingsFiles_Result() { - kclOptions_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LoadSettingsFiles_Result(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadSettingsFiles_Result.class, - com.kcl.api.Spec.LoadSettingsFiles_Result.Builder.class); - } - - private int bitField0_; - public static final int KCL_CLI_CONFIGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.CliConfig kclCliConfigs_; - - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return Whether the kclCliConfigs field is set. - */ - @java.lang.Override - public boolean hasKclCliConfigs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return The kclCliConfigs. - */ - @java.lang.Override - public com.kcl.api.Spec.CliConfig getKclCliConfigs() { - return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; - } - - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder() { - return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; - } - - public static final int KCL_OPTIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List kclOptions_; - - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - @java.lang.Override - public java.util.List getKclOptionsList() { - return kclOptions_; - } + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder( + int index) { + return typeErrors_.get(index); + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - @java.lang.Override - public java.util.List getKclOptionsOrBuilderList() { - return kclOptions_; - } + public static final int SCOPES_FIELD_NUMBER = 5; + private static final class ScopesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.Scope> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.Scope.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.Scope> scopes_; + private com.google.protobuf.MapField + internalGetScopes() { + if (scopes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ScopesDefaultEntryHolder.defaultEntry); + } + return scopes_; + } + public int getScopesCount() { + return internalGetScopes().getMap().size(); + } + /** + *
+     * Map key is the ScopeIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public boolean containsScopes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetScopes().getMap().containsKey(key); + } + /** + * Use {@link #getScopesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getScopes() { + return getScopesMap(); + } + /** + *
+     * Map key is the ScopeIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public java.util.Map getScopesMap() { + return internalGetScopes().getMap(); + } + /** + *
+     * Map key is the ScopeIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Scope getScopesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Scope defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetScopes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map key is the ScopeIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.Scope getScopesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetScopes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - @java.lang.Override - public int getKclOptionsCount() { - return kclOptions_.size(); - } + public static final int SYMBOLS_FIELD_NUMBER = 6; + private static final class SymbolsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.Symbol> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.Symbol.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.Symbol> symbols_; + private com.google.protobuf.MapField + internalGetSymbols() { + if (symbols_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SymbolsDefaultEntryHolder.defaultEntry); + } + return symbols_; + } + public int getSymbolsCount() { + return internalGetSymbols().getMap().size(); + } + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public boolean containsSymbols( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSymbols().getMap().containsKey(key); + } + /** + * Use {@link #getSymbolsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSymbols() { + return getSymbolsMap(); + } + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public java.util.Map getSymbolsMap() { + return internalGetSymbols().getMap(); + } + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Symbol getSymbolsOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Symbol defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbols().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public com.kcl.api.Spec.Symbol getSymbolsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbols().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.KeyValuePair getKclOptions(int index) { - return kclOptions_.get(index); - } + public static final int NODE_SYMBOL_MAP_FIELD_NUMBER = 7; + private static final class NodeSymbolMapDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.SymbolIndex> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.SymbolIndex> nodeSymbolMap_; + private com.google.protobuf.MapField + internalGetNodeSymbolMap() { + if (nodeSymbolMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + NodeSymbolMapDefaultEntryHolder.defaultEntry); + } + return nodeSymbolMap_; + } + public int getNodeSymbolMapCount() { + return internalGetNodeSymbolMap().getMap().size(); + } + /** + *
+     * Map key is the AST index UUID string.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public boolean containsNodeSymbolMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetNodeSymbolMap().getMap().containsKey(key); + } + /** + * Use {@link #getNodeSymbolMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getNodeSymbolMap() { + return getNodeSymbolMapMap(); + } + /** + *
+     * Map key is the AST index UUID string.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public java.util.Map getNodeSymbolMapMap() { + return internalGetNodeSymbolMap().getMap(); + } + /** + *
+     * Map key is the AST index UUID string.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetNodeSymbolMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map key is the AST index UUID string.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetNodeSymbolMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder(int index) { - return kclOptions_.get(index); - } + public static final int SYMBOL_NODE_MAP_FIELD_NUMBER = 8; + private static final class SymbolNodeMapDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> symbolNodeMap_; + private com.google.protobuf.MapField + internalGetSymbolNodeMap() { + if (symbolNodeMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SymbolNodeMapDefaultEntryHolder.defaultEntry); + } + return symbolNodeMap_; + } + public int getSymbolNodeMapCount() { + return internalGetSymbolNodeMap().getMap().size(); + } + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public boolean containsSymbolNodeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSymbolNodeMap().getMap().containsKey(key); + } + /** + * Use {@link #getSymbolNodeMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSymbolNodeMap() { + return getSymbolNodeMapMap(); + } + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public java.util.Map getSymbolNodeMapMap() { + return internalGetSymbolNodeMap().getMap(); + } + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getSymbolNodeMapOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbolNodeMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map key is the SymbolIndex json string.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public java.lang.String getSymbolNodeMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbolNodeMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - private byte memoizedIsInitialized = -1; + public static final int FULLY_QUALIFIED_NAME_MAP_FIELD_NUMBER = 9; + private static final class FullyQualifiedNameMapDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.SymbolIndex> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.SymbolIndex> fullyQualifiedNameMap_; + private com.google.protobuf.MapField + internalGetFullyQualifiedNameMap() { + if (fullyQualifiedNameMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + FullyQualifiedNameMapDefaultEntryHolder.defaultEntry); + } + return fullyQualifiedNameMap_; + } + public int getFullyQualifiedNameMapCount() { + return internalGetFullyQualifiedNameMap().getMap().size(); + } + /** + *
+     * Map key is the fully_qualified_name e.g. `pkg.Name`
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public boolean containsFullyQualifiedNameMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetFullyQualifiedNameMap().getMap().containsKey(key); + } + /** + * Use {@link #getFullyQualifiedNameMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFullyQualifiedNameMap() { + return getFullyQualifiedNameMapMap(); + } + /** + *
+     * Map key is the fully_qualified_name e.g. `pkg.Name`
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public java.util.Map getFullyQualifiedNameMapMap() { + return internalGetFullyQualifiedNameMap().getMap(); + } + /** + *
+     * Map key is the fully_qualified_name e.g. `pkg.Name`
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetFullyQualifiedNameMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map key is the fully_qualified_name e.g. `pkg.Name`
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetFullyQualifiedNameMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static final int PKG_SCOPE_MAP_FIELD_NUMBER = 10; + private static final class PkgScopeMapDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.ScopeIndex> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.ScopeIndex> pkgScopeMap_; + private com.google.protobuf.MapField + internalGetPkgScopeMap() { + if (pkgScopeMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + PkgScopeMapDefaultEntryHolder.defaultEntry); + } + return pkgScopeMap_; + } + public int getPkgScopeMapCount() { + return internalGetPkgScopeMap().getMap().size(); + } + /** + *
+     * Map key is the package path.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public boolean containsPkgScopeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetPkgScopeMap().getMap().containsKey(key); + } + /** + * Use {@link #getPkgScopeMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getPkgScopeMap() { + return getPkgScopeMapMap(); + } + /** + *
+     * Map key is the package path.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public java.util.Map getPkgScopeMapMap() { + return internalGetPkgScopeMap().getMap(); + } + /** + *
+     * Map key is the package path.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.ScopeIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPkgScopeMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map key is the package path.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPkgScopeMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - memoizedIsInitialized = 1; - return true; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getKclCliConfigs()); - } - for (int i = 0; i < kclOptions_.size(); i++) { - output.writeMessage(2, kclOptions_.get(i)); - } - getUnknownFields().writeTo(output); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getKclCliConfigs()); - } - for (int i = 0; i < kclOptions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, kclOptions_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(program_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, program_); + } + for (int i = 0; i < paths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, paths_.getRaw(i)); + } + for (int i = 0; i < parseErrors_.size(); i++) { + output.writeMessage(3, parseErrors_.get(i)); + } + for (int i = 0; i < typeErrors_.size(); i++) { + output.writeMessage(4, typeErrors_.get(i)); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetScopes(), + ScopesDefaultEntryHolder.defaultEntry, + 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetSymbols(), + SymbolsDefaultEntryHolder.defaultEntry, + 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetNodeSymbolMap(), + NodeSymbolMapDefaultEntryHolder.defaultEntry, + 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetSymbolNodeMap(), + SymbolNodeMapDefaultEntryHolder.defaultEntry, + 8); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetFullyQualifiedNameMap(), + FullyQualifiedNameMapDefaultEntryHolder.defaultEntry, + 9); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetPkgScopeMap(), + PkgScopeMapDefaultEntryHolder.defaultEntry, + 10); + getUnknownFields().writeTo(output); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFiles_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.LoadSettingsFiles_Result other = (com.kcl.api.Spec.LoadSettingsFiles_Result) obj; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(program_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, program_); + } + { + int dataSize = 0; + for (int i = 0; i < paths_.size(); i++) { + dataSize += computeStringSizeNoTag(paths_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathsList().size(); + } + for (int i = 0; i < parseErrors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, parseErrors_.get(i)); + } + for (int i = 0; i < typeErrors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, typeErrors_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetScopes().getMap().entrySet()) { + com.google.protobuf.MapEntry + scopes__ = ScopesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, scopes__); + } + for (java.util.Map.Entry entry + : internalGetSymbols().getMap().entrySet()) { + com.google.protobuf.MapEntry + symbols__ = SymbolsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, symbols__); + } + for (java.util.Map.Entry entry + : internalGetNodeSymbolMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + nodeSymbolMap__ = NodeSymbolMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, nodeSymbolMap__); + } + for (java.util.Map.Entry entry + : internalGetSymbolNodeMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + symbolNodeMap__ = SymbolNodeMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, symbolNodeMap__); + } + for (java.util.Map.Entry entry + : internalGetFullyQualifiedNameMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + fullyQualifiedNameMap__ = FullyQualifiedNameMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, fullyQualifiedNameMap__); + } + for (java.util.Map.Entry entry + : internalGetPkgScopeMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + pkgScopeMap__ = PkgScopeMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, pkgScopeMap__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - if (hasKclCliConfigs() != other.hasKclCliConfigs()) - return false; - if (hasKclCliConfigs()) { - if (!getKclCliConfigs().equals(other.getKclCliConfigs())) - return false; - } - if (!getKclOptionsList().equals(other.getKclOptionsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LoadPackage_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.LoadPackage_Result other = (com.kcl.api.Spec.LoadPackage_Result) obj; + + if (!getProgram() + .equals(other.getProgram())) return false; + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (!getParseErrorsList() + .equals(other.getParseErrorsList())) return false; + if (!getTypeErrorsList() + .equals(other.getTypeErrorsList())) return false; + if (!internalGetScopes().equals( + other.internalGetScopes())) return false; + if (!internalGetSymbols().equals( + other.internalGetSymbols())) return false; + if (!internalGetNodeSymbolMap().equals( + other.internalGetNodeSymbolMap())) return false; + if (!internalGetSymbolNodeMap().equals( + other.internalGetSymbolNodeMap())) return false; + if (!internalGetFullyQualifiedNameMap().equals( + other.internalGetFullyQualifiedNameMap())) return false; + if (!internalGetPkgScopeMap().equals( + other.internalGetPkgScopeMap())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasKclCliConfigs()) { - hash = (37 * hash) + KCL_CLI_CONFIGS_FIELD_NUMBER; - hash = (53 * hash) + getKclCliConfigs().hashCode(); - } - if (getKclOptionsCount() > 0) { - hash = (37 * hash) + KCL_OPTIONS_FIELD_NUMBER; - hash = (53 * hash) + getKclOptionsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROGRAM_FIELD_NUMBER; + hash = (53 * hash) + getProgram().hashCode(); + if (getPathsCount() > 0) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPathsList().hashCode(); + } + if (getParseErrorsCount() > 0) { + hash = (37 * hash) + PARSE_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getParseErrorsList().hashCode(); + } + if (getTypeErrorsCount() > 0) { + hash = (37 * hash) + TYPE_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getTypeErrorsList().hashCode(); + } + if (!internalGetScopes().getMap().isEmpty()) { + hash = (37 * hash) + SCOPES_FIELD_NUMBER; + hash = (53 * hash) + internalGetScopes().hashCode(); + } + if (!internalGetSymbols().getMap().isEmpty()) { + hash = (37 * hash) + SYMBOLS_FIELD_NUMBER; + hash = (53 * hash) + internalGetSymbols().hashCode(); + } + if (!internalGetNodeSymbolMap().getMap().isEmpty()) { + hash = (37 * hash) + NODE_SYMBOL_MAP_FIELD_NUMBER; + hash = (53 * hash) + internalGetNodeSymbolMap().hashCode(); + } + if (!internalGetSymbolNodeMap().getMap().isEmpty()) { + hash = (37 * hash) + SYMBOL_NODE_MAP_FIELD_NUMBER; + hash = (53 * hash) + internalGetSymbolNodeMap().hashCode(); + } + if (!internalGetFullyQualifiedNameMap().getMap().isEmpty()) { + hash = (37 * hash) + FULLY_QUALIFIED_NAME_MAP_FIELD_NUMBER; + hash = (53 * hash) + internalGetFullyQualifiedNameMap().hashCode(); + } + if (!internalGetPkgScopeMap().getMap().isEmpty()) { + hash = (37 * hash) + PKG_SCOPE_MAP_FIELD_NUMBER; + hash = (53 * hash) + internalGetPkgScopeMap().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackage_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackage_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadPackage_Result 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 com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.LoadPackage_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.LoadPackage_Result 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 com.kcl.api.Spec.LoadPackage_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LoadPackage_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.LoadPackage_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackage_Result) + com.kcl.api.Spec.LoadPackage_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 5: + return internalGetScopes(); + case 6: + return internalGetSymbols(); + case 7: + return internalGetNodeSymbolMap(); + case 8: + return internalGetSymbolNodeMap(); + case 9: + return internalGetFullyQualifiedNameMap(); + case 10: + return internalGetPkgScopeMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 5: + return internalGetMutableScopes(); + case 6: + return internalGetMutableSymbols(); + case 7: + return internalGetMutableNodeSymbolMap(); + case 8: + return internalGetMutableSymbolNodeMap(); + case 9: + return internalGetMutableFullyQualifiedNameMap(); + case 10: + return internalGetMutablePkgScopeMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadPackage_Result.class, com.kcl.api.Spec.LoadPackage_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.LoadPackage_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + program_ = ""; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (parseErrorsBuilder_ == null) { + parseErrors_ = java.util.Collections.emptyList(); + } else { + parseErrors_ = null; + parseErrorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + if (typeErrorsBuilder_ == null) { + typeErrors_ = java.util.Collections.emptyList(); + } else { + typeErrors_ = null; + typeErrorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + internalGetMutableScopes().clear(); + internalGetMutableSymbols().clear(); + internalGetMutableNodeSymbolMap().clear(); + internalGetMutableSymbolNodeMap().clear(); + internalGetMutableFullyQualifiedNameMap().clear(); + internalGetMutablePkgScopeMap().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackage_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadPackage_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackage_Result build() { + com.kcl.api.Spec.LoadPackage_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackage_Result buildPartial() { + com.kcl.api.Spec.LoadPackage_Result result = new com.kcl.api.Spec.LoadPackage_Result(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadPackage_Result result) { + if (parseErrorsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.parseErrors_ = parseErrors_; + } else { + result.parseErrors_ = parseErrorsBuilder_.build(); + } + if (typeErrorsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + typeErrors_ = java.util.Collections.unmodifiableList(typeErrors_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.typeErrors_ = typeErrors_; + } else { + result.typeErrors_ = typeErrorsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.LoadPackage_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.program_ = program_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + paths_.makeImmutable(); + result.paths_ = paths_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.scopes_ = internalGetScopes().build(ScopesDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.symbols_ = internalGetSymbols().build(SymbolsDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.nodeSymbolMap_ = internalGetNodeSymbolMap().build(NodeSymbolMapDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.symbolNodeMap_ = internalGetSymbolNodeMap(); + result.symbolNodeMap_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.fullyQualifiedNameMap_ = internalGetFullyQualifiedNameMap().build(FullyQualifiedNameMapDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.pkgScopeMap_ = internalGetPkgScopeMap().build(PkgScopeMapDefaultEntryHolder.defaultEntry); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LoadPackage_Result) { + return mergeFrom((com.kcl.api.Spec.LoadPackage_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LoadPackage_Result other) { + if (other == com.kcl.api.Spec.LoadPackage_Result.getDefaultInstance()) return this; + if (!other.getProgram().isEmpty()) { + program_ = other.program_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.paths_.isEmpty()) { + if (paths_.isEmpty()) { + paths_ = other.paths_; + bitField0_ |= 0x00000002; + } else { + ensurePathsIsMutable(); + paths_.addAll(other.paths_); + } + onChanged(); + } + if (parseErrorsBuilder_ == null) { + if (!other.parseErrors_.isEmpty()) { + if (parseErrors_.isEmpty()) { + parseErrors_ = other.parseErrors_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureParseErrorsIsMutable(); + parseErrors_.addAll(other.parseErrors_); + } + onChanged(); + } + } else { + if (!other.parseErrors_.isEmpty()) { + if (parseErrorsBuilder_.isEmpty()) { + parseErrorsBuilder_.dispose(); + parseErrorsBuilder_ = null; + parseErrors_ = other.parseErrors_; + bitField0_ = (bitField0_ & ~0x00000004); + parseErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getParseErrorsFieldBuilder() : null; + } else { + parseErrorsBuilder_.addAllMessages(other.parseErrors_); + } + } } + if (typeErrorsBuilder_ == null) { + if (!other.typeErrors_.isEmpty()) { + if (typeErrors_.isEmpty()) { + typeErrors_ = other.typeErrors_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureTypeErrorsIsMutable(); + typeErrors_.addAll(other.typeErrors_); + } + onChanged(); + } + } else { + if (!other.typeErrors_.isEmpty()) { + if (typeErrorsBuilder_.isEmpty()) { + typeErrorsBuilder_.dispose(); + typeErrorsBuilder_ = null; + typeErrors_ = other.typeErrors_; + bitField0_ = (bitField0_ & ~0x00000008); + typeErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTypeErrorsFieldBuilder() : null; + } else { + typeErrorsBuilder_.addAllMessages(other.typeErrors_); + } + } + } + internalGetMutableScopes().mergeFrom( + other.internalGetScopes()); + bitField0_ |= 0x00000010; + internalGetMutableSymbols().mergeFrom( + other.internalGetSymbols()); + bitField0_ |= 0x00000020; + internalGetMutableNodeSymbolMap().mergeFrom( + other.internalGetNodeSymbolMap()); + bitField0_ |= 0x00000040; + internalGetMutableSymbolNodeMap().mergeFrom( + other.internalGetSymbolNodeMap()); + bitField0_ |= 0x00000080; + internalGetMutableFullyQualifiedNameMap().mergeFrom( + other.internalGetFullyQualifiedNameMap()); + bitField0_ |= 0x00000100; + internalGetMutablePkgScopeMap().mergeFrom( + other.internalGetPkgScopeMap()); + bitField0_ |= 0x00000200; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + program_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathsIsMutable(); + paths_.add(s); + break; + } // case 18 + case 26: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(m); + } else { + parseErrorsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + typeErrors_.add(m); + } else { + typeErrorsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.google.protobuf.MapEntry + scopes__ = input.readMessage( + ScopesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableScopes().ensureBuilderMap().put( + scopes__.getKey(), scopes__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + symbols__ = input.readMessage( + SymbolsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSymbols().ensureBuilderMap().put( + symbols__.getKey(), symbols__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + com.google.protobuf.MapEntry + nodeSymbolMap__ = input.readMessage( + NodeSymbolMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableNodeSymbolMap().ensureBuilderMap().put( + nodeSymbolMap__.getKey(), nodeSymbolMap__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + com.google.protobuf.MapEntry + symbolNodeMap__ = input.readMessage( + SymbolNodeMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSymbolNodeMap().getMutableMap().put( + symbolNodeMap__.getKey(), symbolNodeMap__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + com.google.protobuf.MapEntry + fullyQualifiedNameMap__ = input.readMessage( + FullyQualifiedNameMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableFullyQualifiedNameMap().ensureBuilderMap().put( + fullyQualifiedNameMap__.getKey(), fullyQualifiedNameMap__.getValue()); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + com.google.protobuf.MapEntry + pkgScopeMap__ = input.readMessage( + PkgScopeMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutablePkgScopeMap().ensureBuilderMap().put( + pkgScopeMap__.getKey(), pkgScopeMap__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object program_ = ""; + /** + *
+       * JSON string value
+       * 
+ * + * string program = 1; + * @return The program. + */ + public java.lang.String getProgram() { + java.lang.Object ref = program_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + program_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * JSON string value
+       * 
+ * + * string program = 1; + * @return The bytes for program. + */ + public com.google.protobuf.ByteString + getProgramBytes() { + java.lang.Object ref = program_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + program_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * JSON string value
+       * 
+ * + * string program = 1; + * @param value The program to set. + * @return This builder for chaining. + */ + public Builder setProgram( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + program_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * JSON string value
+       * 
+ * + * string program = 1; + * @return This builder for chaining. + */ + public Builder clearProgram() { + program_ = getDefaultInstance().getProgram(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * JSON string value
+       * 
+ * + * string program = 1; + * @param value The bytes for program to set. + * @return This builder for chaining. + */ + public Builder setProgramBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + program_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathsIsMutable() { + if (!paths_.isModifiable()) { + paths_ = new com.google.protobuf.LazyStringArrayList(paths_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + paths_.makeImmutable(); + return paths_; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param index The index to set the value at. + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param value The paths to add. + * @return This builder for chaining. + */ + public Builder addPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param values The paths to add. + * @return This builder for chaining. + */ + public Builder addAllPaths( + java.lang.Iterable values) { + ensurePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @return This builder for chaining. + */ + public Builder clearPaths() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated string paths = 2; + * @param value The bytes of the paths to add. + * @return This builder for chaining. + */ + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List parseErrors_ = + java.util.Collections.emptyList(); + private void ensureParseErrorsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + parseErrors_ = new java.util.ArrayList(parseErrors_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> parseErrorsBuilder_; + + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public java.util.List getParseErrorsList() { + if (parseErrorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(parseErrors_); + } else { + return parseErrorsBuilder_.getMessageList(); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public int getParseErrorsCount() { + if (parseErrorsBuilder_ == null) { + return parseErrors_.size(); + } else { + return parseErrorsBuilder_.getCount(); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error getParseErrors(int index) { + if (parseErrorsBuilder_ == null) { + return parseErrors_.get(index); + } else { + return parseErrorsBuilder_.getMessage(index); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder setParseErrors( + int index, com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.set(index, value); + onChanged(); + } else { + parseErrorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder setParseErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.set(index, builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors(com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.add(value); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors( + int index, com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.add(index, value); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(index, builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addAllParseErrors( + java.lang.Iterable values) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parseErrors_); + onChanged(); + } else { + parseErrorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder clearParseErrors() { + if (parseErrorsBuilder_ == null) { + parseErrors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + parseErrorsBuilder_.clear(); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder removeParseErrors(int index) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.remove(index); + onChanged(); + } else { + parseErrorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder( + int index) { + return getParseErrorsFieldBuilder().getBuilder(index); + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index) { + if (parseErrorsBuilder_ == null) { + return parseErrors_.get(index); } else { + return parseErrorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public java.util.List + getParseErrorsOrBuilderList() { + if (parseErrorsBuilder_ != null) { + return parseErrorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(parseErrors_); + } + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() { + return getParseErrorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder( + int index) { + return getParseErrorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * Parse errors
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public java.util.List + getParseErrorsBuilderList() { + return getParseErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + getParseErrorsFieldBuilder() { + if (parseErrorsBuilder_ == null) { + parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + parseErrors_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + parseErrors_ = null; + } + return parseErrorsBuilder_; + } + + private java.util.List typeErrors_ = + java.util.Collections.emptyList(); + private void ensureTypeErrorsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + typeErrors_ = new java.util.ArrayList(typeErrors_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> typeErrorsBuilder_; + + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public java.util.List getTypeErrorsList() { + if (typeErrorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(typeErrors_); + } else { + return typeErrorsBuilder_.getMessageList(); + } + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public int getTypeErrorsCount() { + if (typeErrorsBuilder_ == null) { + return typeErrors_.size(); + } else { + return typeErrorsBuilder_.getCount(); + } + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public com.kcl.api.Spec.Error getTypeErrors(int index) { + if (typeErrorsBuilder_ == null) { + return typeErrors_.get(index); + } else { + return typeErrorsBuilder_.getMessage(index); + } + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder setTypeErrors( + int index, com.kcl.api.Spec.Error value) { + if (typeErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTypeErrorsIsMutable(); + typeErrors_.set(index, value); + onChanged(); + } else { + typeErrorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder setTypeErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + typeErrors_.set(index, builderForValue.build()); + onChanged(); + } else { + typeErrorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder addTypeErrors(com.kcl.api.Spec.Error value) { + if (typeErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTypeErrorsIsMutable(); + typeErrors_.add(value); + onChanged(); + } else { + typeErrorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder addTypeErrors( + int index, com.kcl.api.Spec.Error value) { + if (typeErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTypeErrorsIsMutable(); + typeErrors_.add(index, value); + onChanged(); + } else { + typeErrorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder addTypeErrors( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + typeErrors_.add(builderForValue.build()); + onChanged(); + } else { + typeErrorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder addTypeErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + typeErrors_.add(index, builderForValue.build()); + onChanged(); + } else { + typeErrorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder addAllTypeErrors( + java.lang.Iterable values) { + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, typeErrors_); + onChanged(); + } else { + typeErrorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder clearTypeErrors() { + if (typeErrorsBuilder_ == null) { + typeErrors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + typeErrorsBuilder_.clear(); + } + return this; + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder removeTypeErrors(int index) { + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + typeErrors_.remove(index); + onChanged(); + } else { + typeErrorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public com.kcl.api.Spec.Error.Builder getTypeErrorsBuilder( + int index) { + return getTypeErrorsFieldBuilder().getBuilder(index); + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder( + int index) { + if (typeErrorsBuilder_ == null) { + return typeErrors_.get(index); } else { + return typeErrorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public java.util.List + getTypeErrorsOrBuilderList() { + if (typeErrorsBuilder_ != null) { + return typeErrorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(typeErrors_); + } + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder() { + return getTypeErrorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder( + int index) { + return getTypeErrorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * Type errors
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public java.util.List + getTypeErrorsBuilderList() { + return getTypeErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + getTypeErrorsFieldBuilder() { + if (typeErrorsBuilder_ == null) { + typeErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + typeErrors_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + typeErrors_ = null; + } + return typeErrorsBuilder_; + } + + private static final class ScopesConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.Scope build(com.kcl.api.Spec.ScopeOrBuilder val) { + if (val instanceof com.kcl.api.Spec.Scope) { return (com.kcl.api.Spec.Scope) val; } + return ((com.kcl.api.Spec.Scope.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return ScopesDefaultEntryHolder.defaultEntry; + } + }; + private static final ScopesConverter scopesConverter = new ScopesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.ScopeOrBuilder, com.kcl.api.Spec.Scope, com.kcl.api.Spec.Scope.Builder> scopes_; + private com.google.protobuf.MapFieldBuilder + internalGetScopes() { + if (scopes_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(scopesConverter); + } + return scopes_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableScopes() { + if (scopes_ == null) { + scopes_ = new com.google.protobuf.MapFieldBuilder<>(scopesConverter); + } + bitField0_ |= 0x00000010; + onChanged(); + return scopes_; + } + public int getScopesCount() { + return internalGetScopes().ensureBuilderMap().size(); + } + /** + *
+       * Map key is the ScopeIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public boolean containsScopes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetScopes().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getScopesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getScopes() { + return getScopesMap(); + } + /** + *
+       * Map key is the ScopeIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public java.util.Map getScopesMap() { + return internalGetScopes().getImmutableMap(); + } + /** + *
+       * Map key is the ScopeIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Scope getScopesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Scope defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableScopes().ensureBuilderMap(); + return map.containsKey(key) ? scopesConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map key is the ScopeIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.Scope getScopesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableScopes().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return scopesConverter.build(map.get(key)); + } + public Builder clearScopes() { + bitField0_ = (bitField0_ & ~0x00000010); + internalGetMutableScopes().clear(); + return this; + } + /** + *
+       * Map key is the ScopeIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + public Builder removeScopes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableScopes().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableScopes() { + bitField0_ |= 0x00000010; + return internalGetMutableScopes().ensureMessageMap(); + } + /** + *
+       * Map key is the ScopeIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + public Builder putScopes( + java.lang.String key, + com.kcl.api.Spec.Scope value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableScopes().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000010; + return this; + } + /** + *
+       * Map key is the ScopeIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + public Builder putAllScopes( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableScopes().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000010; + return this; + } + /** + *
+       * Map key is the ScopeIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + public com.kcl.api.Spec.Scope.Builder putScopesBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableScopes().ensureBuilderMap(); + com.kcl.api.Spec.ScopeOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.Scope.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.Scope) { + entry = ((com.kcl.api.Spec.Scope) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.Scope.Builder) entry; + } + + private static final class SymbolsConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.Symbol build(com.kcl.api.Spec.SymbolOrBuilder val) { + if (val instanceof com.kcl.api.Spec.Symbol) { return (com.kcl.api.Spec.Symbol) val; } + return ((com.kcl.api.Spec.Symbol.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return SymbolsDefaultEntryHolder.defaultEntry; + } + }; + private static final SymbolsConverter symbolsConverter = new SymbolsConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.SymbolOrBuilder, com.kcl.api.Spec.Symbol, com.kcl.api.Spec.Symbol.Builder> symbols_; + private com.google.protobuf.MapFieldBuilder + internalGetSymbols() { + if (symbols_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(symbolsConverter); + } + return symbols_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableSymbols() { + if (symbols_ == null) { + symbols_ = new com.google.protobuf.MapFieldBuilder<>(symbolsConverter); + } + bitField0_ |= 0x00000020; + onChanged(); + return symbols_; + } + public int getSymbolsCount() { + return internalGetSymbols().ensureBuilderMap().size(); + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public boolean containsSymbols( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSymbols().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getSymbolsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSymbols() { + return getSymbolsMap(); + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public java.util.Map getSymbolsMap() { + return internalGetSymbols().getImmutableMap(); + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Symbol getSymbolsOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Symbol defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSymbols().ensureBuilderMap(); + return map.containsKey(key) ? symbolsConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public com.kcl.api.Spec.Symbol getSymbolsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSymbols().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return symbolsConverter.build(map.get(key)); + } + public Builder clearSymbols() { + bitField0_ = (bitField0_ & ~0x00000020); + internalGetMutableSymbols().clear(); + return this; + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + public Builder removeSymbols( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSymbols().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSymbols() { + bitField0_ |= 0x00000020; + return internalGetMutableSymbols().ensureMessageMap(); + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + public Builder putSymbols( + java.lang.String key, + com.kcl.api.Spec.Symbol value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSymbols().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000020; + return this; + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + public Builder putAllSymbols( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableSymbols().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000020; + return this; + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + public com.kcl.api.Spec.Symbol.Builder putSymbolsBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableSymbols().ensureBuilderMap(); + com.kcl.api.Spec.SymbolOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.Symbol.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.Symbol) { + entry = ((com.kcl.api.Spec.Symbol) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.Symbol.Builder) entry; + } + + private static final class NodeSymbolMapConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex build(com.kcl.api.Spec.SymbolIndexOrBuilder val) { + if (val instanceof com.kcl.api.Spec.SymbolIndex) { return (com.kcl.api.Spec.SymbolIndex) val; } + return ((com.kcl.api.Spec.SymbolIndex.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return NodeSymbolMapDefaultEntryHolder.defaultEntry; + } + }; + private static final NodeSymbolMapConverter nodeSymbolMapConverter = new NodeSymbolMapConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.SymbolIndexOrBuilder, com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder> nodeSymbolMap_; + private com.google.protobuf.MapFieldBuilder + internalGetNodeSymbolMap() { + if (nodeSymbolMap_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(nodeSymbolMapConverter); + } + return nodeSymbolMap_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableNodeSymbolMap() { + if (nodeSymbolMap_ == null) { + nodeSymbolMap_ = new com.google.protobuf.MapFieldBuilder<>(nodeSymbolMapConverter); + } + bitField0_ |= 0x00000040; + onChanged(); + return nodeSymbolMap_; + } + public int getNodeSymbolMapCount() { + return internalGetNodeSymbolMap().ensureBuilderMap().size(); + } + /** + *
+       * Map key is the AST index UUID string.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public boolean containsNodeSymbolMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetNodeSymbolMap().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getNodeSymbolMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getNodeSymbolMap() { + return getNodeSymbolMapMap(); + } + /** + *
+       * Map key is the AST index UUID string.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public java.util.Map getNodeSymbolMapMap() { + return internalGetNodeSymbolMap().getImmutableMap(); + } + /** + *
+       * Map key is the AST index UUID string.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableNodeSymbolMap().ensureBuilderMap(); + return map.containsKey(key) ? nodeSymbolMapConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map key is the AST index UUID string.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableNodeSymbolMap().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return nodeSymbolMapConverter.build(map.get(key)); + } + public Builder clearNodeSymbolMap() { + bitField0_ = (bitField0_ & ~0x00000040); + internalGetMutableNodeSymbolMap().clear(); + return this; + } + /** + *
+       * Map key is the AST index UUID string.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + public Builder removeNodeSymbolMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableNodeSymbolMap().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableNodeSymbolMap() { + bitField0_ |= 0x00000040; + return internalGetMutableNodeSymbolMap().ensureMessageMap(); + } + /** + *
+       * Map key is the AST index UUID string.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + public Builder putNodeSymbolMap( + java.lang.String key, + com.kcl.api.Spec.SymbolIndex value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableNodeSymbolMap().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000040; + return this; + } + /** + *
+       * Map key is the AST index UUID string.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + public Builder putAllNodeSymbolMap( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableNodeSymbolMap().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000040; + return this; + } + /** + *
+       * Map key is the AST index UUID string.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + public com.kcl.api.Spec.SymbolIndex.Builder putNodeSymbolMapBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableNodeSymbolMap().ensureBuilderMap(); + com.kcl.api.Spec.SymbolIndexOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.SymbolIndex.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.SymbolIndex) { + entry = ((com.kcl.api.Spec.SymbolIndex) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.SymbolIndex.Builder) entry; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> symbolNodeMap_; + private com.google.protobuf.MapField + internalGetSymbolNodeMap() { + if (symbolNodeMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SymbolNodeMapDefaultEntryHolder.defaultEntry); + } + return symbolNodeMap_; + } + private com.google.protobuf.MapField + internalGetMutableSymbolNodeMap() { + if (symbolNodeMap_ == null) { + symbolNodeMap_ = com.google.protobuf.MapField.newMapField( + SymbolNodeMapDefaultEntryHolder.defaultEntry); + } + if (!symbolNodeMap_.isMutable()) { + symbolNodeMap_ = symbolNodeMap_.copy(); + } + bitField0_ |= 0x00000080; + onChanged(); + return symbolNodeMap_; + } + public int getSymbolNodeMapCount() { + return internalGetSymbolNodeMap().getMap().size(); + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public boolean containsSymbolNodeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSymbolNodeMap().getMap().containsKey(key); + } + /** + * Use {@link #getSymbolNodeMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSymbolNodeMap() { + return getSymbolNodeMapMap(); + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public java.util.Map getSymbolNodeMapMap() { + return internalGetSymbolNodeMap().getMap(); + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getSymbolNodeMapOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbolNodeMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public java.lang.String getSymbolNodeMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbolNodeMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearSymbolNodeMap() { + bitField0_ = (bitField0_ & ~0x00000080); + internalGetMutableSymbolNodeMap().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + public Builder removeSymbolNodeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSymbolNodeMap().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSymbolNodeMap() { + bitField0_ |= 0x00000080; + return internalGetMutableSymbolNodeMap().getMutableMap(); + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + public Builder putSymbolNodeMap( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSymbolNodeMap().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000080; + return this; + } + /** + *
+       * Map key is the SymbolIndex json string.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + public Builder putAllSymbolNodeMap( + java.util.Map values) { + internalGetMutableSymbolNodeMap().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000080; + return this; + } + + private static final class FullyQualifiedNameMapConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex build(com.kcl.api.Spec.SymbolIndexOrBuilder val) { + if (val instanceof com.kcl.api.Spec.SymbolIndex) { return (com.kcl.api.Spec.SymbolIndex) val; } + return ((com.kcl.api.Spec.SymbolIndex.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return FullyQualifiedNameMapDefaultEntryHolder.defaultEntry; + } + }; + private static final FullyQualifiedNameMapConverter fullyQualifiedNameMapConverter = new FullyQualifiedNameMapConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.SymbolIndexOrBuilder, com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder> fullyQualifiedNameMap_; + private com.google.protobuf.MapFieldBuilder + internalGetFullyQualifiedNameMap() { + if (fullyQualifiedNameMap_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(fullyQualifiedNameMapConverter); + } + return fullyQualifiedNameMap_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableFullyQualifiedNameMap() { + if (fullyQualifiedNameMap_ == null) { + fullyQualifiedNameMap_ = new com.google.protobuf.MapFieldBuilder<>(fullyQualifiedNameMapConverter); + } + bitField0_ |= 0x00000100; + onChanged(); + return fullyQualifiedNameMap_; + } + public int getFullyQualifiedNameMapCount() { + return internalGetFullyQualifiedNameMap().ensureBuilderMap().size(); + } + /** + *
+       * Map key is the fully_qualified_name e.g. `pkg.Name`
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public boolean containsFullyQualifiedNameMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetFullyQualifiedNameMap().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getFullyQualifiedNameMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFullyQualifiedNameMap() { + return getFullyQualifiedNameMapMap(); + } + /** + *
+       * Map key is the fully_qualified_name e.g. `pkg.Name`
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public java.util.Map getFullyQualifiedNameMapMap() { + return internalGetFullyQualifiedNameMap().getImmutableMap(); + } + /** + *
+       * Map key is the fully_qualified_name e.g. `pkg.Name`
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableFullyQualifiedNameMap().ensureBuilderMap(); + return map.containsKey(key) ? fullyQualifiedNameMapConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map key is the fully_qualified_name e.g. `pkg.Name`
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableFullyQualifiedNameMap().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return fullyQualifiedNameMapConverter.build(map.get(key)); + } + public Builder clearFullyQualifiedNameMap() { + bitField0_ = (bitField0_ & ~0x00000100); + internalGetMutableFullyQualifiedNameMap().clear(); + return this; + } + /** + *
+       * Map key is the fully_qualified_name e.g. `pkg.Name`
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + public Builder removeFullyQualifiedNameMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableFullyQualifiedNameMap().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableFullyQualifiedNameMap() { + bitField0_ |= 0x00000100; + return internalGetMutableFullyQualifiedNameMap().ensureMessageMap(); + } + /** + *
+       * Map key is the fully_qualified_name e.g. `pkg.Name`
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + public Builder putFullyQualifiedNameMap( + java.lang.String key, + com.kcl.api.Spec.SymbolIndex value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableFullyQualifiedNameMap().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000100; + return this; + } + /** + *
+       * Map key is the fully_qualified_name e.g. `pkg.Name`
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + public Builder putAllFullyQualifiedNameMap( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableFullyQualifiedNameMap().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000100; + return this; + } + /** + *
+       * Map key is the fully_qualified_name e.g. `pkg.Name`
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + public com.kcl.api.Spec.SymbolIndex.Builder putFullyQualifiedNameMapBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableFullyQualifiedNameMap().ensureBuilderMap(); + com.kcl.api.Spec.SymbolIndexOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.SymbolIndex.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.SymbolIndex) { + entry = ((com.kcl.api.Spec.SymbolIndex) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.SymbolIndex.Builder) entry; + } + + private static final class PkgScopeMapConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex build(com.kcl.api.Spec.ScopeIndexOrBuilder val) { + if (val instanceof com.kcl.api.Spec.ScopeIndex) { return (com.kcl.api.Spec.ScopeIndex) val; } + return ((com.kcl.api.Spec.ScopeIndex.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return PkgScopeMapDefaultEntryHolder.defaultEntry; + } + }; + private static final PkgScopeMapConverter pkgScopeMapConverter = new PkgScopeMapConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.ScopeIndexOrBuilder, com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder> pkgScopeMap_; + private com.google.protobuf.MapFieldBuilder + internalGetPkgScopeMap() { + if (pkgScopeMap_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(pkgScopeMapConverter); + } + return pkgScopeMap_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutablePkgScopeMap() { + if (pkgScopeMap_ == null) { + pkgScopeMap_ = new com.google.protobuf.MapFieldBuilder<>(pkgScopeMapConverter); + } + bitField0_ |= 0x00000200; + onChanged(); + return pkgScopeMap_; + } + public int getPkgScopeMapCount() { + return internalGetPkgScopeMap().ensureBuilderMap().size(); + } + /** + *
+       * Map key is the package path.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public boolean containsPkgScopeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetPkgScopeMap().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getPkgScopeMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getPkgScopeMap() { + return getPkgScopeMapMap(); + } + /** + *
+       * Map key is the package path.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public java.util.Map getPkgScopeMapMap() { + return internalGetPkgScopeMap().getImmutableMap(); + } + /** + *
+       * Map key is the package path.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.ScopeIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutablePkgScopeMap().ensureBuilderMap(); + return map.containsKey(key) ? pkgScopeMapConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map key is the package path.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutablePkgScopeMap().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return pkgScopeMapConverter.build(map.get(key)); + } + public Builder clearPkgScopeMap() { + bitField0_ = (bitField0_ & ~0x00000200); + internalGetMutablePkgScopeMap().clear(); + return this; + } + /** + *
+       * Map key is the package path.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + public Builder removePkgScopeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutablePkgScopeMap().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutablePkgScopeMap() { + bitField0_ |= 0x00000200; + return internalGetMutablePkgScopeMap().ensureMessageMap(); + } + /** + *
+       * Map key is the package path.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + public Builder putPkgScopeMap( + java.lang.String key, + com.kcl.api.Spec.ScopeIndex value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutablePkgScopeMap().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000200; + return this; + } + /** + *
+       * Map key is the package path.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + public Builder putAllPkgScopeMap( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutablePkgScopeMap().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000200; + return this; + } + /** + *
+       * Map key is the package path.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + public com.kcl.api.Spec.ScopeIndex.Builder putPkgScopeMapBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutablePkgScopeMap().ensureBuilderMap(); + com.kcl.api.Spec.ScopeIndexOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.ScopeIndex.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.ScopeIndex) { + entry = ((com.kcl.api.Spec.ScopeIndex) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.ScopeIndex.Builder) entry; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackage_Result) + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackage_Result) + private static final com.kcl.api.Spec.LoadPackage_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackage_Result(); + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.LoadPackage_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoadPackage_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + @java.lang.Override + public com.kcl.api.Spec.LoadPackage_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + public interface ListOptions_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListOptions_Result) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + java.util.List + getOptionsList(); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + com.kcl.api.Spec.OptionHelp getOptions(int index); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + int getOptionsCount(); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + java.util.List + getOptionsOrBuilderList(); + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.ListOptions_Result} + */ + public static final class ListOptions_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListOptions_Result) + ListOptions_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListOptions_Result.newBuilder() to construct. + private ListOptions_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListOptions_Result() { + options_ = java.util.Collections.emptyList(); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListOptions_Result(); + } - public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFiles_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListOptions_Result.class, com.kcl.api.Spec.ListOptions_Result.Builder.class); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFiles_Result) - com.kcl.api.Spec.LoadSettingsFiles_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; - } + public static final int OPTIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List options_; + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + @java.lang.Override + public java.util.List getOptionsList() { + return options_; + } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + @java.lang.Override + public java.util.List + getOptionsOrBuilderList() { + return options_; + } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + @java.lang.Override + public int getOptionsCount() { + return options_.size(); + } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.OptionHelp getOptions(int index) { + return options_.get(index); + } + /** + *
+     * Returns the files in the order they should be compiled
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder( + int index) { + return options_.get(index); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadSettingsFiles_Result.class, - com.kcl.api.Spec.LoadSettingsFiles_Result.Builder.class); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - // Construct using com.kcl.api.Spec.LoadSettingsFiles_Result.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + memoizedIsInitialized = 1; + return true; + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < options_.size(); i++) { + output.writeMessage(2, options_.get(i)); + } + getUnknownFields().writeTo(output); + } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getKclCliConfigsFieldBuilder(); - getKclOptionsFieldBuilder(); - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < options_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, options_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - kclCliConfigs_ = null; - if (kclCliConfigsBuilder_ != null) { - kclCliConfigsBuilder_.dispose(); - kclCliConfigsBuilder_ = null; - } - if (kclOptionsBuilder_ == null) { - kclOptions_ = java.util.Collections.emptyList(); - } else { - kclOptions_ = null; - kclOptionsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListOptions_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListOptions_Result other = (com.kcl.api.Spec.ListOptions_Result) obj; + + if (!getOptionsList() + .equals(other.getOptionsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getOptionsCount() > 0) { + hash = (37 * hash) + OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getOptionsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadSettingsFiles_Result.getDefaultInstance(); - } + public static com.kcl.api.Spec.ListOptions_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListOptions_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListOptions_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListOptions_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListOptions_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListOptions_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListOptions_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListOptions_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result build() { - com.kcl.api.Spec.LoadSettingsFiles_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static com.kcl.api.Spec.ListOptions_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result buildPartial() { - com.kcl.api.Spec.LoadSettingsFiles_Result result = new com.kcl.api.Spec.LoadSettingsFiles_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static com.kcl.api.Spec.ListOptions_Result 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 com.kcl.api.Spec.ListOptions_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListOptions_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadSettingsFiles_Result result) { - if (kclOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - kclOptions_ = java.util.Collections.unmodifiableList(kclOptions_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.kclOptions_ = kclOptions_; - } else { - result.kclOptions_ = kclOptionsBuilder_.build(); - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListOptions_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private void buildPartial0(com.kcl.api.Spec.LoadSettingsFiles_Result result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.kclCliConfigs_ = kclCliConfigsBuilder_ == null ? kclCliConfigs_ - : kclCliConfigsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - result.bitField0_ |= to_bitField0_; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ListOptions_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListOptions_Result) + com.kcl.api.Spec.ListOptions_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListOptions_Result.class, com.kcl.api.Spec.ListOptions_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListOptions_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (optionsBuilder_ == null) { + options_ = java.util.Collections.emptyList(); + } else { + options_ = null; + optionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListOptions_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.ListOptions_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListOptions_Result build() { + com.kcl.api.Spec.ListOptions_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListOptions_Result buildPartial() { + com.kcl.api.Spec.ListOptions_Result result = new com.kcl.api.Spec.ListOptions_Result(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ListOptions_Result result) { + if (optionsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + options_ = java.util.Collections.unmodifiableList(options_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.options_ = options_; + } else { + result.options_ = optionsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ListOptions_Result result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListOptions_Result) { + return mergeFrom((com.kcl.api.Spec.ListOptions_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListOptions_Result other) { + if (other == com.kcl.api.Spec.ListOptions_Result.getDefaultInstance()) return this; + if (optionsBuilder_ == null) { + if (!other.options_.isEmpty()) { + if (options_.isEmpty()) { + options_ = other.options_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureOptionsIsMutable(); + options_.addAll(other.options_); + } + onChanged(); + } + } else { + if (!other.options_.isEmpty()) { + if (optionsBuilder_.isEmpty()) { + optionsBuilder_.dispose(); + optionsBuilder_ = null; + options_ = other.options_; + bitField0_ = (bitField0_ & ~0x00000001); + optionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOptionsFieldBuilder() : null; + } else { + optionsBuilder_.addAllMessages(other.options_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + com.kcl.api.Spec.OptionHelp m = + input.readMessage( + com.kcl.api.Spec.OptionHelp.parser(), + extensionRegistry); + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + options_.add(m); + } else { + optionsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List options_ = + java.util.Collections.emptyList(); + private void ensureOptionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + options_ = new java.util.ArrayList(options_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.OptionHelp, com.kcl.api.Spec.OptionHelp.Builder, com.kcl.api.Spec.OptionHelpOrBuilder> optionsBuilder_; + + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public java.util.List getOptionsList() { + if (optionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(options_); + } else { + return optionsBuilder_.getMessageList(); + } + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public int getOptionsCount() { + if (optionsBuilder_ == null) { + return options_.size(); + } else { + return optionsBuilder_.getCount(); + } + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public com.kcl.api.Spec.OptionHelp getOptions(int index) { + if (optionsBuilder_ == null) { + return options_.get(index); + } else { + return optionsBuilder_.getMessage(index); + } + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder setOptions( + int index, com.kcl.api.Spec.OptionHelp value) { + if (optionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOptionsIsMutable(); + options_.set(index, value); + onChanged(); + } else { + optionsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder setOptions( + int index, com.kcl.api.Spec.OptionHelp.Builder builderForValue) { + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + options_.set(index, builderForValue.build()); + onChanged(); + } else { + optionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder addOptions(com.kcl.api.Spec.OptionHelp value) { + if (optionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOptionsIsMutable(); + options_.add(value); + onChanged(); + } else { + optionsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder addOptions( + int index, com.kcl.api.Spec.OptionHelp value) { + if (optionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOptionsIsMutable(); + options_.add(index, value); + onChanged(); + } else { + optionsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder addOptions( + com.kcl.api.Spec.OptionHelp.Builder builderForValue) { + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + options_.add(builderForValue.build()); + onChanged(); + } else { + optionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder addOptions( + int index, com.kcl.api.Spec.OptionHelp.Builder builderForValue) { + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + options_.add(index, builderForValue.build()); + onChanged(); + } else { + optionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder addAllOptions( + java.lang.Iterable values) { + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, options_); + onChanged(); + } else { + optionsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder clearOptions() { + if (optionsBuilder_ == null) { + options_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + optionsBuilder_.clear(); + } + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder removeOptions(int index) { + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + options_.remove(index); + onChanged(); + } else { + optionsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public com.kcl.api.Spec.OptionHelp.Builder getOptionsBuilder( + int index) { + return getOptionsFieldBuilder().getBuilder(index); + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder( + int index) { + if (optionsBuilder_ == null) { + return options_.get(index); } else { + return optionsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public java.util.List + getOptionsOrBuilderList() { + if (optionsBuilder_ != null) { + return optionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(options_); + } + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder() { + return getOptionsFieldBuilder().addBuilder( + com.kcl.api.Spec.OptionHelp.getDefaultInstance()); + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder( + int index) { + return getOptionsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.OptionHelp.getDefaultInstance()); + } + /** + *
+       * Returns the files in the order they should be compiled
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public java.util.List + getOptionsBuilderList() { + return getOptionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.OptionHelp, com.kcl.api.Spec.OptionHelp.Builder, com.kcl.api.Spec.OptionHelpOrBuilder> + getOptionsFieldBuilder() { + if (optionsBuilder_ == null) { + optionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.OptionHelp, com.kcl.api.Spec.OptionHelp.Builder, com.kcl.api.Spec.OptionHelpOrBuilder>( + options_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + options_ = null; + } + return optionsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListOptions_Result) + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListOptions_Result) + private static final com.kcl.api.Spec.ListOptions_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListOptions_Result(); + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + public static com.kcl.api.Spec.ListOptions_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOptions_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + @java.lang.Override + public com.kcl.api.Spec.ListOptions_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadSettingsFiles_Result) { - return mergeFrom((com.kcl.api.Spec.LoadSettingsFiles_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } + public interface OptionHelpOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.OptionHelp) + com.google.protobuf.MessageOrBuilder { - public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFiles_Result other) { - if (other == com.kcl.api.Spec.LoadSettingsFiles_Result.getDefaultInstance()) - return this; - if (other.hasKclCliConfigs()) { - mergeKclCliConfigs(other.getKclCliConfigs()); - } - if (kclOptionsBuilder_ == null) { - if (!other.kclOptions_.isEmpty()) { - if (kclOptions_.isEmpty()) { - kclOptions_ = other.kclOptions_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureKclOptionsIsMutable(); - kclOptions_.addAll(other.kclOptions_); - } - onChanged(); - } - } else { - if (!other.kclOptions_.isEmpty()) { - if (kclOptionsBuilder_.isEmpty()) { - kclOptionsBuilder_.dispose(); - kclOptionsBuilder_ = null; - kclOptions_ = other.kclOptions_; - bitField0_ = (bitField0_ & ~0x00000002); - kclOptionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getKclOptionsFieldBuilder() : null; - } else { - kclOptionsBuilder_.addAllMessages(other.kclOptions_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + /** + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); - @java.lang.Override - public final boolean isInitialized() { - return true; - } + /** + * string type = 2; + * @return The type. + */ + java.lang.String getType(); + /** + * string type = 2; + * @return The bytes for type. + */ + com.google.protobuf.ByteString + getTypeBytes(); - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getKclCliConfigsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.kcl.api.Spec.KeyValuePair m = input.readMessage(com.kcl.api.Spec.KeyValuePair.parser(), - extensionRegistry); - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - kclOptions_.add(m); - } else { - kclOptionsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + /** + * bool required = 3; + * @return The required. + */ + boolean getRequired(); - private int bitField0_; + /** + * string default_value = 4; + * @return The defaultValue. + */ + java.lang.String getDefaultValue(); + /** + * string default_value = 4; + * @return The bytes for defaultValue. + */ + com.google.protobuf.ByteString + getDefaultValueBytes(); - private com.kcl.api.Spec.CliConfig kclCliConfigs_; - private com.google.protobuf.SingleFieldBuilderV3 kclCliConfigsBuilder_; + /** + * string help = 5; + * @return The help. + */ + java.lang.String getHelp(); + /** + * string help = 5; + * @return The bytes for help. + */ + com.google.protobuf.ByteString + getHelpBytes(); + } + /** + * Protobuf type {@code com.kcl.api.OptionHelp} + */ + public static final class OptionHelp extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.OptionHelp) + OptionHelpOrBuilder { + private static final long serialVersionUID = 0L; + // Use OptionHelp.newBuilder() to construct. + private OptionHelp(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private OptionHelp() { + name_ = ""; + type_ = ""; + defaultValue_ = ""; + help_ = ""; + } - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return Whether the kclCliConfigs field is set. - */ - public boolean hasKclCliConfigs() { - return ((bitField0_ & 0x00000001) != 0); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new OptionHelp(); + } - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return The kclCliConfigs. - */ - public com.kcl.api.Spec.CliConfig getKclCliConfigs() { - if (kclCliConfigsBuilder_ == null) { - return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; - } else { - return kclCliConfigsBuilder_.getMessage(); - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; + } - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public Builder setKclCliConfigs(com.kcl.api.Spec.CliConfig value) { - if (kclCliConfigsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - kclCliConfigs_ = value; - } else { - kclCliConfigsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OptionHelp.class, com.kcl.api.Spec.OptionHelp.Builder.class); + } - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public Builder setKclCliConfigs(com.kcl.api.Spec.CliConfig.Builder builderForValue) { - if (kclCliConfigsBuilder_ == null) { - kclCliConfigs_ = builderForValue.build(); - } else { - kclCliConfigsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public Builder mergeKclCliConfigs(com.kcl.api.Spec.CliConfig value) { - if (kclCliConfigsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && kclCliConfigs_ != null - && kclCliConfigs_ != com.kcl.api.Spec.CliConfig.getDefaultInstance()) { - getKclCliConfigsBuilder().mergeFrom(value); - } else { - kclCliConfigs_ = value; - } - } else { - kclCliConfigsBuilder_.mergeFrom(value); - } - if (kclCliConfigs_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } + public static final int TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object type_ = ""; + /** + * string type = 2; + * @return The type. + */ + @java.lang.Override + public java.lang.String getType() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } + } + /** + * string type = 2; + * @return The bytes for type. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public Builder clearKclCliConfigs() { - bitField0_ = (bitField0_ & ~0x00000001); - kclCliConfigs_ = null; - if (kclCliConfigsBuilder_ != null) { - kclCliConfigsBuilder_.dispose(); - kclCliConfigsBuilder_ = null; - } - onChanged(); - return this; - } + public static final int REQUIRED_FIELD_NUMBER = 3; + private boolean required_ = false; + /** + * bool required = 3; + * @return The required. + */ + @java.lang.Override + public boolean getRequired() { + return required_; + } - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public com.kcl.api.Spec.CliConfig.Builder getKclCliConfigsBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getKclCliConfigsFieldBuilder().getBuilder(); - } + public static final int DEFAULT_VALUE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object defaultValue_ = ""; + /** + * string default_value = 4; + * @return The defaultValue. + */ + @java.lang.Override + public java.lang.String getDefaultValue() { + java.lang.Object ref = defaultValue_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultValue_ = s; + return s; + } + } + /** + * string default_value = 4; + * @return The bytes for defaultValue. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDefaultValueBytes() { + java.lang.Object ref = defaultValue_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultValue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder() { - if (kclCliConfigsBuilder_ != null) { - return kclCliConfigsBuilder_.getMessageOrBuilder(); - } else { - return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; - } - } + public static final int HELP_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object help_ = ""; + /** + * string help = 5; + * @return The help. + */ + @java.lang.Override + public java.lang.String getHelp() { + java.lang.Object ref = help_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + help_ = s; + return s; + } + } + /** + * string help = 5; + * @return The bytes for help. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getHelpBytes() { + java.lang.Object ref = help_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + help_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3 getKclCliConfigsFieldBuilder() { - if (kclCliConfigsBuilder_ == null) { - kclCliConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getKclCliConfigs(), getParentForChildren(), isClean()); - kclCliConfigs_ = null; - } - return kclCliConfigsBuilder_; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private java.util.List kclOptions_ = java.util.Collections.emptyList(); + memoizedIsInitialized = 1; + return true; + } - private void ensureKclOptionsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - kclOptions_ = new java.util.ArrayList(kclOptions_); - bitField0_ |= 0x00000002; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_); + } + if (required_ != false) { + output.writeBool(3, required_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultValue_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, defaultValue_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(help_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, help_); + } + getUnknownFields().writeTo(output); + } - private com.google.protobuf.RepeatedFieldBuilderV3 kclOptionsBuilder_; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); + } + if (required_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, required_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultValue_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, defaultValue_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(help_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, help_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public java.util.List getKclOptionsList() { - if (kclOptionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(kclOptions_); - } else { - return kclOptionsBuilder_.getMessageList(); - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.OptionHelp)) { + return super.equals(obj); + } + com.kcl.api.Spec.OptionHelp other = (com.kcl.api.Spec.OptionHelp) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getType() + .equals(other.getType())) return false; + if (getRequired() + != other.getRequired()) return false; + if (!getDefaultValue() + .equals(other.getDefaultValue())) return false; + if (!getHelp() + .equals(other.getHelp())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public int getKclOptionsCount() { - if (kclOptionsBuilder_ == null) { - return kclOptions_.size(); - } else { - return kclOptionsBuilder_.getCount(); - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + hash = (37 * hash) + REQUIRED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequired()); + hash = (37 * hash) + DEFAULT_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getDefaultValue().hashCode(); + hash = (37 * hash) + HELP_FIELD_NUMBER; + hash = (53 * hash) + getHelp().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public com.kcl.api.Spec.KeyValuePair getKclOptions(int index) { - if (kclOptionsBuilder_ == null) { - return kclOptions_.get(index); - } else { - return kclOptionsBuilder_.getMessage(index); - } - } + public static com.kcl.api.Spec.OptionHelp parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OptionHelp parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OptionHelp parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder setKclOptions(int index, com.kcl.api.Spec.KeyValuePair value) { - if (kclOptionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureKclOptionsIsMutable(); - kclOptions_.set(index, value); - onChanged(); - } else { - kclOptionsBuilder_.setMessage(index, value); - } - return this; - } + public static com.kcl.api.Spec.OptionHelp parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder setKclOptions(int index, com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - kclOptions_.set(index, builderForValue.build()); - onChanged(); - } else { - kclOptionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + public static com.kcl.api.Spec.OptionHelp 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 com.kcl.api.Spec.OptionHelp parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder addKclOptions(com.kcl.api.Spec.KeyValuePair value) { - if (kclOptionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureKclOptionsIsMutable(); - kclOptions_.add(value); - onChanged(); - } else { - kclOptionsBuilder_.addMessage(value); - } - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.OptionHelp prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder addKclOptions(int index, com.kcl.api.Spec.KeyValuePair value) { - if (kclOptionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureKclOptionsIsMutable(); - kclOptions_.add(index, value); - onChanged(); - } else { - kclOptionsBuilder_.addMessage(index, value); - } - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.OptionHelp} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.OptionHelp) + com.kcl.api.Spec.OptionHelpOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OptionHelp.class, com.kcl.api.Spec.OptionHelp.Builder.class); + } + + // Construct using com.kcl.api.Spec.OptionHelp.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + type_ = ""; + required_ = false; + defaultValue_ = ""; + help_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.OptionHelp getDefaultInstanceForType() { + return com.kcl.api.Spec.OptionHelp.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.OptionHelp build() { + com.kcl.api.Spec.OptionHelp result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.OptionHelp buildPartial() { + com.kcl.api.Spec.OptionHelp result = new com.kcl.api.Spec.OptionHelp(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.OptionHelp result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.type_ = type_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.required_ = required_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.defaultValue_ = defaultValue_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.help_ = help_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.OptionHelp) { + return mergeFrom((com.kcl.api.Spec.OptionHelp)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.OptionHelp other) { + if (other == com.kcl.api.Spec.OptionHelp.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getType().isEmpty()) { + type_ = other.type_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getRequired() != false) { + setRequired(other.getRequired()); + } + if (!other.getDefaultValue().isEmpty()) { + defaultValue_ = other.defaultValue_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getHelp().isEmpty()) { + help_ = other.help_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + required_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + defaultValue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + help_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object type_ = ""; + /** + * string type = 2; + * @return The type. + */ + public java.lang.String getType() { + java.lang.Object ref = type_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string type = 2; + * @return The bytes for type. + */ + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string type = 2; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + type_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string type = 2; + * @return This builder for chaining. + */ + public Builder clearType() { + type_ = getDefaultInstance().getType(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string type = 2; + * @param value The bytes for type to set. + * @return This builder for chaining. + */ + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + type_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private boolean required_ ; + /** + * bool required = 3; + * @return The required. + */ + @java.lang.Override + public boolean getRequired() { + return required_; + } + /** + * bool required = 3; + * @param value The required to set. + * @return This builder for chaining. + */ + public Builder setRequired(boolean value) { + + required_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * bool required = 3; + * @return This builder for chaining. + */ + public Builder clearRequired() { + bitField0_ = (bitField0_ & ~0x00000004); + required_ = false; + onChanged(); + return this; + } + + private java.lang.Object defaultValue_ = ""; + /** + * string default_value = 4; + * @return The defaultValue. + */ + public java.lang.String getDefaultValue() { + java.lang.Object ref = defaultValue_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultValue_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string default_value = 4; + * @return The bytes for defaultValue. + */ + public com.google.protobuf.ByteString + getDefaultValueBytes() { + java.lang.Object ref = defaultValue_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultValue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string default_value = 4; + * @param value The defaultValue to set. + * @return This builder for chaining. + */ + public Builder setDefaultValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + defaultValue_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string default_value = 4; + * @return This builder for chaining. + */ + public Builder clearDefaultValue() { + defaultValue_ = getDefaultInstance().getDefaultValue(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string default_value = 4; + * @param value The bytes for defaultValue to set. + * @return This builder for chaining. + */ + public Builder setDefaultValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + defaultValue_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object help_ = ""; + /** + * string help = 5; + * @return The help. + */ + public java.lang.String getHelp() { + java.lang.Object ref = help_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + help_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string help = 5; + * @return The bytes for help. + */ + public com.google.protobuf.ByteString + getHelpBytes() { + java.lang.Object ref = help_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + help_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string help = 5; + * @param value The help to set. + * @return This builder for chaining. + */ + public Builder setHelp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + help_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string help = 5; + * @return This builder for chaining. + */ + public Builder clearHelp() { + help_ = getDefaultInstance().getHelp(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string help = 5; + * @param value The bytes for help to set. + * @return This builder for chaining. + */ + public Builder setHelpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + help_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.OptionHelp) + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder addKclOptions(com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - kclOptions_.add(builderForValue.build()); - onChanged(); - } else { - kclOptionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.OptionHelp) + private static final com.kcl.api.Spec.OptionHelp DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.OptionHelp(); + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder addKclOptions(int index, com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - kclOptions_.add(index, builderForValue.build()); - onChanged(); - } else { - kclOptionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + public static com.kcl.api.Spec.OptionHelp getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder addAllKclOptions(java.lang.Iterable values) { - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kclOptions_); - onChanged(); - } else { - kclOptionsBuilder_.addAllMessages(values); - } - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptionHelp parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder clearKclOptions() { - if (kclOptionsBuilder_ == null) { - kclOptions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - kclOptionsBuilder_.clear(); - } - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder removeKclOptions(int index) { - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - kclOptions_.remove(index); - onChanged(); - } else { - kclOptionsBuilder_.remove(index); - } - return this; - } + @java.lang.Override + public com.kcl.api.Spec.OptionHelp getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public com.kcl.api.Spec.KeyValuePair.Builder getKclOptionsBuilder(int index) { - return getKclOptionsFieldBuilder().getBuilder(index); - } + } - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder(int index) { - if (kclOptionsBuilder_ == null) { - return kclOptions_.get(index); - } else { - return kclOptionsBuilder_.getMessageOrBuilder(index); - } - } + public interface SymbolOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Symbol) + com.google.protobuf.MessageOrBuilder { - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public java.util.List getKclOptionsOrBuilderList() { - if (kclOptionsBuilder_ != null) { - return kclOptionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(kclOptions_); - } - } + /** + * .com.kcl.api.KclType ty = 1; + * @return Whether the ty field is set. + */ + boolean hasTy(); + /** + * .com.kcl.api.KclType ty = 1; + * @return The ty. + */ + com.kcl.api.Spec.KclType getTy(); + /** + * .com.kcl.api.KclType ty = 1; + */ + com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder(); - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder() { - return getKclOptionsFieldBuilder().addBuilder(com.kcl.api.Spec.KeyValuePair.getDefaultInstance()); - } + /** + * string name = 2; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 2; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder(int index) { - return getKclOptionsFieldBuilder().addBuilder(index, - com.kcl.api.Spec.KeyValuePair.getDefaultInstance()); - } + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + boolean hasOwner(); + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + com.kcl.api.Spec.SymbolIndex getOwner(); + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder(); - /** - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public java.util.List getKclOptionsBuilderList() { - return getKclOptionsFieldBuilder().getBuilderList(); - } + /** + * .com.kcl.api.SymbolIndex def = 4; + * @return Whether the def field is set. + */ + boolean hasDef(); + /** + * .com.kcl.api.SymbolIndex def = 4; + * @return The def. + */ + com.kcl.api.Spec.SymbolIndex getDef(); + /** + * .com.kcl.api.SymbolIndex def = 4; + */ + com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder(); - private com.google.protobuf.RepeatedFieldBuilderV3 getKclOptionsFieldBuilder() { - if (kclOptionsBuilder_ == null) { - kclOptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - kclOptions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - kclOptions_ = null; - } - return kclOptionsBuilder_; - } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + java.util.List + getAttrsList(); + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + com.kcl.api.Spec.SymbolIndex getAttrs(int index); + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + int getAttrsCount(); + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + java.util.List + getAttrsOrBuilderList(); + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder( + int index); - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + /** + * bool is_global = 6; + * @return The isGlobal. + */ + boolean getIsGlobal(); + } + /** + * Protobuf type {@code com.kcl.api.Symbol} + */ + public static final class Symbol extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Symbol) + SymbolOrBuilder { + private static final long serialVersionUID = 0L; + // Use Symbol.newBuilder() to construct. + private Symbol(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Symbol() { + name_ = ""; + attrs_ = java.util.Collections.emptyList(); + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Symbol(); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFiles_Result) - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFiles_Result) - private static final com.kcl.api.Spec.LoadSettingsFiles_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFiles_Result(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Symbol.class, com.kcl.api.Spec.Symbol.Builder.class); + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } + private int bitField0_; + public static final int TY_FIELD_NUMBER = 1; + private com.kcl.api.Spec.KclType ty_; + /** + * .com.kcl.api.KclType ty = 1; + * @return Whether the ty field is set. + */ + @java.lang.Override + public boolean hasTy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.KclType ty = 1; + * @return The ty. + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getTy() { + return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; + } + /** + * .com.kcl.api.KclType ty = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder() { + return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadSettingsFiles_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static final int NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 2; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 2; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static final int OWNER_FIELD_NUMBER = 3; + private com.kcl.api.Spec.SymbolIndex owner_; + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + @java.lang.Override + public boolean hasOwner() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getOwner() { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final int DEF_FIELD_NUMBER = 4; + private com.kcl.api.Spec.SymbolIndex def_; + /** + * .com.kcl.api.SymbolIndex def = 4; + * @return Whether the def field is set. + */ + @java.lang.Override + public boolean hasDef() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .com.kcl.api.SymbolIndex def = 4; + * @return The def. + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getDef() { + return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; + } + /** + * .com.kcl.api.SymbolIndex def = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder() { + return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; + } - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CliConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.CliConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string files = 1; - * - * @return A list containing the files. - */ - java.util.List getFilesList(); - - /** - * repeated string files = 1; - * - * @return The count of files. - */ - int getFilesCount(); - - /** - * repeated string files = 1; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - java.lang.String getFiles(int index); - - /** - * repeated string files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - com.google.protobuf.ByteString getFilesBytes(int index); - - /** - * string output = 2; - * - * @return The output. - */ - java.lang.String getOutput(); - - /** - * string output = 2; - * - * @return The bytes for output. - */ - com.google.protobuf.ByteString getOutputBytes(); - - /** - * repeated string overrides = 3; - * - * @return A list containing the overrides. - */ - java.util.List getOverridesList(); - - /** - * repeated string overrides = 3; - * - * @return The count of overrides. - */ - int getOverridesCount(); - - /** - * repeated string overrides = 3; - * - * @param index - * The index of the element to return. - * - * @return The overrides at the given index. - */ - java.lang.String getOverrides(int index); - - /** - * repeated string overrides = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the overrides at the given index. - */ - com.google.protobuf.ByteString getOverridesBytes(int index); - - /** - * repeated string path_selector = 4; - * - * @return A list containing the pathSelector. - */ - java.util.List getPathSelectorList(); - - /** - * repeated string path_selector = 4; - * - * @return The count of pathSelector. - */ - int getPathSelectorCount(); - - /** - * repeated string path_selector = 4; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - java.lang.String getPathSelector(int index); - - /** - * repeated string path_selector = 4; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - com.google.protobuf.ByteString getPathSelectorBytes(int index); - - /** - * bool strict_range_check = 5; - * - * @return The strictRangeCheck. - */ - boolean getStrictRangeCheck(); - - /** - * bool disable_none = 6; - * - * @return The disableNone. - */ - boolean getDisableNone(); - - /** - * int64 verbose = 7; - * - * @return The verbose. - */ - long getVerbose(); - - /** - * bool debug = 8; - * - * @return The debug. - */ - boolean getDebug(); - - /** - * bool sort_keys = 9; - * - * @return The sortKeys. - */ - boolean getSortKeys(); - - /** - * bool show_hidden = 10; - * - * @return The showHidden. - */ - boolean getShowHidden(); - - /** - * bool include_schema_type_path = 11; - * - * @return The includeSchemaTypePath. - */ - boolean getIncludeSchemaTypePath(); - - /** - * bool fast_eval = 12; - * - * @return The fastEval. - */ - boolean getFastEval(); + public static final int ATTRS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List attrs_; + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + @java.lang.Override + public java.util.List getAttrsList() { + return attrs_; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + @java.lang.Override + public java.util.List + getAttrsOrBuilderList() { + return attrs_; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + @java.lang.Override + public int getAttrsCount() { + return attrs_.size(); + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getAttrs(int index) { + return attrs_.get(index); + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder( + int index) { + return attrs_.get(index); } + public static final int IS_GLOBAL_FIELD_NUMBER = 6; + private boolean isGlobal_ = false; /** - * Protobuf type {@code com.kcl.api.CliConfig} + * bool is_global = 6; + * @return The isGlobal. */ - public static final class CliConfig extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.CliConfig) - CliConfigOrBuilder { - private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean getIsGlobal() { + return isGlobal_; + } - // Use CliConfig.newBuilder() to construct. - private CliConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private CliConfig() { - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - output_ = ""; - overrides_ = com.google.protobuf.LazyStringArrayList.emptyList(); - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CliConfig(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getTy()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getOwner()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(4, getDef()); + } + for (int i = 0; i < attrs_.size(); i++) { + output.writeMessage(5, attrs_.get(i)); + } + if (isGlobal_ != false) { + output.writeBool(6, isGlobal_); + } + getUnknownFields().writeTo(output); + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTy()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOwner()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDef()); + } + for (int i = 0; i < attrs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, attrs_.get(i)); + } + if (isGlobal_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, isGlobal_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.CliConfig.class, - com.kcl.api.Spec.CliConfig.Builder.class); - } - - public static final int FILES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - * repeated string files = 1; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - return files_; - } - - /** - * repeated string files = 1; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - * repeated string files = 1; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - * repeated string files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - public static final int OUTPUT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object output_ = ""; - - /** - * string output = 2; - * - * @return The output. - */ - @java.lang.Override - public java.lang.String getOutput() { - java.lang.Object ref = output_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - output_ = s; - return s; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Symbol)) { + return super.equals(obj); + } + com.kcl.api.Spec.Symbol other = (com.kcl.api.Spec.Symbol) obj; + + if (hasTy() != other.hasTy()) return false; + if (hasTy()) { + if (!getTy() + .equals(other.getTy())) return false; + } + if (!getName() + .equals(other.getName())) return false; + if (hasOwner() != other.hasOwner()) return false; + if (hasOwner()) { + if (!getOwner() + .equals(other.getOwner())) return false; + } + if (hasDef() != other.hasDef()) return false; + if (hasDef()) { + if (!getDef() + .equals(other.getDef())) return false; + } + if (!getAttrsList() + .equals(other.getAttrsList())) return false; + if (getIsGlobal() + != other.getIsGlobal()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - * string output = 2; - * - * @return The bytes for output. - */ - @java.lang.Override - public com.google.protobuf.ByteString getOutputBytes() { - java.lang.Object ref = output_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - output_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTy()) { + hash = (37 * hash) + TY_FIELD_NUMBER; + hash = (53 * hash) + getTy().hashCode(); + } + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasOwner()) { + hash = (37 * hash) + OWNER_FIELD_NUMBER; + hash = (53 * hash) + getOwner().hashCode(); + } + if (hasDef()) { + hash = (37 * hash) + DEF_FIELD_NUMBER; + hash = (53 * hash) + getDef().hashCode(); + } + if (getAttrsCount() > 0) { + hash = (37 * hash) + ATTRS_FIELD_NUMBER; + hash = (53 * hash) + getAttrsList().hashCode(); + } + hash = (37 * hash) + IS_GLOBAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsGlobal()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static final int OVERRIDES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList overrides_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - * repeated string overrides = 3; - * - * @return A list containing the overrides. - */ - public com.google.protobuf.ProtocolStringList getOverridesList() { - return overrides_; - } - - /** - * repeated string overrides = 3; - * - * @return The count of overrides. - */ - public int getOverridesCount() { - return overrides_.size(); - } - - /** - * repeated string overrides = 3; - * - * @param index - * The index of the element to return. - * - * @return The overrides at the given index. - */ - public java.lang.String getOverrides(int index) { - return overrides_.get(index); - } - - /** - * repeated string overrides = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the overrides at the given index. - */ - public com.google.protobuf.ByteString getOverridesBytes(int index) { - return overrides_.getByteString(index); - } - - public static final int PATH_SELECTOR_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList pathSelector_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - * repeated string path_selector = 4; - * - * @return A list containing the pathSelector. - */ - public com.google.protobuf.ProtocolStringList getPathSelectorList() { - return pathSelector_; - } - - /** - * repeated string path_selector = 4; - * - * @return The count of pathSelector. - */ - public int getPathSelectorCount() { - return pathSelector_.size(); - } - - /** - * repeated string path_selector = 4; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - public java.lang.String getPathSelector(int index) { - return pathSelector_.get(index); - } - - /** - * repeated string path_selector = 4; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - public com.google.protobuf.ByteString getPathSelectorBytes(int index) { - return pathSelector_.getByteString(index); - } - - public static final int STRICT_RANGE_CHECK_FIELD_NUMBER = 5; - private boolean strictRangeCheck_ = false; - - /** - * bool strict_range_check = 5; - * - * @return The strictRangeCheck. - */ - @java.lang.Override - public boolean getStrictRangeCheck() { - return strictRangeCheck_; - } + public static com.kcl.api.Spec.Symbol parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Symbol parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Symbol parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Symbol parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Symbol parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Symbol parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Symbol parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Symbol 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 final int DISABLE_NONE_FIELD_NUMBER = 6; - private boolean disableNone_ = false; + public static com.kcl.api.Spec.Symbol parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * bool disable_none = 6; - * - * @return The disableNone. - */ - @java.lang.Override - public boolean getDisableNone() { - return disableNone_; - } + public static com.kcl.api.Spec.Symbol 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 com.kcl.api.Spec.Symbol parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Symbol parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static final int VERBOSE_FIELD_NUMBER = 7; - private long verbose_ = 0L; + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Symbol prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * int64 verbose = 7; - * - * @return The verbose. - */ - @java.lang.Override - public long getVerbose() { - return verbose_; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Symbol} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Symbol) + com.kcl.api.Spec.SymbolOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Symbol.class, com.kcl.api.Spec.Symbol.Builder.class); + } + + // Construct using com.kcl.api.Spec.Symbol.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getTyFieldBuilder(); + getOwnerFieldBuilder(); + getDefFieldBuilder(); + getAttrsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + ty_ = null; + if (tyBuilder_ != null) { + tyBuilder_.dispose(); + tyBuilder_ = null; + } + name_ = ""; + owner_ = null; + if (ownerBuilder_ != null) { + ownerBuilder_.dispose(); + ownerBuilder_ = null; + } + def_ = null; + if (defBuilder_ != null) { + defBuilder_.dispose(); + defBuilder_ = null; + } + if (attrsBuilder_ == null) { + attrs_ = java.util.Collections.emptyList(); + } else { + attrs_ = null; + attrsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + isGlobal_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Symbol getDefaultInstanceForType() { + return com.kcl.api.Spec.Symbol.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Symbol build() { + com.kcl.api.Spec.Symbol result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Symbol buildPartial() { + com.kcl.api.Spec.Symbol result = new com.kcl.api.Spec.Symbol(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.Symbol result) { + if (attrsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + attrs_ = java.util.Collections.unmodifiableList(attrs_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.attrs_ = attrs_; + } else { + result.attrs_ = attrsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.Symbol result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.ty_ = tyBuilder_ == null + ? ty_ + : tyBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.owner_ = ownerBuilder_ == null + ? owner_ + : ownerBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.def_ = defBuilder_ == null + ? def_ + : defBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.isGlobal_ = isGlobal_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Symbol) { + return mergeFrom((com.kcl.api.Spec.Symbol)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Symbol other) { + if (other == com.kcl.api.Spec.Symbol.getDefaultInstance()) return this; + if (other.hasTy()) { + mergeTy(other.getTy()); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasOwner()) { + mergeOwner(other.getOwner()); + } + if (other.hasDef()) { + mergeDef(other.getDef()); + } + if (attrsBuilder_ == null) { + if (!other.attrs_.isEmpty()) { + if (attrs_.isEmpty()) { + attrs_ = other.attrs_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureAttrsIsMutable(); + attrs_.addAll(other.attrs_); + } + onChanged(); + } + } else { + if (!other.attrs_.isEmpty()) { + if (attrsBuilder_.isEmpty()) { + attrsBuilder_.dispose(); + attrsBuilder_ = null; + attrs_ = other.attrs_; + bitField0_ = (bitField0_ & ~0x00000010); + attrsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAttrsFieldBuilder() : null; + } else { + attrsBuilder_.addAllMessages(other.attrs_); + } + } + } + if (other.getIsGlobal() != false) { + setIsGlobal(other.getIsGlobal()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getTyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getOwnerFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getDefFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + com.kcl.api.Spec.SymbolIndex m = + input.readMessage( + com.kcl.api.Spec.SymbolIndex.parser(), + extensionRegistry); + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + attrs_.add(m); + } else { + attrsBuilder_.addMessage(m); + } + break; + } // case 42 + case 48: { + isGlobal_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.KclType ty_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> tyBuilder_; + /** + * .com.kcl.api.KclType ty = 1; + * @return Whether the ty field is set. + */ + public boolean hasTy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.KclType ty = 1; + * @return The ty. + */ + public com.kcl.api.Spec.KclType getTy() { + if (tyBuilder_ == null) { + return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; + } else { + return tyBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.KclType ty = 1; + */ + public Builder setTy(com.kcl.api.Spec.KclType value) { + if (tyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ty_ = value; + } else { + tyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .com.kcl.api.KclType ty = 1; + */ + public Builder setTy( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (tyBuilder_ == null) { + ty_ = builderForValue.build(); + } else { + tyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .com.kcl.api.KclType ty = 1; + */ + public Builder mergeTy(com.kcl.api.Spec.KclType value) { + if (tyBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + ty_ != null && + ty_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { + getTyBuilder().mergeFrom(value); + } else { + ty_ = value; + } + } else { + tyBuilder_.mergeFrom(value); + } + if (ty_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.KclType ty = 1; + */ + public Builder clearTy() { + bitField0_ = (bitField0_ & ~0x00000001); + ty_ = null; + if (tyBuilder_ != null) { + tyBuilder_.dispose(); + tyBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.KclType ty = 1; + */ + public com.kcl.api.Spec.KclType.Builder getTyBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getTyFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.KclType ty = 1; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder() { + if (tyBuilder_ != null) { + return tyBuilder_.getMessageOrBuilder(); + } else { + return ty_ == null ? + com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; + } + } + /** + * .com.kcl.api.KclType ty = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + getTyFieldBuilder() { + if (tyBuilder_ == null) { + tyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + getTy(), + getParentForChildren(), + isClean()); + ty_ = null; + } + return tyBuilder_; + } + + private java.lang.Object name_ = ""; + /** + * string name = 2; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 2; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 2; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string name = 2; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string name = 2; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.kcl.api.Spec.SymbolIndex owner_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> ownerBuilder_; + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + public boolean hasOwner() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + public com.kcl.api.Spec.SymbolIndex getOwner() { + if (ownerBuilder_ == null) { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } else { + return ownerBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder setOwner(com.kcl.api.Spec.SymbolIndex value) { + if (ownerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + owner_ = value; + } else { + ownerBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder setOwner( + com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (ownerBuilder_ == null) { + owner_ = builderForValue.build(); + } else { + ownerBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder mergeOwner(com.kcl.api.Spec.SymbolIndex value) { + if (ownerBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + owner_ != null && + owner_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { + getOwnerBuilder().mergeFrom(value); + } else { + owner_ = value; + } + } else { + ownerBuilder_.mergeFrom(value); + } + if (owner_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder clearOwner() { + bitField0_ = (bitField0_ & ~0x00000004); + owner_ = null; + if (ownerBuilder_ != null) { + ownerBuilder_.dispose(); + ownerBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public com.kcl.api.Spec.SymbolIndex.Builder getOwnerBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getOwnerFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { + if (ownerBuilder_ != null) { + return ownerBuilder_.getMessageOrBuilder(); + } else { + return owner_ == null ? + com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> + getOwnerFieldBuilder() { + if (ownerBuilder_ == null) { + ownerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>( + getOwner(), + getParentForChildren(), + isClean()); + owner_ = null; + } + return ownerBuilder_; + } + + private com.kcl.api.Spec.SymbolIndex def_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> defBuilder_; + /** + * .com.kcl.api.SymbolIndex def = 4; + * @return Whether the def field is set. + */ + public boolean hasDef() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .com.kcl.api.SymbolIndex def = 4; + * @return The def. + */ + public com.kcl.api.Spec.SymbolIndex getDef() { + if (defBuilder_ == null) { + return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; + } else { + return defBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.SymbolIndex def = 4; + */ + public Builder setDef(com.kcl.api.Spec.SymbolIndex value) { + if (defBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + def_ = value; + } else { + defBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .com.kcl.api.SymbolIndex def = 4; + */ + public Builder setDef( + com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (defBuilder_ == null) { + def_ = builderForValue.build(); + } else { + defBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .com.kcl.api.SymbolIndex def = 4; + */ + public Builder mergeDef(com.kcl.api.Spec.SymbolIndex value) { + if (defBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + def_ != null && + def_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { + getDefBuilder().mergeFrom(value); + } else { + def_ = value; + } + } else { + defBuilder_.mergeFrom(value); + } + if (def_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.SymbolIndex def = 4; + */ + public Builder clearDef() { + bitField0_ = (bitField0_ & ~0x00000008); + def_ = null; + if (defBuilder_ != null) { + defBuilder_.dispose(); + defBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.SymbolIndex def = 4; + */ + public com.kcl.api.Spec.SymbolIndex.Builder getDefBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getDefFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.SymbolIndex def = 4; + */ + public com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder() { + if (defBuilder_ != null) { + return defBuilder_.getMessageOrBuilder(); + } else { + return def_ == null ? + com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; + } + } + /** + * .com.kcl.api.SymbolIndex def = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> + getDefFieldBuilder() { + if (defBuilder_ == null) { + defBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>( + getDef(), + getParentForChildren(), + isClean()); + def_ = null; + } + return defBuilder_; + } + + private java.util.List attrs_ = + java.util.Collections.emptyList(); + private void ensureAttrsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + attrs_ = new java.util.ArrayList(attrs_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> attrsBuilder_; + + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public java.util.List getAttrsList() { + if (attrsBuilder_ == null) { + return java.util.Collections.unmodifiableList(attrs_); + } else { + return attrsBuilder_.getMessageList(); + } + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public int getAttrsCount() { + if (attrsBuilder_ == null) { + return attrs_.size(); + } else { + return attrsBuilder_.getCount(); + } + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public com.kcl.api.Spec.SymbolIndex getAttrs(int index) { + if (attrsBuilder_ == null) { + return attrs_.get(index); + } else { + return attrsBuilder_.getMessage(index); + } + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder setAttrs( + int index, com.kcl.api.Spec.SymbolIndex value) { + if (attrsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttrsIsMutable(); + attrs_.set(index, value); + onChanged(); + } else { + attrsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder setAttrs( + int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + attrs_.set(index, builderForValue.build()); + onChanged(); + } else { + attrsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder addAttrs(com.kcl.api.Spec.SymbolIndex value) { + if (attrsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttrsIsMutable(); + attrs_.add(value); + onChanged(); + } else { + attrsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder addAttrs( + int index, com.kcl.api.Spec.SymbolIndex value) { + if (attrsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttrsIsMutable(); + attrs_.add(index, value); + onChanged(); + } else { + attrsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder addAttrs( + com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + attrs_.add(builderForValue.build()); + onChanged(); + } else { + attrsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder addAttrs( + int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + attrs_.add(index, builderForValue.build()); + onChanged(); + } else { + attrsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder addAllAttrs( + java.lang.Iterable values) { + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attrs_); + onChanged(); + } else { + attrsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder clearAttrs() { + if (attrsBuilder_ == null) { + attrs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + attrsBuilder_.clear(); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder removeAttrs(int index) { + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + attrs_.remove(index); + onChanged(); + } else { + attrsBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder getAttrsBuilder( + int index) { + return getAttrsFieldBuilder().getBuilder(index); + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder( + int index) { + if (attrsBuilder_ == null) { + return attrs_.get(index); } else { + return attrsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public java.util.List + getAttrsOrBuilderList() { + if (attrsBuilder_ != null) { + return attrsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(attrs_); + } + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder() { + return getAttrsFieldBuilder().addBuilder( + com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder( + int index) { + return getAttrsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public java.util.List + getAttrsBuilderList() { + return getAttrsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> + getAttrsFieldBuilder() { + if (attrsBuilder_ == null) { + attrsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>( + attrs_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + attrs_ = null; + } + return attrsBuilder_; + } + + private boolean isGlobal_ ; + /** + * bool is_global = 6; + * @return The isGlobal. + */ + @java.lang.Override + public boolean getIsGlobal() { + return isGlobal_; + } + /** + * bool is_global = 6; + * @param value The isGlobal to set. + * @return This builder for chaining. + */ + public Builder setIsGlobal(boolean value) { + + isGlobal_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * bool is_global = 6; + * @return This builder for chaining. + */ + public Builder clearIsGlobal() { + bitField0_ = (bitField0_ & ~0x00000020); + isGlobal_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Symbol) + } - public static final int DEBUG_FIELD_NUMBER = 8; - private boolean debug_ = false; + // @@protoc_insertion_point(class_scope:com.kcl.api.Symbol) + private static final com.kcl.api.Spec.Symbol DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Symbol(); + } - /** - * bool debug = 8; - * - * @return The debug. - */ - @java.lang.Override - public boolean getDebug() { - return debug_; - } + public static com.kcl.api.Spec.Symbol getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static final int SORT_KEYS_FIELD_NUMBER = 9; - private boolean sortKeys_ = false; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Symbol parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * bool sort_keys = 9; - * - * @return The sortKeys. - */ - @java.lang.Override - public boolean getSortKeys() { - return sortKeys_; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static final int SHOW_HIDDEN_FIELD_NUMBER = 10; - private boolean showHidden_ = false; + @java.lang.Override + public com.kcl.api.Spec.Symbol getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * bool show_hidden = 10; - * - * @return The showHidden. - */ - @java.lang.Override - public boolean getShowHidden() { - return showHidden_; - } + } - public static final int INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER = 11; - private boolean includeSchemaTypePath_ = false; + public interface ScopeOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Scope) + com.google.protobuf.MessageOrBuilder { - /** - * bool include_schema_type_path = 11; - * - * @return The includeSchemaTypePath. - */ - @java.lang.Override - public boolean getIncludeSchemaTypePath() { - return includeSchemaTypePath_; - } + /** + * string kind = 1; + * @return The kind. + */ + java.lang.String getKind(); + /** + * string kind = 1; + * @return The bytes for kind. + */ + com.google.protobuf.ByteString + getKindBytes(); - public static final int FAST_EVAL_FIELD_NUMBER = 12; - private boolean fastEval_ = false; + /** + * .com.kcl.api.ScopeIndex parent = 2; + * @return Whether the parent field is set. + */ + boolean hasParent(); + /** + * .com.kcl.api.ScopeIndex parent = 2; + * @return The parent. + */ + com.kcl.api.Spec.ScopeIndex getParent(); + /** + * .com.kcl.api.ScopeIndex parent = 2; + */ + com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder(); - /** - * bool fast_eval = 12; - * - * @return The fastEval. - */ - @java.lang.Override - public boolean getFastEval() { - return fastEval_; - } + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + boolean hasOwner(); + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + com.kcl.api.Spec.SymbolIndex getOwner(); + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder(); - private byte memoizedIsInitialized = -1; + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + java.util.List + getChildrenList(); + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + com.kcl.api.Spec.ScopeIndex getChildren(int index); + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + int getChildrenCount(); + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + java.util.List + getChildrenOrBuilderList(); + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder( + int index); - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + java.util.List + getDefsList(); + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + com.kcl.api.Spec.SymbolIndex getDefs(int index); + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + int getDefsCount(); + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + java.util.List + getDefsOrBuilderList(); + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.Scope} + */ + public static final class Scope extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Scope) + ScopeOrBuilder { + private static final long serialVersionUID = 0L; + // Use Scope.newBuilder() to construct. + private Scope(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Scope() { + kind_ = ""; + children_ = java.util.Collections.emptyList(); + defs_ = java.util.Collections.emptyList(); + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Scope(); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < files_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, files_.getRaw(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(output_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, output_); - } - for (int i = 0; i < overrides_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, overrides_.getRaw(i)); - } - for (int i = 0; i < pathSelector_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pathSelector_.getRaw(i)); - } - if (strictRangeCheck_ != false) { - output.writeBool(5, strictRangeCheck_); - } - if (disableNone_ != false) { - output.writeBool(6, disableNone_); - } - if (verbose_ != 0L) { - output.writeInt64(7, verbose_); - } - if (debug_ != false) { - output.writeBool(8, debug_); - } - if (sortKeys_ != false) { - output.writeBool(9, sortKeys_); - } - if (showHidden_ != false) { - output.writeBool(10, showHidden_); - } - if (includeSchemaTypePath_ != false) { - output.writeBool(11, includeSchemaTypePath_); - } - if (fastEval_ != false) { - output.writeBool(12, fastEval_); - } - getUnknownFields().writeTo(output); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < files_.size(); i++) { - dataSize += computeStringSizeNoTag(files_.getRaw(i)); - } - size += dataSize; - size += 1 * getFilesList().size(); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(output_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, output_); - } - { - int dataSize = 0; - for (int i = 0; i < overrides_.size(); i++) { - dataSize += computeStringSizeNoTag(overrides_.getRaw(i)); - } - size += dataSize; - size += 1 * getOverridesList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < pathSelector_.size(); i++) { - dataSize += computeStringSizeNoTag(pathSelector_.getRaw(i)); - } - size += dataSize; - size += 1 * getPathSelectorList().size(); - } - if (strictRangeCheck_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, strictRangeCheck_); - } - if (disableNone_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, disableNone_); - } - if (verbose_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, verbose_); - } - if (debug_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, debug_); - } - if (sortKeys_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, sortKeys_); - } - if (showHidden_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, showHidden_); - } - if (includeSchemaTypePath_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, includeSchemaTypePath_); - } - if (fastEval_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, fastEval_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Scope.class, com.kcl.api.Spec.Scope.Builder.class); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.CliConfig)) { - return super.equals(obj); - } - com.kcl.api.Spec.CliConfig other = (com.kcl.api.Spec.CliConfig) obj; - - if (!getFilesList().equals(other.getFilesList())) - return false; - if (!getOutput().equals(other.getOutput())) - return false; - if (!getOverridesList().equals(other.getOverridesList())) - return false; - if (!getPathSelectorList().equals(other.getPathSelectorList())) - return false; - if (getStrictRangeCheck() != other.getStrictRangeCheck()) - return false; - if (getDisableNone() != other.getDisableNone()) - return false; - if (getVerbose() != other.getVerbose()) - return false; - if (getDebug() != other.getDebug()) - return false; - if (getSortKeys() != other.getSortKeys()) - return false; - if (getShowHidden() != other.getShowHidden()) - return false; - if (getIncludeSchemaTypePath() != other.getIncludeSchemaTypePath()) - return false; - if (getFastEval() != other.getFastEval()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + private int bitField0_; + public static final int KIND_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * string kind = 1; + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } + } + /** + * string kind = 1; + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getFilesCount() > 0) { - hash = (37 * hash) + FILES_FIELD_NUMBER; - hash = (53 * hash) + getFilesList().hashCode(); - } - hash = (37 * hash) + OUTPUT_FIELD_NUMBER; - hash = (53 * hash) + getOutput().hashCode(); - if (getOverridesCount() > 0) { - hash = (37 * hash) + OVERRIDES_FIELD_NUMBER; - hash = (53 * hash) + getOverridesList().hashCode(); - } - if (getPathSelectorCount() > 0) { - hash = (37 * hash) + PATH_SELECTOR_FIELD_NUMBER; - hash = (53 * hash) + getPathSelectorList().hashCode(); - } - hash = (37 * hash) + STRICT_RANGE_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictRangeCheck()); - hash = (37 * hash) + DISABLE_NONE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableNone()); - hash = (37 * hash) + VERBOSE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVerbose()); - hash = (37 * hash) + DEBUG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDebug()); - hash = (37 * hash) + SORT_KEYS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSortKeys()); - hash = (37 * hash) + SHOW_HIDDEN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowHidden()); - hash = (37 * hash) + INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeSchemaTypePath()); - hash = (37 * hash) + FAST_EVAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFastEval()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static final int PARENT_FIELD_NUMBER = 2; + private com.kcl.api.Spec.ScopeIndex parent_; + /** + * .com.kcl.api.ScopeIndex parent = 2; + * @return Whether the parent field is set. + */ + @java.lang.Override + public boolean hasParent() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.ScopeIndex parent = 2; + * @return The parent. + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getParent() { + return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; + } + /** + * .com.kcl.api.ScopeIndex parent = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder() { + return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; + } - public static com.kcl.api.Spec.CliConfig parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static final int OWNER_FIELD_NUMBER = 3; + private com.kcl.api.Spec.SymbolIndex owner_; + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + @java.lang.Override + public boolean hasOwner() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getOwner() { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } - public static com.kcl.api.Spec.CliConfig parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final int CHILDREN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List children_; + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + @java.lang.Override + public java.util.List getChildrenList() { + return children_; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + @java.lang.Override + public java.util.List + getChildrenOrBuilderList() { + return children_; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + @java.lang.Override + public int getChildrenCount() { + return children_.size(); + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getChildren(int index) { + return children_.get(index); + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder( + int index) { + return children_.get(index); + } - public static com.kcl.api.Spec.CliConfig parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static final int DEFS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List defs_; + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + @java.lang.Override + public java.util.List getDefsList() { + return defs_; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + @java.lang.Override + public java.util.List + getDefsOrBuilderList() { + return defs_; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + @java.lang.Override + public int getDefsCount() { + return defs_.size(); + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getDefs(int index) { + return defs_.get(index); + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder( + int index) { + return defs_.get(index); + } - public static com.kcl.api.Spec.CliConfig parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.CliConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.CliConfig parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getParent()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getOwner()); + } + for (int i = 0; i < children_.size(); i++) { + output.writeMessage(4, children_.get(i)); + } + for (int i = 0; i < defs_.size(); i++) { + output.writeMessage(5, defs_.get(i)); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.CliConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getParent()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOwner()); + } + for (int i = 0; i < children_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, children_.get(i)); + } + for (int i = 0; i < defs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, defs_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.CliConfig parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Scope)) { + return super.equals(obj); + } + com.kcl.api.Spec.Scope other = (com.kcl.api.Spec.Scope) obj; + + if (!getKind() + .equals(other.getKind())) return false; + if (hasParent() != other.hasParent()) return false; + if (hasParent()) { + if (!getParent() + .equals(other.getParent())) return false; + } + if (hasOwner() != other.hasOwner()) return false; + if (hasOwner()) { + if (!getOwner() + .equals(other.getOwner())) return false; + } + if (!getChildrenList() + .equals(other.getChildrenList())) return false; + if (!getDefsList() + .equals(other.getDefsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.CliConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + if (hasParent()) { + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + } + if (hasOwner()) { + hash = (37 * hash) + OWNER_FIELD_NUMBER; + hash = (53 * hash) + getOwner().hashCode(); + } + if (getChildrenCount() > 0) { + hash = (37 * hash) + CHILDREN_FIELD_NUMBER; + hash = (53 * hash) + getChildrenList().hashCode(); + } + if (getDefsCount() > 0) { + hash = (37 * hash) + DEFS_FIELD_NUMBER; + hash = (53 * hash) + getDefsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.CliConfig 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 com.kcl.api.Spec.Scope parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Scope parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Scope parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Scope parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Scope parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Scope parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Scope parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Scope 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 com.kcl.api.Spec.CliConfig parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.Scope parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.CliConfig parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + public static com.kcl.api.Spec.Scope 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 com.kcl.api.Spec.Scope parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Scope parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Scope prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Scope} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Scope) + com.kcl.api.Spec.ScopeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Scope.class, com.kcl.api.Spec.Scope.Builder.class); + } + + // Construct using com.kcl.api.Spec.Scope.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getParentFieldBuilder(); + getOwnerFieldBuilder(); + getChildrenFieldBuilder(); + getDefsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + kind_ = ""; + parent_ = null; + if (parentBuilder_ != null) { + parentBuilder_.dispose(); + parentBuilder_ = null; + } + owner_ = null; + if (ownerBuilder_ != null) { + ownerBuilder_.dispose(); + ownerBuilder_ = null; + } + if (childrenBuilder_ == null) { + children_ = java.util.Collections.emptyList(); + } else { + children_ = null; + childrenBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (defsBuilder_ == null) { + defs_ = java.util.Collections.emptyList(); + } else { + defs_ = null; + defsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Scope getDefaultInstanceForType() { + return com.kcl.api.Spec.Scope.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Scope build() { + com.kcl.api.Spec.Scope result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Scope buildPartial() { + com.kcl.api.Spec.Scope result = new com.kcl.api.Spec.Scope(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.Scope result) { + if (childrenBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + children_ = java.util.Collections.unmodifiableList(children_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.children_ = children_; + } else { + result.children_ = childrenBuilder_.build(); + } + if (defsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + defs_ = java.util.Collections.unmodifiableList(defs_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.defs_ = defs_; + } else { + result.defs_ = defsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.Scope result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.kind_ = kind_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.parent_ = parentBuilder_ == null + ? parent_ + : parentBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.owner_ = ownerBuilder_ == null + ? owner_ + : ownerBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Scope) { + return mergeFrom((com.kcl.api.Spec.Scope)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Scope other) { + if (other == com.kcl.api.Spec.Scope.getDefaultInstance()) return this; + if (!other.getKind().isEmpty()) { + kind_ = other.kind_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasParent()) { + mergeParent(other.getParent()); + } + if (other.hasOwner()) { + mergeOwner(other.getOwner()); + } + if (childrenBuilder_ == null) { + if (!other.children_.isEmpty()) { + if (children_.isEmpty()) { + children_ = other.children_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureChildrenIsMutable(); + children_.addAll(other.children_); + } + onChanged(); + } + } else { + if (!other.children_.isEmpty()) { + if (childrenBuilder_.isEmpty()) { + childrenBuilder_.dispose(); + childrenBuilder_ = null; + children_ = other.children_; + bitField0_ = (bitField0_ & ~0x00000008); + childrenBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChildrenFieldBuilder() : null; + } else { + childrenBuilder_.addAllMessages(other.children_); + } + } } + if (defsBuilder_ == null) { + if (!other.defs_.isEmpty()) { + if (defs_.isEmpty()) { + defs_ = other.defs_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureDefsIsMutable(); + defs_.addAll(other.defs_); + } + onChanged(); + } + } else { + if (!other.defs_.isEmpty()) { + if (defsBuilder_.isEmpty()) { + defsBuilder_.dispose(); + defsBuilder_ = null; + defs_ = other.defs_; + bitField0_ = (bitField0_ & ~0x00000010); + defsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDefsFieldBuilder() : null; + } else { + defsBuilder_.addAllMessages(other.defs_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getParentFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getOwnerFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.kcl.api.Spec.ScopeIndex m = + input.readMessage( + com.kcl.api.Spec.ScopeIndex.parser(), + extensionRegistry); + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(m); + } else { + childrenBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.kcl.api.Spec.SymbolIndex m = + input.readMessage( + com.kcl.api.Spec.SymbolIndex.parser(), + extensionRegistry); + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + defs_.add(m); + } else { + defsBuilder_.addMessage(m); + } + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object kind_ = ""; + /** + * string kind = 1; + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string kind = 1; + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string kind = 1; + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kind_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string kind = 1; + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string kind = 1; + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.kcl.api.Spec.ScopeIndex parent_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder> parentBuilder_; + /** + * .com.kcl.api.ScopeIndex parent = 2; + * @return Whether the parent field is set. + */ + public boolean hasParent() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .com.kcl.api.ScopeIndex parent = 2; + * @return The parent. + */ + public com.kcl.api.Spec.ScopeIndex getParent() { + if (parentBuilder_ == null) { + return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; + } else { + return parentBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.ScopeIndex parent = 2; + */ + public Builder setParent(com.kcl.api.Spec.ScopeIndex value) { + if (parentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + } else { + parentBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .com.kcl.api.ScopeIndex parent = 2; + */ + public Builder setParent( + com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { + if (parentBuilder_ == null) { + parent_ = builderForValue.build(); + } else { + parentBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .com.kcl.api.ScopeIndex parent = 2; + */ + public Builder mergeParent(com.kcl.api.Spec.ScopeIndex value) { + if (parentBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + parent_ != null && + parent_ != com.kcl.api.Spec.ScopeIndex.getDefaultInstance()) { + getParentBuilder().mergeFrom(value); + } else { + parent_ = value; + } + } else { + parentBuilder_.mergeFrom(value); + } + if (parent_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.ScopeIndex parent = 2; + */ + public Builder clearParent() { + bitField0_ = (bitField0_ & ~0x00000002); + parent_ = null; + if (parentBuilder_ != null) { + parentBuilder_.dispose(); + parentBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.ScopeIndex parent = 2; + */ + public com.kcl.api.Spec.ScopeIndex.Builder getParentBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getParentFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.ScopeIndex parent = 2; + */ + public com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder() { + if (parentBuilder_ != null) { + return parentBuilder_.getMessageOrBuilder(); + } else { + return parent_ == null ? + com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; + } + } + /** + * .com.kcl.api.ScopeIndex parent = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder> + getParentFieldBuilder() { + if (parentBuilder_ == null) { + parentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder>( + getParent(), + getParentForChildren(), + isClean()); + parent_ = null; + } + return parentBuilder_; + } + + private com.kcl.api.Spec.SymbolIndex owner_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> ownerBuilder_; + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + public boolean hasOwner() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + public com.kcl.api.Spec.SymbolIndex getOwner() { + if (ownerBuilder_ == null) { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } else { + return ownerBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder setOwner(com.kcl.api.Spec.SymbolIndex value) { + if (ownerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + owner_ = value; + } else { + ownerBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder setOwner( + com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (ownerBuilder_ == null) { + owner_ = builderForValue.build(); + } else { + ownerBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder mergeOwner(com.kcl.api.Spec.SymbolIndex value) { + if (ownerBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + owner_ != null && + owner_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { + getOwnerBuilder().mergeFrom(value); + } else { + owner_ = value; + } + } else { + ownerBuilder_.mergeFrom(value); + } + if (owner_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder clearOwner() { + bitField0_ = (bitField0_ & ~0x00000004); + owner_ = null; + if (ownerBuilder_ != null) { + ownerBuilder_.dispose(); + ownerBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public com.kcl.api.Spec.SymbolIndex.Builder getOwnerBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getOwnerFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { + if (ownerBuilder_ != null) { + return ownerBuilder_.getMessageOrBuilder(); + } else { + return owner_ == null ? + com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } + } + /** + * .com.kcl.api.SymbolIndex owner = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> + getOwnerFieldBuilder() { + if (ownerBuilder_ == null) { + ownerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>( + getOwner(), + getParentForChildren(), + isClean()); + owner_ = null; + } + return ownerBuilder_; + } + + private java.util.List children_ = + java.util.Collections.emptyList(); + private void ensureChildrenIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + children_ = new java.util.ArrayList(children_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder> childrenBuilder_; + + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public java.util.List getChildrenList() { + if (childrenBuilder_ == null) { + return java.util.Collections.unmodifiableList(children_); + } else { + return childrenBuilder_.getMessageList(); + } + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public int getChildrenCount() { + if (childrenBuilder_ == null) { + return children_.size(); + } else { + return childrenBuilder_.getCount(); + } + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public com.kcl.api.Spec.ScopeIndex getChildren(int index) { + if (childrenBuilder_ == null) { + return children_.get(index); + } else { + return childrenBuilder_.getMessage(index); + } + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder setChildren( + int index, com.kcl.api.Spec.ScopeIndex value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.set(index, value); + onChanged(); + } else { + childrenBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder setChildren( + int index, com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.set(index, builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder addChildren(com.kcl.api.Spec.ScopeIndex value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.add(value); + onChanged(); + } else { + childrenBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder addChildren( + int index, com.kcl.api.Spec.ScopeIndex value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.add(index, value); + onChanged(); + } else { + childrenBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder addChildren( + com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder addChildren( + int index, com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(index, builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder addAllChildren( + java.lang.Iterable values) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, children_); + onChanged(); + } else { + childrenBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder clearChildren() { + if (childrenBuilder_ == null) { + children_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + childrenBuilder_.clear(); + } + return this; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder removeChildren(int index) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.remove(index); + onChanged(); + } else { + childrenBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public com.kcl.api.Spec.ScopeIndex.Builder getChildrenBuilder( + int index) { + return getChildrenFieldBuilder().getBuilder(index); + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder( + int index) { + if (childrenBuilder_ == null) { + return children_.get(index); } else { + return childrenBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public java.util.List + getChildrenOrBuilderList() { + if (childrenBuilder_ != null) { + return childrenBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(children_); + } + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder() { + return getChildrenFieldBuilder().addBuilder( + com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder( + int index) { + return getChildrenFieldBuilder().addBuilder( + index, com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public java.util.List + getChildrenBuilderList() { + return getChildrenFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder> + getChildrenFieldBuilder() { + if (childrenBuilder_ == null) { + childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder>( + children_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + children_ = null; + } + return childrenBuilder_; + } + + private java.util.List defs_ = + java.util.Collections.emptyList(); + private void ensureDefsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + defs_ = new java.util.ArrayList(defs_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> defsBuilder_; + + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public java.util.List getDefsList() { + if (defsBuilder_ == null) { + return java.util.Collections.unmodifiableList(defs_); + } else { + return defsBuilder_.getMessageList(); + } + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public int getDefsCount() { + if (defsBuilder_ == null) { + return defs_.size(); + } else { + return defsBuilder_.getCount(); + } + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public com.kcl.api.Spec.SymbolIndex getDefs(int index) { + if (defsBuilder_ == null) { + return defs_.get(index); + } else { + return defsBuilder_.getMessage(index); + } + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder setDefs( + int index, com.kcl.api.Spec.SymbolIndex value) { + if (defsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDefsIsMutable(); + defs_.set(index, value); + onChanged(); + } else { + defsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder setDefs( + int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + defs_.set(index, builderForValue.build()); + onChanged(); + } else { + defsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder addDefs(com.kcl.api.Spec.SymbolIndex value) { + if (defsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDefsIsMutable(); + defs_.add(value); + onChanged(); + } else { + defsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder addDefs( + int index, com.kcl.api.Spec.SymbolIndex value) { + if (defsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDefsIsMutable(); + defs_.add(index, value); + onChanged(); + } else { + defsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder addDefs( + com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + defs_.add(builderForValue.build()); + onChanged(); + } else { + defsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder addDefs( + int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + defs_.add(index, builderForValue.build()); + onChanged(); + } else { + defsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder addAllDefs( + java.lang.Iterable values) { + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, defs_); + onChanged(); + } else { + defsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder clearDefs() { + if (defsBuilder_ == null) { + defs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + defsBuilder_.clear(); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder removeDefs(int index) { + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + defs_.remove(index); + onChanged(); + } else { + defsBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder getDefsBuilder( + int index) { + return getDefsFieldBuilder().getBuilder(index); + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder( + int index) { + if (defsBuilder_ == null) { + return defs_.get(index); } else { + return defsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public java.util.List + getDefsOrBuilderList() { + if (defsBuilder_ != null) { + return defsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(defs_); + } + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder() { + return getDefsFieldBuilder().addBuilder( + com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder( + int index) { + return getDefsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public java.util.List + getDefsBuilderList() { + return getDefsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> + getDefsFieldBuilder() { + if (defsBuilder_ == null) { + defsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>( + defs_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + defs_ = null; + } + return defsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Scope) + } - public static Builder newBuilder(com.kcl.api.Spec.CliConfig prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Scope) + private static final com.kcl.api.Spec.Scope DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Scope(); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static com.kcl.api.Spec.Scope getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.CliConfig} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.CliConfig) - com.kcl.api.Spec.CliConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Scope parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.CliConfig.class, - com.kcl.api.Spec.CliConfig.Builder.class); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - // Construct using com.kcl.api.Spec.CliConfig.newBuilder() - private Builder() { + @java.lang.Override + public com.kcl.api.Spec.Scope getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - } + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + public interface SymbolIndexOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.SymbolIndex) + com.google.protobuf.MessageOrBuilder { - } + /** + * uint64 i = 1; + * @return The i. + */ + long getI(); - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - output_ = ""; - overrides_ = com.google.protobuf.LazyStringArrayList.emptyList(); - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - strictRangeCheck_ = false; - disableNone_ = false; - verbose_ = 0L; - debug_ = false; - sortKeys_ = false; - showHidden_ = false; - includeSchemaTypePath_ = false; - fastEval_ = false; - return this; - } + /** + * uint64 g = 2; + * @return The g. + */ + long getG(); - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; - } + /** + * string kind = 3; + * @return The kind. + */ + java.lang.String getKind(); + /** + * string kind = 3; + * @return The bytes for kind. + */ + com.google.protobuf.ByteString + getKindBytes(); + } + /** + * Protobuf type {@code com.kcl.api.SymbolIndex} + */ + public static final class SymbolIndex extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.SymbolIndex) + SymbolIndexOrBuilder { + private static final long serialVersionUID = 0L; + // Use SymbolIndex.newBuilder() to construct. + private SymbolIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SymbolIndex() { + kind_ = ""; + } - @java.lang.Override - public com.kcl.api.Spec.CliConfig getDefaultInstanceForType() { - return com.kcl.api.Spec.CliConfig.getDefaultInstance(); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SymbolIndex(); + } - @java.lang.Override - public com.kcl.api.Spec.CliConfig build() { - com.kcl.api.Spec.CliConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; + } - @java.lang.Override - public com.kcl.api.Spec.CliConfig buildPartial() { - com.kcl.api.Spec.CliConfig result = new com.kcl.api.Spec.CliConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.SymbolIndex.class, com.kcl.api.Spec.SymbolIndex.Builder.class); + } - private void buildPartial0(com.kcl.api.Spec.CliConfig result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - files_.makeImmutable(); - result.files_ = files_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.output_ = output_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - overrides_.makeImmutable(); - result.overrides_ = overrides_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - pathSelector_.makeImmutable(); - result.pathSelector_ = pathSelector_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.strictRangeCheck_ = strictRangeCheck_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.disableNone_ = disableNone_; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.verbose_ = verbose_; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.debug_ = debug_; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.sortKeys_ = sortKeys_; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.showHidden_ = showHidden_; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.includeSchemaTypePath_ = includeSchemaTypePath_; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.fastEval_ = fastEval_; - } - } + public static final int I_FIELD_NUMBER = 1; + private long i_ = 0L; + /** + * uint64 i = 1; + * @return The i. + */ + @java.lang.Override + public long getI() { + return i_; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + public static final int G_FIELD_NUMBER = 2; + private long g_ = 0L; + /** + * uint64 g = 2; + * @return The g. + */ + @java.lang.Override + public long getG() { + return g_; + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + public static final int KIND_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * string kind = 3; + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } + } + /** + * string kind = 3; + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (i_ != 0L) { + output.writeUInt64(1, i_); + } + if (g_ != 0L) { + output.writeUInt64(2, g_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (i_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(1, i_); + } + if (g_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(2, g_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.CliConfig) { - return mergeFrom((com.kcl.api.Spec.CliConfig) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.SymbolIndex)) { + return super.equals(obj); + } + com.kcl.api.Spec.SymbolIndex other = (com.kcl.api.Spec.SymbolIndex) obj; + + if (getI() + != other.getI()) return false; + if (getG() + != other.getG()) return false; + if (!getKind() + .equals(other.getKind())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public Builder mergeFrom(com.kcl.api.Spec.CliConfig other) { - if (other == com.kcl.api.Spec.CliConfig.getDefaultInstance()) - return this; - if (!other.files_.isEmpty()) { - if (files_.isEmpty()) { - files_ = other.files_; - bitField0_ |= 0x00000001; - } else { - ensureFilesIsMutable(); - files_.addAll(other.files_); - } - onChanged(); - } - if (!other.getOutput().isEmpty()) { - output_ = other.output_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.overrides_.isEmpty()) { - if (overrides_.isEmpty()) { - overrides_ = other.overrides_; - bitField0_ |= 0x00000004; - } else { - ensureOverridesIsMutable(); - overrides_.addAll(other.overrides_); - } - onChanged(); - } - if (!other.pathSelector_.isEmpty()) { - if (pathSelector_.isEmpty()) { - pathSelector_ = other.pathSelector_; - bitField0_ |= 0x00000008; - } else { - ensurePathSelectorIsMutable(); - pathSelector_.addAll(other.pathSelector_); - } - onChanged(); - } - if (other.getStrictRangeCheck() != false) { - setStrictRangeCheck(other.getStrictRangeCheck()); - } - if (other.getDisableNone() != false) { - setDisableNone(other.getDisableNone()); - } - if (other.getVerbose() != 0L) { - setVerbose(other.getVerbose()); - } - if (other.getDebug() != false) { - setDebug(other.getDebug()); - } - if (other.getSortKeys() != false) { - setSortKeys(other.getSortKeys()); - } - if (other.getShowHidden() != false) { - setShowHidden(other.getShowHidden()); - } - if (other.getIncludeSchemaTypePath() != false) { - setIncludeSchemaTypePath(other.getIncludeSchemaTypePath()); - } - if (other.getFastEval() != false) { - setFastEval(other.getFastEval()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + I_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getI()); + hash = (37 * hash) + G_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getG()); + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilesIsMutable(); - files_.add(s); - break; - } // case 10 - case 18: { - output_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureOverridesIsMutable(); - overrides_.add(s); - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathSelectorIsMutable(); - pathSelector_.add(s); - break; - } // case 34 - case 40: { - strictRangeCheck_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - disableNone_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - verbose_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - debug_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - sortKeys_ = input.readBool(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 80: { - showHidden_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 88: { - includeSchemaTypePath_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 96: { - fastEval_ = input.readBool(); - bitField0_ |= 0x00000800; - break; - } // case 96 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + public static com.kcl.api.Spec.SymbolIndex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private int bitField0_; + public static com.kcl.api.Spec.SymbolIndex 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 com.kcl.api.Spec.SymbolIndex parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.SymbolIndex prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private void ensureFilesIsMutable() { - if (!files_.isModifiable()) { - files_ = new com.google.protobuf.LazyStringArrayList(files_); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.SymbolIndex} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.SymbolIndex) + com.kcl.api.Spec.SymbolIndexOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.SymbolIndex.class, com.kcl.api.Spec.SymbolIndex.Builder.class); + } + + // Construct using com.kcl.api.Spec.SymbolIndex.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + i_ = 0L; + g_ = 0L; + kind_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getDefaultInstanceForType() { + return com.kcl.api.Spec.SymbolIndex.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex build() { + com.kcl.api.Spec.SymbolIndex result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex buildPartial() { + com.kcl.api.Spec.SymbolIndex result = new com.kcl.api.Spec.SymbolIndex(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.SymbolIndex result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.i_ = i_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.g_ = g_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.kind_ = kind_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.SymbolIndex) { + return mergeFrom((com.kcl.api.Spec.SymbolIndex)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.SymbolIndex other) { + if (other == com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) return this; + if (other.getI() != 0L) { + setI(other.getI()); + } + if (other.getG() != 0L) { + setG(other.getG()); + } + if (!other.getKind().isEmpty()) { + kind_ = other.kind_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + i_ = input.readUInt64(); bitField0_ |= 0x00000001; - } + break; + } // case 8 + case 16: { + g_ = input.readUInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long i_ ; + /** + * uint64 i = 1; + * @return The i. + */ + @java.lang.Override + public long getI() { + return i_; + } + /** + * uint64 i = 1; + * @param value The i to set. + * @return This builder for chaining. + */ + public Builder setI(long value) { + + i_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * uint64 i = 1; + * @return This builder for chaining. + */ + public Builder clearI() { + bitField0_ = (bitField0_ & ~0x00000001); + i_ = 0L; + onChanged(); + return this; + } + + private long g_ ; + /** + * uint64 g = 2; + * @return The g. + */ + @java.lang.Override + public long getG() { + return g_; + } + /** + * uint64 g = 2; + * @param value The g to set. + * @return This builder for chaining. + */ + public Builder setG(long value) { + + g_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * uint64 g = 2; + * @return This builder for chaining. + */ + public Builder clearG() { + bitField0_ = (bitField0_ & ~0x00000002); + g_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * string kind = 3; + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string kind = 3; + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string kind = 3; + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string kind = 3; + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string kind = 3; + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.SymbolIndex) + } - /** - * repeated string files = 1; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - files_.makeImmutable(); - return files_; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.SymbolIndex) + private static final com.kcl.api.Spec.SymbolIndex DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.SymbolIndex(); + } - /** - * repeated string files = 1; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } + public static com.kcl.api.Spec.SymbolIndex getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * repeated string files = 1; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SymbolIndex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * repeated string files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * repeated string files = 1; - * - * @param index - * The index to set the value at. - * @param value - * The files to set. - * - * @return This builder for chaining. - */ - public Builder setFiles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * repeated string files = 1; - * - * @param value - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addFiles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + } - /** - * repeated string files = 1; - * - * @param values - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addAllFiles(java.lang.Iterable values) { - ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public interface ScopeIndexOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ScopeIndex) + com.google.protobuf.MessageOrBuilder { - /** - * repeated string files = 1; - * - * @return This builder for chaining. - */ - public Builder clearFiles() { - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } + /** + * uint64 i = 1; + * @return The i. + */ + long getI(); - /** - * repeated string files = 1; - * - * @param value - * The bytes of the files to add. - * - * @return This builder for chaining. - */ - public Builder addFilesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + * uint64 g = 2; + * @return The g. + */ + long getG(); - private java.lang.Object output_ = ""; - - /** - * string output = 2; - * - * @return The output. - */ - public java.lang.String getOutput() { - java.lang.Object ref = output_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - output_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + /** + * string kind = 3; + * @return The kind. + */ + java.lang.String getKind(); + /** + * string kind = 3; + * @return The bytes for kind. + */ + com.google.protobuf.ByteString + getKindBytes(); + } + /** + * Protobuf type {@code com.kcl.api.ScopeIndex} + */ + public static final class ScopeIndex extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ScopeIndex) + ScopeIndexOrBuilder { + private static final long serialVersionUID = 0L; + // Use ScopeIndex.newBuilder() to construct. + private ScopeIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ScopeIndex() { + kind_ = ""; + } - /** - * string output = 2; - * - * @return The bytes for output. - */ - public com.google.protobuf.ByteString getOutputBytes() { - java.lang.Object ref = output_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - output_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ScopeIndex(); + } - /** - * string output = 2; - * - * @param value - * The output to set. - * - * @return This builder for chaining. - */ - public Builder setOutput(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - output_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; + } - /** - * string output = 2; - * - * @return This builder for chaining. - */ - public Builder clearOutput() { - output_ = getDefaultInstance().getOutput(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ScopeIndex.class, com.kcl.api.Spec.ScopeIndex.Builder.class); + } - /** - * string output = 2; - * - * @param value - * The bytes for output to set. - * - * @return This builder for chaining. - */ - public Builder setOutputBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - output_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final int I_FIELD_NUMBER = 1; + private long i_ = 0L; + /** + * uint64 i = 1; + * @return The i. + */ + @java.lang.Override + public long getI() { + return i_; + } - private com.google.protobuf.LazyStringArrayList overrides_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + public static final int G_FIELD_NUMBER = 2; + private long g_ = 0L; + /** + * uint64 g = 2; + * @return The g. + */ + @java.lang.Override + public long getG() { + return g_; + } - private void ensureOverridesIsMutable() { - if (!overrides_.isModifiable()) { - overrides_ = new com.google.protobuf.LazyStringArrayList(overrides_); - } - bitField0_ |= 0x00000004; - } + public static final int KIND_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * string kind = 3; + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } + } + /** + * string kind = 3; + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * repeated string overrides = 3; - * - * @return A list containing the overrides. - */ - public com.google.protobuf.ProtocolStringList getOverridesList() { - overrides_.makeImmutable(); - return overrides_; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - * repeated string overrides = 3; - * - * @return The count of overrides. - */ - public int getOverridesCount() { - return overrides_.size(); - } + memoizedIsInitialized = 1; + return true; + } - /** - * repeated string overrides = 3; - * - * @param index - * The index of the element to return. - * - * @return The overrides at the given index. - */ - public java.lang.String getOverrides(int index) { - return overrides_.get(index); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (i_ != 0L) { + output.writeUInt64(1, i_); + } + if (g_ != 0L) { + output.writeUInt64(2, g_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); + } + getUnknownFields().writeTo(output); + } - /** - * repeated string overrides = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the overrides at the given index. - */ - public com.google.protobuf.ByteString getOverridesBytes(int index) { - return overrides_.getByteString(index); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (i_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(1, i_); + } + if (g_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(2, g_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - * repeated string overrides = 3; - * - * @param index - * The index to set the value at. - * @param value - * The overrides to set. - * - * @return This builder for chaining. - */ - public Builder setOverrides(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ScopeIndex)) { + return super.equals(obj); + } + com.kcl.api.Spec.ScopeIndex other = (com.kcl.api.Spec.ScopeIndex) obj; + + if (getI() + != other.getI()) return false; + if (getG() + != other.getG()) return false; + if (!getKind() + .equals(other.getKind())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - * repeated string overrides = 3; - * - * @param value - * The overrides to add. - * - * @return This builder for chaining. - */ - public Builder addOverrides(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + I_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getI()); + hash = (37 * hash) + G_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getG()); + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * repeated string overrides = 3; - * - * @param values - * The overrides to add. - * - * @return This builder for chaining. - */ - public Builder addAllOverrides(java.lang.Iterable values) { - ensureOverridesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, overrides_); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated string overrides = 3; - * - * @return This builder for chaining. - */ - public Builder clearOverrides() { - overrides_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; - } + public static com.kcl.api.Spec.ScopeIndex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * repeated string overrides = 3; - * - * @param value - * The bytes of the overrides to add. - * - * @return This builder for chaining. - */ - public Builder addOverridesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureOverridesIsMutable(); - overrides_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public static com.kcl.api.Spec.ScopeIndex 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 com.kcl.api.Spec.ScopeIndex parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private com.google.protobuf.LazyStringArrayList pathSelector_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ScopeIndex prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private void ensurePathSelectorIsMutable() { - if (!pathSelector_.isModifiable()) { - pathSelector_ = new com.google.protobuf.LazyStringArrayList(pathSelector_); - } - bitField0_ |= 0x00000008; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ScopeIndex} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ScopeIndex) + com.kcl.api.Spec.ScopeIndexOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ScopeIndex.class, com.kcl.api.Spec.ScopeIndex.Builder.class); + } + + // Construct using com.kcl.api.Spec.ScopeIndex.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + i_ = 0L; + g_ = 0L; + kind_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getDefaultInstanceForType() { + return com.kcl.api.Spec.ScopeIndex.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex build() { + com.kcl.api.Spec.ScopeIndex result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex buildPartial() { + com.kcl.api.Spec.ScopeIndex result = new com.kcl.api.Spec.ScopeIndex(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ScopeIndex result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.i_ = i_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.g_ = g_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.kind_ = kind_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ScopeIndex) { + return mergeFrom((com.kcl.api.Spec.ScopeIndex)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ScopeIndex other) { + if (other == com.kcl.api.Spec.ScopeIndex.getDefaultInstance()) return this; + if (other.getI() != 0L) { + setI(other.getI()); + } + if (other.getG() != 0L) { + setG(other.getG()); + } + if (!other.getKind().isEmpty()) { + kind_ = other.kind_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + i_ = input.readUInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + g_ = input.readUInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long i_ ; + /** + * uint64 i = 1; + * @return The i. + */ + @java.lang.Override + public long getI() { + return i_; + } + /** + * uint64 i = 1; + * @param value The i to set. + * @return This builder for chaining. + */ + public Builder setI(long value) { + + i_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * uint64 i = 1; + * @return This builder for chaining. + */ + public Builder clearI() { + bitField0_ = (bitField0_ & ~0x00000001); + i_ = 0L; + onChanged(); + return this; + } + + private long g_ ; + /** + * uint64 g = 2; + * @return The g. + */ + @java.lang.Override + public long getG() { + return g_; + } + /** + * uint64 g = 2; + * @param value The g to set. + * @return This builder for chaining. + */ + public Builder setG(long value) { + + g_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * uint64 g = 2; + * @return This builder for chaining. + */ + public Builder clearG() { + bitField0_ = (bitField0_ & ~0x00000002); + g_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * string kind = 3; + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string kind = 3; + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string kind = 3; + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string kind = 3; + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string kind = 3; + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ScopeIndex) + } - /** - * repeated string path_selector = 4; - * - * @return A list containing the pathSelector. - */ - public com.google.protobuf.ProtocolStringList getPathSelectorList() { - pathSelector_.makeImmutable(); - return pathSelector_; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ScopeIndex) + private static final com.kcl.api.Spec.ScopeIndex DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ScopeIndex(); + } - /** - * repeated string path_selector = 4; - * - * @return The count of pathSelector. - */ - public int getPathSelectorCount() { - return pathSelector_.size(); - } + public static com.kcl.api.Spec.ScopeIndex getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * repeated string path_selector = 4; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - public java.lang.String getPathSelector(int index) { - return pathSelector_.get(index); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScopeIndex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * repeated string path_selector = 4; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - public com.google.protobuf.ByteString getPathSelectorBytes(int index) { - return pathSelector_.getByteString(index); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * repeated string path_selector = 4; - * - * @param index - * The index to set the value at. - * @param value - * The pathSelector to set. - * - * @return This builder for chaining. - */ - public Builder setPathSelector(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathSelectorIsMutable(); - pathSelector_.set(index, value); - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * repeated string path_selector = 4; - * - * @param value - * The pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addPathSelector(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathSelectorIsMutable(); - pathSelector_.add(value); - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + } - /** - * repeated string path_selector = 4; - * - * @param values - * The pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addAllPathSelector(java.lang.Iterable values) { - ensurePathSelectorIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pathSelector_); - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + public interface ExecProgram_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgram_Args) + com.google.protobuf.MessageOrBuilder { - /** - * repeated string path_selector = 4; - * - * @return This builder for chaining. - */ - public Builder clearPathSelector() { - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - ; - onChanged(); - return this; - } + /** + * string work_dir = 1; + * @return The workDir. + */ + java.lang.String getWorkDir(); + /** + * string work_dir = 1; + * @return The bytes for workDir. + */ + com.google.protobuf.ByteString + getWorkDirBytes(); - /** - * repeated string path_selector = 4; - * - * @param value - * The bytes of the pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addPathSelectorBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathSelectorIsMutable(); - pathSelector_.add(value); - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + /** + * repeated string k_filename_list = 2; + * @return A list containing the kFilenameList. + */ + java.util.List + getKFilenameListList(); + /** + * repeated string k_filename_list = 2; + * @return The count of kFilenameList. + */ + int getKFilenameListCount(); + /** + * repeated string k_filename_list = 2; + * @param index The index of the element to return. + * @return The kFilenameList at the given index. + */ + java.lang.String getKFilenameList(int index); + /** + * repeated string k_filename_list = 2; + * @param index The index of the value to return. + * @return The bytes of the kFilenameList at the given index. + */ + com.google.protobuf.ByteString + getKFilenameListBytes(int index); - private boolean strictRangeCheck_; + /** + * repeated string k_code_list = 3; + * @return A list containing the kCodeList. + */ + java.util.List + getKCodeListList(); + /** + * repeated string k_code_list = 3; + * @return The count of kCodeList. + */ + int getKCodeListCount(); + /** + * repeated string k_code_list = 3; + * @param index The index of the element to return. + * @return The kCodeList at the given index. + */ + java.lang.String getKCodeList(int index); + /** + * repeated string k_code_list = 3; + * @param index The index of the value to return. + * @return The bytes of the kCodeList at the given index. + */ + com.google.protobuf.ByteString + getKCodeListBytes(int index); - /** - * bool strict_range_check = 5; - * - * @return The strictRangeCheck. - */ - @java.lang.Override - public boolean getStrictRangeCheck() { - return strictRangeCheck_; - } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + java.util.List + getArgsList(); + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + com.kcl.api.Spec.CmdArgSpec getArgs(int index); + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + int getArgsCount(); + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + java.util.List + getArgsOrBuilderList(); + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + com.kcl.api.Spec.CmdArgSpecOrBuilder getArgsOrBuilder( + int index); - /** - * bool strict_range_check = 5; - * - * @param value - * The strictRangeCheck to set. - * - * @return This builder for chaining. - */ - public Builder setStrictRangeCheck(boolean value) { - - strictRangeCheck_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + java.util.List + getOverridesList(); + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + com.kcl.api.Spec.CmdOverrideSpec getOverrides(int index); + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + int getOverridesCount(); + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + java.util.List + getOverridesOrBuilderList(); + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + com.kcl.api.Spec.CmdOverrideSpecOrBuilder getOverridesOrBuilder( + int index); - /** - * bool strict_range_check = 5; - * - * @return This builder for chaining. - */ - public Builder clearStrictRangeCheck() { - bitField0_ = (bitField0_ & ~0x00000010); - strictRangeCheck_ = false; - onChanged(); - return this; - } + /** + * bool disable_yaml_result = 6; + * @return The disableYamlResult. + */ + boolean getDisableYamlResult(); - private boolean disableNone_; + /** + * bool print_override_ast = 7; + * @return The printOverrideAst. + */ + boolean getPrintOverrideAst(); - /** - * bool disable_none = 6; - * - * @return The disableNone. - */ - @java.lang.Override - public boolean getDisableNone() { - return disableNone_; - } + /** + *
+     * -r --strict-range-check
+     * 
+ * + * bool strict_range_check = 8; + * @return The strictRangeCheck. + */ + boolean getStrictRangeCheck(); - /** - * bool disable_none = 6; - * - * @param value - * The disableNone to set. - * - * @return This builder for chaining. - */ - public Builder setDisableNone(boolean value) { - - disableNone_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } + /** + *
+     * -n --disable-none
+     * 
+ * + * bool disable_none = 9; + * @return The disableNone. + */ + boolean getDisableNone(); - /** - * bool disable_none = 6; - * - * @return This builder for chaining. - */ - public Builder clearDisableNone() { - bitField0_ = (bitField0_ & ~0x00000020); - disableNone_ = false; - onChanged(); - return this; - } + /** + *
+     * -v --verbose
+     * 
+ * + * int32 verbose = 10; + * @return The verbose. + */ + int getVerbose(); - private long verbose_; + /** + *
+     * -d --debug
+     * 
+ * + * int32 debug = 11; + * @return The debug. + */ + int getDebug(); - /** - * int64 verbose = 7; - * - * @return The verbose. - */ - @java.lang.Override - public long getVerbose() { - return verbose_; - } + /** + *
+     * yaml/json: sort keys
+     * 
+ * + * bool sort_keys = 12; + * @return The sortKeys. + */ + boolean getSortKeys(); - /** - * int64 verbose = 7; - * - * @param value - * The verbose to set. - * - * @return This builder for chaining. - */ - public Builder setVerbose(long value) { - - verbose_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + /** + *
+     * -E --external : external packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + java.util.List + getExternalPkgsList(); + /** + *
+     * -E --external : external packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index); + /** + *
+     * -E --external : external packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + int getExternalPkgsCount(); + /** + *
+     * -E --external : external packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + java.util.List + getExternalPkgsOrBuilderList(); + /** + *
+     * -E --external : external packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder( + int index); - /** - * int64 verbose = 7; - * - * @return This builder for chaining. - */ - public Builder clearVerbose() { - bitField0_ = (bitField0_ & ~0x00000040); - verbose_ = 0L; - onChanged(); - return this; - } + /** + *
+     * Whether including schema type in JSON/YAML result
+     * 
+ * + * bool include_schema_type_path = 14; + * @return The includeSchemaTypePath. + */ + boolean getIncludeSchemaTypePath(); - private boolean debug_; + /** + *
+     * Whether only compiling the program
+     * 
+ * + * bool compile_only = 15; + * @return The compileOnly. + */ + boolean getCompileOnly(); - /** - * bool debug = 8; - * - * @return The debug. - */ - @java.lang.Override - public boolean getDebug() { - return debug_; - } + /** + *
+     * Show hidden attributes
+     * 
+ * + * bool show_hidden = 16; + * @return The showHidden. + */ + boolean getShowHidden(); - /** - * bool debug = 8; - * - * @param value - * The debug to set. - * - * @return This builder for chaining. - */ - public Builder setDebug(boolean value) { - - debug_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; - } + /** + *
+     * -S --path_selector
+     * 
+ * + * repeated string path_selector = 17; + * @return A list containing the pathSelector. + */ + java.util.List + getPathSelectorList(); + /** + *
+     * -S --path_selector
+     * 
+ * + * repeated string path_selector = 17; + * @return The count of pathSelector. + */ + int getPathSelectorCount(); + /** + *
+     * -S --path_selector
+     * 
+ * + * repeated string path_selector = 17; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + java.lang.String getPathSelector(int index); + /** + *
+     * -S --path_selector
+     * 
+ * + * repeated string path_selector = 17; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + com.google.protobuf.ByteString + getPathSelectorBytes(int index); - /** - * bool debug = 8; - * - * @return This builder for chaining. - */ - public Builder clearDebug() { - bitField0_ = (bitField0_ & ~0x00000080); - debug_ = false; - onChanged(); - return this; - } + /** + *
+     * -K --fast_eval
+     * 
+ * + * bool fast_eval = 18; + * @return The fastEval. + */ + boolean getFastEval(); + } + /** + * Protobuf type {@code com.kcl.api.ExecProgram_Args} + */ + public static final class ExecProgram_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgram_Args) + ExecProgram_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExecProgram_Args.newBuilder() to construct. + private ExecProgram_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExecProgram_Args() { + workDir_ = ""; + kFilenameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + kCodeList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + args_ = java.util.Collections.emptyList(); + overrides_ = java.util.Collections.emptyList(); + externalPkgs_ = java.util.Collections.emptyList(); + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - private boolean sortKeys_; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ExecProgram_Args(); + } - /** - * bool sort_keys = 9; - * - * @return The sortKeys. - */ - @java.lang.Override - public boolean getSortKeys() { - return sortKeys_; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; + } - /** - * bool sort_keys = 9; - * - * @param value - * The sortKeys to set. - * - * @return This builder for chaining. - */ - public Builder setSortKeys(boolean value) { - - sortKeys_ = value; - bitField0_ |= 0x00000100; - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecProgram_Args.class, com.kcl.api.Spec.ExecProgram_Args.Builder.class); + } - /** - * bool sort_keys = 9; - * - * @return This builder for chaining. - */ - public Builder clearSortKeys() { - bitField0_ = (bitField0_ & ~0x00000100); - sortKeys_ = false; - onChanged(); - return this; - } + public static final int WORK_DIR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object workDir_ = ""; + /** + * string work_dir = 1; + * @return The workDir. + */ + @java.lang.Override + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } + } + /** + * string work_dir = 1; + * @return The bytes for workDir. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private boolean showHidden_; + public static final int K_FILENAME_LIST_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList kFilenameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string k_filename_list = 2; + * @return A list containing the kFilenameList. + */ + public com.google.protobuf.ProtocolStringList + getKFilenameListList() { + return kFilenameList_; + } + /** + * repeated string k_filename_list = 2; + * @return The count of kFilenameList. + */ + public int getKFilenameListCount() { + return kFilenameList_.size(); + } + /** + * repeated string k_filename_list = 2; + * @param index The index of the element to return. + * @return The kFilenameList at the given index. + */ + public java.lang.String getKFilenameList(int index) { + return kFilenameList_.get(index); + } + /** + * repeated string k_filename_list = 2; + * @param index The index of the value to return. + * @return The bytes of the kFilenameList at the given index. + */ + public com.google.protobuf.ByteString + getKFilenameListBytes(int index) { + return kFilenameList_.getByteString(index); + } - /** - * bool show_hidden = 10; - * - * @return The showHidden. - */ - @java.lang.Override - public boolean getShowHidden() { - return showHidden_; - } + public static final int K_CODE_LIST_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList kCodeList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string k_code_list = 3; + * @return A list containing the kCodeList. + */ + public com.google.protobuf.ProtocolStringList + getKCodeListList() { + return kCodeList_; + } + /** + * repeated string k_code_list = 3; + * @return The count of kCodeList. + */ + public int getKCodeListCount() { + return kCodeList_.size(); + } + /** + * repeated string k_code_list = 3; + * @param index The index of the element to return. + * @return The kCodeList at the given index. + */ + public java.lang.String getKCodeList(int index) { + return kCodeList_.get(index); + } + /** + * repeated string k_code_list = 3; + * @param index The index of the value to return. + * @return The bytes of the kCodeList at the given index. + */ + public com.google.protobuf.ByteString + getKCodeListBytes(int index) { + return kCodeList_.getByteString(index); + } - /** - * bool show_hidden = 10; - * - * @param value - * The showHidden to set. - * - * @return This builder for chaining. - */ - public Builder setShowHidden(boolean value) { - - showHidden_ = value; - bitField0_ |= 0x00000200; - onChanged(); - return this; - } + public static final int ARGS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List args_; + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + @java.lang.Override + public java.util.List getArgsList() { + return args_; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + @java.lang.Override + public java.util.List + getArgsOrBuilderList() { + return args_; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + @java.lang.Override + public int getArgsCount() { + return args_.size(); + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.CmdArgSpec getArgs(int index) { + return args_.get(index); + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.CmdArgSpecOrBuilder getArgsOrBuilder( + int index) { + return args_.get(index); + } - /** - * bool show_hidden = 10; - * - * @return This builder for chaining. - */ - public Builder clearShowHidden() { - bitField0_ = (bitField0_ & ~0x00000200); - showHidden_ = false; - onChanged(); - return this; - } + public static final int OVERRIDES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List overrides_; + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + @java.lang.Override + public java.util.List getOverridesList() { + return overrides_; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + @java.lang.Override + public java.util.List + getOverridesOrBuilderList() { + return overrides_; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + @java.lang.Override + public int getOverridesCount() { + return overrides_.size(); + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.CmdOverrideSpec getOverrides(int index) { + return overrides_.get(index); + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.CmdOverrideSpecOrBuilder getOverridesOrBuilder( + int index) { + return overrides_.get(index); + } - private boolean includeSchemaTypePath_; + public static final int DISABLE_YAML_RESULT_FIELD_NUMBER = 6; + private boolean disableYamlResult_ = false; + /** + * bool disable_yaml_result = 6; + * @return The disableYamlResult. + */ + @java.lang.Override + public boolean getDisableYamlResult() { + return disableYamlResult_; + } - /** - * bool include_schema_type_path = 11; - * - * @return The includeSchemaTypePath. - */ - @java.lang.Override - public boolean getIncludeSchemaTypePath() { - return includeSchemaTypePath_; - } + public static final int PRINT_OVERRIDE_AST_FIELD_NUMBER = 7; + private boolean printOverrideAst_ = false; + /** + * bool print_override_ast = 7; + * @return The printOverrideAst. + */ + @java.lang.Override + public boolean getPrintOverrideAst() { + return printOverrideAst_; + } - /** - * bool include_schema_type_path = 11; - * - * @param value - * The includeSchemaTypePath to set. - * - * @return This builder for chaining. - */ - public Builder setIncludeSchemaTypePath(boolean value) { - - includeSchemaTypePath_ = value; - bitField0_ |= 0x00000400; - onChanged(); - return this; - } + public static final int STRICT_RANGE_CHECK_FIELD_NUMBER = 8; + private boolean strictRangeCheck_ = false; + /** + *
+     * -r --strict-range-check
+     * 
+ * + * bool strict_range_check = 8; + * @return The strictRangeCheck. + */ + @java.lang.Override + public boolean getStrictRangeCheck() { + return strictRangeCheck_; + } - /** - * bool include_schema_type_path = 11; - * - * @return This builder for chaining. - */ - public Builder clearIncludeSchemaTypePath() { - bitField0_ = (bitField0_ & ~0x00000400); - includeSchemaTypePath_ = false; - onChanged(); - return this; - } + public static final int DISABLE_NONE_FIELD_NUMBER = 9; + private boolean disableNone_ = false; + /** + *
+     * -n --disable-none
+     * 
+ * + * bool disable_none = 9; + * @return The disableNone. + */ + @java.lang.Override + public boolean getDisableNone() { + return disableNone_; + } - private boolean fastEval_; + public static final int VERBOSE_FIELD_NUMBER = 10; + private int verbose_ = 0; + /** + *
+     * -v --verbose
+     * 
+ * + * int32 verbose = 10; + * @return The verbose. + */ + @java.lang.Override + public int getVerbose() { + return verbose_; + } - /** - * bool fast_eval = 12; - * - * @return The fastEval. - */ - @java.lang.Override - public boolean getFastEval() { - return fastEval_; - } + public static final int DEBUG_FIELD_NUMBER = 11; + private int debug_ = 0; + /** + *
+     * -d --debug
+     * 
+ * + * int32 debug = 11; + * @return The debug. + */ + @java.lang.Override + public int getDebug() { + return debug_; + } - /** - * bool fast_eval = 12; - * - * @param value - * The fastEval to set. - * - * @return This builder for chaining. - */ - public Builder setFastEval(boolean value) { - - fastEval_ = value; - bitField0_ |= 0x00000800; - onChanged(); - return this; - } + public static final int SORT_KEYS_FIELD_NUMBER = 12; + private boolean sortKeys_ = false; + /** + *
+     * yaml/json: sort keys
+     * 
+ * + * bool sort_keys = 12; + * @return The sortKeys. + */ + @java.lang.Override + public boolean getSortKeys() { + return sortKeys_; + } - /** - * bool fast_eval = 12; - * - * @return This builder for chaining. - */ - public Builder clearFastEval() { - bitField0_ = (bitField0_ & ~0x00000800); - fastEval_ = false; - onChanged(); - return this; - } + public static final int EXTERNAL_PKGS_FIELD_NUMBER = 13; + @SuppressWarnings("serial") + private java.util.List externalPkgs_; + /** + *
+     * -E --external : external packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + @java.lang.Override + public java.util.List getExternalPkgsList() { + return externalPkgs_; + } + /** + *
+     * -E --external : external packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + @java.lang.Override + public java.util.List + getExternalPkgsOrBuilderList() { + return externalPkgs_; + } + /** + *
+     * -E --external : external packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + @java.lang.Override + public int getExternalPkgsCount() { + return externalPkgs_.size(); + } + /** + *
+     * -E --external : external packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + @java.lang.Override + public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { + return externalPkgs_.get(index); + } + /** + *
+     * -E --external : external packages path
+     * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + @java.lang.Override + public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder( + int index) { + return externalPkgs_.get(index); + } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + public static final int INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER = 14; + private boolean includeSchemaTypePath_ = false; + /** + *
+     * Whether including schema type in JSON/YAML result
+     * 
+ * + * bool include_schema_type_path = 14; + * @return The includeSchemaTypePath. + */ + @java.lang.Override + public boolean getIncludeSchemaTypePath() { + return includeSchemaTypePath_; + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + public static final int COMPILE_ONLY_FIELD_NUMBER = 15; + private boolean compileOnly_ = false; + /** + *
+     * Whether only compiling the program
+     * 
+ * + * bool compile_only = 15; + * @return The compileOnly. + */ + @java.lang.Override + public boolean getCompileOnly() { + return compileOnly_; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.CliConfig) - } + public static final int SHOW_HIDDEN_FIELD_NUMBER = 16; + private boolean showHidden_ = false; + /** + *
+     * Show hidden attributes
+     * 
+ * + * bool show_hidden = 16; + * @return The showHidden. + */ + @java.lang.Override + public boolean getShowHidden() { + return showHidden_; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.CliConfig) - private static final com.kcl.api.Spec.CliConfig DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.CliConfig(); - } + public static final int PATH_SELECTOR_FIELD_NUMBER = 17; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * -S --path_selector
+     * 
+ * + * repeated string path_selector = 17; + * @return A list containing the pathSelector. + */ + public com.google.protobuf.ProtocolStringList + getPathSelectorList() { + return pathSelector_; + } + /** + *
+     * -S --path_selector
+     * 
+ * + * repeated string path_selector = 17; + * @return The count of pathSelector. + */ + public int getPathSelectorCount() { + return pathSelector_.size(); + } + /** + *
+     * -S --path_selector
+     * 
+ * + * repeated string path_selector = 17; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + public java.lang.String getPathSelector(int index) { + return pathSelector_.get(index); + } + /** + *
+     * -S --path_selector
+     * 
+ * + * repeated string path_selector = 17; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + public com.google.protobuf.ByteString + getPathSelectorBytes(int index) { + return pathSelector_.getByteString(index); + } - public static com.kcl.api.Spec.CliConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static final int FAST_EVAL_FIELD_NUMBER = 18; + private boolean fastEval_ = false; + /** + *
+     * -K --fast_eval
+     * 
+ * + * bool fast_eval = 18; + * @return The fastEval. + */ + @java.lang.Override + public boolean getFastEval() { + return fastEval_; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CliConfig parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.google.protobuf.Parser parser() { - return PARSER; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workDir_); + } + for (int i = 0; i < kFilenameList_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kFilenameList_.getRaw(i)); + } + for (int i = 0; i < kCodeList_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kCodeList_.getRaw(i)); + } + for (int i = 0; i < args_.size(); i++) { + output.writeMessage(4, args_.get(i)); + } + for (int i = 0; i < overrides_.size(); i++) { + output.writeMessage(5, overrides_.get(i)); + } + if (disableYamlResult_ != false) { + output.writeBool(6, disableYamlResult_); + } + if (printOverrideAst_ != false) { + output.writeBool(7, printOverrideAst_); + } + if (strictRangeCheck_ != false) { + output.writeBool(8, strictRangeCheck_); + } + if (disableNone_ != false) { + output.writeBool(9, disableNone_); + } + if (verbose_ != 0) { + output.writeInt32(10, verbose_); + } + if (debug_ != 0) { + output.writeInt32(11, debug_); + } + if (sortKeys_ != false) { + output.writeBool(12, sortKeys_); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + output.writeMessage(13, externalPkgs_.get(i)); + } + if (includeSchemaTypePath_ != false) { + output.writeBool(14, includeSchemaTypePath_); + } + if (compileOnly_ != false) { + output.writeBool(15, compileOnly_); + } + if (showHidden_ != false) { + output.writeBool(16, showHidden_); + } + for (int i = 0; i < pathSelector_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 17, pathSelector_.getRaw(i)); + } + if (fastEval_ != false) { + output.writeBool(18, fastEval_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public com.kcl.api.Spec.CliConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workDir_); + } + { + int dataSize = 0; + for (int i = 0; i < kFilenameList_.size(); i++) { + dataSize += computeStringSizeNoTag(kFilenameList_.getRaw(i)); + } + size += dataSize; + size += 1 * getKFilenameListList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < kCodeList_.size(); i++) { + dataSize += computeStringSizeNoTag(kCodeList_.getRaw(i)); + } + size += dataSize; + size += 1 * getKCodeListList().size(); + } + for (int i = 0; i < args_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, args_.get(i)); + } + for (int i = 0; i < overrides_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, overrides_.get(i)); + } + if (disableYamlResult_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, disableYamlResult_); + } + if (printOverrideAst_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, printOverrideAst_); + } + if (strictRangeCheck_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, strictRangeCheck_); + } + if (disableNone_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, disableNone_); + } + if (verbose_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, verbose_); + } + if (debug_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, debug_); + } + if (sortKeys_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, sortKeys_); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, externalPkgs_.get(i)); + } + if (includeSchemaTypePath_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(14, includeSchemaTypePath_); + } + if (compileOnly_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(15, compileOnly_); + } + if (showHidden_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, showHidden_); + } + { + int dataSize = 0; + for (int i = 0; i < pathSelector_.size(); i++) { + dataSize += computeStringSizeNoTag(pathSelector_.getRaw(i)); + } + size += dataSize; + size += 2 * getPathSelectorList().size(); + } + if (fastEval_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(18, fastEval_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ExecProgram_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.ExecProgram_Args other = (com.kcl.api.Spec.ExecProgram_Args) obj; + + if (!getWorkDir() + .equals(other.getWorkDir())) return false; + if (!getKFilenameListList() + .equals(other.getKFilenameListList())) return false; + if (!getKCodeListList() + .equals(other.getKCodeListList())) return false; + if (!getArgsList() + .equals(other.getArgsList())) return false; + if (!getOverridesList() + .equals(other.getOverridesList())) return false; + if (getDisableYamlResult() + != other.getDisableYamlResult()) return false; + if (getPrintOverrideAst() + != other.getPrintOverrideAst()) return false; + if (getStrictRangeCheck() + != other.getStrictRangeCheck()) return false; + if (getDisableNone() + != other.getDisableNone()) return false; + if (getVerbose() + != other.getVerbose()) return false; + if (getDebug() + != other.getDebug()) return false; + if (getSortKeys() + != other.getSortKeys()) return false; + if (!getExternalPkgsList() + .equals(other.getExternalPkgsList())) return false; + if (getIncludeSchemaTypePath() + != other.getIncludeSchemaTypePath()) return false; + if (getCompileOnly() + != other.getCompileOnly()) return false; + if (getShowHidden() + != other.getShowHidden()) return false; + if (!getPathSelectorList() + .equals(other.getPathSelectorList())) return false; + if (getFastEval() + != other.getFastEval()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; } - public interface KeyValuePairOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.KeyValuePair) - com.google.protobuf.MessageOrBuilder { + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; + hash = (53 * hash) + getWorkDir().hashCode(); + if (getKFilenameListCount() > 0) { + hash = (37 * hash) + K_FILENAME_LIST_FIELD_NUMBER; + hash = (53 * hash) + getKFilenameListList().hashCode(); + } + if (getKCodeListCount() > 0) { + hash = (37 * hash) + K_CODE_LIST_FIELD_NUMBER; + hash = (53 * hash) + getKCodeListList().hashCode(); + } + if (getArgsCount() > 0) { + hash = (37 * hash) + ARGS_FIELD_NUMBER; + hash = (53 * hash) + getArgsList().hashCode(); + } + if (getOverridesCount() > 0) { + hash = (37 * hash) + OVERRIDES_FIELD_NUMBER; + hash = (53 * hash) + getOverridesList().hashCode(); + } + hash = (37 * hash) + DISABLE_YAML_RESULT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableYamlResult()); + hash = (37 * hash) + PRINT_OVERRIDE_AST_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrintOverrideAst()); + hash = (37 * hash) + STRICT_RANGE_CHECK_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrictRangeCheck()); + hash = (37 * hash) + DISABLE_NONE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableNone()); + hash = (37 * hash) + VERBOSE_FIELD_NUMBER; + hash = (53 * hash) + getVerbose(); + hash = (37 * hash) + DEBUG_FIELD_NUMBER; + hash = (53 * hash) + getDebug(); + hash = (37 * hash) + SORT_KEYS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSortKeys()); + if (getExternalPkgsCount() > 0) { + hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; + hash = (53 * hash) + getExternalPkgsList().hashCode(); + } + hash = (37 * hash) + INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeSchemaTypePath()); + hash = (37 * hash) + COMPILE_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCompileOnly()); + hash = (37 * hash) + SHOW_HIDDEN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowHidden()); + if (getPathSelectorCount() > 0) { + hash = (37 * hash) + PATH_SELECTOR_FIELD_NUMBER; + hash = (53 * hash) + getPathSelectorList().hashCode(); + } + hash = (37 * hash) + FAST_EVAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFastEval()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * string key = 1; - * - * @return The key. - */ - java.lang.String getKey(); + public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgram_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgram_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * string key = 1; - * - * @return The bytes for key. - */ - com.google.protobuf.ByteString getKeyBytes(); + public static com.kcl.api.Spec.ExecProgram_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * string value = 2; - * - * @return The value. - */ - java.lang.String getValue(); + public static com.kcl.api.Spec.ExecProgram_Args 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 com.kcl.api.Spec.ExecProgram_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * string value = 2; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ExecProgram_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** - * Protobuf type {@code com.kcl.api.KeyValuePair} + * Protobuf type {@code com.kcl.api.ExecProgram_Args} */ - public static final class KeyValuePair extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.KeyValuePair) - KeyValuePairOrBuilder { - private static final long serialVersionUID = 0L; - - // Use KeyValuePair.newBuilder() to construct. - private KeyValuePair(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private KeyValuePair() { - key_ = ""; - value_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new KeyValuePair(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.KeyValuePair.class, - com.kcl.api.Spec.KeyValuePair.Builder.class); - } - - public static final int KEY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object key_ = ""; - - /** - * string key = 1; - * - * @return The key. - */ - @java.lang.Override - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgram_Args) + com.kcl.api.Spec.ExecProgram_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecProgram_Args.class, com.kcl.api.Spec.ExecProgram_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.ExecProgram_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + workDir_ = ""; + kFilenameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + kCodeList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (argsBuilder_ == null) { + args_ = java.util.Collections.emptyList(); + } else { + args_ = null; + argsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (overridesBuilder_ == null) { + overrides_ = java.util.Collections.emptyList(); + } else { + overrides_ = null; + overridesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + disableYamlResult_ = false; + printOverrideAst_ = false; + strictRangeCheck_ = false; + disableNone_ = false; + verbose_ = 0; + debug_ = 0; + sortKeys_ = false; + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + } else { + externalPkgs_ = null; + externalPkgsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00001000); + includeSchemaTypePath_ = false; + compileOnly_ = false; + showHidden_ = false; + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + fastEval_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Args build() { + com.kcl.api.Spec.ExecProgram_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Args buildPartial() { + com.kcl.api.Spec.ExecProgram_Args result = new com.kcl.api.Spec.ExecProgram_Args(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ExecProgram_Args result) { + if (argsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + args_ = java.util.Collections.unmodifiableList(args_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.args_ = args_; + } else { + result.args_ = argsBuilder_.build(); + } + if (overridesBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + overrides_ = java.util.Collections.unmodifiableList(overrides_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.overrides_ = overrides_; + } else { + result.overrides_ = overridesBuilder_.build(); + } + if (externalPkgsBuilder_ == null) { + if (((bitField0_ & 0x00001000) != 0)) { + externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); + bitField0_ = (bitField0_ & ~0x00001000); + } + result.externalPkgs_ = externalPkgs_; + } else { + result.externalPkgs_ = externalPkgsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ExecProgram_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.workDir_ = workDir_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + kFilenameList_.makeImmutable(); + result.kFilenameList_ = kFilenameList_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + kCodeList_.makeImmutable(); + result.kCodeList_ = kCodeList_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.disableYamlResult_ = disableYamlResult_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.printOverrideAst_ = printOverrideAst_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.strictRangeCheck_ = strictRangeCheck_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.disableNone_ = disableNone_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.verbose_ = verbose_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.debug_ = debug_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.sortKeys_ = sortKeys_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.includeSchemaTypePath_ = includeSchemaTypePath_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.compileOnly_ = compileOnly_; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.showHidden_ = showHidden_; + } + if (((from_bitField0_ & 0x00010000) != 0)) { + pathSelector_.makeImmutable(); + result.pathSelector_ = pathSelector_; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.fastEval_ = fastEval_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ExecProgram_Args) { + return mergeFrom((com.kcl.api.Spec.ExecProgram_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ExecProgram_Args other) { + if (other == com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) return this; + if (!other.getWorkDir().isEmpty()) { + workDir_ = other.workDir_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.kFilenameList_.isEmpty()) { + if (kFilenameList_.isEmpty()) { + kFilenameList_ = other.kFilenameList_; + bitField0_ |= 0x00000002; + } else { + ensureKFilenameListIsMutable(); + kFilenameList_.addAll(other.kFilenameList_); + } + onChanged(); + } + if (!other.kCodeList_.isEmpty()) { + if (kCodeList_.isEmpty()) { + kCodeList_ = other.kCodeList_; + bitField0_ |= 0x00000004; + } else { + ensureKCodeListIsMutable(); + kCodeList_.addAll(other.kCodeList_); + } + onChanged(); + } + if (argsBuilder_ == null) { + if (!other.args_.isEmpty()) { + if (args_.isEmpty()) { + args_ = other.args_; + bitField0_ = (bitField0_ & ~0x00000008); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } - } - - /** - * string key = 1; - * - * @return The bytes for key. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - key_ = b; - return b; + ensureArgsIsMutable(); + args_.addAll(other.args_); + } + onChanged(); + } + } else { + if (!other.args_.isEmpty()) { + if (argsBuilder_.isEmpty()) { + argsBuilder_.dispose(); + argsBuilder_ = null; + args_ = other.args_; + bitField0_ = (bitField0_ & ~0x00000008); + argsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getArgsFieldBuilder() : null; } else { - return (com.google.protobuf.ByteString) ref; + argsBuilder_.addAllMessages(other.args_); } + } } - - public static final int VALUE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; - - /** - * string value = 2; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (overridesBuilder_ == null) { + if (!other.overrides_.isEmpty()) { + if (overrides_.isEmpty()) { + overrides_ = other.overrides_; + bitField0_ = (bitField0_ & ~0x00000010); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } - - /** - * string value = 2; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; + ensureOverridesIsMutable(); + overrides_.addAll(other.overrides_); + } + onChanged(); + } + } else { + if (!other.overrides_.isEmpty()) { + if (overridesBuilder_.isEmpty()) { + overridesBuilder_.dispose(); + overridesBuilder_ = null; + overrides_ = other.overrides_; + bitField0_ = (bitField0_ & ~0x00000010); + overridesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOverridesFieldBuilder() : null; } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.KeyValuePair)) { - return super.equals(obj); - } - com.kcl.api.Spec.KeyValuePair other = (com.kcl.api.Spec.KeyValuePair) obj; - - if (!getKey().equals(other.getKey())) - return false; - if (!getValue().equals(other.getValue())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + overridesBuilder_.addAllMessages(other.overrides_); } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.KeyValuePair parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.KeyValuePair parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.KeyValuePair parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.KeyValuePair parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + } } - - public static com.kcl.api.Spec.KeyValuePair parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.KeyValuePair parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.KeyValuePair parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.KeyValuePair 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 com.kcl.api.Spec.KeyValuePair parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.KeyValuePair parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); + if (other.getDisableYamlResult() != false) { + setDisableYamlResult(other.getDisableYamlResult()); } - - public static com.kcl.api.Spec.KeyValuePair parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + if (other.getPrintOverrideAst() != false) { + setPrintOverrideAst(other.getPrintOverrideAst()); } - - public static com.kcl.api.Spec.KeyValuePair parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); + if (other.getStrictRangeCheck() != false) { + setStrictRangeCheck(other.getStrictRangeCheck()); } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); + if (other.getDisableNone() != false) { + setDisableNone(other.getDisableNone()); } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); + if (other.getVerbose() != 0) { + setVerbose(other.getVerbose()); } - - public static Builder newBuilder(com.kcl.api.Spec.KeyValuePair prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + if (other.getDebug() != 0) { + setDebug(other.getDebug()); } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + if (other.getSortKeys() != false) { + setSortKeys(other.getSortKeys()); } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.KeyValuePair} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.KeyValuePair) - com.kcl.api.Spec.KeyValuePairOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.KeyValuePair.class, - com.kcl.api.Spec.KeyValuePair.Builder.class); - } - - // Construct using com.kcl.api.Spec.KeyValuePair.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - key_ = ""; - value_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.KeyValuePair getDefaultInstanceForType() { - return com.kcl.api.Spec.KeyValuePair.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.KeyValuePair build() { - com.kcl.api.Spec.KeyValuePair result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.KeyValuePair buildPartial() { - com.kcl.api.Spec.KeyValuePair result = new com.kcl.api.Spec.KeyValuePair(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.KeyValuePair result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.key_ = key_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = value_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.KeyValuePair) { - return mergeFrom((com.kcl.api.Spec.KeyValuePair) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.KeyValuePair other) { - if (other == com.kcl.api.Spec.KeyValuePair.getDefaultInstance()) - return this; - if (!other.getKey().isEmpty()) { - key_ = other.key_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - key_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object key_ = ""; - - /** - * string key = 1; - * - * @return The key. - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; + if (externalPkgsBuilder_ == null) { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgs_.isEmpty()) { + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00001000); + } else { + ensureExternalPkgsIsMutable(); + externalPkgs_.addAll(other.externalPkgs_); + } + onChanged(); + } + } else { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgsBuilder_.isEmpty()) { + externalPkgsBuilder_.dispose(); + externalPkgsBuilder_ = null; + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00001000); + externalPkgsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getExternalPkgsFieldBuilder() : null; + } else { + externalPkgsBuilder_.addAllMessages(other.externalPkgs_); + } + } + } + if (other.getIncludeSchemaTypePath() != false) { + setIncludeSchemaTypePath(other.getIncludeSchemaTypePath()); + } + if (other.getCompileOnly() != false) { + setCompileOnly(other.getCompileOnly()); + } + if (other.getShowHidden() != false) { + setShowHidden(other.getShowHidden()); + } + if (!other.pathSelector_.isEmpty()) { + if (pathSelector_.isEmpty()) { + pathSelector_ = other.pathSelector_; + bitField0_ |= 0x00010000; + } else { + ensurePathSelectorIsMutable(); + pathSelector_.addAll(other.pathSelector_); + } + onChanged(); + } + if (other.getFastEval() != false) { + setFastEval(other.getFastEval()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + workDir_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureKFilenameListIsMutable(); + kFilenameList_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureKCodeListIsMutable(); + kCodeList_.add(s); + break; + } // case 26 + case 34: { + com.kcl.api.Spec.CmdArgSpec m = + input.readMessage( + com.kcl.api.Spec.CmdArgSpec.parser(), + extensionRegistry); + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + args_.add(m); + } else { + argsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.kcl.api.Spec.CmdOverrideSpec m = + input.readMessage( + com.kcl.api.Spec.CmdOverrideSpec.parser(), + extensionRegistry); + if (overridesBuilder_ == null) { + ensureOverridesIsMutable(); + overrides_.add(m); } else { - return (java.lang.String) ref; + overridesBuilder_.addMessage(m); } - } - - /** - * string key = 1; - * - * @return The bytes for key. - */ - public com.google.protobuf.ByteString getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - key_ = b; - return b; + break; + } // case 42 + case 48: { + disableYamlResult_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + printOverrideAst_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + strictRangeCheck_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + disableNone_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + verbose_ = input.readInt32(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + debug_ = input.readInt32(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: { + sortKeys_ = input.readBool(); + bitField0_ |= 0x00000800; + break; + } // case 96 + case 106: { + com.kcl.api.Spec.CmdExternalPkgSpec m = + input.readMessage( + com.kcl.api.Spec.CmdExternalPkgSpec.parser(), + extensionRegistry); + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(m); } else { - return (com.google.protobuf.ByteString) ref; + externalPkgsBuilder_.addMessage(m); } - } + break; + } // case 106 + case 112: { + includeSchemaTypePath_ = input.readBool(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: { + compileOnly_ = input.readBool(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 128: { + showHidden_ = input.readBool(); + bitField0_ |= 0x00008000; + break; + } // case 128 + case 138: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathSelectorIsMutable(); + pathSelector_.add(s); + break; + } // case 138 + case 144: { + fastEval_ = input.readBool(); + bitField0_ |= 0x00020000; + break; + } // case 144 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object workDir_ = ""; + /** + * string work_dir = 1; + * @return The workDir. + */ + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string work_dir = 1; + * @return The bytes for workDir. + */ + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string work_dir = 1; + * @param value The workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDir( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string work_dir = 1; + * @return This builder for chaining. + */ + public Builder clearWorkDir() { + workDir_ = getDefaultInstance().getWorkDir(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string work_dir = 1; + * @param value The bytes for workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDirBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList kFilenameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureKFilenameListIsMutable() { + if (!kFilenameList_.isModifiable()) { + kFilenameList_ = new com.google.protobuf.LazyStringArrayList(kFilenameList_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string k_filename_list = 2; + * @return A list containing the kFilenameList. + */ + public com.google.protobuf.ProtocolStringList + getKFilenameListList() { + kFilenameList_.makeImmutable(); + return kFilenameList_; + } + /** + * repeated string k_filename_list = 2; + * @return The count of kFilenameList. + */ + public int getKFilenameListCount() { + return kFilenameList_.size(); + } + /** + * repeated string k_filename_list = 2; + * @param index The index of the element to return. + * @return The kFilenameList at the given index. + */ + public java.lang.String getKFilenameList(int index) { + return kFilenameList_.get(index); + } + /** + * repeated string k_filename_list = 2; + * @param index The index of the value to return. + * @return The bytes of the kFilenameList at the given index. + */ + public com.google.protobuf.ByteString + getKFilenameListBytes(int index) { + return kFilenameList_.getByteString(index); + } + /** + * repeated string k_filename_list = 2; + * @param index The index to set the value at. + * @param value The kFilenameList to set. + * @return This builder for chaining. + */ + public Builder setKFilenameList( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureKFilenameListIsMutable(); + kFilenameList_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string k_filename_list = 2; + * @param value The kFilenameList to add. + * @return This builder for chaining. + */ + public Builder addKFilenameList( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureKFilenameListIsMutable(); + kFilenameList_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string k_filename_list = 2; + * @param values The kFilenameList to add. + * @return This builder for chaining. + */ + public Builder addAllKFilenameList( + java.lang.Iterable values) { + ensureKFilenameListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kFilenameList_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string k_filename_list = 2; + * @return This builder for chaining. + */ + public Builder clearKFilenameList() { + kFilenameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string k_filename_list = 2; + * @param value The bytes of the kFilenameList to add. + * @return This builder for chaining. + */ + public Builder addKFilenameListBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureKFilenameListIsMutable(); + kFilenameList_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList kCodeList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureKCodeListIsMutable() { + if (!kCodeList_.isModifiable()) { + kCodeList_ = new com.google.protobuf.LazyStringArrayList(kCodeList_); + } + bitField0_ |= 0x00000004; + } + /** + * repeated string k_code_list = 3; + * @return A list containing the kCodeList. + */ + public com.google.protobuf.ProtocolStringList + getKCodeListList() { + kCodeList_.makeImmutable(); + return kCodeList_; + } + /** + * repeated string k_code_list = 3; + * @return The count of kCodeList. + */ + public int getKCodeListCount() { + return kCodeList_.size(); + } + /** + * repeated string k_code_list = 3; + * @param index The index of the element to return. + * @return The kCodeList at the given index. + */ + public java.lang.String getKCodeList(int index) { + return kCodeList_.get(index); + } + /** + * repeated string k_code_list = 3; + * @param index The index of the value to return. + * @return The bytes of the kCodeList at the given index. + */ + public com.google.protobuf.ByteString + getKCodeListBytes(int index) { + return kCodeList_.getByteString(index); + } + /** + * repeated string k_code_list = 3; + * @param index The index to set the value at. + * @param value The kCodeList to set. + * @return This builder for chaining. + */ + public Builder setKCodeList( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureKCodeListIsMutable(); + kCodeList_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string k_code_list = 3; + * @param value The kCodeList to add. + * @return This builder for chaining. + */ + public Builder addKCodeList( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureKCodeListIsMutable(); + kCodeList_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string k_code_list = 3; + * @param values The kCodeList to add. + * @return This builder for chaining. + */ + public Builder addAllKCodeList( + java.lang.Iterable values) { + ensureKCodeListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kCodeList_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string k_code_list = 3; + * @return This builder for chaining. + */ + public Builder clearKCodeList() { + kCodeList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + * repeated string k_code_list = 3; + * @param value The bytes of the kCodeList to add. + * @return This builder for chaining. + */ + public Builder addKCodeListBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureKCodeListIsMutable(); + kCodeList_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.util.List args_ = + java.util.Collections.emptyList(); + private void ensureArgsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + args_ = new java.util.ArrayList(args_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdArgSpec, com.kcl.api.Spec.CmdArgSpec.Builder, com.kcl.api.Spec.CmdArgSpecOrBuilder> argsBuilder_; + + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public java.util.List getArgsList() { + if (argsBuilder_ == null) { + return java.util.Collections.unmodifiableList(args_); + } else { + return argsBuilder_.getMessageList(); + } + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public int getArgsCount() { + if (argsBuilder_ == null) { + return args_.size(); + } else { + return argsBuilder_.getCount(); + } + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public com.kcl.api.Spec.CmdArgSpec getArgs(int index) { + if (argsBuilder_ == null) { + return args_.get(index); + } else { + return argsBuilder_.getMessage(index); + } + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public Builder setArgs( + int index, com.kcl.api.Spec.CmdArgSpec value) { + if (argsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArgsIsMutable(); + args_.set(index, value); + onChanged(); + } else { + argsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public Builder setArgs( + int index, com.kcl.api.Spec.CmdArgSpec.Builder builderForValue) { + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + args_.set(index, builderForValue.build()); + onChanged(); + } else { + argsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public Builder addArgs(com.kcl.api.Spec.CmdArgSpec value) { + if (argsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArgsIsMutable(); + args_.add(value); + onChanged(); + } else { + argsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public Builder addArgs( + int index, com.kcl.api.Spec.CmdArgSpec value) { + if (argsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArgsIsMutable(); + args_.add(index, value); + onChanged(); + } else { + argsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public Builder addArgs( + com.kcl.api.Spec.CmdArgSpec.Builder builderForValue) { + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + args_.add(builderForValue.build()); + onChanged(); + } else { + argsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public Builder addArgs( + int index, com.kcl.api.Spec.CmdArgSpec.Builder builderForValue) { + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + args_.add(index, builderForValue.build()); + onChanged(); + } else { + argsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public Builder addAllArgs( + java.lang.Iterable values) { + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, args_); + onChanged(); + } else { + argsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public Builder clearArgs() { + if (argsBuilder_ == null) { + args_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + argsBuilder_.clear(); + } + return this; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public Builder removeArgs(int index) { + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + args_.remove(index); + onChanged(); + } else { + argsBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public com.kcl.api.Spec.CmdArgSpec.Builder getArgsBuilder( + int index) { + return getArgsFieldBuilder().getBuilder(index); + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public com.kcl.api.Spec.CmdArgSpecOrBuilder getArgsOrBuilder( + int index) { + if (argsBuilder_ == null) { + return args_.get(index); } else { + return argsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public java.util.List + getArgsOrBuilderList() { + if (argsBuilder_ != null) { + return argsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(args_); + } + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public com.kcl.api.Spec.CmdArgSpec.Builder addArgsBuilder() { + return getArgsFieldBuilder().addBuilder( + com.kcl.api.Spec.CmdArgSpec.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public com.kcl.api.Spec.CmdArgSpec.Builder addArgsBuilder( + int index) { + return getArgsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.CmdArgSpec.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.CmdArgSpec args = 4; + */ + public java.util.List + getArgsBuilderList() { + return getArgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdArgSpec, com.kcl.api.Spec.CmdArgSpec.Builder, com.kcl.api.Spec.CmdArgSpecOrBuilder> + getArgsFieldBuilder() { + if (argsBuilder_ == null) { + argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdArgSpec, com.kcl.api.Spec.CmdArgSpec.Builder, com.kcl.api.Spec.CmdArgSpecOrBuilder>( + args_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + args_ = null; + } + return argsBuilder_; + } + + private java.util.List overrides_ = + java.util.Collections.emptyList(); + private void ensureOverridesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + overrides_ = new java.util.ArrayList(overrides_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdOverrideSpec, com.kcl.api.Spec.CmdOverrideSpec.Builder, com.kcl.api.Spec.CmdOverrideSpecOrBuilder> overridesBuilder_; + + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public java.util.List getOverridesList() { + if (overridesBuilder_ == null) { + return java.util.Collections.unmodifiableList(overrides_); + } else { + return overridesBuilder_.getMessageList(); + } + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public int getOverridesCount() { + if (overridesBuilder_ == null) { + return overrides_.size(); + } else { + return overridesBuilder_.getCount(); + } + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public com.kcl.api.Spec.CmdOverrideSpec getOverrides(int index) { + if (overridesBuilder_ == null) { + return overrides_.get(index); + } else { + return overridesBuilder_.getMessage(index); + } + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public Builder setOverrides( + int index, com.kcl.api.Spec.CmdOverrideSpec value) { + if (overridesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOverridesIsMutable(); + overrides_.set(index, value); + onChanged(); + } else { + overridesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public Builder setOverrides( + int index, com.kcl.api.Spec.CmdOverrideSpec.Builder builderForValue) { + if (overridesBuilder_ == null) { + ensureOverridesIsMutable(); + overrides_.set(index, builderForValue.build()); + onChanged(); + } else { + overridesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public Builder addOverrides(com.kcl.api.Spec.CmdOverrideSpec value) { + if (overridesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOverridesIsMutable(); + overrides_.add(value); + onChanged(); + } else { + overridesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public Builder addOverrides( + int index, com.kcl.api.Spec.CmdOverrideSpec value) { + if (overridesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOverridesIsMutable(); + overrides_.add(index, value); + onChanged(); + } else { + overridesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public Builder addOverrides( + com.kcl.api.Spec.CmdOverrideSpec.Builder builderForValue) { + if (overridesBuilder_ == null) { + ensureOverridesIsMutable(); + overrides_.add(builderForValue.build()); + onChanged(); + } else { + overridesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public Builder addOverrides( + int index, com.kcl.api.Spec.CmdOverrideSpec.Builder builderForValue) { + if (overridesBuilder_ == null) { + ensureOverridesIsMutable(); + overrides_.add(index, builderForValue.build()); + onChanged(); + } else { + overridesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public Builder addAllOverrides( + java.lang.Iterable values) { + if (overridesBuilder_ == null) { + ensureOverridesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, overrides_); + onChanged(); + } else { + overridesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public Builder clearOverrides() { + if (overridesBuilder_ == null) { + overrides_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + overridesBuilder_.clear(); + } + return this; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public Builder removeOverrides(int index) { + if (overridesBuilder_ == null) { + ensureOverridesIsMutable(); + overrides_.remove(index); + onChanged(); + } else { + overridesBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public com.kcl.api.Spec.CmdOverrideSpec.Builder getOverridesBuilder( + int index) { + return getOverridesFieldBuilder().getBuilder(index); + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public com.kcl.api.Spec.CmdOverrideSpecOrBuilder getOverridesOrBuilder( + int index) { + if (overridesBuilder_ == null) { + return overrides_.get(index); } else { + return overridesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public java.util.List + getOverridesOrBuilderList() { + if (overridesBuilder_ != null) { + return overridesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(overrides_); + } + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public com.kcl.api.Spec.CmdOverrideSpec.Builder addOverridesBuilder() { + return getOverridesFieldBuilder().addBuilder( + com.kcl.api.Spec.CmdOverrideSpec.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public com.kcl.api.Spec.CmdOverrideSpec.Builder addOverridesBuilder( + int index) { + return getOverridesFieldBuilder().addBuilder( + index, com.kcl.api.Spec.CmdOverrideSpec.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.CmdOverrideSpec overrides = 5; + */ + public java.util.List + getOverridesBuilderList() { + return getOverridesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdOverrideSpec, com.kcl.api.Spec.CmdOverrideSpec.Builder, com.kcl.api.Spec.CmdOverrideSpecOrBuilder> + getOverridesFieldBuilder() { + if (overridesBuilder_ == null) { + overridesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdOverrideSpec, com.kcl.api.Spec.CmdOverrideSpec.Builder, com.kcl.api.Spec.CmdOverrideSpecOrBuilder>( + overrides_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + overrides_ = null; + } + return overridesBuilder_; + } + + private boolean disableYamlResult_ ; + /** + * bool disable_yaml_result = 6; + * @return The disableYamlResult. + */ + @java.lang.Override + public boolean getDisableYamlResult() { + return disableYamlResult_; + } + /** + * bool disable_yaml_result = 6; + * @param value The disableYamlResult to set. + * @return This builder for chaining. + */ + public Builder setDisableYamlResult(boolean value) { + + disableYamlResult_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * bool disable_yaml_result = 6; + * @return This builder for chaining. + */ + public Builder clearDisableYamlResult() { + bitField0_ = (bitField0_ & ~0x00000020); + disableYamlResult_ = false; + onChanged(); + return this; + } + + private boolean printOverrideAst_ ; + /** + * bool print_override_ast = 7; + * @return The printOverrideAst. + */ + @java.lang.Override + public boolean getPrintOverrideAst() { + return printOverrideAst_; + } + /** + * bool print_override_ast = 7; + * @param value The printOverrideAst to set. + * @return This builder for chaining. + */ + public Builder setPrintOverrideAst(boolean value) { + + printOverrideAst_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * bool print_override_ast = 7; + * @return This builder for chaining. + */ + public Builder clearPrintOverrideAst() { + bitField0_ = (bitField0_ & ~0x00000040); + printOverrideAst_ = false; + onChanged(); + return this; + } + + private boolean strictRangeCheck_ ; + /** + *
+       * -r --strict-range-check
+       * 
+ * + * bool strict_range_check = 8; + * @return The strictRangeCheck. + */ + @java.lang.Override + public boolean getStrictRangeCheck() { + return strictRangeCheck_; + } + /** + *
+       * -r --strict-range-check
+       * 
+ * + * bool strict_range_check = 8; + * @param value The strictRangeCheck to set. + * @return This builder for chaining. + */ + public Builder setStrictRangeCheck(boolean value) { + + strictRangeCheck_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+       * -r --strict-range-check
+       * 
+ * + * bool strict_range_check = 8; + * @return This builder for chaining. + */ + public Builder clearStrictRangeCheck() { + bitField0_ = (bitField0_ & ~0x00000080); + strictRangeCheck_ = false; + onChanged(); + return this; + } + + private boolean disableNone_ ; + /** + *
+       * -n --disable-none
+       * 
+ * + * bool disable_none = 9; + * @return The disableNone. + */ + @java.lang.Override + public boolean getDisableNone() { + return disableNone_; + } + /** + *
+       * -n --disable-none
+       * 
+ * + * bool disable_none = 9; + * @param value The disableNone to set. + * @return This builder for chaining. + */ + public Builder setDisableNone(boolean value) { + + disableNone_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+       * -n --disable-none
+       * 
+ * + * bool disable_none = 9; + * @return This builder for chaining. + */ + public Builder clearDisableNone() { + bitField0_ = (bitField0_ & ~0x00000100); + disableNone_ = false; + onChanged(); + return this; + } + + private int verbose_ ; + /** + *
+       * -v --verbose
+       * 
+ * + * int32 verbose = 10; + * @return The verbose. + */ + @java.lang.Override + public int getVerbose() { + return verbose_; + } + /** + *
+       * -v --verbose
+       * 
+ * + * int32 verbose = 10; + * @param value The verbose to set. + * @return This builder for chaining. + */ + public Builder setVerbose(int value) { + + verbose_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+       * -v --verbose
+       * 
+ * + * int32 verbose = 10; + * @return This builder for chaining. + */ + public Builder clearVerbose() { + bitField0_ = (bitField0_ & ~0x00000200); + verbose_ = 0; + onChanged(); + return this; + } + + private int debug_ ; + /** + *
+       * -d --debug
+       * 
+ * + * int32 debug = 11; + * @return The debug. + */ + @java.lang.Override + public int getDebug() { + return debug_; + } + /** + *
+       * -d --debug
+       * 
+ * + * int32 debug = 11; + * @param value The debug to set. + * @return This builder for chaining. + */ + public Builder setDebug(int value) { + + debug_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + *
+       * -d --debug
+       * 
+ * + * int32 debug = 11; + * @return This builder for chaining. + */ + public Builder clearDebug() { + bitField0_ = (bitField0_ & ~0x00000400); + debug_ = 0; + onChanged(); + return this; + } + + private boolean sortKeys_ ; + /** + *
+       * yaml/json: sort keys
+       * 
+ * + * bool sort_keys = 12; + * @return The sortKeys. + */ + @java.lang.Override + public boolean getSortKeys() { + return sortKeys_; + } + /** + *
+       * yaml/json: sort keys
+       * 
+ * + * bool sort_keys = 12; + * @param value The sortKeys to set. + * @return This builder for chaining. + */ + public Builder setSortKeys(boolean value) { + + sortKeys_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + *
+       * yaml/json: sort keys
+       * 
+ * + * bool sort_keys = 12; + * @return This builder for chaining. + */ + public Builder clearSortKeys() { + bitField0_ = (bitField0_ & ~0x00000800); + sortKeys_ = false; + onChanged(); + return this; + } + + private java.util.List externalPkgs_ = + java.util.Collections.emptyList(); + private void ensureExternalPkgsIsMutable() { + if (!((bitField0_ & 0x00001000) != 0)) { + externalPkgs_ = new java.util.ArrayList(externalPkgs_); + bitField0_ |= 0x00001000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdExternalPkgSpec, com.kcl.api.Spec.CmdExternalPkgSpec.Builder, com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder> externalPkgsBuilder_; + + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public java.util.List getExternalPkgsList() { + if (externalPkgsBuilder_ == null) { + return java.util.Collections.unmodifiableList(externalPkgs_); + } else { + return externalPkgsBuilder_.getMessageList(); + } + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public int getExternalPkgsCount() { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.size(); + } else { + return externalPkgsBuilder_.getCount(); + } + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec getExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); + } else { + return externalPkgsBuilder_.getMessage(index); + } + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, value); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public Builder addExternalPkgs(com.kcl.api.Spec.CmdExternalPkgSpec value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public Builder addExternalPkgs( + com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.CmdExternalPkgSpec.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public Builder addAllExternalPkgs( + java.lang.Iterable values) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, externalPkgs_); + onChanged(); + } else { + externalPkgsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public Builder clearExternalPkgs() { + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + } else { + externalPkgsBuilder_.clear(); + } + return this; + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public Builder removeExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.remove(index); + onChanged(); + } else { + externalPkgsBuilder_.remove(index); + } + return this; + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec.Builder getExternalPkgsBuilder( + int index) { + return getExternalPkgsFieldBuilder().getBuilder(index); + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder getExternalPkgsOrBuilder( + int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); } else { + return externalPkgsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public java.util.List + getExternalPkgsOrBuilderList() { + if (externalPkgsBuilder_ != null) { + return externalPkgsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(externalPkgs_); + } + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder() { + return getExternalPkgsFieldBuilder().addBuilder( + com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public com.kcl.api.Spec.CmdExternalPkgSpec.Builder addExternalPkgsBuilder( + int index) { + return getExternalPkgsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.CmdExternalPkgSpec.getDefaultInstance()); + } + /** + *
+       * -E --external : external packages path
+       * 
+ * + * repeated .com.kcl.api.CmdExternalPkgSpec external_pkgs = 13; + */ + public java.util.List + getExternalPkgsBuilderList() { + return getExternalPkgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdExternalPkgSpec, com.kcl.api.Spec.CmdExternalPkgSpec.Builder, com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder> + getExternalPkgsFieldBuilder() { + if (externalPkgsBuilder_ == null) { + externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.CmdExternalPkgSpec, com.kcl.api.Spec.CmdExternalPkgSpec.Builder, com.kcl.api.Spec.CmdExternalPkgSpecOrBuilder>( + externalPkgs_, + ((bitField0_ & 0x00001000) != 0), + getParentForChildren(), + isClean()); + externalPkgs_ = null; + } + return externalPkgsBuilder_; + } + + private boolean includeSchemaTypePath_ ; + /** + *
+       * Whether including schema type in JSON/YAML result
+       * 
+ * + * bool include_schema_type_path = 14; + * @return The includeSchemaTypePath. + */ + @java.lang.Override + public boolean getIncludeSchemaTypePath() { + return includeSchemaTypePath_; + } + /** + *
+       * Whether including schema type in JSON/YAML result
+       * 
+ * + * bool include_schema_type_path = 14; + * @param value The includeSchemaTypePath to set. + * @return This builder for chaining. + */ + public Builder setIncludeSchemaTypePath(boolean value) { + + includeSchemaTypePath_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + *
+       * Whether including schema type in JSON/YAML result
+       * 
+ * + * bool include_schema_type_path = 14; + * @return This builder for chaining. + */ + public Builder clearIncludeSchemaTypePath() { + bitField0_ = (bitField0_ & ~0x00002000); + includeSchemaTypePath_ = false; + onChanged(); + return this; + } + + private boolean compileOnly_ ; + /** + *
+       * Whether only compiling the program
+       * 
+ * + * bool compile_only = 15; + * @return The compileOnly. + */ + @java.lang.Override + public boolean getCompileOnly() { + return compileOnly_; + } + /** + *
+       * Whether only compiling the program
+       * 
+ * + * bool compile_only = 15; + * @param value The compileOnly to set. + * @return This builder for chaining. + */ + public Builder setCompileOnly(boolean value) { + + compileOnly_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + *
+       * Whether only compiling the program
+       * 
+ * + * bool compile_only = 15; + * @return This builder for chaining. + */ + public Builder clearCompileOnly() { + bitField0_ = (bitField0_ & ~0x00004000); + compileOnly_ = false; + onChanged(); + return this; + } + + private boolean showHidden_ ; + /** + *
+       * Show hidden attributes
+       * 
+ * + * bool show_hidden = 16; + * @return The showHidden. + */ + @java.lang.Override + public boolean getShowHidden() { + return showHidden_; + } + /** + *
+       * Show hidden attributes
+       * 
+ * + * bool show_hidden = 16; + * @param value The showHidden to set. + * @return This builder for chaining. + */ + public Builder setShowHidden(boolean value) { + + showHidden_ = value; + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+       * Show hidden attributes
+       * 
+ * + * bool show_hidden = 16; + * @return This builder for chaining. + */ + public Builder clearShowHidden() { + bitField0_ = (bitField0_ & ~0x00008000); + showHidden_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathSelectorIsMutable() { + if (!pathSelector_.isModifiable()) { + pathSelector_ = new com.google.protobuf.LazyStringArrayList(pathSelector_); + } + bitField0_ |= 0x00010000; + } + /** + *
+       * -S --path_selector
+       * 
+ * + * repeated string path_selector = 17; + * @return A list containing the pathSelector. + */ + public com.google.protobuf.ProtocolStringList + getPathSelectorList() { + pathSelector_.makeImmutable(); + return pathSelector_; + } + /** + *
+       * -S --path_selector
+       * 
+ * + * repeated string path_selector = 17; + * @return The count of pathSelector. + */ + public int getPathSelectorCount() { + return pathSelector_.size(); + } + /** + *
+       * -S --path_selector
+       * 
+ * + * repeated string path_selector = 17; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + public java.lang.String getPathSelector(int index) { + return pathSelector_.get(index); + } + /** + *
+       * -S --path_selector
+       * 
+ * + * repeated string path_selector = 17; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + public com.google.protobuf.ByteString + getPathSelectorBytes(int index) { + return pathSelector_.getByteString(index); + } + /** + *
+       * -S --path_selector
+       * 
+ * + * repeated string path_selector = 17; + * @param index The index to set the value at. + * @param value The pathSelector to set. + * @return This builder for chaining. + */ + public Builder setPathSelector( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathSelectorIsMutable(); + pathSelector_.set(index, value); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + *
+       * -S --path_selector
+       * 
+ * + * repeated string path_selector = 17; + * @param value The pathSelector to add. + * @return This builder for chaining. + */ + public Builder addPathSelector( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathSelectorIsMutable(); + pathSelector_.add(value); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + *
+       * -S --path_selector
+       * 
+ * + * repeated string path_selector = 17; + * @param values The pathSelector to add. + * @return This builder for chaining. + */ + public Builder addAllPathSelector( + java.lang.Iterable values) { + ensurePathSelectorIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pathSelector_); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + *
+       * -S --path_selector
+       * 
+ * + * repeated string path_selector = 17; + * @return This builder for chaining. + */ + public Builder clearPathSelector() { + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00010000);; + onChanged(); + return this; + } + /** + *
+       * -S --path_selector
+       * 
+ * + * repeated string path_selector = 17; + * @param value The bytes of the pathSelector to add. + * @return This builder for chaining. + */ + public Builder addPathSelectorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathSelectorIsMutable(); + pathSelector_.add(value); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + + private boolean fastEval_ ; + /** + *
+       * -K --fast_eval
+       * 
+ * + * bool fast_eval = 18; + * @return The fastEval. + */ + @java.lang.Override + public boolean getFastEval() { + return fastEval_; + } + /** + *
+       * -K --fast_eval
+       * 
+ * + * bool fast_eval = 18; + * @param value The fastEval to set. + * @return This builder for chaining. + */ + public Builder setFastEval(boolean value) { + + fastEval_ = value; + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + /** + *
+       * -K --fast_eval
+       * 
+ * + * bool fast_eval = 18; + * @return This builder for chaining. + */ + public Builder clearFastEval() { + bitField0_ = (bitField0_ & ~0x00020000); + fastEval_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgram_Args) + } - /** - * string key = 1; - * - * @param value - * The key to set. - * - * @return This builder for chaining. - */ - public Builder setKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - key_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgram_Args) + private static final com.kcl.api.Spec.ExecProgram_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgram_Args(); + } - /** - * string key = 1; - * - * @return This builder for chaining. - */ - public Builder clearKey() { - key_ = getDefaultInstance().getKey(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + public static com.kcl.api.Spec.ExecProgram_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * 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; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecProgram_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private java.lang.Object value_ = ""; - - /** - * string value = 2; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * string value = 2; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * string value = 2; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + } - /** - * string value = 2; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + public interface ExecProgram_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgram_Result) + com.google.protobuf.MessageOrBuilder { - /** - * string value = 2; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + * string json_result = 1; + * @return The jsonResult. + */ + java.lang.String getJsonResult(); + /** + * string json_result = 1; + * @return The bytes for jsonResult. + */ + com.google.protobuf.ByteString + getJsonResultBytes(); - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + /** + * string yaml_result = 2; + * @return The yamlResult. + */ + java.lang.String getYamlResult(); + /** + * string yaml_result = 2; + * @return The bytes for yamlResult. + */ + com.google.protobuf.ByteString + getYamlResultBytes(); - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + /** + * string log_message = 3; + * @return The logMessage. + */ + java.lang.String getLogMessage(); + /** + * string log_message = 3; + * @return The bytes for logMessage. + */ + com.google.protobuf.ByteString + getLogMessageBytes(); - // @@protoc_insertion_point(builder_scope:com.kcl.api.KeyValuePair) - } + /** + * string err_message = 4; + * @return The errMessage. + */ + java.lang.String getErrMessage(); + /** + * string err_message = 4; + * @return The bytes for errMessage. + */ + com.google.protobuf.ByteString + getErrMessageBytes(); + } + /** + * Protobuf type {@code com.kcl.api.ExecProgram_Result} + */ + public static final class ExecProgram_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgram_Result) + ExecProgram_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExecProgram_Result.newBuilder() to construct. + private ExecProgram_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExecProgram_Result() { + jsonResult_ = ""; + yamlResult_ = ""; + logMessage_ = ""; + errMessage_ = ""; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.KeyValuePair) - private static final com.kcl.api.Spec.KeyValuePair DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.KeyValuePair(); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ExecProgram_Result(); + } - public static com.kcl.api.Spec.KeyValuePair getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KeyValuePair parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecProgram_Result.class, com.kcl.api.Spec.ExecProgram_Result.Builder.class); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static final int JSON_RESULT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object jsonResult_ = ""; + /** + * string json_result = 1; + * @return The jsonResult. + */ + @java.lang.Override + public java.lang.String getJsonResult() { + java.lang.Object ref = jsonResult_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jsonResult_ = s; + return s; + } + } + /** + * string json_result = 1; + * @return The bytes for jsonResult. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getJsonResultBytes() { + java.lang.Object ref = jsonResult_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jsonResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final int YAML_RESULT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object yamlResult_ = ""; + /** + * string yaml_result = 2; + * @return The yamlResult. + */ + @java.lang.Override + public java.lang.String getYamlResult() { + java.lang.Object ref = yamlResult_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + yamlResult_ = s; + return s; + } + } + /** + * string yaml_result = 2; + * @return The bytes for yamlResult. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getYamlResultBytes() { + java.lang.Object ref = yamlResult_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + yamlResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.KeyValuePair getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface Rename_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Rename_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * the file path to the package root
-         * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - java.lang.String getPackageRoot(); - - /** - *
-         * the file path to the package root
-         * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - com.google.protobuf.ByteString getPackageRootBytes(); - - /** - *
-         * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-         * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - java.lang.String getSymbolPath(); - - /** - *
-         * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-         * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - com.google.protobuf.ByteString getSymbolPathBytes(); - - /** - *
-         * the paths to the source code files
-         * 
- * - * repeated string file_paths = 3; - * - * @return A list containing the filePaths. - */ - java.util.List getFilePathsList(); - - /** - *
-         * the paths to the source code files
-         * 
- * - * repeated string file_paths = 3; - * - * @return The count of filePaths. - */ - int getFilePathsCount(); - - /** - *
-         * the paths to the source code files
-         * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The filePaths at the given index. - */ - java.lang.String getFilePaths(int index); - - /** - *
-         * the paths to the source code files
-         * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the filePaths at the given index. - */ - com.google.protobuf.ByteString getFilePathsBytes(int index); - - /** - *
-         * the new name of the symbol
-         * 
- * - * string new_name = 4; - * - * @return The newName. - */ - java.lang.String getNewName(); - - /** - *
-         * the new name of the symbol
-         * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - com.google.protobuf.ByteString getNewNameBytes(); + public static final int LOG_MESSAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object logMessage_ = ""; + /** + * string log_message = 3; + * @return The logMessage. + */ + @java.lang.Override + public java.lang.String getLogMessage() { + java.lang.Object ref = logMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logMessage_ = s; + return s; + } + } + /** + * string log_message = 3; + * @return The bytes for logMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLogMessageBytes() { + java.lang.Object ref = logMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + logMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + public static final int ERR_MESSAGE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object errMessage_ = ""; /** - * Protobuf type {@code com.kcl.api.Rename_Args} + * string err_message = 4; + * @return The errMessage. + */ + @java.lang.Override + public java.lang.String getErrMessage() { + java.lang.Object ref = errMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errMessage_ = s; + return s; + } + } + /** + * string err_message = 4; + * @return The bytes for errMessage. */ - public static final class Rename_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Rename_Args) - Rename_ArgsOrBuilder { - private static final long serialVersionUID = 0L; + @java.lang.Override + public com.google.protobuf.ByteString + getErrMessageBytes() { + java.lang.Object ref = errMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // Use Rename_Args.newBuilder() to construct. - private Rename_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private Rename_Args() { - packageRoot_ = ""; - symbolPath_ = ""; - filePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - newName_ = ""; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Rename_Args(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jsonResult_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jsonResult_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yamlResult_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, yamlResult_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logMessage_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, logMessage_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errMessage_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, errMessage_); + } + getUnknownFields().writeTo(output); + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jsonResult_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jsonResult_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yamlResult_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, yamlResult_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logMessage_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, logMessage_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errMessage_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, errMessage_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Rename_Args.class, - com.kcl.api.Spec.Rename_Args.Builder.class); - } - - public static final int PACKAGE_ROOT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object packageRoot_ = ""; - - /** - *
-         * the file path to the package root
-         * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - @java.lang.Override - public java.lang.String getPackageRoot() { - java.lang.Object ref = packageRoot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageRoot_ = s; - return s; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ExecProgram_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.ExecProgram_Result other = (com.kcl.api.Spec.ExecProgram_Result) obj; + + if (!getJsonResult() + .equals(other.getJsonResult())) return false; + if (!getYamlResult() + .equals(other.getYamlResult())) return false; + if (!getLogMessage() + .equals(other.getLogMessage())) return false; + if (!getErrMessage() + .equals(other.getErrMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-         * the file path to the package root
-         * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPackageRootBytes() { - java.lang.Object ref = packageRoot_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - packageRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + JSON_RESULT_FIELD_NUMBER; + hash = (53 * hash) + getJsonResult().hashCode(); + hash = (37 * hash) + YAML_RESULT_FIELD_NUMBER; + hash = (53 * hash) + getYamlResult().hashCode(); + hash = (37 * hash) + LOG_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getLogMessage().hashCode(); + hash = (37 * hash) + ERR_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static final int SYMBOL_PATH_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object symbolPath_ = ""; + public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgram_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgram_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-         * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - @java.lang.Override - public java.lang.String getSymbolPath() { - java.lang.Object ref = symbolPath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - symbolPath_ = s; - return s; - } - } + public static com.kcl.api.Spec.ExecProgram_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-         * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-         * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSymbolPathBytes() { - java.lang.Object ref = symbolPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - symbolPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.ExecProgram_Result 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 com.kcl.api.Spec.ExecProgram_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static final int FILE_PATHS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList filePaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * the paths to the source code files
-         * 
- * - * repeated string file_paths = 3; - * - * @return A list containing the filePaths. - */ - public com.google.protobuf.ProtocolStringList getFilePathsList() { - return filePaths_; - } - - /** - *
-         * the paths to the source code files
-         * 
- * - * repeated string file_paths = 3; - * - * @return The count of filePaths. - */ - public int getFilePathsCount() { - return filePaths_.size(); - } - - /** - *
-         * the paths to the source code files
-         * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The filePaths at the given index. - */ - public java.lang.String getFilePaths(int index) { - return filePaths_.get(index); - } - - /** - *
-         * the paths to the source code files
-         * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the filePaths at the given index. - */ - public com.google.protobuf.ByteString getFilePathsBytes(int index) { - return filePaths_.getByteString(index); - } - - public static final int NEW_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object newName_ = ""; - - /** - *
-         * the new name of the symbol
-         * 
- * - * string new_name = 4; - * - * @return The newName. - */ - @java.lang.Override - public java.lang.String getNewName() { - java.lang.Object ref = newName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - newName_ = s; - return s; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ExecProgram_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-         * the new name of the symbol
-         * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNewNameBytes() { - java.lang.Object ref = newName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - newName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ExecProgram_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgram_Result) + com.kcl.api.Spec.ExecProgram_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecProgram_Result.class, com.kcl.api.Spec.ExecProgram_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.ExecProgram_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + jsonResult_ = ""; + yamlResult_ = ""; + logMessage_ = ""; + errMessage_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.ExecProgram_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Result build() { + com.kcl.api.Spec.ExecProgram_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Result buildPartial() { + com.kcl.api.Spec.ExecProgram_Result result = new com.kcl.api.Spec.ExecProgram_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ExecProgram_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.jsonResult_ = jsonResult_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.yamlResult_ = yamlResult_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.logMessage_ = logMessage_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.errMessage_ = errMessage_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ExecProgram_Result) { + return mergeFrom((com.kcl.api.Spec.ExecProgram_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ExecProgram_Result other) { + if (other == com.kcl.api.Spec.ExecProgram_Result.getDefaultInstance()) return this; + if (!other.getJsonResult().isEmpty()) { + jsonResult_ = other.jsonResult_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getYamlResult().isEmpty()) { + yamlResult_ = other.yamlResult_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getLogMessage().isEmpty()) { + logMessage_ = other.logMessage_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getErrMessage().isEmpty()) { + errMessage_ = other.errMessage_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + jsonResult_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + yamlResult_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + logMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + errMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object jsonResult_ = ""; + /** + * string json_result = 1; + * @return The jsonResult. + */ + public java.lang.String getJsonResult() { + java.lang.Object ref = jsonResult_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jsonResult_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string json_result = 1; + * @return The bytes for jsonResult. + */ + public com.google.protobuf.ByteString + getJsonResultBytes() { + java.lang.Object ref = jsonResult_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jsonResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string json_result = 1; + * @param value The jsonResult to set. + * @return This builder for chaining. + */ + public Builder setJsonResult( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + jsonResult_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string json_result = 1; + * @return This builder for chaining. + */ + public Builder clearJsonResult() { + jsonResult_ = getDefaultInstance().getJsonResult(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string json_result = 1; + * @param value The bytes for jsonResult to set. + * @return This builder for chaining. + */ + public Builder setJsonResultBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + jsonResult_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object yamlResult_ = ""; + /** + * string yaml_result = 2; + * @return The yamlResult. + */ + public java.lang.String getYamlResult() { + java.lang.Object ref = yamlResult_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + yamlResult_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string yaml_result = 2; + * @return The bytes for yamlResult. + */ + public com.google.protobuf.ByteString + getYamlResultBytes() { + java.lang.Object ref = yamlResult_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + yamlResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string yaml_result = 2; + * @param value The yamlResult to set. + * @return This builder for chaining. + */ + public Builder setYamlResult( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + yamlResult_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string yaml_result = 2; + * @return This builder for chaining. + */ + public Builder clearYamlResult() { + yamlResult_ = getDefaultInstance().getYamlResult(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string yaml_result = 2; + * @param value The bytes for yamlResult to set. + * @return This builder for chaining. + */ + public Builder setYamlResultBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + yamlResult_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object logMessage_ = ""; + /** + * string log_message = 3; + * @return The logMessage. + */ + public java.lang.String getLogMessage() { + java.lang.Object ref = logMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string log_message = 3; + * @return The bytes for logMessage. + */ + public com.google.protobuf.ByteString + getLogMessageBytes() { + java.lang.Object ref = logMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + logMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string log_message = 3; + * @param value The logMessage to set. + * @return This builder for chaining. + */ + public Builder setLogMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + logMessage_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string log_message = 3; + * @return This builder for chaining. + */ + public Builder clearLogMessage() { + logMessage_ = getDefaultInstance().getLogMessage(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string log_message = 3; + * @param value The bytes for logMessage to set. + * @return This builder for chaining. + */ + public Builder setLogMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + logMessage_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object errMessage_ = ""; + /** + * string err_message = 4; + * @return The errMessage. + */ + public java.lang.String getErrMessage() { + java.lang.Object ref = errMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string err_message = 4; + * @return The bytes for errMessage. + */ + public com.google.protobuf.ByteString + getErrMessageBytes() { + java.lang.Object ref = errMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string err_message = 4; + * @param value The errMessage to set. + * @return This builder for chaining. + */ + public Builder setErrMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + errMessage_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string err_message = 4; + * @return This builder for chaining. + */ + public Builder clearErrMessage() { + errMessage_ = getDefaultInstance().getErrMessage(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string err_message = 4; + * @param value The bytes for errMessage to set. + * @return This builder for chaining. + */ + public Builder setErrMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + errMessage_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgram_Result) + } - private byte memoizedIsInitialized = -1; + // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgram_Result) + private static final com.kcl.api.Spec.ExecProgram_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgram_Result(); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.ExecProgram_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - memoizedIsInitialized = 1; - return true; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecProgram_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageRoot_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, packageRoot_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(symbolPath_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbolPath_); - } - for (int i = 0; i < filePaths_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filePaths_.getRaw(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, newName_); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageRoot_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, packageRoot_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(symbolPath_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbolPath_); - } - { - int dataSize = 0; - for (int i = 0; i < filePaths_.size(); i++) { - dataSize += computeStringSizeNoTag(filePaths_.getRaw(i)); - } - size += dataSize; - size += 1 * getFilePathsList().size(); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, newName_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Rename_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.Rename_Args other = (com.kcl.api.Spec.Rename_Args) obj; + } - if (!getPackageRoot().equals(other.getPackageRoot())) - return false; - if (!getSymbolPath().equals(other.getSymbolPath())) - return false; - if (!getFilePathsList().equals(other.getFilePathsList())) - return false; - if (!getNewName().equals(other.getNewName())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public interface BuildProgram_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgram_Args) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PACKAGE_ROOT_FIELD_NUMBER; - hash = (53 * hash) + getPackageRoot().hashCode(); - hash = (37 * hash) + SYMBOL_PATH_FIELD_NUMBER; - hash = (53 * hash) + getSymbolPath().hashCode(); - if (getFilePathsCount() > 0) { - hash = (37 * hash) + FILE_PATHS_FIELD_NUMBER; - hash = (53 * hash) + getFilePathsList().hashCode(); - } - hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; - hash = (53 * hash) + getNewName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return Whether the execArgs field is set. + */ + boolean hasExecArgs(); + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return The execArgs. + */ + com.kcl.api.Spec.ExecProgram_Args getExecArgs(); + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - public static com.kcl.api.Spec.Rename_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * string output = 2; + * @return The output. + */ + java.lang.String getOutput(); + /** + * string output = 2; + * @return The bytes for output. + */ + com.google.protobuf.ByteString + getOutputBytes(); + } + /** + * Protobuf type {@code com.kcl.api.BuildProgram_Args} + */ + public static final class BuildProgram_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgram_Args) + BuildProgram_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use BuildProgram_Args.newBuilder() to construct. + private BuildProgram_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BuildProgram_Args() { + output_ = ""; + } - public static com.kcl.api.Spec.Rename_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BuildProgram_Args(); + } - public static com.kcl.api.Spec.Rename_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; + } - public static com.kcl.api.Spec.Rename_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.BuildProgram_Args.class, com.kcl.api.Spec.BuildProgram_Args.Builder.class); + } - public static com.kcl.api.Spec.Rename_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private int bitField0_; + public static final int EXEC_ARGS_FIELD_NUMBER = 1; + private com.kcl.api.Spec.ExecProgram_Args execArgs_; + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return Whether the execArgs field is set. + */ + @java.lang.Override + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return The execArgs. + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } - public static com.kcl.api.Spec.Rename_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final int OUTPUT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object output_ = ""; + /** + * string output = 2; + * @return The output. + */ + @java.lang.Override + public java.lang.String getOutput() { + java.lang.Object ref = output_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + output_ = s; + return s; + } + } + /** + * string output = 2; + * @return The bytes for output. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOutputBytes() { + java.lang.Object ref = output_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + output_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Rename_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Rename_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.Rename_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExecArgs()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(output_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, output_); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.Rename_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExecArgs()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(output_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, output_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.Rename_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.BuildProgram_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.BuildProgram_Args other = (com.kcl.api.Spec.BuildProgram_Args) obj; + + if (hasExecArgs() != other.hasExecArgs()) return false; + if (hasExecArgs()) { + if (!getExecArgs() + .equals(other.getExecArgs())) return false; + } + if (!getOutput() + .equals(other.getOutput())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.Rename_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExecArgs()) { + hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getExecArgs().hashCode(); + } + hash = (37 * hash) + OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getOutput().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgram_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgram_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.BuildProgram_Args 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 Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static com.kcl.api.Spec.BuildProgram_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static Builder newBuilder(com.kcl.api.Spec.Rename_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static com.kcl.api.Spec.BuildProgram_Args 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 com.kcl.api.Spec.BuildProgram_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.BuildProgram_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Rename_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Rename_Args) - com.kcl.api.Spec.Rename_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.BuildProgram_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgram_Args) + com.kcl.api.Spec.BuildProgram_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.BuildProgram_Args.class, com.kcl.api.Spec.BuildProgram_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.BuildProgram_Args.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExecArgsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + output_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgram_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.BuildProgram_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgram_Args build() { + com.kcl.api.Spec.BuildProgram_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgram_Args buildPartial() { + com.kcl.api.Spec.BuildProgram_Args result = new com.kcl.api.Spec.BuildProgram_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.BuildProgram_Args result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.execArgs_ = execArgsBuilder_ == null + ? execArgs_ + : execArgsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.output_ = output_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.BuildProgram_Args) { + return mergeFrom((com.kcl.api.Spec.BuildProgram_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.BuildProgram_Args other) { + if (other == com.kcl.api.Spec.BuildProgram_Args.getDefaultInstance()) return this; + if (other.hasExecArgs()) { + mergeExecArgs(other.getExecArgs()); + } + if (!other.getOutput().isEmpty()) { + output_ = other.output_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getExecArgsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + output_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> execArgsBuilder_; + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return Whether the execArgs field is set. + */ + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return The execArgs. + */ + public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + if (execArgsBuilder_ == null) { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } else { + return execArgsBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + if (execArgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + execArgs_ = value; + } else { + execArgsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder setExecArgs( + com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { + if (execArgsBuilder_ == null) { + execArgs_ = builderForValue.build(); + } else { + execArgsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + if (execArgsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + execArgs_ != null && + execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { + getExecArgsBuilder().mergeFrom(value); + } else { + execArgs_ = value; + } + } else { + execArgsBuilder_.mergeFrom(value); + } + if (execArgs_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder clearExecArgs() { + bitField0_ = (bitField0_ & ~0x00000001); + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExecArgsFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + if (execArgsBuilder_ != null) { + return execArgsBuilder_.getMessageOrBuilder(); + } else { + return execArgs_ == null ? + com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> + getExecArgsFieldBuilder() { + if (execArgsBuilder_ == null) { + execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder>( + getExecArgs(), + getParentForChildren(), + isClean()); + execArgs_ = null; + } + return execArgsBuilder_; + } + + private java.lang.Object output_ = ""; + /** + * string output = 2; + * @return The output. + */ + public java.lang.String getOutput() { + java.lang.Object ref = output_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + output_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string output = 2; + * @return The bytes for output. + */ + public com.google.protobuf.ByteString + getOutputBytes() { + java.lang.Object ref = output_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + output_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string output = 2; + * @param value The output to set. + * @return This builder for chaining. + */ + public Builder setOutput( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + output_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string output = 2; + * @return This builder for chaining. + */ + public Builder clearOutput() { + output_ = getDefaultInstance().getOutput(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string output = 2; + * @param value The bytes for output to set. + * @return This builder for chaining. + */ + public Builder setOutputBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + output_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgram_Args) + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Rename_Args.class, - com.kcl.api.Spec.Rename_Args.Builder.class); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgram_Args) + private static final com.kcl.api.Spec.BuildProgram_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgram_Args(); + } + + public static com.kcl.api.Spec.BuildProgram_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BuildProgram_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - // Construct using com.kcl.api.Spec.Rename_Args.newBuilder() - private Builder() { + @java.lang.Override + public com.kcl.api.Spec.BuildProgram_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - } + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + public interface BuildProgram_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgram_Result) + com.google.protobuf.MessageOrBuilder { - } + /** + * string path = 1; + * @return The path. + */ + java.lang.String getPath(); + /** + * string path = 1; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + } + /** + * Protobuf type {@code com.kcl.api.BuildProgram_Result} + */ + public static final class BuildProgram_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgram_Result) + BuildProgram_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use BuildProgram_Result.newBuilder() to construct. + private BuildProgram_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BuildProgram_Result() { + path_ = ""; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - packageRoot_ = ""; - symbolPath_ = ""; - filePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - newName_ = ""; - return this; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BuildProgram_Result(); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.Rename_Args.getDefaultInstance(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.BuildProgram_Result.class, com.kcl.api.Spec.BuildProgram_Result.Builder.class); + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Args build() { - com.kcl.api.Spec.Rename_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static final int PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object path_ = ""; + /** + * string path = 1; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + * string path = 1; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Args buildPartial() { - com.kcl.api.Spec.Rename_Args result = new com.kcl.api.Spec.Rename_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private void buildPartial0(com.kcl.api.Spec.Rename_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.packageRoot_ = packageRoot_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.symbolPath_ = symbolPath_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - filePaths_.makeImmutable(); - result.filePaths_ = filePaths_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.newName_ = newName_; - } - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.BuildProgram_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.BuildProgram_Result other = (com.kcl.api.Spec.BuildProgram_Result) obj; + + if (!getPath() + .equals(other.getPath())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgram_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgram_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + public static com.kcl.api.Spec.BuildProgram_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Rename_Args) { - return mergeFrom((com.kcl.api.Spec.Rename_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } + public static com.kcl.api.Spec.BuildProgram_Result 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 com.kcl.api.Spec.BuildProgram_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public Builder mergeFrom(com.kcl.api.Spec.Rename_Args other) { - if (other == com.kcl.api.Spec.Rename_Args.getDefaultInstance()) - return this; - if (!other.getPackageRoot().isEmpty()) { - packageRoot_ = other.packageRoot_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getSymbolPath().isEmpty()) { - symbolPath_ = other.symbolPath_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.filePaths_.isEmpty()) { - if (filePaths_.isEmpty()) { - filePaths_ = other.filePaths_; - bitField0_ |= 0x00000004; - } else { - ensureFilePathsIsMutable(); - filePaths_.addAll(other.filePaths_); - } - onChanged(); - } - if (!other.getNewName().isEmpty()) { - newName_ = other.newName_; - bitField0_ |= 0x00000008; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.BuildProgram_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.BuildProgram_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgram_Result) + com.kcl.api.Spec.BuildProgram_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.BuildProgram_Result.class, com.kcl.api.Spec.BuildProgram_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.BuildProgram_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + path_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgram_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.BuildProgram_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgram_Result build() { + com.kcl.api.Spec.BuildProgram_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgram_Result buildPartial() { + com.kcl.api.Spec.BuildProgram_Result result = new com.kcl.api.Spec.BuildProgram_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.BuildProgram_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.path_ = path_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.BuildProgram_Result) { + return mergeFrom((com.kcl.api.Spec.BuildProgram_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.BuildProgram_Result other) { + if (other == com.kcl.api.Spec.BuildProgram_Result.getDefaultInstance()) return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object path_ = ""; + /** + * string path = 1; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string path = 1; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string path = 1; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string path = 1; + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string path = 1; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgram_Result) + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - packageRoot_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - symbolPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilePathsIsMutable(); - filePaths_.add(s); - break; - } // case 26 - case 34: { - newName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgram_Result) + private static final com.kcl.api.Spec.BuildProgram_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgram_Result(); + } - private int bitField0_; - - private java.lang.Object packageRoot_ = ""; - - /** - *
-             * the file path to the package root
-             * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - public java.lang.String getPackageRoot() { - java.lang.Object ref = packageRoot_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageRoot_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.BuildProgram_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * the file path to the package root
-             * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - public com.google.protobuf.ByteString getPackageRootBytes() { - java.lang.Object ref = packageRoot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - packageRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BuildProgram_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * the file path to the package root
-             * 
- * - * string package_root = 1; - * - * @param value - * The packageRoot to set. - * - * @return This builder for chaining. - */ - public Builder setPackageRoot(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - packageRoot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * the file path to the package root
-             * 
- * - * string package_root = 1; - * - * @return This builder for chaining. - */ - public Builder clearPackageRoot() { - packageRoot_ = getDefaultInstance().getPackageRoot(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.BuildProgram_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * the file path to the package root
-             * 
- * - * string package_root = 1; - * - * @param value - * The bytes for packageRoot to set. - * - * @return This builder for chaining. - */ - public Builder setPackageRootBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - packageRoot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + } - private java.lang.Object symbolPath_ = ""; - - /** - *
-             * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-             * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - public java.lang.String getSymbolPath() { - java.lang.Object ref = symbolPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - symbolPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public interface ExecArtifact_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecArtifact_Args) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-             * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - public com.google.protobuf.ByteString getSymbolPathBytes() { - java.lang.Object ref = symbolPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - symbolPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * string path = 1; + * @return The path. + */ + java.lang.String getPath(); + /** + * string path = 1; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); - /** - *
-             * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-             * 
- * - * string symbol_path = 2; - * - * @param value - * The symbolPath to set. - * - * @return This builder for chaining. - */ - public Builder setSymbolPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - symbolPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + * @return Whether the execArgs field is set. + */ + boolean hasExecArgs(); + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + * @return The execArgs. + */ + com.kcl.api.Spec.ExecProgram_Args getExecArgs(); + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + */ + com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); + } + /** + * Protobuf type {@code com.kcl.api.ExecArtifact_Args} + */ + public static final class ExecArtifact_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ExecArtifact_Args) + ExecArtifact_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExecArtifact_Args.newBuilder() to construct. + private ExecArtifact_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExecArtifact_Args() { + path_ = ""; + } - /** - *
-             * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-             * 
- * - * string symbol_path = 2; - * - * @return This builder for chaining. - */ - public Builder clearSymbolPath() { - symbolPath_ = getDefaultInstance().getSymbolPath(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ExecArtifact_Args(); + } - /** - *
-             * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-             * 
- * - * string symbol_path = 2; - * - * @param value - * The bytes for symbolPath to set. - * - * @return This builder for chaining. - */ - public Builder setSymbolPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - symbolPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; + } - private com.google.protobuf.LazyStringArrayList filePaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecArtifact_Args.class, com.kcl.api.Spec.ExecArtifact_Args.Builder.class); + } - private void ensureFilePathsIsMutable() { - if (!filePaths_.isModifiable()) { - filePaths_ = new com.google.protobuf.LazyStringArrayList(filePaths_); - } - bitField0_ |= 0x00000004; - } + private int bitField0_; + public static final int PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object path_ = ""; + /** + * string path = 1; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + * string path = 1; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * the paths to the source code files
-             * 
- * - * repeated string file_paths = 3; - * - * @return A list containing the filePaths. - */ - public com.google.protobuf.ProtocolStringList getFilePathsList() { - filePaths_.makeImmutable(); - return filePaths_; - } + public static final int EXEC_ARGS_FIELD_NUMBER = 2; + private com.kcl.api.Spec.ExecProgram_Args execArgs_; + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + * @return Whether the execArgs field is set. + */ + @java.lang.Override + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + * @return The execArgs. + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } - /** - *
-             * the paths to the source code files
-             * 
- * - * repeated string file_paths = 3; - * - * @return The count of filePaths. - */ - public int getFilePathsCount() { - return filePaths_.size(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * the paths to the source code files
-             * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The filePaths at the given index. - */ - public java.lang.String getFilePaths(int index) { - return filePaths_.get(index); - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * the paths to the source code files
-             * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the filePaths at the given index. - */ - public com.google.protobuf.ByteString getFilePathsBytes(int index) { - return filePaths_.getByteString(index); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getExecArgs()); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * the paths to the source code files
-             * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index to set the value at. - * @param value - * The filePaths to set. - * - * @return This builder for chaining. - */ - public Builder setFilePaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilePathsIsMutable(); - filePaths_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExecArgs()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * the paths to the source code files
-             * 
- * - * repeated string file_paths = 3; - * - * @param value - * The filePaths to add. - * - * @return This builder for chaining. - */ - public Builder addFilePaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilePathsIsMutable(); - filePaths_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ExecArtifact_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.ExecArtifact_Args other = (com.kcl.api.Spec.ExecArtifact_Args) obj; + + if (!getPath() + .equals(other.getPath())) return false; + if (hasExecArgs() != other.hasExecArgs()) return false; + if (hasExecArgs()) { + if (!getExecArgs() + .equals(other.getExecArgs())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * the paths to the source code files
-             * 
- * - * repeated string file_paths = 3; - * - * @param values - * The filePaths to add. - * - * @return This builder for chaining. - */ - public Builder addAllFilePaths(java.lang.Iterable values) { - ensureFilePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filePaths_); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + if (hasExecArgs()) { + hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getExecArgs().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * the paths to the source code files
-             * 
- * - * repeated string file_paths = 3; - * - * @return This builder for chaining. - */ - public Builder clearFilePaths() { - filePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; - } + public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * the paths to the source code files
-             * 
- * - * repeated string file_paths = 3; - * - * @param value - * The bytes of the filePaths to add. - * - * @return This builder for chaining. - */ - public Builder addFilePathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureFilePathsIsMutable(); - filePaths_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public static com.kcl.api.Spec.ExecArtifact_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private java.lang.Object newName_ = ""; - - /** - *
-             * the new name of the symbol
-             * 
- * - * string new_name = 4; - * - * @return The newName. - */ - public java.lang.String getNewName() { - java.lang.Object ref = newName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - newName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.ExecArtifact_Args 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 com.kcl.api.Spec.ExecArtifact_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * the new name of the symbol
-             * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - public com.google.protobuf.ByteString getNewNameBytes() { - java.lang.Object ref = newName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - newName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ExecArtifact_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * the new name of the symbol
-             * 
- * - * string new_name = 4; - * - * @param value - * The newName to set. - * - * @return This builder for chaining. - */ - public Builder setNewName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - newName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ExecArtifact_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecArtifact_Args) + com.kcl.api.Spec.ExecArtifact_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecArtifact_Args.class, com.kcl.api.Spec.ExecArtifact_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.ExecArtifact_Args.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExecArgsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + path_ = ""; + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecArtifact_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.ExecArtifact_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ExecArtifact_Args build() { + com.kcl.api.Spec.ExecArtifact_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecArtifact_Args buildPartial() { + com.kcl.api.Spec.ExecArtifact_Args result = new com.kcl.api.Spec.ExecArtifact_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ExecArtifact_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.path_ = path_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.execArgs_ = execArgsBuilder_ == null + ? execArgs_ + : execArgsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ExecArtifact_Args) { + return mergeFrom((com.kcl.api.Spec.ExecArtifact_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ExecArtifact_Args other) { + if (other == com.kcl.api.Spec.ExecArtifact_Args.getDefaultInstance()) return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasExecArgs()) { + mergeExecArgs(other.getExecArgs()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getExecArgsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object path_ = ""; + /** + * string path = 1; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string path = 1; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string path = 1; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string path = 1; + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string path = 1; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> execArgsBuilder_; + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + * @return Whether the execArgs field is set. + */ + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + * @return The execArgs. + */ + public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + if (execArgsBuilder_ == null) { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } else { + return execArgsBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + */ + public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + if (execArgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + execArgs_ = value; + } else { + execArgsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + */ + public Builder setExecArgs( + com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { + if (execArgsBuilder_ == null) { + execArgs_ = builderForValue.build(); + } else { + execArgsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + */ + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + if (execArgsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + execArgs_ != null && + execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { + getExecArgsBuilder().mergeFrom(value); + } else { + execArgs_ = value; + } + } else { + execArgsBuilder_.mergeFrom(value); + } + if (execArgs_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + */ + public Builder clearExecArgs() { + bitField0_ = (bitField0_ & ~0x00000002); + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + */ + public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getExecArgsFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + */ + public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + if (execArgsBuilder_ != null) { + return execArgsBuilder_.getMessageOrBuilder(); + } else { + return execArgs_ == null ? + com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> + getExecArgsFieldBuilder() { + if (execArgsBuilder_ == null) { + execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder>( + getExecArgs(), + getParentForChildren(), + isClean()); + execArgs_ = null; + } + return execArgsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecArtifact_Args) + } - /** - *
-             * the new name of the symbol
-             * 
- * - * string new_name = 4; - * - * @return This builder for chaining. - */ - public Builder clearNewName() { - newName_ = getDefaultInstance().getNewName(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ExecArtifact_Args) + private static final com.kcl.api.Spec.ExecArtifact_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecArtifact_Args(); + } - /** - *
-             * the new name of the symbol
-             * 
- * - * string new_name = 4; - * - * @param value - * The bytes for newName to set. - * - * @return This builder for chaining. - */ - public Builder setNewNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - newName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + public static com.kcl.api.Spec.ExecArtifact_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecArtifact_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Rename_Args) - } + @java.lang.Override + public com.kcl.api.Spec.ExecArtifact_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Rename_Args) - private static final com.kcl.api.Spec.Rename_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Rename_Args(); - } + } - public static com.kcl.api.Spec.Rename_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public interface ResetPlugin_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ResetPlugin_Args) + com.google.protobuf.MessageOrBuilder { - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rename_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + /** + * string plugin_root = 1; + * @return The pluginRoot. + */ + java.lang.String getPluginRoot(); + /** + * string plugin_root = 1; + * @return The bytes for pluginRoot. + */ + com.google.protobuf.ByteString + getPluginRootBytes(); + } + /** + * Protobuf type {@code com.kcl.api.ResetPlugin_Args} + */ + public static final class ResetPlugin_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ResetPlugin_Args) + ResetPlugin_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ResetPlugin_Args.newBuilder() to construct. + private ResetPlugin_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ResetPlugin_Args() { + pluginRoot_ = ""; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ResetPlugin_Args(); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Args_descriptor; + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface Rename_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Rename_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * the file paths got changed
-         * 
- * - * repeated string changed_files = 1; - * - * @return A list containing the changedFiles. - */ - java.util.List getChangedFilesList(); - - /** - *
-         * the file paths got changed
-         * 
- * - * repeated string changed_files = 1; - * - * @return The count of changedFiles. - */ - int getChangedFilesCount(); - - /** - *
-         * the file paths got changed
-         * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedFiles at the given index. - */ - java.lang.String getChangedFiles(int index); - - /** - *
-         * the file paths got changed
-         * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedFiles at the given index. - */ - com.google.protobuf.ByteString getChangedFilesBytes(int index); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ResetPlugin_Args.class, com.kcl.api.Spec.ResetPlugin_Args.Builder.class); } + public static final int PLUGIN_ROOT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object pluginRoot_ = ""; /** - * Protobuf type {@code com.kcl.api.Rename_Result} + * string plugin_root = 1; + * @return The pluginRoot. + */ + @java.lang.Override + public java.lang.String getPluginRoot() { + java.lang.Object ref = pluginRoot_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pluginRoot_ = s; + return s; + } + } + /** + * string plugin_root = 1; + * @return The bytes for pluginRoot. */ - public static final class Rename_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Rename_Result) - Rename_ResultOrBuilder { - private static final long serialVersionUID = 0L; + @java.lang.Override + public com.google.protobuf.ByteString + getPluginRootBytes() { + java.lang.Object ref = pluginRoot_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pluginRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // Use Rename_Result.newBuilder() to construct. - private Rename_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private Rename_Result() { - changedFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Rename_Result(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pluginRoot_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pluginRoot_); + } + getUnknownFields().writeTo(output); + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pluginRoot_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pluginRoot_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Rename_Result.class, - com.kcl.api.Spec.Rename_Result.Builder.class); - } - - public static final int CHANGED_FILES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList changedFiles_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * the file paths got changed
-         * 
- * - * repeated string changed_files = 1; - * - * @return A list containing the changedFiles. - */ - public com.google.protobuf.ProtocolStringList getChangedFilesList() { - return changedFiles_; - } - - /** - *
-         * the file paths got changed
-         * 
- * - * repeated string changed_files = 1; - * - * @return The count of changedFiles. - */ - public int getChangedFilesCount() { - return changedFiles_.size(); - } - - /** - *
-         * the file paths got changed
-         * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedFiles at the given index. - */ - public java.lang.String getChangedFiles(int index) { - return changedFiles_.get(index); - } - - /** - *
-         * the file paths got changed
-         * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedFiles at the given index. - */ - public com.google.protobuf.ByteString getChangedFilesBytes(int index) { - return changedFiles_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ResetPlugin_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.ResetPlugin_Args other = (com.kcl.api.Spec.ResetPlugin_Args) obj; + + if (!getPluginRoot() + .equals(other.getPluginRoot())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PLUGIN_ROOT_FIELD_NUMBER; + hash = (53 * hash) + getPluginRoot().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - memoizedIsInitialized = 1; - return true; - } + public static com.kcl.api.Spec.ResetPlugin_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ResetPlugin_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ResetPlugin_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ResetPlugin_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ResetPlugin_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ResetPlugin_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ResetPlugin_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ResetPlugin_Args 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 com.kcl.api.Spec.ResetPlugin_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.kcl.api.Spec.ResetPlugin_Args 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 com.kcl.api.Spec.ResetPlugin_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ResetPlugin_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < changedFiles_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, changedFiles_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ResetPlugin_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < changedFiles_.size(); i++) { - dataSize += computeStringSizeNoTag(changedFiles_.getRaw(i)); - } - size += dataSize; - size += 1 * getChangedFilesList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ResetPlugin_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ResetPlugin_Args) + com.kcl.api.Spec.ResetPlugin_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ResetPlugin_Args.class, com.kcl.api.Spec.ResetPlugin_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.ResetPlugin_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + pluginRoot_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ResetPlugin_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.ResetPlugin_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ResetPlugin_Args build() { + com.kcl.api.Spec.ResetPlugin_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ResetPlugin_Args buildPartial() { + com.kcl.api.Spec.ResetPlugin_Args result = new com.kcl.api.Spec.ResetPlugin_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ResetPlugin_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.pluginRoot_ = pluginRoot_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ResetPlugin_Args) { + return mergeFrom((com.kcl.api.Spec.ResetPlugin_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ResetPlugin_Args other) { + if (other == com.kcl.api.Spec.ResetPlugin_Args.getDefaultInstance()) return this; + if (!other.getPluginRoot().isEmpty()) { + pluginRoot_ = other.pluginRoot_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + pluginRoot_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object pluginRoot_ = ""; + /** + * string plugin_root = 1; + * @return The pluginRoot. + */ + public java.lang.String getPluginRoot() { + java.lang.Object ref = pluginRoot_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pluginRoot_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string plugin_root = 1; + * @return The bytes for pluginRoot. + */ + public com.google.protobuf.ByteString + getPluginRootBytes() { + java.lang.Object ref = pluginRoot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pluginRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string plugin_root = 1; + * @param value The pluginRoot to set. + * @return This builder for chaining. + */ + public Builder setPluginRoot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pluginRoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string plugin_root = 1; + * @return This builder for chaining. + */ + public Builder clearPluginRoot() { + pluginRoot_ = getDefaultInstance().getPluginRoot(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string plugin_root = 1; + * @param value The bytes for pluginRoot to set. + * @return This builder for chaining. + */ + public Builder setPluginRootBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pluginRoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ResetPlugin_Args) + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Rename_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.Rename_Result other = (com.kcl.api.Spec.Rename_Result) obj; + // @@protoc_insertion_point(class_scope:com.kcl.api.ResetPlugin_Args) + private static final com.kcl.api.Spec.ResetPlugin_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ResetPlugin_Args(); + } - if (!getChangedFilesList().equals(other.getChangedFilesList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public static com.kcl.api.Spec.ResetPlugin_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getChangedFilesCount() > 0) { - hash = (37 * hash) + CHANGED_FILES_FIELD_NUMBER; - hash = (53 * hash) + getChangedFilesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetPlugin_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.Rename_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.Rename_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.kcl.api.Spec.ResetPlugin_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Rename_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + } + + public interface ResetPlugin_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ResetPlugin_Result) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * empty
+   * 
+ * + * Protobuf type {@code com.kcl.api.ResetPlugin_Result} + */ + public static final class ResetPlugin_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ResetPlugin_Result) + ResetPlugin_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use ResetPlugin_Result.newBuilder() to construct. + private ResetPlugin_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ResetPlugin_Result() { + } - public static com.kcl.api.Spec.Rename_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ResetPlugin_Result(); + } - public static com.kcl.api.Spec.Rename_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Result_descriptor; + } - public static com.kcl.api.Spec.Rename_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ResetPlugin_Result.class, com.kcl.api.Spec.ResetPlugin_Result.Builder.class); + } - public static com.kcl.api.Spec.Rename_Result parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Rename_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.Rename_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.Rename_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - public static com.kcl.api.Spec.Rename_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.Rename_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ResetPlugin_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.ResetPlugin_Result other = (com.kcl.api.Spec.ResetPlugin_Result) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static com.kcl.api.Spec.ResetPlugin_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ResetPlugin_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ResetPlugin_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ResetPlugin_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ResetPlugin_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ResetPlugin_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ResetPlugin_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ResetPlugin_Result 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 Builder newBuilder(com.kcl.api.Spec.Rename_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static com.kcl.api.Spec.ResetPlugin_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static com.kcl.api.Spec.ResetPlugin_Result 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 com.kcl.api.Spec.ResetPlugin_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ResetPlugin_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Rename_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Rename_Result) - com.kcl.api.Spec.Rename_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ResetPlugin_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Rename_Result.class, - com.kcl.api.Spec.Rename_Result.Builder.class); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * empty
+     * 
+ * + * Protobuf type {@code com.kcl.api.ResetPlugin_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ResetPlugin_Result) + com.kcl.api.Spec.ResetPlugin_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ResetPlugin_Result.class, com.kcl.api.Spec.ResetPlugin_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.ResetPlugin_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ResetPlugin_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ResetPlugin_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.ResetPlugin_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ResetPlugin_Result build() { + com.kcl.api.Spec.ResetPlugin_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ResetPlugin_Result buildPartial() { + com.kcl.api.Spec.ResetPlugin_Result result = new com.kcl.api.Spec.ResetPlugin_Result(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ResetPlugin_Result) { + return mergeFrom((com.kcl.api.Spec.ResetPlugin_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ResetPlugin_Result other) { + if (other == com.kcl.api.Spec.ResetPlugin_Result.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ResetPlugin_Result) + } - // Construct using com.kcl.api.Spec.Rename_Result.newBuilder() - private Builder() { + // @@protoc_insertion_point(class_scope:com.kcl.api.ResetPlugin_Result) + private static final com.kcl.api.Spec.ResetPlugin_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ResetPlugin_Result(); + } - } + public static com.kcl.api.Spec.ResetPlugin_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetPlugin_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - changedFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.ResetPlugin_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; - } + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.Rename_Result.getDefaultInstance(); - } + public interface FormatCode_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCode_Args) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.kcl.api.Spec.Rename_Result build() { - com.kcl.api.Spec.Rename_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + /** + * string source = 1; + * @return The source. + */ + java.lang.String getSource(); + /** + * string source = 1; + * @return The bytes for source. + */ + com.google.protobuf.ByteString + getSourceBytes(); + } + /** + * Protobuf type {@code com.kcl.api.FormatCode_Args} + */ + public static final class FormatCode_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCode_Args) + FormatCode_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use FormatCode_Args.newBuilder() to construct. + private FormatCode_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FormatCode_Args() { + source_ = ""; + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Result buildPartial() { - com.kcl.api.Spec.Rename_Result result = new com.kcl.api.Spec.Rename_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FormatCode_Args(); + } - private void buildPartial0(com.kcl.api.Spec.Rename_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - changedFiles_.makeImmutable(); - result.changedFiles_ = changedFiles_; - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatCode_Args.class, com.kcl.api.Spec.FormatCode_Args.Builder.class); + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + public static final int SOURCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object source_ = ""; + /** + * string source = 1; + * @return The source. + */ + @java.lang.Override + public java.lang.String getSource() { + java.lang.Object ref = source_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + source_ = s; + return s; + } + } + /** + * string source = 1; + * @return The bytes for source. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSourceBytes() { + java.lang.Object ref = source_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + source_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Rename_Result) { - return mergeFrom((com.kcl.api.Spec.Rename_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.FormatCode_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.FormatCode_Args other = (com.kcl.api.Spec.FormatCode_Args) obj; + + if (!getSource() + .equals(other.getSource())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public Builder mergeFrom(com.kcl.api.Spec.Rename_Result other) { - if (other == com.kcl.api.Spec.Rename_Result.getDefaultInstance()) - return this; - if (!other.changedFiles_.isEmpty()) { - if (changedFiles_.isEmpty()) { - changedFiles_ = other.changedFiles_; - bitField0_ |= 0x00000001; - } else { - ensureChangedFilesIsMutable(); - changedFiles_.addAll(other.changedFiles_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getSource().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static com.kcl.api.Spec.FormatCode_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCode_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCode_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCode_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCode_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCode_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCode_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatCode_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureChangedFilesIsMutable(); - changedFiles_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + public static com.kcl.api.Spec.FormatCode_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private int bitField0_; + public static com.kcl.api.Spec.FormatCode_Args 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 com.kcl.api.Spec.FormatCode_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatCode_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private com.google.protobuf.LazyStringArrayList changedFiles_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.FormatCode_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private void ensureChangedFilesIsMutable() { - if (!changedFiles_.isModifiable()) { - changedFiles_ = new com.google.protobuf.LazyStringArrayList(changedFiles_); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.FormatCode_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCode_Args) + com.kcl.api.Spec.FormatCode_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatCode_Args.class, com.kcl.api.Spec.FormatCode_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.FormatCode_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + source_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCode_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatCode_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCode_Args build() { + com.kcl.api.Spec.FormatCode_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCode_Args buildPartial() { + com.kcl.api.Spec.FormatCode_Args result = new com.kcl.api.Spec.FormatCode_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.FormatCode_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.source_ = source_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.FormatCode_Args) { + return mergeFrom((com.kcl.api.Spec.FormatCode_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.FormatCode_Args other) { + if (other == com.kcl.api.Spec.FormatCode_Args.getDefaultInstance()) return this; + if (!other.getSource().isEmpty()) { + source_ = other.source_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + source_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; - } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object source_ = ""; + /** + * string source = 1; + * @return The source. + */ + public java.lang.String getSource() { + java.lang.Object ref = source_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + source_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string source = 1; + * @return The bytes for source. + */ + public com.google.protobuf.ByteString + getSourceBytes() { + java.lang.Object ref = source_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + source_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string source = 1; + * @param value The source to set. + * @return This builder for chaining. + */ + public Builder setSource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + source_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string source = 1; + * @return This builder for chaining. + */ + public Builder clearSource() { + source_ = getDefaultInstance().getSource(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string source = 1; + * @param value The bytes for source to set. + * @return This builder for chaining. + */ + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + source_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCode_Args) + } - /** - *
-             * the file paths got changed
-             * 
- * - * repeated string changed_files = 1; - * - * @return A list containing the changedFiles. - */ - public com.google.protobuf.ProtocolStringList getChangedFilesList() { - changedFiles_.makeImmutable(); - return changedFiles_; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCode_Args) + private static final com.kcl.api.Spec.FormatCode_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCode_Args(); + } - /** - *
-             * the file paths got changed
-             * 
- * - * repeated string changed_files = 1; - * - * @return The count of changedFiles. - */ - public int getChangedFilesCount() { - return changedFiles_.size(); - } + public static com.kcl.api.Spec.FormatCode_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * the file paths got changed
-             * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedFiles at the given index. - */ - public java.lang.String getChangedFiles(int index) { - return changedFiles_.get(index); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FormatCode_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * the file paths got changed
-             * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedFiles at the given index. - */ - public com.google.protobuf.ByteString getChangedFilesBytes(int index) { - return changedFiles_.getByteString(index); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * the file paths got changed
-             * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index to set the value at. - * @param value - * The changedFiles to set. - * - * @return This builder for chaining. - */ - public Builder setChangedFiles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureChangedFilesIsMutable(); - changedFiles_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.FormatCode_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * the file paths got changed
-             * 
- * - * repeated string changed_files = 1; - * - * @param value - * The changedFiles to add. - * - * @return This builder for chaining. - */ - public Builder addChangedFiles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureChangedFilesIsMutable(); - changedFiles_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + } - /** - *
-             * the file paths got changed
-             * 
- * - * repeated string changed_files = 1; - * - * @param values - * The changedFiles to add. - * - * @return This builder for chaining. - */ - public Builder addAllChangedFiles(java.lang.Iterable values) { - ensureChangedFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changedFiles_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public interface FormatCode_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCode_Result) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * the file paths got changed
-             * 
- * - * repeated string changed_files = 1; - * - * @return This builder for chaining. - */ - public Builder clearChangedFiles() { - changedFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } + /** + * bytes formatted = 1; + * @return The formatted. + */ + com.google.protobuf.ByteString getFormatted(); + } + /** + * Protobuf type {@code com.kcl.api.FormatCode_Result} + */ + public static final class FormatCode_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCode_Result) + FormatCode_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use FormatCode_Result.newBuilder() to construct. + private FormatCode_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FormatCode_Result() { + formatted_ = com.google.protobuf.ByteString.EMPTY; + } - /** - *
-             * the file paths got changed
-             * 
- * - * repeated string changed_files = 1; - * - * @param value - * The bytes of the changedFiles to add. - * - * @return This builder for chaining. - */ - public Builder addChangedFilesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureChangedFilesIsMutable(); - changedFiles_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FormatCode_Result(); + } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatCode_Result.class, com.kcl.api.Spec.FormatCode_Result.Builder.class); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Rename_Result) - } + public static final int FORMATTED_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString formatted_ = com.google.protobuf.ByteString.EMPTY; + /** + * bytes formatted = 1; + * @return The formatted. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFormatted() { + return formatted_; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Rename_Result) - private static final com.kcl.api.Spec.Rename_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Rename_Result(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Rename_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } + memoizedIsInitialized = 1; + return true; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rename_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!formatted_.isEmpty()) { + output.writeBytes(1, formatted_); + } + getUnknownFields().writeTo(output); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!formatted_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, formatted_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.FormatCode_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.FormatCode_Result other = (com.kcl.api.Spec.FormatCode_Result) obj; + + if (!getFormatted() + .equals(other.getFormatted())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface RenameCode_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCode_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * the file path to the package root
-         * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - java.lang.String getPackageRoot(); - - /** - *
-         * the file path to the package root
-         * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - com.google.protobuf.ByteString getPackageRootBytes(); - - /** - *
-         * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-         * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - java.lang.String getSymbolPath(); - - /** - *
-         * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-         * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - com.google.protobuf.ByteString getSymbolPathBytes(); - - /** - *
-         * the source code. a <filename>:<code> map
-         * 
- * - * map<string, string> source_codes = 3; - */ - int getSourceCodesCount(); - - /** - *
-         * the source code. a <filename>:<code> map
-         * 
- * - * map<string, string> source_codes = 3; - */ - boolean containsSourceCodes(java.lang.String key); - - /** - * Use {@link #getSourceCodesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getSourceCodes(); - - /** - *
-         * the source code. a <filename>:<code> map
-         * 
- * - * map<string, string> source_codes = 3; - */ - java.util.Map getSourceCodesMap(); - - /** - *
-         * the source code. a <filename>:<code> map
-         * 
- * - * map<string, string> source_codes = 3; - */ - /* nullable */ - java.lang.String getSourceCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue); - - /** - *
-         * the source code. a <filename>:<code> map
-         * 
- * - * map<string, string> source_codes = 3; - */ - java.lang.String getSourceCodesOrThrow(java.lang.String key); - - /** - *
-         * the new name of the symbol
-         * 
- * - * string new_name = 4; - * - * @return The newName. - */ - java.lang.String getNewName(); - - /** - *
-         * the new name of the symbol
-         * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - com.google.protobuf.ByteString getNewNameBytes(); + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FORMATTED_FIELD_NUMBER; + hash = (53 * hash) + getFormatted().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; } - /** - * Protobuf type {@code com.kcl.api.RenameCode_Args} - */ - public static final class RenameCode_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCode_Args) - RenameCode_ArgsOrBuilder { - private static final long serialVersionUID = 0L; + public static com.kcl.api.Spec.FormatCode_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCode_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCode_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCode_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCode_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCode_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCode_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatCode_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - // Use RenameCode_Args.newBuilder() to construct. - private RenameCode_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + public static com.kcl.api.Spec.FormatCode_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private RenameCode_Args() { - packageRoot_ = ""; - symbolPath_ = ""; - newName_ = ""; - } + public static com.kcl.api.Spec.FormatCode_Result 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 com.kcl.api.Spec.FormatCode_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatCode_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RenameCode_Args(); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.FormatCode_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.FormatCode_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCode_Result) + com.kcl.api.Spec.FormatCode_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatCode_Result.class, com.kcl.api.Spec.FormatCode_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.FormatCode_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + formatted_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCode_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatCode_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCode_Result build() { + com.kcl.api.Spec.FormatCode_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCode_Result buildPartial() { + com.kcl.api.Spec.FormatCode_Result result = new com.kcl.api.Spec.FormatCode_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.FormatCode_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.formatted_ = formatted_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.FormatCode_Result) { + return mergeFrom((com.kcl.api.Spec.FormatCode_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.FormatCode_Result other) { + if (other == com.kcl.api.Spec.FormatCode_Result.getDefaultInstance()) return this; + if (other.getFormatted() != com.google.protobuf.ByteString.EMPTY) { + setFormatted(other.getFormatted()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + formatted_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString formatted_ = com.google.protobuf.ByteString.EMPTY; + /** + * bytes formatted = 1; + * @return The formatted. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFormatted() { + return formatted_; + } + /** + * bytes formatted = 1; + * @param value The formatted to set. + * @return This builder for chaining. + */ + public Builder setFormatted(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + formatted_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * bytes formatted = 1; + * @return This builder for chaining. + */ + public Builder clearFormatted() { + bitField0_ = (bitField0_ & ~0x00000001); + formatted_ = getDefaultInstance().getFormatted(); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCode_Result) + } - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetSourceCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCode_Result) + private static final com.kcl.api.Spec.FormatCode_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCode_Result(); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.RenameCode_Args.class, - com.kcl.api.Spec.RenameCode_Args.Builder.class); - } - - public static final int PACKAGE_ROOT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object packageRoot_ = ""; - - /** - *
-         * the file path to the package root
-         * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - @java.lang.Override - public java.lang.String getPackageRoot() { - java.lang.Object ref = packageRoot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageRoot_ = s; - return s; - } - } + public static com.kcl.api.Spec.FormatCode_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-         * the file path to the package root
-         * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPackageRootBytes() { - java.lang.Object ref = packageRoot_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - packageRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FormatCode_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static final int SYMBOL_PATH_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object symbolPath_ = ""; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-         * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-         * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - @java.lang.Override - public java.lang.String getSymbolPath() { - java.lang.Object ref = symbolPath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - symbolPath_ = s; - return s; - } - } + @java.lang.Override + public com.kcl.api.Spec.FormatCode_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-         * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-         * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSymbolPathBytes() { - java.lang.Object ref = symbolPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - symbolPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + } - public static final int SOURCE_CODES_FIELD_NUMBER = 3; + public interface FormatPath_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPath_Args) + com.google.protobuf.MessageOrBuilder { - private static final class SourceCodesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.STRING, ""); - } + /** + * string path = 1; + * @return The path. + */ + java.lang.String getPath(); + /** + * string path = 1; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + } + /** + * Protobuf type {@code com.kcl.api.FormatPath_Args} + */ + public static final class FormatPath_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPath_Args) + FormatPath_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use FormatPath_Args.newBuilder() to construct. + private FormatPath_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FormatPath_Args() { + path_ = ""; + } - @SuppressWarnings("serial") - private com.google.protobuf.MapField sourceCodes_; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FormatPath_Args(); + } - private com.google.protobuf.MapField internalGetSourceCodes() { - if (sourceCodes_ == null) { - return com.google.protobuf.MapField.emptyMapField(SourceCodesDefaultEntryHolder.defaultEntry); - } - return sourceCodes_; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; + } - public int getSourceCodesCount() { - return internalGetSourceCodes().getMap().size(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatPath_Args.class, com.kcl.api.Spec.FormatPath_Args.Builder.class); + } - /** - *
-         * the source code. a <filename>:<code> map
-         * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public boolean containsSourceCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSourceCodes().getMap().containsKey(key); - } + public static final int PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object path_ = ""; + /** + * string path = 1; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + * string path = 1; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * Use {@link #getSourceCodesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSourceCodes() { - return getSourceCodesMap(); - } - - /** - *
-         * the source code. a <filename>:<code> map
-         * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public java.util.Map getSourceCodesMap() { - return internalGetSourceCodes().getMap(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-         * the source code. a <filename>:<code> map
-         * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getSourceCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSourceCodes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-         * the source code. a <filename>:<code> map
-         * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public java.lang.String getSourceCodesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSourceCodes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int NEW_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object newName_ = ""; - - /** - *
-         * the new name of the symbol
-         * 
- * - * string new_name = 4; - * - * @return The newName. - */ - @java.lang.Override - public java.lang.String getNewName() { - java.lang.Object ref = newName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - newName_ = s; - return s; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); + } + getUnknownFields().writeTo(output); + } - /** - *
-         * the new name of the symbol
-         * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNewNameBytes() { - java.lang.Object ref = newName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - newName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private byte memoizedIsInitialized = -1; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.FormatPath_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.FormatPath_Args other = (com.kcl.api.Spec.FormatPath_Args) obj; + + if (!getPath() + .equals(other.getPath())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - memoizedIsInitialized = 1; - return true; - } + public static com.kcl.api.Spec.FormatPath_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPath_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPath_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPath_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPath_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPath_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPath_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatPath_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageRoot_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, packageRoot_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(symbolPath_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbolPath_); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetSourceCodes(), - SourceCodesDefaultEntryHolder.defaultEntry, 3); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, newName_); - } - getUnknownFields().writeTo(output); - } + public static com.kcl.api.Spec.FormatPath_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageRoot_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, packageRoot_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(symbolPath_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbolPath_); - } - for (java.util.Map.Entry entry : internalGetSourceCodes().getMap() - .entrySet()) { - com.google.protobuf.MapEntry sourceCodes__ = SourceCodesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, sourceCodes__); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, newName_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + public static com.kcl.api.Spec.FormatPath_Args 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 com.kcl.api.Spec.FormatPath_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatPath_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.RenameCode_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.RenameCode_Args other = (com.kcl.api.Spec.RenameCode_Args) obj; + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.FormatPath_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - if (!getPackageRoot().equals(other.getPackageRoot())) - return false; - if (!getSymbolPath().equals(other.getSymbolPath())) - return false; - if (!internalGetSourceCodes().equals(other.internalGetSourceCodes())) - return false; - if (!getNewName().equals(other.getNewName())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.FormatPath_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPath_Args) + com.kcl.api.Spec.FormatPath_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatPath_Args.class, com.kcl.api.Spec.FormatPath_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.FormatPath_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + path_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPath_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatPath_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPath_Args build() { + com.kcl.api.Spec.FormatPath_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPath_Args buildPartial() { + com.kcl.api.Spec.FormatPath_Args result = new com.kcl.api.Spec.FormatPath_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.FormatPath_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.path_ = path_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.FormatPath_Args) { + return mergeFrom((com.kcl.api.Spec.FormatPath_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.FormatPath_Args other) { + if (other == com.kcl.api.Spec.FormatPath_Args.getDefaultInstance()) return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object path_ = ""; + /** + * string path = 1; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string path = 1; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string path = 1; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string path = 1; + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string path = 1; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPath_Args) + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PACKAGE_ROOT_FIELD_NUMBER; - hash = (53 * hash) + getPackageRoot().hashCode(); - hash = (37 * hash) + SYMBOL_PATH_FIELD_NUMBER; - hash = (53 * hash) + getSymbolPath().hashCode(); - if (!internalGetSourceCodes().getMap().isEmpty()) { - hash = (37 * hash) + SOURCE_CODES_FIELD_NUMBER; - hash = (53 * hash) + internalGetSourceCodes().hashCode(); - } - hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; - hash = (53 * hash) + getNewName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPath_Args) + private static final com.kcl.api.Spec.FormatPath_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPath_Args(); + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.FormatPath_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FormatPath_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.kcl.api.Spec.FormatPath_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public interface FormatPath_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPath_Result) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.RenameCode_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + /** + * repeated string changed_paths = 1; + * @return A list containing the changedPaths. + */ + java.util.List + getChangedPathsList(); + /** + * repeated string changed_paths = 1; + * @return The count of changedPaths. + */ + int getChangedPathsCount(); + /** + * repeated string changed_paths = 1; + * @param index The index of the element to return. + * @return The changedPaths at the given index. + */ + java.lang.String getChangedPaths(int index); + /** + * repeated string changed_paths = 1; + * @param index The index of the value to return. + * @return The bytes of the changedPaths at the given index. + */ + com.google.protobuf.ByteString + getChangedPathsBytes(int index); + } + /** + * Protobuf type {@code com.kcl.api.FormatPath_Result} + */ + public static final class FormatPath_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPath_Result) + FormatPath_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use FormatPath_Result.newBuilder() to construct. + private FormatPath_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FormatPath_Result() { + changedPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FormatPath_Result(); + } - public static com.kcl.api.Spec.RenameCode_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; + } - public static com.kcl.api.Spec.RenameCode_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatPath_Result.class, com.kcl.api.Spec.FormatPath_Result.Builder.class); + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public static final int CHANGED_PATHS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList changedPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string changed_paths = 1; + * @return A list containing the changedPaths. + */ + public com.google.protobuf.ProtocolStringList + getChangedPathsList() { + return changedPaths_; + } + /** + * repeated string changed_paths = 1; + * @return The count of changedPaths. + */ + public int getChangedPathsCount() { + return changedPaths_.size(); + } + /** + * repeated string changed_paths = 1; + * @param index The index of the element to return. + * @return The changedPaths at the given index. + */ + public java.lang.String getChangedPaths(int index) { + return changedPaths_.get(index); + } + /** + * repeated string changed_paths = 1; + * @param index The index of the value to return. + * @return The bytes of the changedPaths at the given index. + */ + public com.google.protobuf.ByteString + getChangedPathsBytes(int index) { + return changedPaths_.getByteString(index); + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + memoizedIsInitialized = 1; + return true; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < changedPaths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, changedPaths_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - public static Builder newBuilder(com.kcl.api.Spec.RenameCode_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < changedPaths_.size(); i++) { + dataSize += computeStringSizeNoTag(changedPaths_.getRaw(i)); + } + size += dataSize; + size += 1 * getChangedPathsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.FormatPath_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.FormatPath_Result other = (com.kcl.api.Spec.FormatPath_Result) obj; + + if (!getChangedPathsList() + .equals(other.getChangedPathsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.RenameCode_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCode_Args) - com.kcl.api.Spec.RenameCode_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getChangedPathsCount() > 0) { + hash = (37 * hash) + CHANGED_PATHS_FIELD_NUMBER; + hash = (53 * hash) + getChangedPathsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetSourceCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + public static com.kcl.api.Spec.FormatPath_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPath_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPath_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPath_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPath_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPath_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPath_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatPath_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetMutableSourceCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + public static com.kcl.api.Spec.FormatPath_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.RenameCode_Args.class, - com.kcl.api.Spec.RenameCode_Args.Builder.class); - } + public static com.kcl.api.Spec.FormatPath_Result 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 com.kcl.api.Spec.FormatPath_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatPath_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - // Construct using com.kcl.api.Spec.RenameCode_Args.newBuilder() - private Builder() { + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.FormatPath_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.FormatPath_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPath_Result) + com.kcl.api.Spec.FormatPath_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatPath_Result.class, com.kcl.api.Spec.FormatPath_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.FormatPath_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + changedPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPath_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatPath_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPath_Result build() { + com.kcl.api.Spec.FormatPath_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPath_Result buildPartial() { + com.kcl.api.Spec.FormatPath_Result result = new com.kcl.api.Spec.FormatPath_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.FormatPath_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + changedPaths_.makeImmutable(); + result.changedPaths_ = changedPaths_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.FormatPath_Result) { + return mergeFrom((com.kcl.api.Spec.FormatPath_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.FormatPath_Result other) { + if (other == com.kcl.api.Spec.FormatPath_Result.getDefaultInstance()) return this; + if (!other.changedPaths_.isEmpty()) { + if (changedPaths_.isEmpty()) { + changedPaths_ = other.changedPaths_; + bitField0_ |= 0x00000001; + } else { + ensureChangedPathsIsMutable(); + changedPaths_.addAll(other.changedPaths_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureChangedPathsIsMutable(); + changedPaths_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList changedPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureChangedPathsIsMutable() { + if (!changedPaths_.isModifiable()) { + changedPaths_ = new com.google.protobuf.LazyStringArrayList(changedPaths_); + } + bitField0_ |= 0x00000001; + } + /** + * repeated string changed_paths = 1; + * @return A list containing the changedPaths. + */ + public com.google.protobuf.ProtocolStringList + getChangedPathsList() { + changedPaths_.makeImmutable(); + return changedPaths_; + } + /** + * repeated string changed_paths = 1; + * @return The count of changedPaths. + */ + public int getChangedPathsCount() { + return changedPaths_.size(); + } + /** + * repeated string changed_paths = 1; + * @param index The index of the element to return. + * @return The changedPaths at the given index. + */ + public java.lang.String getChangedPaths(int index) { + return changedPaths_.get(index); + } + /** + * repeated string changed_paths = 1; + * @param index The index of the value to return. + * @return The bytes of the changedPaths at the given index. + */ + public com.google.protobuf.ByteString + getChangedPathsBytes(int index) { + return changedPaths_.getByteString(index); + } + /** + * repeated string changed_paths = 1; + * @param index The index to set the value at. + * @param value The changedPaths to set. + * @return This builder for chaining. + */ + public Builder setChangedPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureChangedPathsIsMutable(); + changedPaths_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string changed_paths = 1; + * @param value The changedPaths to add. + * @return This builder for chaining. + */ + public Builder addChangedPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureChangedPathsIsMutable(); + changedPaths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string changed_paths = 1; + * @param values The changedPaths to add. + * @return This builder for chaining. + */ + public Builder addAllChangedPaths( + java.lang.Iterable values) { + ensureChangedPathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, changedPaths_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string changed_paths = 1; + * @return This builder for chaining. + */ + public Builder clearChangedPaths() { + changedPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + * repeated string changed_paths = 1; + * @param value The bytes of the changedPaths to add. + * @return This builder for chaining. + */ + public Builder addChangedPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureChangedPathsIsMutable(); + changedPaths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPath_Result) + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPath_Result) + private static final com.kcl.api.Spec.FormatPath_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPath_Result(); + } - } + public static com.kcl.api.Spec.FormatPath_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - packageRoot_ = ""; - symbolPath_ = ""; - internalGetMutableSourceCodes().clear(); - newName_ = ""; - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FormatPath_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.RenameCode_Args.getDefaultInstance(); - } + @java.lang.Override + public com.kcl.api.Spec.FormatPath_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args build() { - com.kcl.api.Spec.RenameCode_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args buildPartial() { - com.kcl.api.Spec.RenameCode_Args result = new com.kcl.api.Spec.RenameCode_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public interface LintPath_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPath_Args) + com.google.protobuf.MessageOrBuilder { - private void buildPartial0(com.kcl.api.Spec.RenameCode_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.packageRoot_ = packageRoot_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.symbolPath_ = symbolPath_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.sourceCodes_ = internalGetSourceCodes(); - result.sourceCodes_.makeImmutable(); - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.newName_ = newName_; - } - } + /** + * repeated string paths = 1; + * @return A list containing the paths. + */ + java.util.List + getPathsList(); + /** + * repeated string paths = 1; + * @return The count of paths. + */ + int getPathsCount(); + /** + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + java.lang.String getPaths(int index); + /** + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + com.google.protobuf.ByteString + getPathsBytes(int index); + } + /** + * Protobuf type {@code com.kcl.api.LintPath_Args} + */ + public static final class LintPath_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LintPath_Args) + LintPath_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use LintPath_Args.newBuilder() to construct. + private LintPath_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LintPath_Args() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LintPath_Args(); + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LintPath_Args.class, com.kcl.api.Spec.LintPath_Args.Builder.class); + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + public static final int PATHS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string paths = 1; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_; + } + /** + * repeated string paths = 1; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.RenameCode_Args) { - return mergeFrom((com.kcl.api.Spec.RenameCode_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < paths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paths_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - public Builder mergeFrom(com.kcl.api.Spec.RenameCode_Args other) { - if (other == com.kcl.api.Spec.RenameCode_Args.getDefaultInstance()) - return this; - if (!other.getPackageRoot().isEmpty()) { - packageRoot_ = other.packageRoot_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getSymbolPath().isEmpty()) { - symbolPath_ = other.symbolPath_; - bitField0_ |= 0x00000002; - onChanged(); - } - internalGetMutableSourceCodes().mergeFrom(other.internalGetSourceCodes()); - bitField0_ |= 0x00000004; - if (!other.getNewName().isEmpty()) { - newName_ = other.newName_; - bitField0_ |= 0x00000008; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < paths_.size(); i++) { + dataSize += computeStringSizeNoTag(paths_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LintPath_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.LintPath_Args other = (com.kcl.api.Spec.LintPath_Args) obj; + + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - packageRoot_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - symbolPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry sourceCodes__ = input - .readMessage(SourceCodesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSourceCodes().getMutableMap().put(sourceCodes__.getKey(), - sourceCodes__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - newName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPathsCount() > 0) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPathsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.kcl.api.Spec.LintPath_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPath_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPath_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPath_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPath_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPath_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPath_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LintPath_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private int bitField0_; - - private java.lang.Object packageRoot_ = ""; - - /** - *
-             * the file path to the package root
-             * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - public java.lang.String getPackageRoot() { - java.lang.Object ref = packageRoot_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageRoot_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.LintPath_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * the file path to the package root
-             * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - public com.google.protobuf.ByteString getPackageRootBytes() { - java.lang.Object ref = packageRoot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - packageRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.LintPath_Args 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 com.kcl.api.Spec.LintPath_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LintPath_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * the file path to the package root
-             * 
- * - * string package_root = 1; - * - * @param value - * The packageRoot to set. - * - * @return This builder for chaining. - */ - public Builder setPackageRoot(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - packageRoot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LintPath_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * the file path to the package root
-             * 
- * - * string package_root = 1; - * - * @return This builder for chaining. - */ - public Builder clearPackageRoot() { - packageRoot_ = getDefaultInstance().getPackageRoot(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.LintPath_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPath_Args) + com.kcl.api.Spec.LintPath_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LintPath_Args.class, com.kcl.api.Spec.LintPath_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.LintPath_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LintPath_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.LintPath_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LintPath_Args build() { + com.kcl.api.Spec.LintPath_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LintPath_Args buildPartial() { + com.kcl.api.Spec.LintPath_Args result = new com.kcl.api.Spec.LintPath_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.LintPath_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + paths_.makeImmutable(); + result.paths_ = paths_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LintPath_Args) { + return mergeFrom((com.kcl.api.Spec.LintPath_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LintPath_Args other) { + if (other == com.kcl.api.Spec.LintPath_Args.getDefaultInstance()) return this; + if (!other.paths_.isEmpty()) { + if (paths_.isEmpty()) { + paths_ = other.paths_; + bitField0_ |= 0x00000001; + } else { + ensurePathsIsMutable(); + paths_.addAll(other.paths_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathsIsMutable(); + paths_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathsIsMutable() { + if (!paths_.isModifiable()) { + paths_ = new com.google.protobuf.LazyStringArrayList(paths_); + } + bitField0_ |= 0x00000001; + } + /** + * repeated string paths = 1; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + paths_.makeImmutable(); + return paths_; + } + /** + * repeated string paths = 1; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + /** + * repeated string paths = 1; + * @param index The index to set the value at. + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string paths = 1; + * @param value The paths to add. + * @return This builder for chaining. + */ + public Builder addPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string paths = 1; + * @param values The paths to add. + * @return This builder for chaining. + */ + public Builder addAllPaths( + java.lang.Iterable values) { + ensurePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string paths = 1; + * @return This builder for chaining. + */ + public Builder clearPaths() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + * repeated string paths = 1; + * @param value The bytes of the paths to add. + * @return This builder for chaining. + */ + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPath_Args) + } - /** - *
-             * the file path to the package root
-             * 
- * - * string package_root = 1; - * - * @param value - * The bytes for packageRoot to set. - * - * @return This builder for chaining. - */ - public Builder setPackageRootBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - packageRoot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LintPath_Args) + private static final com.kcl.api.Spec.LintPath_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPath_Args(); + } - private java.lang.Object symbolPath_ = ""; - - /** - *
-             * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-             * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - public java.lang.String getSymbolPath() { - java.lang.Object ref = symbolPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - symbolPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.LintPath_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-             * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - public com.google.protobuf.ByteString getSymbolPathBytes() { - java.lang.Object ref = symbolPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - symbolPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LintPath_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-             * 
- * - * string symbol_path = 2; - * - * @param value - * The symbolPath to set. - * - * @return This builder for chaining. - */ - public Builder setSymbolPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - symbolPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-             * 
- * - * string symbol_path = 2; - * - * @return This builder for chaining. - */ - public Builder clearSymbolPath() { - symbolPath_ = getDefaultInstance().getSymbolPath(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.LintPath_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
-             * 
- * - * string symbol_path = 2; - * - * @param value - * The bytes for symbolPath to set. - * - * @return This builder for chaining. - */ - public Builder setSymbolPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - symbolPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + } - private com.google.protobuf.MapField sourceCodes_; + public interface LintPath_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPath_Result) + com.google.protobuf.MessageOrBuilder { - private com.google.protobuf.MapField internalGetSourceCodes() { - if (sourceCodes_ == null) { - return com.google.protobuf.MapField.emptyMapField(SourceCodesDefaultEntryHolder.defaultEntry); - } - return sourceCodes_; - } + /** + * repeated string results = 1; + * @return A list containing the results. + */ + java.util.List + getResultsList(); + /** + * repeated string results = 1; + * @return The count of results. + */ + int getResultsCount(); + /** + * repeated string results = 1; + * @param index The index of the element to return. + * @return The results at the given index. + */ + java.lang.String getResults(int index); + /** + * repeated string results = 1; + * @param index The index of the value to return. + * @return The bytes of the results at the given index. + */ + com.google.protobuf.ByteString + getResultsBytes(int index); + } + /** + * Protobuf type {@code com.kcl.api.LintPath_Result} + */ + public static final class LintPath_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LintPath_Result) + LintPath_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use LintPath_Result.newBuilder() to construct. + private LintPath_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LintPath_Result() { + results_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - private com.google.protobuf.MapField internalGetMutableSourceCodes() { - if (sourceCodes_ == null) { - sourceCodes_ = com.google.protobuf.MapField.newMapField(SourceCodesDefaultEntryHolder.defaultEntry); - } - if (!sourceCodes_.isMutable()) { - sourceCodes_ = sourceCodes_.copy(); - } - bitField0_ |= 0x00000004; - onChanged(); - return sourceCodes_; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LintPath_Result(); + } - public int getSourceCodesCount() { - return internalGetSourceCodes().getMap().size(); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; + } - /** - *
-             * the source code. a <filename>:<code> map
-             * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public boolean containsSourceCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSourceCodes().getMap().containsKey(key); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LintPath_Result.class, com.kcl.api.Spec.LintPath_Result.Builder.class); + } - /** - * Use {@link #getSourceCodesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSourceCodes() { - return getSourceCodesMap(); - } + public static final int RESULTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList results_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string results = 1; + * @return A list containing the results. + */ + public com.google.protobuf.ProtocolStringList + getResultsList() { + return results_; + } + /** + * repeated string results = 1; + * @return The count of results. + */ + public int getResultsCount() { + return results_.size(); + } + /** + * repeated string results = 1; + * @param index The index of the element to return. + * @return The results at the given index. + */ + public java.lang.String getResults(int index) { + return results_.get(index); + } + /** + * repeated string results = 1; + * @param index The index of the value to return. + * @return The bytes of the results at the given index. + */ + public com.google.protobuf.ByteString + getResultsBytes(int index) { + return results_.getByteString(index); + } - /** - *
-             * the source code. a <filename>:<code> map
-             * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public java.util.Map getSourceCodesMap() { - return internalGetSourceCodes().getMap(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * the source code. a <filename>:<code> map
-             * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getSourceCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSourceCodes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * the source code. a <filename>:<code> map
-             * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public java.lang.String getSourceCodesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSourceCodes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < results_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, results_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - public Builder clearSourceCodes() { - bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableSourceCodes().getMutableMap().clear(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < results_.size(); i++) { + dataSize += computeStringSizeNoTag(results_.getRaw(i)); + } + size += dataSize; + size += 1 * getResultsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * the source code. a <filename>:<code> map
-             * 
- * - * map<string, string> source_codes = 3; - */ - public Builder removeSourceCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableSourceCodes().getMutableMap().remove(key); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LintPath_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.LintPath_Result other = (com.kcl.api.Spec.LintPath_Result) obj; + + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableSourceCodes() { - bitField0_ |= 0x00000004; - return internalGetMutableSourceCodes().getMutableMap(); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getResultsCount() > 0) { + hash = (37 * hash) + RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getResultsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * the source code. a <filename>:<code> map
-             * 
- * - * map<string, string> source_codes = 3; - */ - public Builder putSourceCodes(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableSourceCodes().getMutableMap().put(key, value); - bitField0_ |= 0x00000004; - return this; - } + public static com.kcl.api.Spec.LintPath_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPath_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPath_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPath_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPath_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPath_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPath_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LintPath_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * the source code. a <filename>:<code> map
-             * 
- * - * map<string, string> source_codes = 3; - */ - public Builder putAllSourceCodes(java.util.Map values) { - internalGetMutableSourceCodes().getMutableMap().putAll(values); - bitField0_ |= 0x00000004; - return this; - } + public static com.kcl.api.Spec.LintPath_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private java.lang.Object newName_ = ""; - - /** - *
-             * the new name of the symbol
-             * 
- * - * string new_name = 4; - * - * @return The newName. - */ - public java.lang.String getNewName() { - java.lang.Object ref = newName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - newName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.LintPath_Result 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 com.kcl.api.Spec.LintPath_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LintPath_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * the new name of the symbol
-             * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - public com.google.protobuf.ByteString getNewNameBytes() { - java.lang.Object ref = newName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - newName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LintPath_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * the new name of the symbol
-             * 
- * - * string new_name = 4; - * - * @param value - * The newName to set. - * - * @return This builder for chaining. - */ - public Builder setNewName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - newName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.LintPath_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPath_Result) + com.kcl.api.Spec.LintPath_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LintPath_Result.class, com.kcl.api.Spec.LintPath_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.LintPath_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + results_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LintPath_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.LintPath_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LintPath_Result build() { + com.kcl.api.Spec.LintPath_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LintPath_Result buildPartial() { + com.kcl.api.Spec.LintPath_Result result = new com.kcl.api.Spec.LintPath_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.LintPath_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + results_.makeImmutable(); + result.results_ = results_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LintPath_Result) { + return mergeFrom((com.kcl.api.Spec.LintPath_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LintPath_Result other) { + if (other == com.kcl.api.Spec.LintPath_Result.getDefaultInstance()) return this; + if (!other.results_.isEmpty()) { + if (results_.isEmpty()) { + results_ = other.results_; + bitField0_ |= 0x00000001; + } else { + ensureResultsIsMutable(); + results_.addAll(other.results_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureResultsIsMutable(); + results_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList results_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureResultsIsMutable() { + if (!results_.isModifiable()) { + results_ = new com.google.protobuf.LazyStringArrayList(results_); + } + bitField0_ |= 0x00000001; + } + /** + * repeated string results = 1; + * @return A list containing the results. + */ + public com.google.protobuf.ProtocolStringList + getResultsList() { + results_.makeImmutable(); + return results_; + } + /** + * repeated string results = 1; + * @return The count of results. + */ + public int getResultsCount() { + return results_.size(); + } + /** + * repeated string results = 1; + * @param index The index of the element to return. + * @return The results at the given index. + */ + public java.lang.String getResults(int index) { + return results_.get(index); + } + /** + * repeated string results = 1; + * @param index The index of the value to return. + * @return The bytes of the results at the given index. + */ + public com.google.protobuf.ByteString + getResultsBytes(int index) { + return results_.getByteString(index); + } + /** + * repeated string results = 1; + * @param index The index to set the value at. + * @param value The results to set. + * @return This builder for chaining. + */ + public Builder setResults( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureResultsIsMutable(); + results_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string results = 1; + * @param value The results to add. + * @return This builder for chaining. + */ + public Builder addResults( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureResultsIsMutable(); + results_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string results = 1; + * @param values The results to add. + * @return This builder for chaining. + */ + public Builder addAllResults( + java.lang.Iterable values) { + ensureResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, results_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string results = 1; + * @return This builder for chaining. + */ + public Builder clearResults() { + results_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + * repeated string results = 1; + * @param value The bytes of the results to add. + * @return This builder for chaining. + */ + public Builder addResultsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureResultsIsMutable(); + results_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPath_Result) + } - /** - *
-             * the new name of the symbol
-             * 
- * - * string new_name = 4; - * - * @return This builder for chaining. - */ - public Builder clearNewName() { - newName_ = getDefaultInstance().getNewName(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LintPath_Result) + private static final com.kcl.api.Spec.LintPath_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPath_Result(); + } - /** - *
-             * the new name of the symbol
-             * 
- * - * string new_name = 4; - * - * @param value - * The bytes for newName to set. - * - * @return This builder for chaining. - */ - public Builder setNewNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - newName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + public static com.kcl.api.Spec.LintPath_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LintPath_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCode_Args) - } + @java.lang.Override + public com.kcl.api.Spec.LintPath_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCode_Args) - private static final com.kcl.api.Spec.RenameCode_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCode_Args(); - } + } - public static com.kcl.api.Spec.RenameCode_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public interface OverrideFile_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFile_Args) + com.google.protobuf.MessageOrBuilder { - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameCode_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + /** + * string file = 1; + * @return The file. + */ + java.lang.String getFile(); + /** + * string file = 1; + * @return The bytes for file. + */ + com.google.protobuf.ByteString + getFileBytes(); - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * repeated string specs = 2; + * @return A list containing the specs. + */ + java.util.List + getSpecsList(); + /** + * repeated string specs = 2; + * @return The count of specs. + */ + int getSpecsCount(); + /** + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + java.lang.String getSpecs(int index); + /** + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + com.google.protobuf.ByteString + getSpecsBytes(int index); - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * repeated string import_paths = 3; + * @return A list containing the importPaths. + */ + java.util.List + getImportPathsList(); + /** + * repeated string import_paths = 3; + * @return The count of importPaths. + */ + int getImportPathsCount(); + /** + * repeated string import_paths = 3; + * @param index The index of the element to return. + * @return The importPaths at the given index. + */ + java.lang.String getImportPaths(int index); + /** + * repeated string import_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the importPaths at the given index. + */ + com.google.protobuf.ByteString + getImportPathsBytes(int index); + } + /** + * Protobuf type {@code com.kcl.api.OverrideFile_Args} + */ + public static final class OverrideFile_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFile_Args) + OverrideFile_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use OverrideFile_Args.newBuilder() to construct. + private OverrideFile_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private OverrideFile_Args() { + file_ = ""; + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + importPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface RenameCode_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCode_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * the changed code. a <filename>:<code> map
-         * 
- * - * map<string, string> changed_codes = 1; - */ - int getChangedCodesCount(); - - /** - *
-         * the changed code. a <filename>:<code> map
-         * 
- * - * map<string, string> changed_codes = 1; - */ - boolean containsChangedCodes(java.lang.String key); - - /** - * Use {@link #getChangedCodesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getChangedCodes(); - - /** - *
-         * the changed code. a <filename>:<code> map
-         * 
- * - * map<string, string> changed_codes = 1; - */ - java.util.Map getChangedCodesMap(); - - /** - *
-         * the changed code. a <filename>:<code> map
-         * 
- * - * map<string, string> changed_codes = 1; - */ - /* nullable */ - java.lang.String getChangedCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue); + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new OverrideFile_Args(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; + } - /** - *
-         * the changed code. a <filename>:<code> map
-         * 
- * - * map<string, string> changed_codes = 1; - */ - java.lang.String getChangedCodesOrThrow(java.lang.String key); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OverrideFile_Args.class, com.kcl.api.Spec.OverrideFile_Args.Builder.class); } + public static final int FILE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object file_ = ""; /** - * Protobuf type {@code com.kcl.api.RenameCode_Result} + * string file = 1; + * @return The file. */ - public static final class RenameCode_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCode_Result) - RenameCode_ResultOrBuilder { - private static final long serialVersionUID = 0L; + @java.lang.Override + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } + } + /** + * string file = 1; + * @return The bytes for file. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // Use RenameCode_Result.newBuilder() to construct. - private RenameCode_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + public static final int SPECS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string specs = 2; + * @return A list containing the specs. + */ + public com.google.protobuf.ProtocolStringList + getSpecsList() { + return specs_; + } + /** + * repeated string specs = 2; + * @return The count of specs. + */ + public int getSpecsCount() { + return specs_.size(); + } + /** + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + public java.lang.String getSpecs(int index) { + return specs_.get(index); + } + /** + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + public com.google.protobuf.ByteString + getSpecsBytes(int index) { + return specs_.getByteString(index); + } - private RenameCode_Result() { - } + public static final int IMPORT_PATHS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList importPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string import_paths = 3; + * @return A list containing the importPaths. + */ + public com.google.protobuf.ProtocolStringList + getImportPathsList() { + return importPaths_; + } + /** + * repeated string import_paths = 3; + * @return The count of importPaths. + */ + public int getImportPathsCount() { + return importPaths_.size(); + } + /** + * repeated string import_paths = 3; + * @param index The index of the element to return. + * @return The importPaths at the given index. + */ + public java.lang.String getImportPaths(int index) { + return importPaths_.get(index); + } + /** + * repeated string import_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the importPaths at the given index. + */ + public com.google.protobuf.ByteString + getImportPathsBytes(int index) { + return importPaths_.getByteString(index); + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RenameCode_Result(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; - } + memoizedIsInitialized = 1; + return true; + } - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetChangedCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_); + } + for (int i = 0; i < specs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, specs_.getRaw(i)); + } + for (int i = 0; i < importPaths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, importPaths_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.RenameCode_Result.class, - com.kcl.api.Spec.RenameCode_Result.Builder.class); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_); + } + { + int dataSize = 0; + for (int i = 0; i < specs_.size(); i++) { + dataSize += computeStringSizeNoTag(specs_.getRaw(i)); + } + size += dataSize; + size += 1 * getSpecsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < importPaths_.size(); i++) { + dataSize += computeStringSizeNoTag(importPaths_.getRaw(i)); + } + size += dataSize; + size += 1 * getImportPathsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static final int CHANGED_CODES_FIELD_NUMBER = 1; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.OverrideFile_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.OverrideFile_Args other = (com.kcl.api.Spec.OverrideFile_Args) obj; + + if (!getFile() + .equals(other.getFile())) return false; + if (!getSpecsList() + .equals(other.getSpecsList())) return false; + if (!getImportPathsList() + .equals(other.getImportPathsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private static final class ChangedCodesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.STRING, ""); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FILE_FIELD_NUMBER; + hash = (53 * hash) + getFile().hashCode(); + if (getSpecsCount() > 0) { + hash = (37 * hash) + SPECS_FIELD_NUMBER; + hash = (53 * hash) + getSpecsList().hashCode(); + } + if (getImportPathsCount() > 0) { + hash = (37 * hash) + IMPORT_PATHS_FIELD_NUMBER; + hash = (53 * hash) + getImportPathsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @SuppressWarnings("serial") - private com.google.protobuf.MapField changedCodes_; + public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFile_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFile_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private com.google.protobuf.MapField internalGetChangedCodes() { - if (changedCodes_ == null) { - return com.google.protobuf.MapField.emptyMapField(ChangedCodesDefaultEntryHolder.defaultEntry); - } - return changedCodes_; - } + public static com.kcl.api.Spec.OverrideFile_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public int getChangedCodesCount() { - return internalGetChangedCodes().getMap().size(); - } + public static com.kcl.api.Spec.OverrideFile_Args 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 com.kcl.api.Spec.OverrideFile_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * the changed code. a <filename>:<code> map
-         * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public boolean containsChangedCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetChangedCodes().getMap().containsKey(key); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.OverrideFile_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * Use {@link #getChangedCodesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getChangedCodes() { - return getChangedCodesMap(); - } - - /** - *
-         * the changed code. a <filename>:<code> map
-         * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public java.util.Map getChangedCodesMap() { - return internalGetChangedCodes().getMap(); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.OverrideFile_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFile_Args) + com.kcl.api.Spec.OverrideFile_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OverrideFile_Args.class, com.kcl.api.Spec.OverrideFile_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.OverrideFile_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + file_ = ""; + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + importPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFile_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.OverrideFile_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFile_Args build() { + com.kcl.api.Spec.OverrideFile_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFile_Args buildPartial() { + com.kcl.api.Spec.OverrideFile_Args result = new com.kcl.api.Spec.OverrideFile_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.OverrideFile_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.file_ = file_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + specs_.makeImmutable(); + result.specs_ = specs_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + importPaths_.makeImmutable(); + result.importPaths_ = importPaths_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.OverrideFile_Args) { + return mergeFrom((com.kcl.api.Spec.OverrideFile_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.OverrideFile_Args other) { + if (other == com.kcl.api.Spec.OverrideFile_Args.getDefaultInstance()) return this; + if (!other.getFile().isEmpty()) { + file_ = other.file_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.specs_.isEmpty()) { + if (specs_.isEmpty()) { + specs_ = other.specs_; + bitField0_ |= 0x00000002; + } else { + ensureSpecsIsMutable(); + specs_.addAll(other.specs_); + } + onChanged(); + } + if (!other.importPaths_.isEmpty()) { + if (importPaths_.isEmpty()) { + importPaths_ = other.importPaths_; + bitField0_ |= 0x00000004; + } else { + ensureImportPathsIsMutable(); + importPaths_.addAll(other.importPaths_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + file_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSpecsIsMutable(); + specs_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureImportPathsIsMutable(); + importPaths_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object file_ = ""; + /** + * string file = 1; + * @return The file. + */ + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string file = 1; + * @return The bytes for file. + */ + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string file = 1; + * @param value The file to set. + * @return This builder for chaining. + */ + public Builder setFile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + file_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string file = 1; + * @return This builder for chaining. + */ + public Builder clearFile() { + file_ = getDefaultInstance().getFile(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string file = 1; + * @param value The bytes for file to set. + * @return This builder for chaining. + */ + public Builder setFileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + file_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSpecsIsMutable() { + if (!specs_.isModifiable()) { + specs_ = new com.google.protobuf.LazyStringArrayList(specs_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string specs = 2; + * @return A list containing the specs. + */ + public com.google.protobuf.ProtocolStringList + getSpecsList() { + specs_.makeImmutable(); + return specs_; + } + /** + * repeated string specs = 2; + * @return The count of specs. + */ + public int getSpecsCount() { + return specs_.size(); + } + /** + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + public java.lang.String getSpecs(int index) { + return specs_.get(index); + } + /** + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + public com.google.protobuf.ByteString + getSpecsBytes(int index) { + return specs_.getByteString(index); + } + /** + * repeated string specs = 2; + * @param index The index to set the value at. + * @param value The specs to set. + * @return This builder for chaining. + */ + public Builder setSpecs( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSpecsIsMutable(); + specs_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string specs = 2; + * @param value The specs to add. + * @return This builder for chaining. + */ + public Builder addSpecs( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSpecsIsMutable(); + specs_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string specs = 2; + * @param values The specs to add. + * @return This builder for chaining. + */ + public Builder addAllSpecs( + java.lang.Iterable values) { + ensureSpecsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, specs_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string specs = 2; + * @return This builder for chaining. + */ + public Builder clearSpecs() { + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string specs = 2; + * @param value The bytes of the specs to add. + * @return This builder for chaining. + */ + public Builder addSpecsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureSpecsIsMutable(); + specs_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList importPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureImportPathsIsMutable() { + if (!importPaths_.isModifiable()) { + importPaths_ = new com.google.protobuf.LazyStringArrayList(importPaths_); + } + bitField0_ |= 0x00000004; + } + /** + * repeated string import_paths = 3; + * @return A list containing the importPaths. + */ + public com.google.protobuf.ProtocolStringList + getImportPathsList() { + importPaths_.makeImmutable(); + return importPaths_; + } + /** + * repeated string import_paths = 3; + * @return The count of importPaths. + */ + public int getImportPathsCount() { + return importPaths_.size(); + } + /** + * repeated string import_paths = 3; + * @param index The index of the element to return. + * @return The importPaths at the given index. + */ + public java.lang.String getImportPaths(int index) { + return importPaths_.get(index); + } + /** + * repeated string import_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the importPaths at the given index. + */ + public com.google.protobuf.ByteString + getImportPathsBytes(int index) { + return importPaths_.getByteString(index); + } + /** + * repeated string import_paths = 3; + * @param index The index to set the value at. + * @param value The importPaths to set. + * @return This builder for chaining. + */ + public Builder setImportPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImportPathsIsMutable(); + importPaths_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string import_paths = 3; + * @param value The importPaths to add. + * @return This builder for chaining. + */ + public Builder addImportPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImportPathsIsMutable(); + importPaths_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string import_paths = 3; + * @param values The importPaths to add. + * @return This builder for chaining. + */ + public Builder addAllImportPaths( + java.lang.Iterable values) { + ensureImportPathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, importPaths_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string import_paths = 3; + * @return This builder for chaining. + */ + public Builder clearImportPaths() { + importPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + * repeated string import_paths = 3; + * @param value The bytes of the importPaths to add. + * @return This builder for chaining. + */ + public Builder addImportPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureImportPathsIsMutable(); + importPaths_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFile_Args) + } - /** - *
-         * the changed code. a <filename>:<code> map
-         * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getChangedCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetChangedCodes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFile_Args) + private static final com.kcl.api.Spec.OverrideFile_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFile_Args(); + } - /** - *
-         * the changed code. a <filename>:<code> map
-         * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public java.lang.String getChangedCodesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetChangedCodes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + public static com.kcl.api.Spec.OverrideFile_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private byte memoizedIsInitialized = -1; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OverrideFile_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public com.kcl.api.Spec.OverrideFile_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetChangedCodes(), - ChangedCodesDefaultEntryHolder.defaultEntry, 1); - getUnknownFields().writeTo(output); - } + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (java.util.Map.Entry entry : internalGetChangedCodes().getMap() - .entrySet()) { - com.google.protobuf.MapEntry changedCodes__ = ChangedCodesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, changedCodes__); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + public interface OverrideFile_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFile_Result) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.RenameCode_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.RenameCode_Result other = (com.kcl.api.Spec.RenameCode_Result) obj; + /** + * bool result = 1; + * @return The result. + */ + boolean getResult(); + } + /** + * Protobuf type {@code com.kcl.api.OverrideFile_Result} + */ + public static final class OverrideFile_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFile_Result) + OverrideFile_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use OverrideFile_Result.newBuilder() to construct. + private OverrideFile_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private OverrideFile_Result() { + } - if (!internalGetChangedCodes().equals(other.internalGetChangedCodes())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new OverrideFile_Result(); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetChangedCodes().getMap().isEmpty()) { - hash = (37 * hash) + CHANGED_CODES_FIELD_NUMBER; - hash = (53 * hash) + internalGetChangedCodes().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OverrideFile_Result.class, com.kcl.api.Spec.OverrideFile_Result.Builder.class); + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final int RESULT_FIELD_NUMBER = 1; + private boolean result_ = false; + /** + * bool result = 1; + * @return The result. + */ + @java.lang.Override + public boolean getResult() { + return result_; + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.RenameCode_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (result_ != false) { + output.writeBool(1, result_); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (result_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, result_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.OverrideFile_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.OverrideFile_Result other = (com.kcl.api.Spec.OverrideFile_Result) obj; + + if (getResult() + != other.getResult()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RESULT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getResult()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.RenameCode_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFile_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFile_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OverrideFile_Result 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 com.kcl.api.Spec.RenameCode_Result 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 com.kcl.api.Spec.OverrideFile_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.OverrideFile_Result 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 com.kcl.api.Spec.OverrideFile_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.OverrideFile_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.OverrideFile_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFile_Result) + com.kcl.api.Spec.OverrideFile_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OverrideFile_Result.class, com.kcl.api.Spec.OverrideFile_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.OverrideFile_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + result_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFile_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.OverrideFile_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFile_Result build() { + com.kcl.api.Spec.OverrideFile_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFile_Result buildPartial() { + com.kcl.api.Spec.OverrideFile_Result result = new com.kcl.api.Spec.OverrideFile_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.OverrideFile_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.result_ = result_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.OverrideFile_Result) { + return mergeFrom((com.kcl.api.Spec.OverrideFile_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.OverrideFile_Result other) { + if (other == com.kcl.api.Spec.OverrideFile_Result.getDefaultInstance()) return this; + if (other.getResult() != false) { + setResult(other.getResult()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + result_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private boolean result_ ; + /** + * bool result = 1; + * @return The result. + */ + @java.lang.Override + public boolean getResult() { + return result_; + } + /** + * bool result = 1; + * @param value The result to set. + * @return This builder for chaining. + */ + public Builder setResult(boolean value) { + + result_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * bool result = 1; + * @return This builder for chaining. + */ + public Builder clearResult() { + bitField0_ = (bitField0_ & ~0x00000001); + result_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFile_Result) + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFile_Result) + private static final com.kcl.api.Spec.OverrideFile_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFile_Result(); + } - public static Builder newBuilder(com.kcl.api.Spec.RenameCode_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static com.kcl.api.Spec.OverrideFile_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OverrideFile_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.RenameCode_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCode_Result) - com.kcl.api.Spec.RenameCode_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetChangedCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + @java.lang.Override + public com.kcl.api.Spec.OverrideFile_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetMutableChangedCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.RenameCode_Result.class, - com.kcl.api.Spec.RenameCode_Result.Builder.class); - } + public interface ListVariables_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariables_Args) + com.google.protobuf.MessageOrBuilder { - // Construct using com.kcl.api.Spec.RenameCode_Result.newBuilder() - private Builder() { + /** + * string file = 1; + * @return The file. + */ + java.lang.String getFile(); + /** + * string file = 1; + * @return The bytes for file. + */ + com.google.protobuf.ByteString + getFileBytes(); - } + /** + * repeated string specs = 2; + * @return A list containing the specs. + */ + java.util.List + getSpecsList(); + /** + * repeated string specs = 2; + * @return The count of specs. + */ + int getSpecsCount(); + /** + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + java.lang.String getSpecs(int index); + /** + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + com.google.protobuf.ByteString + getSpecsBytes(int index); + } + /** + * Protobuf type {@code com.kcl.api.ListVariables_Args} + */ + public static final class ListVariables_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariables_Args) + ListVariables_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListVariables_Args.newBuilder() to construct. + private ListVariables_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListVariables_Args() { + file_ = ""; + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListVariables_Args(); + } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - internalGetMutableChangedCodes().clear(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListVariables_Args.class, com.kcl.api.Spec.ListVariables_Args.Builder.class); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; - } + public static final int FILE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object file_ = ""; + /** + * string file = 1; + * @return The file. + */ + @java.lang.Override + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } + } + /** + * string file = 1; + * @return The bytes for file. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.RenameCode_Result.getDefaultInstance(); - } + public static final int SPECS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string specs = 2; + * @return A list containing the specs. + */ + public com.google.protobuf.ProtocolStringList + getSpecsList() { + return specs_; + } + /** + * repeated string specs = 2; + * @return The count of specs. + */ + public int getSpecsCount() { + return specs_.size(); + } + /** + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + public java.lang.String getSpecs(int index) { + return specs_.get(index); + } + /** + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + public com.google.protobuf.ByteString + getSpecsBytes(int index) { + return specs_.getByteString(index); + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result build() { - com.kcl.api.Spec.RenameCode_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result buildPartial() { - com.kcl.api.Spec.RenameCode_Result result = new com.kcl.api.Spec.RenameCode_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + memoizedIsInitialized = 1; + return true; + } - private void buildPartial0(com.kcl.api.Spec.RenameCode_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.changedCodes_ = internalGetChangedCodes(); - result.changedCodes_.makeImmutable(); - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_); + } + for (int i = 0; i < specs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, specs_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_); + } + { + int dataSize = 0; + for (int i = 0; i < specs_.size(); i++) { + dataSize += computeStringSizeNoTag(specs_.getRaw(i)); + } + size += dataSize; + size += 1 * getSpecsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListVariables_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListVariables_Args other = (com.kcl.api.Spec.ListVariables_Args) obj; + + if (!getFile() + .equals(other.getFile())) return false; + if (!getSpecsList() + .equals(other.getSpecsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FILE_FIELD_NUMBER; + hash = (53 * hash) + getFile().hashCode(); + if (getSpecsCount() > 0) { + hash = (37 * hash) + SPECS_FIELD_NUMBER; + hash = (53 * hash) + getSpecsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + public static com.kcl.api.Spec.ListVariables_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariables_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariables_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariables_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariables_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariables_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariables_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListVariables_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + public static com.kcl.api.Spec.ListVariables_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + public static com.kcl.api.Spec.ListVariables_Args 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 com.kcl.api.Spec.ListVariables_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListVariables_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.RenameCode_Result) { - return mergeFrom((com.kcl.api.Spec.RenameCode_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListVariables_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public Builder mergeFrom(com.kcl.api.Spec.RenameCode_Result other) { - if (other == com.kcl.api.Spec.RenameCode_Result.getDefaultInstance()) - return this; - internalGetMutableChangedCodes().mergeFrom(other.internalGetChangedCodes()); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ListVariables_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariables_Args) + com.kcl.api.Spec.ListVariables_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListVariables_Args.class, com.kcl.api.Spec.ListVariables_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListVariables_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + file_ = ""; + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariables_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.ListVariables_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariables_Args build() { + com.kcl.api.Spec.ListVariables_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariables_Args buildPartial() { + com.kcl.api.Spec.ListVariables_Args result = new com.kcl.api.Spec.ListVariables_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ListVariables_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.file_ = file_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + specs_.makeImmutable(); + result.specs_ = specs_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListVariables_Args) { + return mergeFrom((com.kcl.api.Spec.ListVariables_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Args other) { + if (other == com.kcl.api.Spec.ListVariables_Args.getDefaultInstance()) return this; + if (!other.getFile().isEmpty()) { + file_ = other.file_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.specs_.isEmpty()) { + if (specs_.isEmpty()) { + specs_ = other.specs_; + bitField0_ |= 0x00000002; + } else { + ensureSpecsIsMutable(); + specs_.addAll(other.specs_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + file_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSpecsIsMutable(); + specs_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object file_ = ""; + /** + * string file = 1; + * @return The file. + */ + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string file = 1; + * @return The bytes for file. + */ + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string file = 1; + * @param value The file to set. + * @return This builder for chaining. + */ + public Builder setFile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + file_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string file = 1; + * @return This builder for chaining. + */ + public Builder clearFile() { + file_ = getDefaultInstance().getFile(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string file = 1; + * @param value The bytes for file to set. + * @return This builder for chaining. + */ + public Builder setFileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + file_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSpecsIsMutable() { + if (!specs_.isModifiable()) { + specs_ = new com.google.protobuf.LazyStringArrayList(specs_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string specs = 2; + * @return A list containing the specs. + */ + public com.google.protobuf.ProtocolStringList + getSpecsList() { + specs_.makeImmutable(); + return specs_; + } + /** + * repeated string specs = 2; + * @return The count of specs. + */ + public int getSpecsCount() { + return specs_.size(); + } + /** + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + public java.lang.String getSpecs(int index) { + return specs_.get(index); + } + /** + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + public com.google.protobuf.ByteString + getSpecsBytes(int index) { + return specs_.getByteString(index); + } + /** + * repeated string specs = 2; + * @param index The index to set the value at. + * @param value The specs to set. + * @return This builder for chaining. + */ + public Builder setSpecs( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSpecsIsMutable(); + specs_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string specs = 2; + * @param value The specs to add. + * @return This builder for chaining. + */ + public Builder addSpecs( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSpecsIsMutable(); + specs_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string specs = 2; + * @param values The specs to add. + * @return This builder for chaining. + */ + public Builder addAllSpecs( + java.lang.Iterable values) { + ensureSpecsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, specs_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string specs = 2; + * @return This builder for chaining. + */ + public Builder clearSpecs() { + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string specs = 2; + * @param value The bytes of the specs to add. + * @return This builder for chaining. + */ + public Builder addSpecsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureSpecsIsMutable(); + specs_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariables_Args) + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariables_Args) + private static final com.kcl.api.Spec.ListVariables_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariables_Args(); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.MapEntry changedCodes__ = input - .readMessage(ChangedCodesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableChangedCodes().getMutableMap().put(changedCodes__.getKey(), - changedCodes__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + public static com.kcl.api.Spec.ListVariables_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private int bitField0_; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVariables_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private com.google.protobuf.MapField changedCodes_; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - private com.google.protobuf.MapField internalGetChangedCodes() { - if (changedCodes_ == null) { - return com.google.protobuf.MapField.emptyMapField(ChangedCodesDefaultEntryHolder.defaultEntry); - } - return changedCodes_; - } + @java.lang.Override + public com.kcl.api.Spec.ListVariables_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - private com.google.protobuf.MapField internalGetMutableChangedCodes() { - if (changedCodes_ == null) { - changedCodes_ = com.google.protobuf.MapField - .newMapField(ChangedCodesDefaultEntryHolder.defaultEntry); - } - if (!changedCodes_.isMutable()) { - changedCodes_ = changedCodes_.copy(); - } - bitField0_ |= 0x00000001; - onChanged(); - return changedCodes_; - } + } - public int getChangedCodesCount() { - return internalGetChangedCodes().getMap().size(); - } + public interface ListVariables_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariables_Result) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * the changed code. a <filename>:<code> map
-             * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public boolean containsChangedCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetChangedCodes().getMap().containsKey(key); - } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + int getVariablesCount(); + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + boolean containsVariables( + java.lang.String key); + /** + * Use {@link #getVariablesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getVariables(); + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + java.util.Map + getVariablesMap(); + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + /* nullable */ +com.kcl.api.Spec.Variable getVariablesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Variable defaultValue); + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + com.kcl.api.Spec.Variable getVariablesOrThrow( + java.lang.String key); - /** - * Use {@link #getChangedCodesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getChangedCodes() { - return getChangedCodesMap(); - } + /** + * repeated string unsupported_codes = 2; + * @return A list containing the unsupportedCodes. + */ + java.util.List + getUnsupportedCodesList(); + /** + * repeated string unsupported_codes = 2; + * @return The count of unsupportedCodes. + */ + int getUnsupportedCodesCount(); + /** + * repeated string unsupported_codes = 2; + * @param index The index of the element to return. + * @return The unsupportedCodes at the given index. + */ + java.lang.String getUnsupportedCodes(int index); + /** + * repeated string unsupported_codes = 2; + * @param index The index of the value to return. + * @return The bytes of the unsupportedCodes at the given index. + */ + com.google.protobuf.ByteString + getUnsupportedCodesBytes(int index); - /** - *
-             * the changed code. a <filename>:<code> map
-             * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public java.util.Map getChangedCodesMap() { - return internalGetChangedCodes().getMap(); - } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + java.util.List + getParseErrsList(); + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + com.kcl.api.Spec.Error getParseErrs(int index); + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + int getParseErrsCount(); + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + java.util.List + getParseErrsOrBuilderList(); + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + com.kcl.api.Spec.ErrorOrBuilder getParseErrsOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.ListVariables_Result} + */ + public static final class ListVariables_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariables_Result) + ListVariables_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListVariables_Result.newBuilder() to construct. + private ListVariables_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListVariables_Result() { + unsupportedCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + parseErrs_ = java.util.Collections.emptyList(); + } - /** - *
-             * the changed code. a <filename>:<code> map
-             * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getChangedCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetChangedCodes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListVariables_Result(); + } - /** - *
-             * the changed code. a <filename>:<code> map
-             * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public java.lang.String getChangedCodesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetChangedCodes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; + } - public Builder clearChangedCodes() { - bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableChangedCodes().getMutableMap().clear(); - return this; - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetVariables(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListVariables_Result.class, com.kcl.api.Spec.ListVariables_Result.Builder.class); + } - /** - *
-             * the changed code. a <filename>:<code> map
-             * 
- * - * map<string, string> changed_codes = 1; - */ - public Builder removeChangedCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableChangedCodes().getMutableMap().remove(key); - return this; - } + public static final int VARIABLES_FIELD_NUMBER = 1; + private static final class VariablesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.Variable> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.Variable.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.Variable> variables_; + private com.google.protobuf.MapField + internalGetVariables() { + if (variables_ == null) { + return com.google.protobuf.MapField.emptyMapField( + VariablesDefaultEntryHolder.defaultEntry); + } + return variables_; + } + public int getVariablesCount() { + return internalGetVariables().getMap().size(); + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + @java.lang.Override + public boolean containsVariables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetVariables().getMap().containsKey(key); + } + /** + * Use {@link #getVariablesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getVariables() { + return getVariablesMap(); + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + @java.lang.Override + public java.util.Map getVariablesMap() { + return internalGetVariables().getMap(); + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Variable getVariablesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Variable defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVariables().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.Variable getVariablesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVariables().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableChangedCodes() { - bitField0_ |= 0x00000001; - return internalGetMutableChangedCodes().getMutableMap(); - } + public static final int UNSUPPORTED_CODES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList unsupportedCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string unsupported_codes = 2; + * @return A list containing the unsupportedCodes. + */ + public com.google.protobuf.ProtocolStringList + getUnsupportedCodesList() { + return unsupportedCodes_; + } + /** + * repeated string unsupported_codes = 2; + * @return The count of unsupportedCodes. + */ + public int getUnsupportedCodesCount() { + return unsupportedCodes_.size(); + } + /** + * repeated string unsupported_codes = 2; + * @param index The index of the element to return. + * @return The unsupportedCodes at the given index. + */ + public java.lang.String getUnsupportedCodes(int index) { + return unsupportedCodes_.get(index); + } + /** + * repeated string unsupported_codes = 2; + * @param index The index of the value to return. + * @return The bytes of the unsupportedCodes at the given index. + */ + public com.google.protobuf.ByteString + getUnsupportedCodesBytes(int index) { + return unsupportedCodes_.getByteString(index); + } - /** - *
-             * the changed code. a <filename>:<code> map
-             * 
- * - * map<string, string> changed_codes = 1; - */ - public Builder putChangedCodes(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableChangedCodes().getMutableMap().put(key, value); - bitField0_ |= 0x00000001; - return this; - } + public static final int PARSE_ERRS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List parseErrs_; + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + @java.lang.Override + public java.util.List getParseErrsList() { + return parseErrs_; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + @java.lang.Override + public java.util.List + getParseErrsOrBuilderList() { + return parseErrs_; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + @java.lang.Override + public int getParseErrsCount() { + return parseErrs_.size(); + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getParseErrs(int index) { + return parseErrs_.get(index); + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getParseErrsOrBuilder( + int index) { + return parseErrs_.get(index); + } - /** - *
-             * the changed code. a <filename>:<code> map
-             * 
- * - * map<string, string> changed_codes = 1; - */ - public Builder putAllChangedCodes(java.util.Map values) { - internalGetMutableChangedCodes().getMutableMap().putAll(values); - bitField0_ |= 0x00000001; - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetVariables(), + VariablesDefaultEntryHolder.defaultEntry, + 1); + for (int i = 0; i < unsupportedCodes_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, unsupportedCodes_.getRaw(i)); + } + for (int i = 0; i < parseErrs_.size(); i++) { + output.writeMessage(3, parseErrs_.get(i)); + } + getUnknownFields().writeTo(output); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCode_Result) - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetVariables().getMap().entrySet()) { + com.google.protobuf.MapEntry + variables__ = VariablesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, variables__); + } + { + int dataSize = 0; + for (int i = 0; i < unsupportedCodes_.size(); i++) { + dataSize += computeStringSizeNoTag(unsupportedCodes_.getRaw(i)); + } + size += dataSize; + size += 1 * getUnsupportedCodesList().size(); + } + for (int i = 0; i < parseErrs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, parseErrs_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCode_Result) - private static final com.kcl.api.Spec.RenameCode_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCode_Result(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListVariables_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListVariables_Result other = (com.kcl.api.Spec.ListVariables_Result) obj; + + if (!internalGetVariables().equals( + other.internalGetVariables())) return false; + if (!getUnsupportedCodesList() + .equals(other.getUnsupportedCodesList())) return false; + if (!getParseErrsList() + .equals(other.getParseErrsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.RenameCode_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetVariables().getMap().isEmpty()) { + hash = (37 * hash) + VARIABLES_FIELD_NUMBER; + hash = (53 * hash) + internalGetVariables().hashCode(); + } + if (getUnsupportedCodesCount() > 0) { + hash = (37 * hash) + UNSUPPORTED_CODES_FIELD_NUMBER; + hash = (53 * hash) + getUnsupportedCodesList().hashCode(); + } + if (getParseErrsCount() > 0) { + hash = (37 * hash) + PARSE_ERRS_FIELD_NUMBER; + hash = (53 * hash) + getParseErrsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameCode_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static com.kcl.api.Spec.ListVariables_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariables_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariables_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariables_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariables_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariables_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariables_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListVariables_Result 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 com.google.protobuf.Parser parser() { - return PARSER; - } + public static com.kcl.api.Spec.ListVariables_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.ListVariables_Result 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 com.kcl.api.Spec.ListVariables_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListVariables_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface Test_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Test_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * This field stores the execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - boolean hasExecArgs(); - - /** - *
-         * This field stores the execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); - - /** - *
-         * This field stores the execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - - /** - *
-         * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-         * 
- * - * repeated string pkg_list = 2; - * - * @return A list containing the pkgList. - */ - java.util.List getPkgListList(); - - /** - *
-         * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-         * 
- * - * repeated string pkg_list = 2; - * - * @return The count of pkgList. - */ - int getPkgListCount(); - - /** - *
-         * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-         * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The pkgList at the given index. - */ - java.lang.String getPkgList(int index); - - /** - *
-         * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-         * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pkgList at the given index. - */ - com.google.protobuf.ByteString getPkgListBytes(int index); - - /** - *
-         * This field stores a regular expression for filtering tests to run.
-         * 
- * - * string run_regexp = 3; - * - * @return The runRegexp. - */ - java.lang.String getRunRegexp(); - - /** - *
-         * This field stores a regular expression for filtering tests to run.
-         * 
- * - * string run_regexp = 3; - * - * @return The bytes for runRegexp. - */ - com.google.protobuf.ByteString getRunRegexpBytes(); - - /** - *
-         * This field determines whether the test run should stop on the first failure.
-         * 
- * - * bool fail_fast = 4; - * - * @return The failFast. - */ - boolean getFailFast(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListVariables_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** - * Protobuf type {@code com.kcl.api.Test_Args} + * Protobuf type {@code com.kcl.api.ListVariables_Result} */ - public static final class Test_Args extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Test_Args) - Test_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Test_Args.newBuilder() to construct. - private Test_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Test_Args() { - pkgList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - runRegexp_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Test_Args(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Test_Args.class, - com.kcl.api.Spec.Test_Args.Builder.class); - } - - private int bitField0_; - public static final int EXEC_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - - /** - *
-         * This field stores the execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - @java.lang.Override - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * This field stores the execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - /** - *
-         * This field stores the execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - public static final int PKG_LIST_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList pkgList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-         * 
- * - * repeated string pkg_list = 2; - * - * @return A list containing the pkgList. - */ - public com.google.protobuf.ProtocolStringList getPkgListList() { - return pkgList_; - } - - /** - *
-         * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-         * 
- * - * repeated string pkg_list = 2; - * - * @return The count of pkgList. - */ - public int getPkgListCount() { - return pkgList_.size(); - } - - /** - *
-         * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-         * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The pkgList at the given index. - */ - public java.lang.String getPkgList(int index) { - return pkgList_.get(index); - } - - /** - *
-         * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-         * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pkgList at the given index. - */ - public com.google.protobuf.ByteString getPkgListBytes(int index) { - return pkgList_.getByteString(index); - } - - public static final int RUN_REGEXP_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object runRegexp_ = ""; - - /** - *
-         * This field stores a regular expression for filtering tests to run.
-         * 
- * - * string run_regexp = 3; - * - * @return The runRegexp. - */ - @java.lang.Override - public java.lang.String getRunRegexp() { - java.lang.Object ref = runRegexp_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariables_Result) + com.kcl.api.Spec.ListVariables_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetVariables(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableVariables(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListVariables_Result.class, com.kcl.api.Spec.ListVariables_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListVariables_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableVariables().clear(); + unsupportedCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (parseErrsBuilder_ == null) { + parseErrs_ = java.util.Collections.emptyList(); + } else { + parseErrs_ = null; + parseErrsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariables_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.ListVariables_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariables_Result build() { + com.kcl.api.Spec.ListVariables_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariables_Result buildPartial() { + com.kcl.api.Spec.ListVariables_Result result = new com.kcl.api.Spec.ListVariables_Result(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ListVariables_Result result) { + if (parseErrsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + parseErrs_ = java.util.Collections.unmodifiableList(parseErrs_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.parseErrs_ = parseErrs_; + } else { + result.parseErrs_ = parseErrsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ListVariables_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.variables_ = internalGetVariables().build(VariablesDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + unsupportedCodes_.makeImmutable(); + result.unsupportedCodes_ = unsupportedCodes_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListVariables_Result) { + return mergeFrom((com.kcl.api.Spec.ListVariables_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Result other) { + if (other == com.kcl.api.Spec.ListVariables_Result.getDefaultInstance()) return this; + internalGetMutableVariables().mergeFrom( + other.internalGetVariables()); + bitField0_ |= 0x00000001; + if (!other.unsupportedCodes_.isEmpty()) { + if (unsupportedCodes_.isEmpty()) { + unsupportedCodes_ = other.unsupportedCodes_; + bitField0_ |= 0x00000002; + } else { + ensureUnsupportedCodesIsMutable(); + unsupportedCodes_.addAll(other.unsupportedCodes_); + } + onChanged(); + } + if (parseErrsBuilder_ == null) { + if (!other.parseErrs_.isEmpty()) { + if (parseErrs_.isEmpty()) { + parseErrs_ = other.parseErrs_; + bitField0_ = (bitField0_ & ~0x00000004); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - runRegexp_ = s; - return s; - } - } - - /** - *
-         * This field stores a regular expression for filtering tests to run.
-         * 
- * - * string run_regexp = 3; - * - * @return The bytes for runRegexp. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRunRegexpBytes() { - java.lang.Object ref = runRegexp_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - runRegexp_ = b; - return b; + ensureParseErrsIsMutable(); + parseErrs_.addAll(other.parseErrs_); + } + onChanged(); + } + } else { + if (!other.parseErrs_.isEmpty()) { + if (parseErrsBuilder_.isEmpty()) { + parseErrsBuilder_.dispose(); + parseErrsBuilder_ = null; + parseErrs_ = other.parseErrs_; + bitField0_ = (bitField0_ & ~0x00000004); + parseErrsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getParseErrsFieldBuilder() : null; } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FAIL_FAST_FIELD_NUMBER = 4; - private boolean failFast_ = false; - - /** - *
-         * This field determines whether the test run should stop on the first failure.
-         * 
- * - * bool fail_fast = 4; - * - * @return The failFast. - */ - @java.lang.Override - public boolean getFailFast() { - return failFast_; - } + parseErrsBuilder_.addAllMessages(other.parseErrs_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + variables__ = input.readMessage( + VariablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableVariables().ensureBuilderMap().put( + variables__.getKey(), variables__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnsupportedCodesIsMutable(); + unsupportedCodes_.add(s); + break; + } // case 18 + case 26: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (parseErrsBuilder_ == null) { + ensureParseErrsIsMutable(); + parseErrs_.add(m); + } else { + parseErrsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private static final class VariablesConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.Variable build(com.kcl.api.Spec.VariableOrBuilder val) { + if (val instanceof com.kcl.api.Spec.Variable) { return (com.kcl.api.Spec.Variable) val; } + return ((com.kcl.api.Spec.Variable.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return VariablesDefaultEntryHolder.defaultEntry; + } + }; + private static final VariablesConverter variablesConverter = new VariablesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.VariableOrBuilder, com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder> variables_; + private com.google.protobuf.MapFieldBuilder + internalGetVariables() { + if (variables_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(variablesConverter); + } + return variables_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableVariables() { + if (variables_ == null) { + variables_ = new com.google.protobuf.MapFieldBuilder<>(variablesConverter); + } + bitField0_ |= 0x00000001; + onChanged(); + return variables_; + } + public int getVariablesCount() { + return internalGetVariables().ensureBuilderMap().size(); + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + @java.lang.Override + public boolean containsVariables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetVariables().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getVariablesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getVariables() { + return getVariablesMap(); + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + @java.lang.Override + public java.util.Map getVariablesMap() { + return internalGetVariables().getImmutableMap(); + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Variable getVariablesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Variable defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableVariables().ensureBuilderMap(); + return map.containsKey(key) ? variablesConverter.build(map.get(key)) : defaultValue; + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.Variable getVariablesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableVariables().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return variablesConverter.build(map.get(key)); + } + public Builder clearVariables() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableVariables().clear(); + return this; + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + public Builder removeVariables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableVariables().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableVariables() { + bitField0_ |= 0x00000001; + return internalGetMutableVariables().ensureMessageMap(); + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + public Builder putVariables( + java.lang.String key, + com.kcl.api.Spec.Variable value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableVariables().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + public Builder putAllVariables( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableVariables().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + /** + * map<string, .com.kcl.api.Variable> variables = 1; + */ + public com.kcl.api.Spec.Variable.Builder putVariablesBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableVariables().ensureBuilderMap(); + com.kcl.api.Spec.VariableOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.Variable.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.Variable) { + entry = ((com.kcl.api.Spec.Variable) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.Variable.Builder) entry; + } + + private com.google.protobuf.LazyStringArrayList unsupportedCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnsupportedCodesIsMutable() { + if (!unsupportedCodes_.isModifiable()) { + unsupportedCodes_ = new com.google.protobuf.LazyStringArrayList(unsupportedCodes_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string unsupported_codes = 2; + * @return A list containing the unsupportedCodes. + */ + public com.google.protobuf.ProtocolStringList + getUnsupportedCodesList() { + unsupportedCodes_.makeImmutable(); + return unsupportedCodes_; + } + /** + * repeated string unsupported_codes = 2; + * @return The count of unsupportedCodes. + */ + public int getUnsupportedCodesCount() { + return unsupportedCodes_.size(); + } + /** + * repeated string unsupported_codes = 2; + * @param index The index of the element to return. + * @return The unsupportedCodes at the given index. + */ + public java.lang.String getUnsupportedCodes(int index) { + return unsupportedCodes_.get(index); + } + /** + * repeated string unsupported_codes = 2; + * @param index The index of the value to return. + * @return The bytes of the unsupportedCodes at the given index. + */ + public com.google.protobuf.ByteString + getUnsupportedCodesBytes(int index) { + return unsupportedCodes_.getByteString(index); + } + /** + * repeated string unsupported_codes = 2; + * @param index The index to set the value at. + * @param value The unsupportedCodes to set. + * @return This builder for chaining. + */ + public Builder setUnsupportedCodes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUnsupportedCodesIsMutable(); + unsupportedCodes_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string unsupported_codes = 2; + * @param value The unsupportedCodes to add. + * @return This builder for chaining. + */ + public Builder addUnsupportedCodes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUnsupportedCodesIsMutable(); + unsupportedCodes_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string unsupported_codes = 2; + * @param values The unsupportedCodes to add. + * @return This builder for chaining. + */ + public Builder addAllUnsupportedCodes( + java.lang.Iterable values) { + ensureUnsupportedCodesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unsupportedCodes_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string unsupported_codes = 2; + * @return This builder for chaining. + */ + public Builder clearUnsupportedCodes() { + unsupportedCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string unsupported_codes = 2; + * @param value The bytes of the unsupportedCodes to add. + * @return This builder for chaining. + */ + public Builder addUnsupportedCodesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureUnsupportedCodesIsMutable(); + unsupportedCodes_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List parseErrs_ = + java.util.Collections.emptyList(); + private void ensureParseErrsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + parseErrs_ = new java.util.ArrayList(parseErrs_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> parseErrsBuilder_; + + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public java.util.List getParseErrsList() { + if (parseErrsBuilder_ == null) { + return java.util.Collections.unmodifiableList(parseErrs_); + } else { + return parseErrsBuilder_.getMessageList(); + } + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public int getParseErrsCount() { + if (parseErrsBuilder_ == null) { + return parseErrs_.size(); + } else { + return parseErrsBuilder_.getCount(); + } + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public com.kcl.api.Spec.Error getParseErrs(int index) { + if (parseErrsBuilder_ == null) { + return parseErrs_.get(index); + } else { + return parseErrsBuilder_.getMessage(index); + } + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public Builder setParseErrs( + int index, com.kcl.api.Spec.Error value) { + if (parseErrsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrsIsMutable(); + parseErrs_.set(index, value); + onChanged(); + } else { + parseErrsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public Builder setParseErrs( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrsBuilder_ == null) { + ensureParseErrsIsMutable(); + parseErrs_.set(index, builderForValue.build()); + onChanged(); + } else { + parseErrsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public Builder addParseErrs(com.kcl.api.Spec.Error value) { + if (parseErrsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrsIsMutable(); + parseErrs_.add(value); + onChanged(); + } else { + parseErrsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public Builder addParseErrs( + int index, com.kcl.api.Spec.Error value) { + if (parseErrsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrsIsMutable(); + parseErrs_.add(index, value); + onChanged(); + } else { + parseErrsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public Builder addParseErrs( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrsBuilder_ == null) { + ensureParseErrsIsMutable(); + parseErrs_.add(builderForValue.build()); + onChanged(); + } else { + parseErrsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public Builder addParseErrs( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrsBuilder_ == null) { + ensureParseErrsIsMutable(); + parseErrs_.add(index, builderForValue.build()); + onChanged(); + } else { + parseErrsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public Builder addAllParseErrs( + java.lang.Iterable values) { + if (parseErrsBuilder_ == null) { + ensureParseErrsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parseErrs_); + onChanged(); + } else { + parseErrsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public Builder clearParseErrs() { + if (parseErrsBuilder_ == null) { + parseErrs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + parseErrsBuilder_.clear(); + } + return this; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public Builder removeParseErrs(int index) { + if (parseErrsBuilder_ == null) { + ensureParseErrsIsMutable(); + parseErrs_.remove(index); + onChanged(); + } else { + parseErrsBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public com.kcl.api.Spec.Error.Builder getParseErrsBuilder( + int index) { + return getParseErrsFieldBuilder().getBuilder(index); + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public com.kcl.api.Spec.ErrorOrBuilder getParseErrsOrBuilder( + int index) { + if (parseErrsBuilder_ == null) { + return parseErrs_.get(index); } else { + return parseErrsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public java.util.List + getParseErrsOrBuilderList() { + if (parseErrsBuilder_ != null) { + return parseErrsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(parseErrs_); + } + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public com.kcl.api.Spec.Error.Builder addParseErrsBuilder() { + return getParseErrsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public com.kcl.api.Spec.Error.Builder addParseErrsBuilder( + int index) { + return getParseErrsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.Error parse_errs = 3; + */ + public java.util.List + getParseErrsBuilderList() { + return getParseErrsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + getParseErrsFieldBuilder() { + if (parseErrsBuilder_ == null) { + parseErrsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + parseErrs_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + parseErrs_ = null; + } + return parseErrsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariables_Result) + } - private byte memoizedIsInitialized = -1; + // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariables_Result) + private static final com.kcl.api.Spec.ListVariables_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariables_Result(); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.ListVariables_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - memoizedIsInitialized = 1; - return true; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVariables_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getExecArgs()); - } - for (int i = 0; i < pkgList_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pkgList_.getRaw(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runRegexp_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, runRegexp_); - } - if (failFast_ != false) { - output.writeBool(4, failFast_); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExecArgs()); - } - { - int dataSize = 0; - for (int i = 0; i < pkgList_.size(); i++) { - dataSize += computeStringSizeNoTag(pkgList_.getRaw(i)); - } - size += dataSize; - size += 1 * getPkgListList().size(); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runRegexp_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, runRegexp_); - } - if (failFast_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, failFast_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public com.kcl.api.Spec.ListVariables_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Test_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.Test_Args other = (com.kcl.api.Spec.Test_Args) obj; + } - if (hasExecArgs() != other.hasExecArgs()) - return false; - if (hasExecArgs()) { - if (!getExecArgs().equals(other.getExecArgs())) - return false; - } - if (!getPkgListList().equals(other.getPkgListList())) - return false; - if (!getRunRegexp().equals(other.getRunRegexp())) - return false; - if (getFailFast() != other.getFailFast()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public interface VariableOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Variable) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasExecArgs()) { - hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; - hash = (53 * hash) + getExecArgs().hashCode(); - } - if (getPkgListCount() > 0) { - hash = (37 * hash) + PKG_LIST_FIELD_NUMBER; - hash = (53 * hash) + getPkgListList().hashCode(); - } - hash = (37 * hash) + RUN_REGEXP_FIELD_NUMBER; - hash = (53 * hash) + getRunRegexp().hashCode(); - hash = (37 * hash) + FAIL_FAST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFailFast()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + /** + * string value = 1; + * @return The value. + */ + java.lang.String getValue(); + /** + * string value = 1; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); - public static com.kcl.api.Spec.Test_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * string type_name = 2; + * @return The typeName. + */ + java.lang.String getTypeName(); + /** + * string type_name = 2; + * @return The bytes for typeName. + */ + com.google.protobuf.ByteString + getTypeNameBytes(); - public static com.kcl.api.Spec.Test_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + * string op_sym = 3; + * @return The opSym. + */ + java.lang.String getOpSym(); + /** + * string op_sym = 3; + * @return The bytes for opSym. + */ + com.google.protobuf.ByteString + getOpSymBytes(); + } + /** + * Protobuf type {@code com.kcl.api.Variable} + */ + public static final class Variable extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Variable) + VariableOrBuilder { + private static final long serialVersionUID = 0L; + // Use Variable.newBuilder() to construct. + private Variable(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Variable() { + value_ = ""; + typeName_ = ""; + opSym_ = ""; + } - public static com.kcl.api.Spec.Test_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Variable(); + } - public static com.kcl.api.Spec.Test_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; + } - public static com.kcl.api.Spec.Test_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Variable.class, com.kcl.api.Spec.Variable.Builder.class); + } - public static com.kcl.api.Spec.Test_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final int VALUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + * string value = 1; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + * string value = 1; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Test_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public static final int TYPE_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object typeName_ = ""; + /** + * string type_name = 2; + * @return The typeName. + */ + @java.lang.Override + public java.lang.String getTypeName() { + java.lang.Object ref = typeName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + typeName_ = s; + return s; + } + } + /** + * string type_name = 2; + * @return The bytes for typeName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTypeNameBytes() { + java.lang.Object ref = typeName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + typeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Test_Args 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 final int OP_SYM_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object opSym_ = ""; + /** + * string op_sym = 3; + * @return The opSym. + */ + @java.lang.Override + public java.lang.String getOpSym() { + java.lang.Object ref = opSym_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + opSym_ = s; + return s; + } + } + /** + * string op_sym = 3; + * @return The bytes for opSym. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOpSymBytes() { + java.lang.Object ref = opSym_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + opSym_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Test_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Test_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.Test_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, typeName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(opSym_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, opSym_); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.Test_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, typeName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(opSym_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, opSym_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Variable)) { + return super.equals(obj); + } + com.kcl.api.Spec.Variable other = (com.kcl.api.Spec.Variable) obj; + + if (!getValue() + .equals(other.getValue())) return false; + if (!getTypeName() + .equals(other.getTypeName())) return false; + if (!getOpSym() + .equals(other.getOpSym())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getTypeName().hashCode(); + hash = (37 * hash) + OP_SYM_FIELD_NUMBER; + hash = (53 * hash) + getOpSym().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static Builder newBuilder(com.kcl.api.Spec.Test_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static com.kcl.api.Spec.Variable parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Variable parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Variable parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Variable parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Variable parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Variable parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Variable parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Variable parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static com.kcl.api.Spec.Variable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Test_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Test_Args) - com.kcl.api.Spec.Test_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; - } + public static com.kcl.api.Spec.Variable 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 com.kcl.api.Spec.Variable parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Variable parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Test_Args.class, - com.kcl.api.Spec.Test_Args.Builder.class); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Variable prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - // Construct using com.kcl.api.Spec.Test_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Variable} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Variable) + com.kcl.api.Spec.VariableOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Variable.class, com.kcl.api.Spec.Variable.Builder.class); + } + + // Construct using com.kcl.api.Spec.Variable.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + value_ = ""; + typeName_ = ""; + opSym_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Variable getDefaultInstanceForType() { + return com.kcl.api.Spec.Variable.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Variable build() { + com.kcl.api.Spec.Variable result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Variable buildPartial() { + com.kcl.api.Spec.Variable result = new com.kcl.api.Spec.Variable(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Variable result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.value_ = value_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.typeName_ = typeName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.opSym_ = opSym_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Variable) { + return mergeFrom((com.kcl.api.Spec.Variable)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Variable other) { + if (other == com.kcl.api.Spec.Variable.getDefaultInstance()) return this; + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getTypeName().isEmpty()) { + typeName_ = other.typeName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getOpSym().isEmpty()) { + opSym_ = other.opSym_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + typeName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + opSym_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object value_ = ""; + /** + * string value = 1; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string value = 1; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string value = 1; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string value = 1; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string value = 1; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object typeName_ = ""; + /** + * string type_name = 2; + * @return The typeName. + */ + public java.lang.String getTypeName() { + java.lang.Object ref = typeName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + typeName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string type_name = 2; + * @return The bytes for typeName. + */ + public com.google.protobuf.ByteString + getTypeNameBytes() { + java.lang.Object ref = typeName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + typeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string type_name = 2; + * @param value The typeName to set. + * @return This builder for chaining. + */ + public Builder setTypeName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + typeName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string type_name = 2; + * @return This builder for chaining. + */ + public Builder clearTypeName() { + typeName_ = getDefaultInstance().getTypeName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string type_name = 2; + * @param value The bytes for typeName to set. + * @return This builder for chaining. + */ + public Builder setTypeNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + typeName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object opSym_ = ""; + /** + * string op_sym = 3; + * @return The opSym. + */ + public java.lang.String getOpSym() { + java.lang.Object ref = opSym_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + opSym_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string op_sym = 3; + * @return The bytes for opSym. + */ + public com.google.protobuf.ByteString + getOpSymBytes() { + java.lang.Object ref = opSym_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + opSym_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string op_sym = 3; + * @param value The opSym to set. + * @return This builder for chaining. + */ + public Builder setOpSym( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + opSym_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string op_sym = 3; + * @return This builder for chaining. + */ + public Builder clearOpSym() { + opSym_ = getDefaultInstance().getOpSym(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string op_sym = 3; + * @param value The bytes for opSym to set. + * @return This builder for chaining. + */ + public Builder setOpSymBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + opSym_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Variable) + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Variable) + private static final com.kcl.api.Spec.Variable DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Variable(); + } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); - } - } + public static com.kcl.api.Spec.Variable getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - pkgList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - runRegexp_ = ""; - failFast_ = false; - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Variable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public com.kcl.api.Spec.Test_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.Test_Args.getDefaultInstance(); - } + @java.lang.Override + public com.kcl.api.Spec.Variable getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.Test_Args build() { - com.kcl.api.Spec.Test_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + } - @java.lang.Override - public com.kcl.api.Spec.Test_Args buildPartial() { - com.kcl.api.Spec.Test_Args result = new com.kcl.api.Spec.Test_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public interface GetFullSchemaType_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetFullSchemaType_Args) + com.google.protobuf.MessageOrBuilder { - private void buildPartial0(com.kcl.api.Spec.Test_Args result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.execArgs_ = execArgsBuilder_ == null ? execArgs_ : execArgsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - pkgList_.makeImmutable(); - result.pkgList_ = pkgList_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.runRegexp_ = runRegexp_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.failFast_ = failFast_; - } - result.bitField0_ |= to_bitField0_; - } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return Whether the execArgs field is set. + */ + boolean hasExecArgs(); + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return The execArgs. + */ + com.kcl.api.Spec.ExecProgram_Args getExecArgs(); + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - @java.lang.Override - public Builder clone() { - return super.clone(); - } + /** + * string schema_name = 2; + * @return The schemaName. + */ + java.lang.String getSchemaName(); + /** + * string schema_name = 2; + * @return The bytes for schemaName. + */ + com.google.protobuf.ByteString + getSchemaNameBytes(); + } + /** + * Protobuf type {@code com.kcl.api.GetFullSchemaType_Args} + */ + public static final class GetFullSchemaType_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetFullSchemaType_Args) + GetFullSchemaType_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetFullSchemaType_Args.newBuilder() to construct. + private GetFullSchemaType_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetFullSchemaType_Args() { + schemaName_ = ""; + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetFullSchemaType_Args(); + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor; + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetFullSchemaType_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetFullSchemaType_Args.class, com.kcl.api.Spec.GetFullSchemaType_Args.Builder.class); + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + private int bitField0_; + public static final int EXEC_ARGS_FIELD_NUMBER = 1; + private com.kcl.api.Spec.ExecProgram_Args execArgs_; + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return Whether the execArgs field is set. + */ + @java.lang.Override + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return The execArgs. + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + public static final int SCHEMA_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object schemaName_ = ""; + /** + * string schema_name = 2; + * @return The schemaName. + */ + @java.lang.Override + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } + } + /** + * string schema_name = 2; + * @return The bytes for schemaName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Test_Args) { - return mergeFrom((com.kcl.api.Spec.Test_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public Builder mergeFrom(com.kcl.api.Spec.Test_Args other) { - if (other == com.kcl.api.Spec.Test_Args.getDefaultInstance()) - return this; - if (other.hasExecArgs()) { - mergeExecArgs(other.getExecArgs()); - } - if (!other.pkgList_.isEmpty()) { - if (pkgList_.isEmpty()) { - pkgList_ = other.pkgList_; - bitField0_ |= 0x00000002; - } else { - ensurePkgListIsMutable(); - pkgList_.addAll(other.pkgList_); - } - onChanged(); - } - if (!other.getRunRegexp().isEmpty()) { - runRegexp_ = other.runRegexp_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (other.getFailFast() != false) { - setFailFast(other.getFailFast()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExecArgs()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaName_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getExecArgsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePkgListIsMutable(); - pkgList_.add(s); - break; - } // case 18 - case 26: { - runRegexp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - failFast_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExecArgs()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private int bitField0_; - - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - private com.google.protobuf.SingleFieldBuilderV3 execArgsBuilder_; - - /** - *
-             * This field stores the execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetFullSchemaType_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetFullSchemaType_Args other = (com.kcl.api.Spec.GetFullSchemaType_Args) obj; + + if (hasExecArgs() != other.hasExecArgs()) return false; + if (hasExecArgs()) { + if (!getExecArgs() + .equals(other.getExecArgs())) return false; + } + if (!getSchemaName() + .equals(other.getSchemaName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * This field stores the execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } else { - return execArgsBuilder_.getMessage(); - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExecArgs()) { + hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getExecArgs().hashCode(); + } + hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; + hash = (53 * hash) + getSchemaName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * This field stores the execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - execArgs_ = value; - } else { - execArgsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * This field stores the execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { - if (execArgsBuilder_ == null) { - execArgs_ = builderForValue.build(); - } else { - execArgsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static com.kcl.api.Spec.GetFullSchemaType_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * This field stores the execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && execArgs_ != null - && execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { - getExecArgsBuilder().mergeFrom(value); - } else { - execArgs_ = value; - } - } else { - execArgsBuilder_.mergeFrom(value); - } - if (execArgs_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } + public static com.kcl.api.Spec.GetFullSchemaType_Args 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 com.kcl.api.Spec.GetFullSchemaType_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetFullSchemaType_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * This field stores the execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder clearExecArgs() { - bitField0_ = (bitField0_ & ~0x00000001); - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetFullSchemaType_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * This field stores the execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.GetFullSchemaType_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetFullSchemaType_Args) + com.kcl.api.Spec.GetFullSchemaType_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetFullSchemaType_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetFullSchemaType_Args.class, com.kcl.api.Spec.GetFullSchemaType_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetFullSchemaType_Args.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExecArgsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + schemaName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetFullSchemaType_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.GetFullSchemaType_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetFullSchemaType_Args build() { + com.kcl.api.Spec.GetFullSchemaType_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetFullSchemaType_Args buildPartial() { + com.kcl.api.Spec.GetFullSchemaType_Args result = new com.kcl.api.Spec.GetFullSchemaType_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.GetFullSchemaType_Args result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.execArgs_ = execArgsBuilder_ == null + ? execArgs_ + : execArgsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.schemaName_ = schemaName_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetFullSchemaType_Args) { + return mergeFrom((com.kcl.api.Spec.GetFullSchemaType_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetFullSchemaType_Args other) { + if (other == com.kcl.api.Spec.GetFullSchemaType_Args.getDefaultInstance()) return this; + if (other.hasExecArgs()) { + mergeExecArgs(other.getExecArgs()); + } + if (!other.getSchemaName().isEmpty()) { + schemaName_ = other.schemaName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getExecArgsFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00000001; - onChanged(); - return getExecArgsFieldBuilder().getBuilder(); - } + break; + } // case 10 + case 18: { + schemaName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> execArgsBuilder_; + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return Whether the execArgs field is set. + */ + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return The execArgs. + */ + public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + if (execArgsBuilder_ == null) { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } else { + return execArgsBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + if (execArgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + execArgs_ = value; + } else { + execArgsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder setExecArgs( + com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { + if (execArgsBuilder_ == null) { + execArgs_ = builderForValue.build(); + } else { + execArgsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + if (execArgsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + execArgs_ != null && + execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { + getExecArgsBuilder().mergeFrom(value); + } else { + execArgs_ = value; + } + } else { + execArgsBuilder_.mergeFrom(value); + } + if (execArgs_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder clearExecArgs() { + bitField0_ = (bitField0_ & ~0x00000001); + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExecArgsFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + if (execArgsBuilder_ != null) { + return execArgsBuilder_.getMessageOrBuilder(); + } else { + return execArgs_ == null ? + com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } + } + /** + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> + getExecArgsFieldBuilder() { + if (execArgsBuilder_ == null) { + execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder>( + getExecArgs(), + getParentForChildren(), + isClean()); + execArgs_ = null; + } + return execArgsBuilder_; + } + + private java.lang.Object schemaName_ = ""; + /** + * string schema_name = 2; + * @return The schemaName. + */ + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string schema_name = 2; + * @return The bytes for schemaName. + */ + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string schema_name = 2; + * @param value The schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + schemaName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string schema_name = 2; + * @return This builder for chaining. + */ + public Builder clearSchemaName() { + schemaName_ = getDefaultInstance().getSchemaName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string schema_name = 2; + * @param value The bytes for schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + schemaName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetFullSchemaType_Args) + } - /** - *
-             * This field stores the execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - if (execArgsBuilder_ != null) { - return execArgsBuilder_.getMessageOrBuilder(); - } else { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.GetFullSchemaType_Args) + private static final com.kcl.api.Spec.GetFullSchemaType_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetFullSchemaType_Args(); + } - /** - *
-             * This field stores the execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3 getExecArgsFieldBuilder() { - if (execArgsBuilder_ == null) { - execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getExecArgs(), getParentForChildren(), isClean()); - execArgs_ = null; - } - return execArgsBuilder_; - } + public static com.kcl.api.Spec.GetFullSchemaType_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private com.google.protobuf.LazyStringArrayList pkgList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFullSchemaType_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private void ensurePkgListIsMutable() { - if (!pkgList_.isModifiable()) { - pkgList_ = new com.google.protobuf.LazyStringArrayList(pkgList_); - } - bitField0_ |= 0x00000002; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-             * 
- * - * repeated string pkg_list = 2; - * - * @return A list containing the pkgList. - */ - public com.google.protobuf.ProtocolStringList getPkgListList() { - pkgList_.makeImmutable(); - return pkgList_; - } + @java.lang.Override + public com.kcl.api.Spec.GetFullSchemaType_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-             * 
- * - * repeated string pkg_list = 2; - * - * @return The count of pkgList. - */ - public int getPkgListCount() { - return pkgList_.size(); - } + } - /** - *
-             * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-             * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The pkgList at the given index. - */ - public java.lang.String getPkgList(int index) { - return pkgList_.get(index); - } + public interface GetSchemaType_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaType_Args) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-             * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pkgList at the given index. - */ - public com.google.protobuf.ByteString getPkgListBytes(int index) { - return pkgList_.getByteString(index); - } + /** + * string file = 1; + * @return The file. + */ + java.lang.String getFile(); + /** + * string file = 1; + * @return The bytes for file. + */ + com.google.protobuf.ByteString + getFileBytes(); - /** - *
-             * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-             * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index to set the value at. - * @param value - * The pkgList to set. - * - * @return This builder for chaining. - */ - public Builder setPkgList(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePkgListIsMutable(); - pkgList_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + * string code = 2; + * @return The code. + */ + java.lang.String getCode(); + /** + * string code = 2; + * @return The bytes for code. + */ + com.google.protobuf.ByteString + getCodeBytes(); - /** - *
-             * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-             * 
- * - * repeated string pkg_list = 2; - * - * @param value - * The pkgList to add. - * - * @return This builder for chaining. - */ - public Builder addPkgList(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePkgListIsMutable(); - pkgList_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + * string schema_name = 3; + * @return The schemaName. + */ + java.lang.String getSchemaName(); + /** + * string schema_name = 3; + * @return The bytes for schemaName. + */ + com.google.protobuf.ByteString + getSchemaNameBytes(); + } + /** + * Protobuf type {@code com.kcl.api.GetSchemaType_Args} + */ + public static final class GetSchemaType_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaType_Args) + GetSchemaType_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetSchemaType_Args.newBuilder() to construct. + private GetSchemaType_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetSchemaType_Args() { + file_ = ""; + code_ = ""; + schemaName_ = ""; + } - /** - *
-             * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-             * 
- * - * repeated string pkg_list = 2; - * - * @param values - * The pkgList to add. - * - * @return This builder for chaining. - */ - public Builder addAllPkgList(java.lang.Iterable values) { - ensurePkgListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pkgList_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetSchemaType_Args(); + } - /** - *
-             * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-             * 
- * - * repeated string pkg_list = 2; - * - * @return This builder for chaining. - */ - public Builder clearPkgList() { - pkgList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Args_descriptor; + } - /** - *
-             * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
-             * 
- * - * repeated string pkg_list = 2; - * - * @param value - * The bytes of the pkgList to add. - * - * @return This builder for chaining. - */ - public Builder addPkgListBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePkgListIsMutable(); - pkgList_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaType_Args.class, com.kcl.api.Spec.GetSchemaType_Args.Builder.class); + } - private java.lang.Object runRegexp_ = ""; - - /** - *
-             * This field stores a regular expression for filtering tests to run.
-             * 
- * - * string run_regexp = 3; - * - * @return The runRegexp. - */ - public java.lang.String getRunRegexp() { - java.lang.Object ref = runRegexp_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - runRegexp_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static final int FILE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object file_ = ""; + /** + * string file = 1; + * @return The file. + */ + @java.lang.Override + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } + } + /** + * string file = 1; + * @return The bytes for file. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * This field stores a regular expression for filtering tests to run.
-             * 
- * - * string run_regexp = 3; - * - * @return The bytes for runRegexp. - */ - public com.google.protobuf.ByteString getRunRegexpBytes() { - java.lang.Object ref = runRegexp_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - runRegexp_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int CODE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object code_ = ""; + /** + * string code = 2; + * @return The code. + */ + @java.lang.Override + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } + } + /** + * string code = 2; + * @return The bytes for code. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * This field stores a regular expression for filtering tests to run.
-             * 
- * - * string run_regexp = 3; - * - * @param value - * The runRegexp to set. - * - * @return This builder for chaining. - */ - public Builder setRunRegexp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - runRegexp_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public static final int SCHEMA_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object schemaName_ = ""; + /** + * string schema_name = 3; + * @return The schemaName. + */ + @java.lang.Override + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } + } + /** + * string schema_name = 3; + * @return The bytes for schemaName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * This field stores a regular expression for filtering tests to run.
-             * 
- * - * string run_regexp = 3; - * - * @return This builder for chaining. - */ - public Builder clearRunRegexp() { - runRegexp_ = getDefaultInstance().getRunRegexp(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * This field stores a regular expression for filtering tests to run.
-             * 
- * - * string run_regexp = 3; - * - * @param value - * The bytes for runRegexp to set. - * - * @return This builder for chaining. - */ - public Builder setRunRegexpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - runRegexp_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + memoizedIsInitialized = 1; + return true; + } - private boolean failFast_; - - /** - *
-             * This field determines whether the test run should stop on the first failure.
-             * 
- * - * bool fail_fast = 4; - * - * @return The failFast. - */ - @java.lang.Override - public boolean getFailFast() { - return failFast_; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schemaName_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * This field determines whether the test run should stop on the first failure.
-             * 
- * - * bool fail_fast = 4; - * - * @param value - * The failFast to set. - * - * @return This builder for chaining. - */ - public Builder setFailFast(boolean value) { - - failFast_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schemaName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * This field determines whether the test run should stop on the first failure.
-             * 
- * - * bool fail_fast = 4; - * - * @return This builder for chaining. - */ - public Builder clearFailFast() { - bitField0_ = (bitField0_ & ~0x00000008); - failFast_ = false; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetSchemaType_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetSchemaType_Args other = (com.kcl.api.Spec.GetSchemaType_Args) obj; + + if (!getFile() + .equals(other.getFile())) return false; + if (!getCode() + .equals(other.getCode())) return false; + if (!getSchemaName() + .equals(other.getSchemaName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FILE_FIELD_NUMBER; + hash = (53 * hash) + getFile().hashCode(); + hash = (37 * hash) + CODE_FIELD_NUMBER; + hash = (53 * hash) + getCode().hashCode(); + hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; + hash = (53 * hash) + getSchemaName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + public static com.kcl.api.Spec.GetSchemaType_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaType_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaType_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaType_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaType_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaType_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaType_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaType_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Test_Args) - } + public static com.kcl.api.Spec.GetSchemaType_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Test_Args) - private static final com.kcl.api.Spec.Test_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Test_Args(); - } + public static com.kcl.api.Spec.GetSchemaType_Args 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 com.kcl.api.Spec.GetSchemaType_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaType_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.Test_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetSchemaType_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Test_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.GetSchemaType_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaType_Args) + com.kcl.api.Spec.GetSchemaType_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaType_Args.class, com.kcl.api.Spec.GetSchemaType_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetSchemaType_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + file_ = ""; + code_ = ""; + schemaName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaType_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.GetSchemaType_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaType_Args build() { + com.kcl.api.Spec.GetSchemaType_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaType_Args buildPartial() { + com.kcl.api.Spec.GetSchemaType_Args result = new com.kcl.api.Spec.GetSchemaType_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.GetSchemaType_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.file_ = file_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.code_ = code_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.schemaName_ = schemaName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetSchemaType_Args) { + return mergeFrom((com.kcl.api.Spec.GetSchemaType_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetSchemaType_Args other) { + if (other == com.kcl.api.Spec.GetSchemaType_Args.getDefaultInstance()) return this; + if (!other.getFile().isEmpty()) { + file_ = other.file_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getCode().isEmpty()) { + code_ = other.code_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSchemaName().isEmpty()) { + schemaName_ = other.schemaName_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + file_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + code_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + schemaName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object file_ = ""; + /** + * string file = 1; + * @return The file. + */ + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string file = 1; + * @return The bytes for file. + */ + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string file = 1; + * @param value The file to set. + * @return This builder for chaining. + */ + public Builder setFile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + file_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string file = 1; + * @return This builder for chaining. + */ + public Builder clearFile() { + file_ = getDefaultInstance().getFile(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string file = 1; + * @param value The bytes for file to set. + * @return This builder for chaining. + */ + public Builder setFileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + file_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object code_ = ""; + /** + * string code = 2; + * @return The code. + */ + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string code = 2; + * @return The bytes for code. + */ + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string code = 2; + * @param value The code to set. + * @return This builder for chaining. + */ + public Builder setCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + code_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string code = 2; + * @return This builder for chaining. + */ + public Builder clearCode() { + code_ = getDefaultInstance().getCode(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string code = 2; + * @param value The bytes for code to set. + * @return This builder for chaining. + */ + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + code_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object schemaName_ = ""; + /** + * string schema_name = 3; + * @return The schemaName. + */ + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string schema_name = 3; + * @return The bytes for schemaName. + */ + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string schema_name = 3; + * @param value The schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + schemaName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string schema_name = 3; + * @return This builder for chaining. + */ + public Builder clearSchemaName() { + schemaName_ = getDefaultInstance().getSchemaName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string schema_name = 3; + * @param value The bytes for schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + schemaName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaType_Args) + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaType_Args) + private static final com.kcl.api.Spec.GetSchemaType_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaType_Args(); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.GetSchemaType_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.Test_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSchemaType_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + @java.lang.Override + public com.kcl.api.Spec.GetSchemaType_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - public interface Test_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Test_Result) - com.google.protobuf.MessageOrBuilder { + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - java.util.List getInfoList(); + public interface GetSchemaType_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaType_Result) + com.google.protobuf.MessageOrBuilder { - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - com.kcl.api.Spec.TestCaseInfo getInfo(int index); + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + java.util.List + getSchemaTypeListList(); + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + com.kcl.api.Spec.KclType getSchemaTypeList(int index); + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + int getSchemaTypeListCount(); + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + java.util.List + getSchemaTypeListOrBuilderList(); + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeListOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.GetSchemaType_Result} + */ + public static final class GetSchemaType_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaType_Result) + GetSchemaType_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetSchemaType_Result.newBuilder() to construct. + private GetSchemaType_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetSchemaType_Result() { + schemaTypeList_ = java.util.Collections.emptyList(); + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - int getInfoCount(); + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetSchemaType_Result(); + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - java.util.List getInfoOrBuilderList(); + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Result_descriptor; + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder(int index); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaType_Result.class, com.kcl.api.Spec.GetSchemaType_Result.Builder.class); } + public static final int SCHEMA_TYPE_LIST_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List schemaTypeList_; /** - * Protobuf type {@code com.kcl.api.Test_Result} + * repeated .com.kcl.api.KclType schema_type_list = 1; */ - public static final class Test_Result extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Test_Result) - Test_ResultOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Test_Result.newBuilder() to construct. - private Test_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + @java.lang.Override + public java.util.List getSchemaTypeListList() { + return schemaTypeList_; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + @java.lang.Override + public java.util.List + getSchemaTypeListOrBuilderList() { + return schemaTypeList_; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + @java.lang.Override + public int getSchemaTypeListCount() { + return schemaTypeList_.size(); + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getSchemaTypeList(int index) { + return schemaTypeList_.get(index); + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeListOrBuilder( + int index) { + return schemaTypeList_.get(index); + } - private Test_Result() { - info_ = java.util.Collections.emptyList(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Test_Result(); - } + memoizedIsInitialized = 1; + return true; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < schemaTypeList_.size(); i++) { + output.writeMessage(1, schemaTypeList_.get(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Test_Result.class, - com.kcl.api.Spec.Test_Result.Builder.class); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < schemaTypeList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, schemaTypeList_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static final int INFO_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List info_; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetSchemaType_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetSchemaType_Result other = (com.kcl.api.Spec.GetSchemaType_Result) obj; + + if (!getSchemaTypeListList() + .equals(other.getSchemaTypeListList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - @java.lang.Override - public java.util.List getInfoList() { - return info_; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSchemaTypeListCount() > 0) { + hash = (37 * hash) + SCHEMA_TYPE_LIST_FIELD_NUMBER; + hash = (53 * hash) + getSchemaTypeListList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - @java.lang.Override - public java.util.List getInfoOrBuilderList() { - return info_; - } + public static com.kcl.api.Spec.GetSchemaType_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaType_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaType_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaType_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaType_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaType_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaType_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaType_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - @java.lang.Override - public int getInfoCount() { - return info_.size(); - } + public static com.kcl.api.Spec.GetSchemaType_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfo getInfo(int index) { - return info_.get(index); - } + public static com.kcl.api.Spec.GetSchemaType_Result 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 com.kcl.api.Spec.GetSchemaType_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaType_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder(int index) { - return info_.get(index); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetSchemaType_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private byte memoizedIsInitialized = -1; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.GetSchemaType_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaType_Result) + com.kcl.api.Spec.GetSchemaType_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaType_Result.class, com.kcl.api.Spec.GetSchemaType_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetSchemaType_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (schemaTypeListBuilder_ == null) { + schemaTypeList_ = java.util.Collections.emptyList(); + } else { + schemaTypeList_ = null; + schemaTypeListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaType_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaType_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.GetSchemaType_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaType_Result build() { + com.kcl.api.Spec.GetSchemaType_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaType_Result buildPartial() { + com.kcl.api.Spec.GetSchemaType_Result result = new com.kcl.api.Spec.GetSchemaType_Result(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.GetSchemaType_Result result) { + if (schemaTypeListBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + schemaTypeList_ = java.util.Collections.unmodifiableList(schemaTypeList_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.schemaTypeList_ = schemaTypeList_; + } else { + result.schemaTypeList_ = schemaTypeListBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.GetSchemaType_Result result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetSchemaType_Result) { + return mergeFrom((com.kcl.api.Spec.GetSchemaType_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetSchemaType_Result other) { + if (other == com.kcl.api.Spec.GetSchemaType_Result.getDefaultInstance()) return this; + if (schemaTypeListBuilder_ == null) { + if (!other.schemaTypeList_.isEmpty()) { + if (schemaTypeList_.isEmpty()) { + schemaTypeList_ = other.schemaTypeList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSchemaTypeListIsMutable(); + schemaTypeList_.addAll(other.schemaTypeList_); + } + onChanged(); + } + } else { + if (!other.schemaTypeList_.isEmpty()) { + if (schemaTypeListBuilder_.isEmpty()) { + schemaTypeListBuilder_.dispose(); + schemaTypeListBuilder_ = null; + schemaTypeList_ = other.schemaTypeList_; + bitField0_ = (bitField0_ & ~0x00000001); + schemaTypeListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSchemaTypeListFieldBuilder() : null; + } else { + schemaTypeListBuilder_.addAllMessages(other.schemaTypeList_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.kcl.api.Spec.KclType m = + input.readMessage( + com.kcl.api.Spec.KclType.parser(), + extensionRegistry); + if (schemaTypeListBuilder_ == null) { + ensureSchemaTypeListIsMutable(); + schemaTypeList_.add(m); + } else { + schemaTypeListBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List schemaTypeList_ = + java.util.Collections.emptyList(); + private void ensureSchemaTypeListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + schemaTypeList_ = new java.util.ArrayList(schemaTypeList_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> schemaTypeListBuilder_; + + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public java.util.List getSchemaTypeListList() { + if (schemaTypeListBuilder_ == null) { + return java.util.Collections.unmodifiableList(schemaTypeList_); + } else { + return schemaTypeListBuilder_.getMessageList(); + } + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public int getSchemaTypeListCount() { + if (schemaTypeListBuilder_ == null) { + return schemaTypeList_.size(); + } else { + return schemaTypeListBuilder_.getCount(); + } + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public com.kcl.api.Spec.KclType getSchemaTypeList(int index) { + if (schemaTypeListBuilder_ == null) { + return schemaTypeList_.get(index); + } else { + return schemaTypeListBuilder_.getMessage(index); + } + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public Builder setSchemaTypeList( + int index, com.kcl.api.Spec.KclType value) { + if (schemaTypeListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaTypeListIsMutable(); + schemaTypeList_.set(index, value); + onChanged(); + } else { + schemaTypeListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public Builder setSchemaTypeList( + int index, com.kcl.api.Spec.KclType.Builder builderForValue) { + if (schemaTypeListBuilder_ == null) { + ensureSchemaTypeListIsMutable(); + schemaTypeList_.set(index, builderForValue.build()); + onChanged(); + } else { + schemaTypeListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public Builder addSchemaTypeList(com.kcl.api.Spec.KclType value) { + if (schemaTypeListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaTypeListIsMutable(); + schemaTypeList_.add(value); + onChanged(); + } else { + schemaTypeListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public Builder addSchemaTypeList( + int index, com.kcl.api.Spec.KclType value) { + if (schemaTypeListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaTypeListIsMutable(); + schemaTypeList_.add(index, value); + onChanged(); + } else { + schemaTypeListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public Builder addSchemaTypeList( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (schemaTypeListBuilder_ == null) { + ensureSchemaTypeListIsMutable(); + schemaTypeList_.add(builderForValue.build()); + onChanged(); + } else { + schemaTypeListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public Builder addSchemaTypeList( + int index, com.kcl.api.Spec.KclType.Builder builderForValue) { + if (schemaTypeListBuilder_ == null) { + ensureSchemaTypeListIsMutable(); + schemaTypeList_.add(index, builderForValue.build()); + onChanged(); + } else { + schemaTypeListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public Builder addAllSchemaTypeList( + java.lang.Iterable values) { + if (schemaTypeListBuilder_ == null) { + ensureSchemaTypeListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, schemaTypeList_); + onChanged(); + } else { + schemaTypeListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public Builder clearSchemaTypeList() { + if (schemaTypeListBuilder_ == null) { + schemaTypeList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + schemaTypeListBuilder_.clear(); + } + return this; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public Builder removeSchemaTypeList(int index) { + if (schemaTypeListBuilder_ == null) { + ensureSchemaTypeListIsMutable(); + schemaTypeList_.remove(index); + onChanged(); + } else { + schemaTypeListBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public com.kcl.api.Spec.KclType.Builder getSchemaTypeListBuilder( + int index) { + return getSchemaTypeListFieldBuilder().getBuilder(index); + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeListOrBuilder( + int index) { + if (schemaTypeListBuilder_ == null) { + return schemaTypeList_.get(index); } else { + return schemaTypeListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public java.util.List + getSchemaTypeListOrBuilderList() { + if (schemaTypeListBuilder_ != null) { + return schemaTypeListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(schemaTypeList_); + } + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public com.kcl.api.Spec.KclType.Builder addSchemaTypeListBuilder() { + return getSchemaTypeListFieldBuilder().addBuilder( + com.kcl.api.Spec.KclType.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public com.kcl.api.Spec.KclType.Builder addSchemaTypeListBuilder( + int index) { + return getSchemaTypeListFieldBuilder().addBuilder( + index, com.kcl.api.Spec.KclType.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.KclType schema_type_list = 1; + */ + public java.util.List + getSchemaTypeListBuilderList() { + return getSchemaTypeListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + getSchemaTypeListFieldBuilder() { + if (schemaTypeListBuilder_ == null) { + schemaTypeListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + schemaTypeList_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + schemaTypeList_ = null; + } + return schemaTypeListBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaType_Result) + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaType_Result) + private static final com.kcl.api.Spec.GetSchemaType_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaType_Result(); + } - memoizedIsInitialized = 1; - return true; - } + public static com.kcl.api.Spec.GetSchemaType_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < info_.size(); i++) { - output.writeMessage(2, info_.get(i)); - } - getUnknownFields().writeTo(output); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSchemaType_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (int i = 0; i < info_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, info_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Test_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.Test_Result other = (com.kcl.api.Spec.Test_Result) obj; + @java.lang.Override + public com.kcl.api.Spec.GetSchemaType_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - if (!getInfoList().equals(other.getInfoList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getInfoCount() > 0) { - hash = (37 * hash) + INFO_FIELD_NUMBER; - hash = (53 * hash) + getInfoList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public interface GetSchemaTypeMapping_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMapping_Args) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Test_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * string file = 1; + * @return The file. + */ + java.lang.String getFile(); + /** + * string file = 1; + * @return The bytes for file. + */ + com.google.protobuf.ByteString + getFileBytes(); - public static com.kcl.api.Spec.Test_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + * string code = 2; + * @return The code. + */ + java.lang.String getCode(); + /** + * string code = 2; + * @return The bytes for code. + */ + com.google.protobuf.ByteString + getCodeBytes(); - public static com.kcl.api.Spec.Test_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * string schema_name = 3; + * @return The schemaName. + */ + java.lang.String getSchemaName(); + /** + * string schema_name = 3; + * @return The bytes for schemaName. + */ + com.google.protobuf.ByteString + getSchemaNameBytes(); + } + /** + * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Args} + */ + public static final class GetSchemaTypeMapping_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMapping_Args) + GetSchemaTypeMapping_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetSchemaTypeMapping_Args.newBuilder() to construct. + private GetSchemaTypeMapping_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetSchemaTypeMapping_Args() { + file_ = ""; + code_ = ""; + schemaName_ = ""; + } - public static com.kcl.api.Spec.Test_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetSchemaTypeMapping_Args(); + } - public static com.kcl.api.Spec.Test_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; + } - public static com.kcl.api.Spec.Test_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMapping_Args.class, com.kcl.api.Spec.GetSchemaTypeMapping_Args.Builder.class); + } - public static com.kcl.api.Spec.Test_Result parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public static final int FILE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object file_ = ""; + /** + * string file = 1; + * @return The file. + */ + @java.lang.Override + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } + } + /** + * string file = 1; + * @return The bytes for file. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Test_Result 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 final int CODE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object code_ = ""; + /** + * string code = 2; + * @return The code. + */ + @java.lang.Override + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } + } + /** + * string code = 2; + * @return The bytes for code. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Test_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + public static final int SCHEMA_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object schemaName_ = ""; + /** + * string schema_name = 3; + * @return The schemaName. + */ + @java.lang.Override + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } + } + /** + * string schema_name = 3; + * @return The bytes for schemaName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Test_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Test_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.Test_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schemaName_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schemaName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetSchemaTypeMapping_Args other = (com.kcl.api.Spec.GetSchemaTypeMapping_Args) obj; + + if (!getFile() + .equals(other.getFile())) return false; + if (!getCode() + .equals(other.getCode())) return false; + if (!getSchemaName() + .equals(other.getSchemaName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static Builder newBuilder(com.kcl.api.Spec.Test_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FILE_FIELD_NUMBER; + hash = (53 * hash) + getFile().hashCode(); + hash = (37 * hash) + CODE_FIELD_NUMBER; + hash = (53 * hash) + getCode().hashCode(); + hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; + hash = (53 * hash) + getSchemaName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Test_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Test_Result) - com.kcl.api.Spec.Test_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; - } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Test_Result.class, - com.kcl.api.Spec.Test_Result.Builder.class); - } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args 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 com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMapping_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - // Construct using com.kcl.api.Spec.Test_Result.newBuilder() - private Builder() { + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMapping_Args) + com.kcl.api.Spec.GetSchemaTypeMapping_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMapping_Args.class, com.kcl.api.Spec.GetSchemaTypeMapping_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetSchemaTypeMapping_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + file_ = ""; + code_ = ""; + schemaName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.GetSchemaTypeMapping_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMapping_Args build() { + com.kcl.api.Spec.GetSchemaTypeMapping_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMapping_Args buildPartial() { + com.kcl.api.Spec.GetSchemaTypeMapping_Args result = new com.kcl.api.Spec.GetSchemaTypeMapping_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMapping_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.file_ = file_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.code_ = code_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.schemaName_ = schemaName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Args) { + return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMapping_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMapping_Args other) { + if (other == com.kcl.api.Spec.GetSchemaTypeMapping_Args.getDefaultInstance()) return this; + if (!other.getFile().isEmpty()) { + file_ = other.file_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getCode().isEmpty()) { + code_ = other.code_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSchemaName().isEmpty()) { + schemaName_ = other.schemaName_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + file_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + code_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + schemaName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object file_ = ""; + /** + * string file = 1; + * @return The file. + */ + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string file = 1; + * @return The bytes for file. + */ + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string file = 1; + * @param value The file to set. + * @return This builder for chaining. + */ + public Builder setFile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + file_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string file = 1; + * @return This builder for chaining. + */ + public Builder clearFile() { + file_ = getDefaultInstance().getFile(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string file = 1; + * @param value The bytes for file to set. + * @return This builder for chaining. + */ + public Builder setFileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + file_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object code_ = ""; + /** + * string code = 2; + * @return The code. + */ + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string code = 2; + * @return The bytes for code. + */ + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string code = 2; + * @param value The code to set. + * @return This builder for chaining. + */ + public Builder setCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + code_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string code = 2; + * @return This builder for chaining. + */ + public Builder clearCode() { + code_ = getDefaultInstance().getCode(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string code = 2; + * @param value The bytes for code to set. + * @return This builder for chaining. + */ + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + code_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object schemaName_ = ""; + /** + * string schema_name = 3; + * @return The schemaName. + */ + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string schema_name = 3; + * @return The bytes for schemaName. + */ + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string schema_name = 3; + * @param value The schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + schemaName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string schema_name = 3; + * @return This builder for chaining. + */ + public Builder clearSchemaName() { + schemaName_ = getDefaultInstance().getSchemaName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string schema_name = 3; + * @param value The bytes for schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + schemaName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMapping_Args) + } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMapping_Args) + private static final com.kcl.api.Spec.GetSchemaTypeMapping_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMapping_Args(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + public static com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSchemaTypeMapping_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (infoBuilder_ == null) { - info_ = java.util.Collections.emptyList(); - } else { - info_ = null; - infoBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; - } + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.Test_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.Test_Result.getDefaultInstance(); - } + } - @java.lang.Override - public com.kcl.api.Spec.Test_Result build() { - com.kcl.api.Spec.Test_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public interface GetSchemaTypeMapping_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMapping_Result) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.kcl.api.Spec.Test_Result buildPartial() { - com.kcl.api.Spec.Test_Result result = new com.kcl.api.Spec.Test_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + int getSchemaTypeMappingCount(); + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + boolean containsSchemaTypeMapping( + java.lang.String key); + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSchemaTypeMapping(); + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + java.util.Map + getSchemaTypeMappingMap(); + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + /* nullable */ +com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue); + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow( + java.lang.String key); + } + /** + * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Result} + */ + public static final class GetSchemaTypeMapping_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMapping_Result) + GetSchemaTypeMapping_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetSchemaTypeMapping_Result.newBuilder() to construct. + private GetSchemaTypeMapping_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetSchemaTypeMapping_Result() { + } - private void buildPartialRepeatedFields(com.kcl.api.Spec.Test_Result result) { - if (infoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - info_ = java.util.Collections.unmodifiableList(info_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.info_ = info_; - } else { - result.info_ = infoBuilder_.build(); - } - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetSchemaTypeMapping_Result(); + } - private void buildPartial0(com.kcl.api.Spec.Test_Result result) { - int from_bitField0_ = bitField0_; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMapping_Result.class, com.kcl.api.Spec.GetSchemaTypeMapping_Result.Builder.class); + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + public static final int SCHEMA_TYPE_MAPPING_FIELD_NUMBER = 1; + private static final class SchemaTypeMappingDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.KclType> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.KclType.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.KclType> schemaTypeMapping_; + private com.google.protobuf.MapField + internalGetSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SchemaTypeMappingDefaultEntryHolder.defaultEntry); + } + return schemaTypeMapping_; + } + public int getSchemaTypeMappingCount() { + return internalGetSchemaTypeMapping().getMap().size(); + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public boolean containsSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSchemaTypeMapping().getMap().containsKey(key); + } + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSchemaTypeMapping() { + return getSchemaTypeMappingMap(); + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public java.util.Map getSchemaTypeMappingMap() { + return internalGetSchemaTypeMapping().getMap(); + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSchemaTypeMapping().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSchemaTypeMapping().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetSchemaTypeMapping(), + SchemaTypeMappingDefaultEntryHolder.defaultEntry, + 1); + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetSchemaTypeMapping().getMap().entrySet()) { + com.google.protobuf.MapEntry + schemaTypeMapping__ = SchemaTypeMappingDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, schemaTypeMapping__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Test_Result) { - return mergeFrom((com.kcl.api.Spec.Test_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetSchemaTypeMapping_Result other = (com.kcl.api.Spec.GetSchemaTypeMapping_Result) obj; + + if (!internalGetSchemaTypeMapping().equals( + other.internalGetSchemaTypeMapping())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public Builder mergeFrom(com.kcl.api.Spec.Test_Result other) { - if (other == com.kcl.api.Spec.Test_Result.getDefaultInstance()) - return this; - if (infoBuilder_ == null) { - if (!other.info_.isEmpty()) { - if (info_.isEmpty()) { - info_ = other.info_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureInfoIsMutable(); - info_.addAll(other.info_); - } - onChanged(); - } - } else { - if (!other.info_.isEmpty()) { - if (infoBuilder_.isEmpty()) { - infoBuilder_.dispose(); - infoBuilder_ = null; - info_ = other.info_; - bitField0_ = (bitField0_ & ~0x00000001); - infoBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInfoFieldBuilder() : null; - } else { - infoBuilder_.addAllMessages(other.info_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetSchemaTypeMapping().getMap().isEmpty()) { + hash = (37 * hash) + SCHEMA_TYPE_MAPPING_FIELD_NUMBER; + hash = (53 * hash) + internalGetSchemaTypeMapping().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: { - com.kcl.api.Spec.TestCaseInfo m = input.readMessage(com.kcl.api.Spec.TestCaseInfo.parser(), - extensionRegistry); - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - info_.add(m); - } else { - infoBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private int bitField0_; + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result 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 com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private java.util.List info_ = java.util.Collections.emptyList(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMapping_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private void ensureInfoIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - info_ = new java.util.ArrayList(info_); - bitField0_ |= 0x00000001; - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMapping_Result) + com.kcl.api.Spec.GetSchemaTypeMapping_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMapping_Result.class, com.kcl.api.Spec.GetSchemaTypeMapping_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetSchemaTypeMapping_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableSchemaTypeMapping().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.GetSchemaTypeMapping_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMapping_Result build() { + com.kcl.api.Spec.GetSchemaTypeMapping_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMapping_Result buildPartial() { + com.kcl.api.Spec.GetSchemaTypeMapping_Result result = new com.kcl.api.Spec.GetSchemaTypeMapping_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMapping_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.schemaTypeMapping_ = internalGetSchemaTypeMapping().build(SchemaTypeMappingDefaultEntryHolder.defaultEntry); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Result) { + return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMapping_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMapping_Result other) { + if (other == com.kcl.api.Spec.GetSchemaTypeMapping_Result.getDefaultInstance()) return this; + internalGetMutableSchemaTypeMapping().mergeFrom( + other.internalGetSchemaTypeMapping()); + bitField0_ |= 0x00000001; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + schemaTypeMapping__ = input.readMessage( + SchemaTypeMappingDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSchemaTypeMapping().ensureBuilderMap().put( + schemaTypeMapping__.getKey(), schemaTypeMapping__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private static final class SchemaTypeMappingConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.KclType build(com.kcl.api.Spec.KclTypeOrBuilder val) { + if (val instanceof com.kcl.api.Spec.KclType) { return (com.kcl.api.Spec.KclType) val; } + return ((com.kcl.api.Spec.KclType.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return SchemaTypeMappingDefaultEntryHolder.defaultEntry; + } + }; + private static final SchemaTypeMappingConverter schemaTypeMappingConverter = new SchemaTypeMappingConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.KclTypeOrBuilder, com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder> schemaTypeMapping_; + private com.google.protobuf.MapFieldBuilder + internalGetSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); + } + return schemaTypeMapping_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + schemaTypeMapping_ = new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); + } + bitField0_ |= 0x00000001; + onChanged(); + return schemaTypeMapping_; + } + public int getSchemaTypeMappingCount() { + return internalGetSchemaTypeMapping().ensureBuilderMap().size(); + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public boolean containsSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSchemaTypeMapping().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSchemaTypeMapping() { + return getSchemaTypeMappingMap(); + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public java.util.Map getSchemaTypeMappingMap() { + return internalGetSchemaTypeMapping().getImmutableMap(); + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + return map.containsKey(key) ? schemaTypeMappingConverter.build(map.get(key)) : defaultValue; + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return schemaTypeMappingConverter.build(map.get(key)); + } + public Builder clearSchemaTypeMapping() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableSchemaTypeMapping().clear(); + return this; + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + public Builder removeSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSchemaTypeMapping() { + bitField0_ |= 0x00000001; + return internalGetMutableSchemaTypeMapping().ensureMessageMap(); + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + public Builder putSchemaTypeMapping( + java.lang.String key, + com.kcl.api.Spec.KclType value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + public Builder putAllSchemaTypeMapping( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + /** + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + public com.kcl.api.Spec.KclType.Builder putSchemaTypeMappingBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + com.kcl.api.Spec.KclTypeOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.KclType.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.KclType) { + entry = ((com.kcl.api.Spec.KclType) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.KclType.Builder) entry; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMapping_Result) + } - private com.google.protobuf.RepeatedFieldBuilderV3 infoBuilder_; + // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMapping_Result) + private static final com.kcl.api.Spec.GetSchemaTypeMapping_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMapping_Result(); + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public java.util.List getInfoList() { - if (infoBuilder_ == null) { - return java.util.Collections.unmodifiableList(info_); - } else { - return infoBuilder_.getMessageList(); - } - } + public static com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public int getInfoCount() { - if (infoBuilder_ == null) { - return info_.size(); - } else { - return infoBuilder_.getCount(); - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSchemaTypeMapping_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public com.kcl.api.Spec.TestCaseInfo getInfo(int index) { - if (infoBuilder_ == null) { - return info_.get(index); - } else { - return infoBuilder_.getMessage(index); - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder setInfo(int index, com.kcl.api.Spec.TestCaseInfo value) { - if (infoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInfoIsMutable(); - info_.set(index, value); - onChanged(); - } else { - infoBuilder_.setMessage(index, value); - } - return this; - } + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder setInfo(int index, com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - info_.set(index, builderForValue.build()); - onChanged(); - } else { - infoBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder addInfo(com.kcl.api.Spec.TestCaseInfo value) { - if (infoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInfoIsMutable(); - info_.add(value); - onChanged(); - } else { - infoBuilder_.addMessage(value); - } - return this; - } + public interface ValidateCode_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCode_Args) + com.google.protobuf.MessageOrBuilder { - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder addInfo(int index, com.kcl.api.Spec.TestCaseInfo value) { - if (infoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInfoIsMutable(); - info_.add(index, value); - onChanged(); - } else { - infoBuilder_.addMessage(index, value); - } - return this; - } + /** + * string datafile = 1; + * @return The datafile. + */ + java.lang.String getDatafile(); + /** + * string datafile = 1; + * @return The bytes for datafile. + */ + com.google.protobuf.ByteString + getDatafileBytes(); - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder addInfo(com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - info_.add(builderForValue.build()); - onChanged(); - } else { - infoBuilder_.addMessage(builderForValue.build()); - } - return this; - } + /** + * string data = 2; + * @return The data. + */ + java.lang.String getData(); + /** + * string data = 2; + * @return The bytes for data. + */ + com.google.protobuf.ByteString + getDataBytes(); - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder addInfo(int index, com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - info_.add(index, builderForValue.build()); - onChanged(); - } else { - infoBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + /** + * string file = 3; + * @return The file. + */ + java.lang.String getFile(); + /** + * string file = 3; + * @return The bytes for file. + */ + com.google.protobuf.ByteString + getFileBytes(); - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder addAllInfo(java.lang.Iterable values) { - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, info_); - onChanged(); - } else { - infoBuilder_.addAllMessages(values); - } - return this; - } + /** + * string code = 4; + * @return The code. + */ + java.lang.String getCode(); + /** + * string code = 4; + * @return The bytes for code. + */ + com.google.protobuf.ByteString + getCodeBytes(); - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder clearInfo() { - if (infoBuilder_ == null) { - info_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - infoBuilder_.clear(); - } - return this; - } + /** + * string schema = 5; + * @return The schema. + */ + java.lang.String getSchema(); + /** + * string schema = 5; + * @return The bytes for schema. + */ + com.google.protobuf.ByteString + getSchemaBytes(); - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder removeInfo(int index) { - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - info_.remove(index); - onChanged(); - } else { - infoBuilder_.remove(index); - } - return this; - } + /** + * string attribute_name = 6; + * @return The attributeName. + */ + java.lang.String getAttributeName(); + /** + * string attribute_name = 6; + * @return The bytes for attributeName. + */ + com.google.protobuf.ByteString + getAttributeNameBytes(); - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public com.kcl.api.Spec.TestCaseInfo.Builder getInfoBuilder(int index) { - return getInfoFieldBuilder().getBuilder(index); - } + /** + * string format = 7; + * @return The format. + */ + java.lang.String getFormat(); + /** + * string format = 7; + * @return The bytes for format. + */ + com.google.protobuf.ByteString + getFormatBytes(); + } + /** + * Protobuf type {@code com.kcl.api.ValidateCode_Args} + */ + public static final class ValidateCode_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCode_Args) + ValidateCode_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ValidateCode_Args.newBuilder() to construct. + private ValidateCode_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ValidateCode_Args() { + datafile_ = ""; + data_ = ""; + file_ = ""; + code_ = ""; + schema_ = ""; + attributeName_ = ""; + format_ = ""; + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder(int index) { - if (infoBuilder_ == null) { - return info_.get(index); - } else { - return infoBuilder_.getMessageOrBuilder(index); - } - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ValidateCode_Args(); + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public java.util.List getInfoOrBuilderList() { - if (infoBuilder_ != null) { - return infoBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(info_); - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder() { - return getInfoFieldBuilder().addBuilder(com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ValidateCode_Args.class, com.kcl.api.Spec.ValidateCode_Args.Builder.class); + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder(int index) { - return getInfoFieldBuilder().addBuilder(index, com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()); - } + public static final int DATAFILE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object datafile_ = ""; + /** + * string datafile = 1; + * @return The datafile. + */ + @java.lang.Override + public java.lang.String getDatafile() { + java.lang.Object ref = datafile_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datafile_ = s; + return s; + } + } + /** + * string datafile = 1; + * @return The bytes for datafile. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDatafileBytes() { + java.lang.Object ref = datafile_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + datafile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public java.util.List getInfoBuilderList() { - return getInfoFieldBuilder().getBuilderList(); - } + public static final int DATA_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object data_ = ""; + /** + * string data = 2; + * @return The data. + */ + @java.lang.Override + public java.lang.String getData() { + java.lang.Object ref = data_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + data_ = s; + return s; + } + } + /** + * string data = 2; + * @return The bytes for data. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDataBytes() { + java.lang.Object ref = data_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + data_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private com.google.protobuf.RepeatedFieldBuilderV3 getInfoFieldBuilder() { - if (infoBuilder_ == null) { - infoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - info_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - info_ = null; - } - return infoBuilder_; - } + public static final int FILE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object file_ = ""; + /** + * string file = 3; + * @return The file. + */ + @java.lang.Override + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } + } + /** + * string file = 3; + * @return The bytes for file. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + public static final int CODE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object code_ = ""; + /** + * string code = 4; + * @return The code. + */ + @java.lang.Override + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } + } + /** + * string code = 4; + * @return The bytes for code. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + public static final int SCHEMA_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object schema_ = ""; + /** + * string schema = 5; + * @return The schema. + */ + @java.lang.Override + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } + } + /** + * string schema = 5; + * @return The bytes for schema. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Test_Result) - } + public static final int ATTRIBUTE_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object attributeName_ = ""; + /** + * string attribute_name = 6; + * @return The attributeName. + */ + @java.lang.Override + public java.lang.String getAttributeName() { + java.lang.Object ref = attributeName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + attributeName_ = s; + return s; + } + } + /** + * string attribute_name = 6; + * @return The bytes for attributeName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAttributeNameBytes() { + java.lang.Object ref = attributeName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + attributeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Test_Result) - private static final com.kcl.api.Spec.Test_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Test_Result(); - } + public static final int FORMAT_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object format_ = ""; + /** + * string format = 7; + * @return The format. + */ + @java.lang.Override + public java.lang.String getFormat() { + java.lang.Object ref = format_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + format_ = s; + return s; + } + } + /** + * string format = 7; + * @return The bytes for format. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFormatBytes() { + java.lang.Object ref = format_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + format_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Test_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Test_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + memoizedIsInitialized = 1; + return true; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datafile_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datafile_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(data_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, data_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, file_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, code_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, schema_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, attributeName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, format_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datafile_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, datafile_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(data_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, data_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, file_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, code_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, schema_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, attributeName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, format_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public com.kcl.api.Spec.Test_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TestCaseInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.TestCaseInfo) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Test case name
-         * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - *
-         * Test case name
-         * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * string error = 2; - * - * @return The error. - */ - java.lang.String getError(); - - /** - * string error = 2; - * - * @return The bytes for error. - */ - com.google.protobuf.ByteString getErrorBytes(); - - /** - *
-         * Number of whole microseconds in the duration.
-         * 
- * - * uint64 duration = 3; - * - * @return The duration. - */ - long getDuration(); - - /** - * string log_message = 4; - * - * @return The logMessage. - */ - java.lang.String getLogMessage(); - - /** - * string log_message = 4; - * - * @return The bytes for logMessage. - */ - com.google.protobuf.ByteString getLogMessageBytes(); + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ValidateCode_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.ValidateCode_Args other = (com.kcl.api.Spec.ValidateCode_Args) obj; + + if (!getDatafile() + .equals(other.getDatafile())) return false; + if (!getData() + .equals(other.getData())) return false; + if (!getFile() + .equals(other.getFile())) return false; + if (!getCode() + .equals(other.getCode())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; + if (!getAttributeName() + .equals(other.getAttributeName())) return false; + if (!getFormat() + .equals(other.getFormat())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; } - /** - * Protobuf type {@code com.kcl.api.TestCaseInfo} - */ - public static final class TestCaseInfo extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.TestCaseInfo) - TestCaseInfoOrBuilder { - private static final long serialVersionUID = 0L; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATAFILE_FIELD_NUMBER; + hash = (53 * hash) + getDatafile().hashCode(); + hash = (37 * hash) + DATA_FIELD_NUMBER; + hash = (53 * hash) + getData().hashCode(); + hash = (37 * hash) + FILE_FIELD_NUMBER; + hash = (53 * hash) + getFile().hashCode(); + hash = (37 * hash) + CODE_FIELD_NUMBER; + hash = (53 * hash) + getCode().hashCode(); + hash = (37 * hash) + SCHEMA_FIELD_NUMBER; + hash = (53 * hash) + getSchema().hashCode(); + hash = (37 * hash) + ATTRIBUTE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getAttributeName().hashCode(); + hash = (37 * hash) + FORMAT_FIELD_NUMBER; + hash = (53 * hash) + getFormat().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - // Use TestCaseInfo.newBuilder() to construct. - private TestCaseInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCode_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCode_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private TestCaseInfo() { - name_ = ""; - error_ = ""; - logMessage_ = ""; - } + public static com.kcl.api.Spec.ValidateCode_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TestCaseInfo(); - } + public static com.kcl.api.Spec.ValidateCode_Args 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 com.kcl.api.Spec.ValidateCode_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ValidateCode_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.TestCaseInfo.class, - com.kcl.api.Spec.TestCaseInfo.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - *
-         * Test case name
-         * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ValidateCode_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCode_Args) + com.kcl.api.Spec.ValidateCode_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ValidateCode_Args.class, com.kcl.api.Spec.ValidateCode_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.ValidateCode_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + datafile_ = ""; + data_ = ""; + file_ = ""; + code_ = ""; + schema_ = ""; + attributeName_ = ""; + format_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCode_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.ValidateCode_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCode_Args build() { + com.kcl.api.Spec.ValidateCode_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCode_Args buildPartial() { + com.kcl.api.Spec.ValidateCode_Args result = new com.kcl.api.Spec.ValidateCode_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ValidateCode_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.datafile_ = datafile_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.data_ = data_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.file_ = file_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.code_ = code_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.schema_ = schema_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.attributeName_ = attributeName_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.format_ = format_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ValidateCode_Args) { + return mergeFrom((com.kcl.api.Spec.ValidateCode_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ValidateCode_Args other) { + if (other == com.kcl.api.Spec.ValidateCode_Args.getDefaultInstance()) return this; + if (!other.getDatafile().isEmpty()) { + datafile_ = other.datafile_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getData().isEmpty()) { + data_ = other.data_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFile().isEmpty()) { + file_ = other.file_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getCode().isEmpty()) { + code_ = other.code_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getSchema().isEmpty()) { + schema_ = other.schema_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getAttributeName().isEmpty()) { + attributeName_ = other.attributeName_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getFormat().isEmpty()) { + format_ = other.format_; + bitField0_ |= 0x00000040; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + datafile_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + data_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + file_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + code_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + schema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + attributeName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + format_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object datafile_ = ""; + /** + * string datafile = 1; + * @return The datafile. + */ + public java.lang.String getDatafile() { + java.lang.Object ref = datafile_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datafile_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string datafile = 1; + * @return The bytes for datafile. + */ + public com.google.protobuf.ByteString + getDatafileBytes() { + java.lang.Object ref = datafile_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + datafile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string datafile = 1; + * @param value The datafile to set. + * @return This builder for chaining. + */ + public Builder setDatafile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + datafile_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string datafile = 1; + * @return This builder for chaining. + */ + public Builder clearDatafile() { + datafile_ = getDefaultInstance().getDatafile(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string datafile = 1; + * @param value The bytes for datafile to set. + * @return This builder for chaining. + */ + public Builder setDatafileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + datafile_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object data_ = ""; + /** + * string data = 2; + * @return The data. + */ + public java.lang.String getData() { + java.lang.Object ref = data_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + data_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string data = 2; + * @return The bytes for data. + */ + public com.google.protobuf.ByteString + getDataBytes() { + java.lang.Object ref = data_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + data_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string data = 2; + * @param value The data to set. + * @return This builder for chaining. + */ + public Builder setData( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + data_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string data = 2; + * @return This builder for chaining. + */ + public Builder clearData() { + data_ = getDefaultInstance().getData(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string data = 2; + * @param value The bytes for data to set. + * @return This builder for chaining. + */ + public Builder setDataBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + data_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object file_ = ""; + /** + * string file = 3; + * @return The file. + */ + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string file = 3; + * @return The bytes for file. + */ + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string file = 3; + * @param value The file to set. + * @return This builder for chaining. + */ + public Builder setFile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + file_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string file = 3; + * @return This builder for chaining. + */ + public Builder clearFile() { + file_ = getDefaultInstance().getFile(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string file = 3; + * @param value The bytes for file to set. + * @return This builder for chaining. + */ + public Builder setFileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + file_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object code_ = ""; + /** + * string code = 4; + * @return The code. + */ + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string code = 4; + * @return The bytes for code. + */ + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string code = 4; + * @param value The code to set. + * @return This builder for chaining. + */ + public Builder setCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + code_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string code = 4; + * @return This builder for chaining. + */ + public Builder clearCode() { + code_ = getDefaultInstance().getCode(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string code = 4; + * @param value The bytes for code to set. + * @return This builder for chaining. + */ + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + code_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object schema_ = ""; + /** + * string schema = 5; + * @return The schema. + */ + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string schema = 5; + * @return The bytes for schema. + */ + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string schema = 5; + * @param value The schema to set. + * @return This builder for chaining. + */ + public Builder setSchema( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + schema_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string schema = 5; + * @return This builder for chaining. + */ + public Builder clearSchema() { + schema_ = getDefaultInstance().getSchema(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string schema = 5; + * @param value The bytes for schema to set. + * @return This builder for chaining. + */ + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + schema_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object attributeName_ = ""; + /** + * string attribute_name = 6; + * @return The attributeName. + */ + public java.lang.String getAttributeName() { + java.lang.Object ref = attributeName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + attributeName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string attribute_name = 6; + * @return The bytes for attributeName. + */ + public com.google.protobuf.ByteString + getAttributeNameBytes() { + java.lang.Object ref = attributeName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + attributeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string attribute_name = 6; + * @param value The attributeName to set. + * @return This builder for chaining. + */ + public Builder setAttributeName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + attributeName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string attribute_name = 6; + * @return This builder for chaining. + */ + public Builder clearAttributeName() { + attributeName_ = getDefaultInstance().getAttributeName(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string attribute_name = 6; + * @param value The bytes for attributeName to set. + * @return This builder for chaining. + */ + public Builder setAttributeNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + attributeName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object format_ = ""; + /** + * string format = 7; + * @return The format. + */ + public java.lang.String getFormat() { + java.lang.Object ref = format_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + format_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string format = 7; + * @return The bytes for format. + */ + public com.google.protobuf.ByteString + getFormatBytes() { + java.lang.Object ref = format_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + format_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string format = 7; + * @param value The format to set. + * @return This builder for chaining. + */ + public Builder setFormat( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + format_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * string format = 7; + * @return This builder for chaining. + */ + public Builder clearFormat() { + format_ = getDefaultInstance().getFormat(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * string format = 7; + * @param value The bytes for format to set. + * @return This builder for chaining. + */ + public Builder setFormatBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + format_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCode_Args) + } - /** - *
-         * Test case name
-         * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCode_Args) + private static final com.kcl.api.Spec.ValidateCode_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCode_Args(); + } - public static final int ERROR_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object error_ = ""; + public static com.kcl.api.Spec.ValidateCode_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * string error = 2; - * - * @return The error. - */ - @java.lang.Override - public java.lang.String getError() { - java.lang.Object ref = error_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - error_ = s; - return s; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateCode_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * string error = 2; - * - * @return The bytes for error. - */ - @java.lang.Override - public com.google.protobuf.ByteString getErrorBytes() { - java.lang.Object ref = error_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - error_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static final int DURATION_FIELD_NUMBER = 3; - private long duration_ = 0L; + @java.lang.Override + public com.kcl.api.Spec.ValidateCode_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-         * Number of whole microseconds in the duration.
-         * 
- * - * uint64 duration = 3; - * - * @return The duration. - */ - @java.lang.Override - public long getDuration() { - return duration_; - } + } - public static final int LOG_MESSAGE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object logMessage_ = ""; + public interface ValidateCode_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCode_Result) + com.google.protobuf.MessageOrBuilder { - /** - * string log_message = 4; - * - * @return The logMessage. - */ - @java.lang.Override - public java.lang.String getLogMessage() { - java.lang.Object ref = logMessage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - logMessage_ = s; - return s; - } - } + /** + * bool success = 1; + * @return The success. + */ + boolean getSuccess(); - /** - * string log_message = 4; - * - * @return The bytes for logMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString getLogMessageBytes() { - java.lang.Object ref = logMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - logMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * string err_message = 2; + * @return The errMessage. + */ + java.lang.String getErrMessage(); + /** + * string err_message = 2; + * @return The bytes for errMessage. + */ + com.google.protobuf.ByteString + getErrMessageBytes(); + } + /** + * Protobuf type {@code com.kcl.api.ValidateCode_Result} + */ + public static final class ValidateCode_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCode_Result) + ValidateCode_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use ValidateCode_Result.newBuilder() to construct. + private ValidateCode_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ValidateCode_Result() { + errMessage_ = ""; + } - private byte memoizedIsInitialized = -1; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ValidateCode_Result(); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ValidateCode_Result.class, com.kcl.api.Spec.ValidateCode_Result.Builder.class); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, error_); - } - if (duration_ != 0L) { - output.writeUInt64(3, duration_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logMessage_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, logMessage_); - } - getUnknownFields().writeTo(output); - } + public static final int SUCCESS_FIELD_NUMBER = 1; + private boolean success_ = false; + /** + * bool success = 1; + * @return The success. + */ + @java.lang.Override + public boolean getSuccess() { + return success_; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, error_); - } - if (duration_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3, duration_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logMessage_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, logMessage_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + public static final int ERR_MESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object errMessage_ = ""; + /** + * string err_message = 2; + * @return The errMessage. + */ + @java.lang.Override + public java.lang.String getErrMessage() { + java.lang.Object ref = errMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errMessage_ = s; + return s; + } + } + /** + * string err_message = 2; + * @return The bytes for errMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrMessageBytes() { + java.lang.Object ref = errMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.TestCaseInfo)) { - return super.equals(obj); - } - com.kcl.api.Spec.TestCaseInfo other = (com.kcl.api.Spec.TestCaseInfo) obj; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - if (!getName().equals(other.getName())) - return false; - if (!getError().equals(other.getError())) - return false; - if (getDuration() != other.getDuration()) - return false; - if (!getLogMessage().equals(other.getLogMessage())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - hash = (37 * hash) + DURATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDuration()); - hash = (37 * hash) + LOG_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getLogMessage().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (success_ != false) { + output.writeBool(1, success_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errMessage_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errMessage_); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (success_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, success_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errMessage_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errMessage_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ValidateCode_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.ValidateCode_Result other = (com.kcl.api.Spec.ValidateCode_Result) obj; + + if (getSuccess() + != other.getSuccess()) return false; + if (!getErrMessage() + .equals(other.getErrMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuccess()); + hash = (37 * hash) + ERR_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCode_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCode_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ValidateCode_Result 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 com.kcl.api.Spec.TestCaseInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.ValidateCode_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.ValidateCode_Result 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 com.kcl.api.Spec.ValidateCode_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ValidateCode_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ValidateCode_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCode_Result) + com.kcl.api.Spec.ValidateCode_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ValidateCode_Result.class, com.kcl.api.Spec.ValidateCode_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.ValidateCode_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + success_ = false; + errMessage_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCode_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.ValidateCode_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCode_Result build() { + com.kcl.api.Spec.ValidateCode_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCode_Result buildPartial() { + com.kcl.api.Spec.ValidateCode_Result result = new com.kcl.api.Spec.ValidateCode_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ValidateCode_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.success_ = success_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.errMessage_ = errMessage_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ValidateCode_Result) { + return mergeFrom((com.kcl.api.Spec.ValidateCode_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ValidateCode_Result other) { + if (other == com.kcl.api.Spec.ValidateCode_Result.getDefaultInstance()) return this; + if (other.getSuccess() != false) { + setSuccess(other.getSuccess()); + } + if (!other.getErrMessage().isEmpty()) { + errMessage_ = other.errMessage_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + success_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + errMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private boolean success_ ; + /** + * bool success = 1; + * @return The success. + */ + @java.lang.Override + public boolean getSuccess() { + return success_; + } + /** + * bool success = 1; + * @param value The success to set. + * @return This builder for chaining. + */ + public Builder setSuccess(boolean value) { + + success_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * bool success = 1; + * @return This builder for chaining. + */ + public Builder clearSuccess() { + bitField0_ = (bitField0_ & ~0x00000001); + success_ = false; + onChanged(); + return this; + } + + private java.lang.Object errMessage_ = ""; + /** + * string err_message = 2; + * @return The errMessage. + */ + public java.lang.String getErrMessage() { + java.lang.Object ref = errMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string err_message = 2; + * @return The bytes for errMessage. + */ + public com.google.protobuf.ByteString + getErrMessageBytes() { + java.lang.Object ref = errMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string err_message = 2; + * @param value The errMessage to set. + * @return This builder for chaining. + */ + public Builder setErrMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + errMessage_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string err_message = 2; + * @return This builder for chaining. + */ + public Builder clearErrMessage() { + errMessage_ = getDefaultInstance().getErrMessage(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string err_message = 2; + * @param value The bytes for errMessage to set. + * @return This builder for chaining. + */ + public Builder setErrMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + errMessage_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCode_Result) + } - public static com.kcl.api.Spec.TestCaseInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCode_Result) + private static final com.kcl.api.Spec.ValidateCode_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCode_Result(); + } - public static com.kcl.api.Spec.TestCaseInfo 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 com.kcl.api.Spec.ValidateCode_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateCode_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public com.kcl.api.Spec.ValidateCode_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + } - public static Builder newBuilder(com.kcl.api.Spec.TestCaseInfo prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public interface PositionOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Position) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + /** + * int64 line = 1; + * @return The line. + */ + long getLine(); - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.TestCaseInfo} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.TestCaseInfo) - com.kcl.api.Spec.TestCaseInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; - } + /** + * int64 column = 2; + * @return The column. + */ + long getColumn(); - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.TestCaseInfo.class, - com.kcl.api.Spec.TestCaseInfo.Builder.class); - } + /** + * string filename = 3; + * @return The filename. + */ + java.lang.String getFilename(); + /** + * string filename = 3; + * @return The bytes for filename. + */ + com.google.protobuf.ByteString + getFilenameBytes(); + } + /** + * Protobuf type {@code com.kcl.api.Position} + */ + public static final class Position extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Position) + PositionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Position.newBuilder() to construct. + private Position(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Position() { + filename_ = ""; + } - // Construct using com.kcl.api.Spec.TestCaseInfo.newBuilder() - private Builder() { + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Position(); + } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Position_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Position.class, com.kcl.api.Spec.Position.Builder.class); + } - } + public static final int LINE_FIELD_NUMBER = 1; + private long line_ = 0L; + /** + * int64 line = 1; + * @return The line. + */ + @java.lang.Override + public long getLine() { + return line_; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - error_ = ""; - duration_ = 0L; - logMessage_ = ""; - return this; - } + public static final int COLUMN_FIELD_NUMBER = 2; + private long column_ = 0L; + /** + * int64 column = 2; + * @return The column. + */ + @java.lang.Override + public long getColumn() { + return column_; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; - } + public static final int FILENAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object filename_ = ""; + /** + * string filename = 3; + * @return The filename. + */ + @java.lang.Override + public java.lang.String getFilename() { + java.lang.Object ref = filename_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filename_ = s; + return s; + } + } + /** + * string filename = 3; + * @return The bytes for filename. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFilenameBytes() { + java.lang.Object ref = filename_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filename_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfo getDefaultInstanceForType() { - return com.kcl.api.Spec.TestCaseInfo.getDefaultInstance(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfo build() { - com.kcl.api.Spec.TestCaseInfo result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfo buildPartial() { - com.kcl.api.Spec.TestCaseInfo result = new com.kcl.api.Spec.TestCaseInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (line_ != 0L) { + output.writeInt64(1, line_); + } + if (column_ != 0L) { + output.writeInt64(2, column_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filename_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filename_); + } + getUnknownFields().writeTo(output); + } - private void buildPartial0(com.kcl.api.Spec.TestCaseInfo result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.error_ = error_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.duration_ = duration_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.logMessage_ = logMessage_; - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (line_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, line_); + } + if (column_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, column_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filename_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filename_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Position)) { + return super.equals(obj); + } + com.kcl.api.Spec.Position other = (com.kcl.api.Spec.Position) obj; + + if (getLine() + != other.getLine()) return false; + if (getColumn() + != other.getColumn()) return false; + if (!getFilename() + .equals(other.getFilename())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LINE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLine()); + hash = (37 * hash) + COLUMN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getColumn()); + hash = (37 * hash) + FILENAME_FIELD_NUMBER; + hash = (53 * hash) + getFilename().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + public static com.kcl.api.Spec.Position parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Position parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Position parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Position parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Position parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Position parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Position parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Position parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + public static com.kcl.api.Spec.Position parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + public static com.kcl.api.Spec.Position 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 com.kcl.api.Spec.Position parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Position parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Position prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.TestCaseInfo) { - return mergeFrom((com.kcl.api.Spec.TestCaseInfo) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Position} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Position) + com.kcl.api.Spec.PositionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Position_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Position.class, com.kcl.api.Spec.Position.Builder.class); + } + + // Construct using com.kcl.api.Spec.Position.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + line_ = 0L; + column_ = 0L; + filename_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Position getDefaultInstanceForType() { + return com.kcl.api.Spec.Position.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Position build() { + com.kcl.api.Spec.Position result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Position buildPartial() { + com.kcl.api.Spec.Position result = new com.kcl.api.Spec.Position(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Position result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.line_ = line_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.column_ = column_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.filename_ = filename_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Position) { + return mergeFrom((com.kcl.api.Spec.Position)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Position other) { + if (other == com.kcl.api.Spec.Position.getDefaultInstance()) return this; + if (other.getLine() != 0L) { + setLine(other.getLine()); + } + if (other.getColumn() != 0L) { + setColumn(other.getColumn()); + } + if (!other.getFilename().isEmpty()) { + filename_ = other.filename_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + line_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + column_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + filename_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long line_ ; + /** + * int64 line = 1; + * @return The line. + */ + @java.lang.Override + public long getLine() { + return line_; + } + /** + * int64 line = 1; + * @param value The line to set. + * @return This builder for chaining. + */ + public Builder setLine(long value) { + + line_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int64 line = 1; + * @return This builder for chaining. + */ + public Builder clearLine() { + bitField0_ = (bitField0_ & ~0x00000001); + line_ = 0L; + onChanged(); + return this; + } + + private long column_ ; + /** + * int64 column = 2; + * @return The column. + */ + @java.lang.Override + public long getColumn() { + return column_; + } + /** + * int64 column = 2; + * @param value The column to set. + * @return This builder for chaining. + */ + public Builder setColumn(long value) { + + column_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int64 column = 2; + * @return This builder for chaining. + */ + public Builder clearColumn() { + bitField0_ = (bitField0_ & ~0x00000002); + column_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object filename_ = ""; + /** + * string filename = 3; + * @return The filename. + */ + public java.lang.String getFilename() { + java.lang.Object ref = filename_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filename_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string filename = 3; + * @return The bytes for filename. + */ + public com.google.protobuf.ByteString + getFilenameBytes() { + java.lang.Object ref = filename_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filename_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string filename = 3; + * @param value The filename to set. + * @return This builder for chaining. + */ + public Builder setFilename( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + filename_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string filename = 3; + * @return This builder for chaining. + */ + public Builder clearFilename() { + filename_ = getDefaultInstance().getFilename(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string filename = 3; + * @param value The bytes for filename to set. + * @return This builder for chaining. + */ + public Builder setFilenameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + filename_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Position) + } - public Builder mergeFrom(com.kcl.api.Spec.TestCaseInfo other) { - if (other == com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getError().isEmpty()) { - error_ = other.error_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (other.getDuration() != 0L) { - setDuration(other.getDuration()); - } - if (!other.getLogMessage().isEmpty()) { - logMessage_ = other.logMessage_; - bitField0_ |= 0x00000008; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Position) + private static final com.kcl.api.Spec.Position DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Position(); + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static com.kcl.api.Spec.Position getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - error_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - duration_ = input.readUInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - logMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Position parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - *
-             * Test case name
-             * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * Test case name
-             * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public com.kcl.api.Spec.Position getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Test case name
-             * 
- * - * string name = 1; - * - * @param value - * The name to set. - * - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + } - /** - *
-             * Test case name
-             * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + public interface ListDepFiles_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFiles_Args) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * Test case name
-             * 
- * - * string name = 1; - * - * @param value - * The bytes for name to set. - * - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + * string work_dir = 1; + * @return The workDir. + */ + java.lang.String getWorkDir(); + /** + * string work_dir = 1; + * @return The bytes for workDir. + */ + com.google.protobuf.ByteString + getWorkDirBytes(); - private java.lang.Object error_ = ""; - - /** - * string error = 2; - * - * @return The error. - */ - public java.lang.String getError() { - java.lang.Object ref = error_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - error_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + /** + * bool use_abs_path = 2; + * @return The useAbsPath. + */ + boolean getUseAbsPath(); - /** - * string error = 2; - * - * @return The bytes for error. - */ - public com.google.protobuf.ByteString getErrorBytes() { - java.lang.Object ref = error_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - error_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * bool include_all = 3; + * @return The includeAll. + */ + boolean getIncludeAll(); - /** - * string error = 2; - * - * @param value - * The error to set. - * - * @return This builder for chaining. - */ - public Builder setError(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - error_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + * bool use_fast_parser = 4; + * @return The useFastParser. + */ + boolean getUseFastParser(); + } + /** + * Protobuf type {@code com.kcl.api.ListDepFiles_Args} + */ + public static final class ListDepFiles_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFiles_Args) + ListDepFiles_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListDepFiles_Args.newBuilder() to construct. + private ListDepFiles_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListDepFiles_Args() { + workDir_ = ""; + } - /** - * string error = 2; - * - * @return This builder for chaining. - */ - public Builder clearError() { - error_ = getDefaultInstance().getError(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListDepFiles_Args(); + } - /** - * string error = 2; - * - * @param value - * The bytes for error to set. - * - * @return This builder for chaining. - */ - public Builder setErrorBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - error_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; + } - private long duration_; - - /** - *
-             * Number of whole microseconds in the duration.
-             * 
- * - * uint64 duration = 3; - * - * @return The duration. - */ - @java.lang.Override - public long getDuration() { - return duration_; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListDepFiles_Args.class, com.kcl.api.Spec.ListDepFiles_Args.Builder.class); + } - /** - *
-             * Number of whole microseconds in the duration.
-             * 
- * - * uint64 duration = 3; - * - * @param value - * The duration to set. - * - * @return This builder for chaining. - */ - public Builder setDuration(long value) { - - duration_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public static final int WORK_DIR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object workDir_ = ""; + /** + * string work_dir = 1; + * @return The workDir. + */ + @java.lang.Override + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } + } + /** + * string work_dir = 1; + * @return The bytes for workDir. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Number of whole microseconds in the duration.
-             * 
- * - * uint64 duration = 3; - * - * @return This builder for chaining. - */ - public Builder clearDuration() { - bitField0_ = (bitField0_ & ~0x00000004); - duration_ = 0L; - onChanged(); - return this; - } + public static final int USE_ABS_PATH_FIELD_NUMBER = 2; + private boolean useAbsPath_ = false; + /** + * bool use_abs_path = 2; + * @return The useAbsPath. + */ + @java.lang.Override + public boolean getUseAbsPath() { + return useAbsPath_; + } - private java.lang.Object logMessage_ = ""; - - /** - * string log_message = 4; - * - * @return The logMessage. - */ - public java.lang.String getLogMessage() { - java.lang.Object ref = logMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - logMessage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static final int INCLUDE_ALL_FIELD_NUMBER = 3; + private boolean includeAll_ = false; + /** + * bool include_all = 3; + * @return The includeAll. + */ + @java.lang.Override + public boolean getIncludeAll() { + return includeAll_; + } - /** - * string log_message = 4; - * - * @return The bytes for logMessage. - */ - public com.google.protobuf.ByteString getLogMessageBytes() { - java.lang.Object ref = logMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - logMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int USE_FAST_PARSER_FIELD_NUMBER = 4; + private boolean useFastParser_ = false; + /** + * bool use_fast_parser = 4; + * @return The useFastParser. + */ + @java.lang.Override + public boolean getUseFastParser() { + return useFastParser_; + } - /** - * string log_message = 4; - * - * @param value - * The logMessage to set. - * - * @return This builder for chaining. - */ - public Builder setLogMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - logMessage_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - * string log_message = 4; - * - * @return This builder for chaining. - */ - public Builder clearLogMessage() { - logMessage_ = getDefaultInstance().getLogMessage(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } + memoizedIsInitialized = 1; + return true; + } - /** - * string log_message = 4; - * - * @param value - * The bytes for logMessage to set. - * - * @return This builder for chaining. - */ - public Builder setLogMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - logMessage_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workDir_); + } + if (useAbsPath_ != false) { + output.writeBool(2, useAbsPath_); + } + if (includeAll_ != false) { + output.writeBool(3, includeAll_); + } + if (useFastParser_ != false) { + output.writeBool(4, useFastParser_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workDir_); + } + if (useAbsPath_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useAbsPath_); + } + if (includeAll_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, includeAll_); + } + if (useFastParser_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, useFastParser_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListDepFiles_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListDepFiles_Args other = (com.kcl.api.Spec.ListDepFiles_Args) obj; + + if (!getWorkDir() + .equals(other.getWorkDir())) return false; + if (getUseAbsPath() + != other.getUseAbsPath()) return false; + if (getIncludeAll() + != other.getIncludeAll()) return false; + if (getUseFastParser() + != other.getUseFastParser()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.TestCaseInfo) - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; + hash = (53 * hash) + getWorkDir().hashCode(); + hash = (37 * hash) + USE_ABS_PATH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseAbsPath()); + hash = (37 * hash) + INCLUDE_ALL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeAll()); + hash = (37 * hash) + USE_FAST_PARSER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseFastParser()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.TestCaseInfo) - private static final com.kcl.api.Spec.TestCaseInfo DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.TestCaseInfo(); - } + public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListDepFiles_Args 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 com.kcl.api.Spec.TestCaseInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static com.kcl.api.Spec.ListDepFiles_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TestCaseInfo parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static com.kcl.api.Spec.ListDepFiles_Args 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 com.kcl.api.Spec.ListDepFiles_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListDepFiles_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ListDepFiles_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFiles_Args) + com.kcl.api.Spec.ListDepFiles_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListDepFiles_Args.class, com.kcl.api.Spec.ListDepFiles_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListDepFiles_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + workDir_ = ""; + useAbsPath_ = false; + includeAll_ = false; + useFastParser_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFiles_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.ListDepFiles_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFiles_Args build() { + com.kcl.api.Spec.ListDepFiles_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFiles_Args buildPartial() { + com.kcl.api.Spec.ListDepFiles_Args result = new com.kcl.api.Spec.ListDepFiles_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ListDepFiles_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.workDir_ = workDir_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.useAbsPath_ = useAbsPath_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.includeAll_ = includeAll_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.useFastParser_ = useFastParser_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListDepFiles_Args) { + return mergeFrom((com.kcl.api.Spec.ListDepFiles_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListDepFiles_Args other) { + if (other == com.kcl.api.Spec.ListDepFiles_Args.getDefaultInstance()) return this; + if (!other.getWorkDir().isEmpty()) { + workDir_ = other.workDir_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getUseAbsPath() != false) { + setUseAbsPath(other.getUseAbsPath()); + } + if (other.getIncludeAll() != false) { + setIncludeAll(other.getIncludeAll()); + } + if (other.getUseFastParser() != false) { + setUseFastParser(other.getUseFastParser()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + workDir_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + useAbsPath_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + includeAll_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + useFastParser_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object workDir_ = ""; + /** + * string work_dir = 1; + * @return The workDir. + */ + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string work_dir = 1; + * @return The bytes for workDir. + */ + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string work_dir = 1; + * @param value The workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDir( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string work_dir = 1; + * @return This builder for chaining. + */ + public Builder clearWorkDir() { + workDir_ = getDefaultInstance().getWorkDir(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string work_dir = 1; + * @param value The bytes for workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDirBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean useAbsPath_ ; + /** + * bool use_abs_path = 2; + * @return The useAbsPath. + */ + @java.lang.Override + public boolean getUseAbsPath() { + return useAbsPath_; + } + /** + * bool use_abs_path = 2; + * @param value The useAbsPath to set. + * @return This builder for chaining. + */ + public Builder setUseAbsPath(boolean value) { + + useAbsPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * bool use_abs_path = 2; + * @return This builder for chaining. + */ + public Builder clearUseAbsPath() { + bitField0_ = (bitField0_ & ~0x00000002); + useAbsPath_ = false; + onChanged(); + return this; + } + + private boolean includeAll_ ; + /** + * bool include_all = 3; + * @return The includeAll. + */ + @java.lang.Override + public boolean getIncludeAll() { + return includeAll_; + } + /** + * bool include_all = 3; + * @param value The includeAll to set. + * @return This builder for chaining. + */ + public Builder setIncludeAll(boolean value) { + + includeAll_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * bool include_all = 3; + * @return This builder for chaining. + */ + public Builder clearIncludeAll() { + bitField0_ = (bitField0_ & ~0x00000004); + includeAll_ = false; + onChanged(); + return this; + } + + private boolean useFastParser_ ; + /** + * bool use_fast_parser = 4; + * @return The useFastParser. + */ + @java.lang.Override + public boolean getUseFastParser() { + return useFastParser_; + } + /** + * bool use_fast_parser = 4; + * @param value The useFastParser to set. + * @return This builder for chaining. + */ + public Builder setUseFastParser(boolean value) { + + useFastParser_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * bool use_fast_parser = 4; + * @return This builder for chaining. + */ + public Builder clearUseFastParser() { + bitField0_ = (bitField0_ & ~0x00000008); + useFastParser_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFiles_Args) + } - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfo getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface KclTypeOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.KclType) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * schema, dict, list, str, int, float, bool, any, union, number_multiplier
-         * 
- * - * string type = 1; - * - * @return The type. - */ - java.lang.String getType(); - - /** - *
-         * schema, dict, list, str, int, float, bool, any, union, number_multiplier
-         * 
- * - * string type = 1; - * - * @return The bytes for type. - */ - com.google.protobuf.ByteString getTypeBytes(); - - /** - *
-         * union types
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - java.util.List getUnionTypesList(); - - /** - *
-         * union types
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - com.kcl.api.Spec.KclType getUnionTypes(int index); - - /** - *
-         * union types
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - int getUnionTypesCount(); - - /** - *
-         * union types
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - java.util.List getUnionTypesOrBuilderList(); - - /** - *
-         * union types
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder(int index); - - /** - *
-         * default value
-         * 
- * - * string default = 3; - * - * @return The default. - */ - java.lang.String getDefault(); - - /** - *
-         * default value
-         * 
- * - * string default = 3; - * - * @return The bytes for default. - */ - com.google.protobuf.ByteString getDefaultBytes(); - - /** - *
-         * schema name
-         * 
- * - * string schema_name = 4; - * - * @return The schemaName. - */ - java.lang.String getSchemaName(); - - /** - *
-         * schema name
-         * 
- * - * string schema_name = 4; - * - * @return The bytes for schemaName. - */ - com.google.protobuf.ByteString getSchemaNameBytes(); - - /** - *
-         * schema doc
-         * 
- * - * string schema_doc = 5; - * - * @return The schemaDoc. - */ - java.lang.String getSchemaDoc(); - - /** - *
-         * schema doc
-         * 
- * - * string schema_doc = 5; - * - * @return The bytes for schemaDoc. - */ - com.google.protobuf.ByteString getSchemaDocBytes(); - - /** - *
-         * schema properties
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - int getPropertiesCount(); - - /** - *
-         * schema properties
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - boolean containsProperties(java.lang.String key); - - /** - * Use {@link #getPropertiesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getProperties(); - - /** - *
-         * schema properties
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - java.util.Map getPropertiesMap(); - - /** - *
-         * schema properties
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - /* nullable */ - com.kcl.api.Spec.KclType getPropertiesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue); - - /** - *
-         * schema properties
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - com.kcl.api.Spec.KclType getPropertiesOrThrow(java.lang.String key); - - /** - *
-         * required schema properties, [property_name1, property_name2]
-         * 
- * - * repeated string required = 7; - * - * @return A list containing the required. - */ - java.util.List getRequiredList(); - - /** - *
-         * required schema properties, [property_name1, property_name2]
-         * 
- * - * repeated string required = 7; - * - * @return The count of required. - */ - int getRequiredCount(); - - /** - *
-         * required schema properties, [property_name1, property_name2]
-         * 
- * - * repeated string required = 7; - * - * @param index - * The index of the element to return. - * - * @return The required at the given index. - */ - java.lang.String getRequired(int index); - - /** - *
-         * required schema properties, [property_name1, property_name2]
-         * 
- * - * repeated string required = 7; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the required at the given index. - */ - com.google.protobuf.ByteString getRequiredBytes(int index); - - /** - *
-         * dict key type
-         * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return Whether the key field is set. - */ - boolean hasKey(); - - /** - *
-         * dict key type
-         * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return The key. - */ - com.kcl.api.Spec.KclType getKey(); - - /** - *
-         * dict key type
-         * 
- * - * .com.kcl.api.KclType key = 8; - */ - com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder(); - - /** - *
-         * dict/list item type
-         * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return Whether the item field is set. - */ - boolean hasItem(); - - /** - *
-         * dict/list item type
-         * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return The item. - */ - com.kcl.api.Spec.KclType getItem(); - - /** - *
-         * dict/list item type
-         * 
- * - * .com.kcl.api.KclType item = 9; - */ - com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder(); - - /** - * int32 line = 10; - * - * @return The line. - */ - int getLine(); - - /** - *
-         * schema decorators
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - java.util.List getDecoratorsList(); - - /** - *
-         * schema decorators
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - com.kcl.api.Spec.Decorator getDecorators(int index); - - /** - *
-         * schema decorators
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - int getDecoratorsCount(); - - /** - *
-         * schema decorators
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - java.util.List getDecoratorsOrBuilderList(); - - /** - *
-         * schema decorators
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder(int index); - - /** - *
-         * `filename` represents the absolute path of the file name where the attribute is located.
-         * 
- * - * string filename = 12; - * - * @return The filename. - */ - java.lang.String getFilename(); - - /** - *
-         * `filename` represents the absolute path of the file name where the attribute is located.
-         * 
- * - * string filename = 12; - * - * @return The bytes for filename. - */ - com.google.protobuf.ByteString getFilenameBytes(); - - /** - *
-         * `pkg_path` represents the path name of the package where the attribute is located.
-         * 
- * - * string pkg_path = 13; - * - * @return The pkgPath. - */ - java.lang.String getPkgPath(); - - /** - *
-         * `pkg_path` represents the path name of the package where the attribute is located.
-         * 
- * - * string pkg_path = 13; - * - * @return The bytes for pkgPath. - */ - com.google.protobuf.ByteString getPkgPathBytes(); - - /** - *
-         * `description` represents the document of the attribute.
-         * 
- * - * string description = 14; - * - * @return The description. - */ - java.lang.String getDescription(); - - /** - *
-         * `description` represents the document of the attribute.
-         * 
- * - * string description = 14; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - /** - *
-         * A map object to hold examples, the key is the example name.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - int getExamplesCount(); - - /** - *
-         * A map object to hold examples, the key is the example name.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - boolean containsExamples(java.lang.String key); - - /** - * Use {@link #getExamplesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getExamples(); - - /** - *
-         * A map object to hold examples, the key is the example name.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - java.util.Map getExamplesMap(); - - /** - *
-         * A map object to hold examples, the key is the example name.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - /* nullable */ - com.kcl.api.Spec.Example getExamplesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Example defaultValue); - - /** - *
-         * A map object to hold examples, the key is the example name.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - com.kcl.api.Spec.Example getExamplesOrThrow(java.lang.String key); - - /** - * .com.kcl.api.KclType base_schema = 16; - * - * @return Whether the baseSchema field is set. - */ - boolean hasBaseSchema(); - - /** - * .com.kcl.api.KclType base_schema = 16; - * - * @return The baseSchema. - */ - com.kcl.api.Spec.KclType getBaseSchema(); - - /** - * .com.kcl.api.KclType base_schema = 16; - */ - com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder(); + // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFiles_Args) + private static final com.kcl.api.Spec.ListDepFiles_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFiles_Args(); } - /** - * Protobuf type {@code com.kcl.api.KclType} - */ - public static final class KclType extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.KclType) - KclTypeOrBuilder { - private static final long serialVersionUID = 0L; + public static com.kcl.api.Spec.ListDepFiles_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - // Use KclType.newBuilder() to construct. - private KclType(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDepFiles_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private KclType() { - type_ = ""; - unionTypes_ = java.util.Collections.emptyList(); - default_ = ""; - schemaName_ = ""; - schemaDoc_ = ""; - required_ = com.google.protobuf.LazyStringArrayList.emptyList(); - decorators_ = java.util.Collections.emptyList(); - filename_ = ""; - pkgPath_ = ""; - description_ = ""; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new KclType(); - } + @java.lang.Override + public com.kcl.api.Spec.ListDepFiles_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; - } + } - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 6: - return internalGetProperties(); - case 15: - return internalGetExamples(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + public interface ListDepFiles_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFiles_Result) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.KclType.class, - com.kcl.api.Spec.KclType.Builder.class); - } - - private int bitField0_; - public static final int TYPE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object type_ = ""; - - /** - *
-         * schema, dict, list, str, int, float, bool, any, union, number_multiplier
-         * 
- * - * string type = 1; - * - * @return The type. - */ - @java.lang.Override - public java.lang.String getType() { - java.lang.Object ref = type_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } - } + /** + * string pkgroot = 1; + * @return The pkgroot. + */ + java.lang.String getPkgroot(); + /** + * string pkgroot = 1; + * @return The bytes for pkgroot. + */ + com.google.protobuf.ByteString + getPkgrootBytes(); - /** - *
-         * schema, dict, list, str, int, float, bool, any, union, number_multiplier
-         * 
- * - * string type = 1; - * - * @return The bytes for type. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * string pkgpath = 2; + * @return The pkgpath. + */ + java.lang.String getPkgpath(); + /** + * string pkgpath = 2; + * @return The bytes for pkgpath. + */ + com.google.protobuf.ByteString + getPkgpathBytes(); - public static final int UNION_TYPES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List unionTypes_; + /** + * repeated string files = 3; + * @return A list containing the files. + */ + java.util.List + getFilesList(); + /** + * repeated string files = 3; + * @return The count of files. + */ + int getFilesCount(); + /** + * repeated string files = 3; + * @param index The index of the element to return. + * @return The files at the given index. + */ + java.lang.String getFiles(int index); + /** + * repeated string files = 3; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + com.google.protobuf.ByteString + getFilesBytes(int index); + } + /** + * Protobuf type {@code com.kcl.api.ListDepFiles_Result} + */ + public static final class ListDepFiles_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFiles_Result) + ListDepFiles_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListDepFiles_Result.newBuilder() to construct. + private ListDepFiles_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListDepFiles_Result() { + pkgroot_ = ""; + pkgpath_ = ""; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - /** - *
-         * union types
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - @java.lang.Override - public java.util.List getUnionTypesList() { - return unionTypes_; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListDepFiles_Result(); + } - /** - *
-         * union types
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - @java.lang.Override - public java.util.List getUnionTypesOrBuilderList() { - return unionTypes_; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; + } - /** - *
-         * union types
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - @java.lang.Override - public int getUnionTypesCount() { - return unionTypes_.size(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListDepFiles_Result.class, com.kcl.api.Spec.ListDepFiles_Result.Builder.class); + } - /** - *
-         * union types
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getUnionTypes(int index) { - return unionTypes_.get(index); - } + public static final int PKGROOT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgroot_ = ""; + /** + * string pkgroot = 1; + * @return The pkgroot. + */ + @java.lang.Override + public java.lang.String getPkgroot() { + java.lang.Object ref = pkgroot_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgroot_ = s; + return s; + } + } + /** + * string pkgroot = 1; + * @return The bytes for pkgroot. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgrootBytes() { + java.lang.Object ref = pkgroot_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgroot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-         * union types
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder(int index) { - return unionTypes_.get(index); - } - - public static final int DEFAULT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object default_ = ""; - - /** - *
-         * default value
-         * 
- * - * string default = 3; - * - * @return The default. - */ - @java.lang.Override - public java.lang.String getDefault() { - java.lang.Object ref = default_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - default_ = s; - return s; - } - } + public static final int PKGPATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgpath_ = ""; + /** + * string pkgpath = 2; + * @return The pkgpath. + */ + @java.lang.Override + public java.lang.String getPkgpath() { + java.lang.Object ref = pkgpath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgpath_ = s; + return s; + } + } + /** + * string pkgpath = 2; + * @return The bytes for pkgpath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgpathBytes() { + java.lang.Object ref = pkgpath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgpath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-         * default value
-         * 
- * - * string default = 3; - * - * @return The bytes for default. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDefaultBytes() { - java.lang.Object ref = default_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - default_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int FILES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string files = 3; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + return files_; + } + /** + * repeated string files = 3; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + * repeated string files = 3; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + * repeated string files = 3; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } - public static final int SCHEMA_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object schemaName_ = ""; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-         * schema name
-         * 
- * - * string schema_name = 4; - * - * @return The schemaName. - */ - @java.lang.Override - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-         * schema name
-         * 
- * - * string schema_name = 4; - * - * @return The bytes for schemaName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgroot_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pkgroot_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgpath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pkgpath_); + } + for (int i = 0; i < files_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, files_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - public static final int SCHEMA_DOC_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private volatile java.lang.Object schemaDoc_ = ""; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgroot_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pkgroot_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgpath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pkgpath_); + } + { + int dataSize = 0; + for (int i = 0; i < files_.size(); i++) { + dataSize += computeStringSizeNoTag(files_.getRaw(i)); + } + size += dataSize; + size += 1 * getFilesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-         * schema doc
-         * 
- * - * string schema_doc = 5; - * - * @return The schemaDoc. - */ - @java.lang.Override - public java.lang.String getSchemaDoc() { - java.lang.Object ref = schemaDoc_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaDoc_ = s; - return s; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListDepFiles_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListDepFiles_Result other = (com.kcl.api.Spec.ListDepFiles_Result) obj; + + if (!getPkgroot() + .equals(other.getPkgroot())) return false; + if (!getPkgpath() + .equals(other.getPkgpath())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-         * schema doc
-         * 
- * - * string schema_doc = 5; - * - * @return The bytes for schemaDoc. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaDocBytes() { - java.lang.Object ref = schemaDoc_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schemaDoc_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PKGROOT_FIELD_NUMBER; + hash = (53 * hash) + getPkgroot().hashCode(); + hash = (37 * hash) + PKGPATH_FIELD_NUMBER; + hash = (53 * hash) + getPkgpath().hashCode(); + if (getFilesCount() > 0) { + hash = (37 * hash) + FILES_FIELD_NUMBER; + hash = (53 * hash) + getFilesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static final int PROPERTIES_FIELD_NUMBER = 6; + public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private static final class PropertiesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.KclType.getDefaultInstance()); - } + public static com.kcl.api.Spec.ListDepFiles_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @SuppressWarnings("serial") - private com.google.protobuf.MapField properties_; + public static com.kcl.api.Spec.ListDepFiles_Result 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 com.kcl.api.Spec.ListDepFiles_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private com.google.protobuf.MapField internalGetProperties() { - if (properties_ == null) { - return com.google.protobuf.MapField.emptyMapField(PropertiesDefaultEntryHolder.defaultEntry); - } - return properties_; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListDepFiles_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public int getPropertiesCount() { - return internalGetProperties().getMap().size(); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.ListDepFiles_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFiles_Result) + com.kcl.api.Spec.ListDepFiles_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListDepFiles_Result.class, com.kcl.api.Spec.ListDepFiles_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListDepFiles_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + pkgroot_ = ""; + pkgpath_ = ""; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFiles_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.ListDepFiles_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFiles_Result build() { + com.kcl.api.Spec.ListDepFiles_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFiles_Result buildPartial() { + com.kcl.api.Spec.ListDepFiles_Result result = new com.kcl.api.Spec.ListDepFiles_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ListDepFiles_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.pkgroot_ = pkgroot_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pkgpath_ = pkgpath_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + files_.makeImmutable(); + result.files_ = files_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListDepFiles_Result) { + return mergeFrom((com.kcl.api.Spec.ListDepFiles_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListDepFiles_Result other) { + if (other == com.kcl.api.Spec.ListDepFiles_Result.getDefaultInstance()) return this; + if (!other.getPkgroot().isEmpty()) { + pkgroot_ = other.pkgroot_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPkgpath().isEmpty()) { + pkgpath_ = other.pkgpath_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.files_.isEmpty()) { + if (files_.isEmpty()) { + files_ = other.files_; + bitField0_ |= 0x00000004; + } else { + ensureFilesIsMutable(); + files_.addAll(other.files_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + pkgroot_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pkgpath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilesIsMutable(); + files_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object pkgroot_ = ""; + /** + * string pkgroot = 1; + * @return The pkgroot. + */ + public java.lang.String getPkgroot() { + java.lang.Object ref = pkgroot_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgroot_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string pkgroot = 1; + * @return The bytes for pkgroot. + */ + public com.google.protobuf.ByteString + getPkgrootBytes() { + java.lang.Object ref = pkgroot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgroot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string pkgroot = 1; + * @param value The pkgroot to set. + * @return This builder for chaining. + */ + public Builder setPkgroot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pkgroot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string pkgroot = 1; + * @return This builder for chaining. + */ + public Builder clearPkgroot() { + pkgroot_ = getDefaultInstance().getPkgroot(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string pkgroot = 1; + * @param value The bytes for pkgroot to set. + * @return This builder for chaining. + */ + public Builder setPkgrootBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pkgroot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object pkgpath_ = ""; + /** + * string pkgpath = 2; + * @return The pkgpath. + */ + public java.lang.String getPkgpath() { + java.lang.Object ref = pkgpath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgpath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string pkgpath = 2; + * @return The bytes for pkgpath. + */ + public com.google.protobuf.ByteString + getPkgpathBytes() { + java.lang.Object ref = pkgpath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgpath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string pkgpath = 2; + * @param value The pkgpath to set. + * @return This builder for chaining. + */ + public Builder setPkgpath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pkgpath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string pkgpath = 2; + * @return This builder for chaining. + */ + public Builder clearPkgpath() { + pkgpath_ = getDefaultInstance().getPkgpath(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string pkgpath = 2; + * @param value The bytes for pkgpath to set. + * @return This builder for chaining. + */ + public Builder setPkgpathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pkgpath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilesIsMutable() { + if (!files_.isModifiable()) { + files_ = new com.google.protobuf.LazyStringArrayList(files_); + } + bitField0_ |= 0x00000004; + } + /** + * repeated string files = 3; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + files_.makeImmutable(); + return files_; + } + /** + * repeated string files = 3; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + * repeated string files = 3; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + * repeated string files = 3; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } + /** + * repeated string files = 3; + * @param index The index to set the value at. + * @param value The files to set. + * @return This builder for chaining. + */ + public Builder setFiles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string files = 3; + * @param value The files to add. + * @return This builder for chaining. + */ + public Builder addFiles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string files = 3; + * @param values The files to add. + * @return This builder for chaining. + */ + public Builder addAllFiles( + java.lang.Iterable values) { + ensureFilesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string files = 3; + * @return This builder for chaining. + */ + public Builder clearFiles() { + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + * repeated string files = 3; + * @param value The bytes of the files to add. + * @return This builder for chaining. + */ + public Builder addFilesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFiles_Result) + } - /** - *
-         * schema properties
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetProperties().getMap().containsKey(key); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFiles_Result) + private static final com.kcl.api.Spec.ListDepFiles_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFiles_Result(); + } - /** - * Use {@link #getPropertiesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getProperties() { - return getPropertiesMap(); - } - - /** - *
-         * schema properties
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public java.util.Map getPropertiesMap() { - return internalGetProperties().getMap(); - } + public static com.kcl.api.Spec.ListDepFiles_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-         * schema properties
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.KclType getPropertiesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDepFiles_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-         * schema properties
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int REQUIRED_FIELD_NUMBER = 7; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList required_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * required schema properties, [property_name1, property_name2]
-         * 
- * - * repeated string required = 7; - * - * @return A list containing the required. - */ - public com.google.protobuf.ProtocolStringList getRequiredList() { - return required_; - } - - /** - *
-         * required schema properties, [property_name1, property_name2]
-         * 
- * - * repeated string required = 7; - * - * @return The count of required. - */ - public int getRequiredCount() { - return required_.size(); - } - - /** - *
-         * required schema properties, [property_name1, property_name2]
-         * 
- * - * repeated string required = 7; - * - * @param index - * The index of the element to return. - * - * @return The required at the given index. - */ - public java.lang.String getRequired(int index) { - return required_.get(index); - } - - /** - *
-         * required schema properties, [property_name1, property_name2]
-         * 
- * - * repeated string required = 7; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the required at the given index. - */ - public com.google.protobuf.ByteString getRequiredBytes(int index) { - return required_.getByteString(index); - } - - public static final int KEY_FIELD_NUMBER = 8; - private com.kcl.api.Spec.KclType key_; - - /** - *
-         * dict key type
-         * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return Whether the key field is set. - */ - @java.lang.Override - public boolean hasKey() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * dict key type
-         * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return The key. - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getKey() { - return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-         * dict key type
-         * 
- * - * .com.kcl.api.KclType key = 8; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder() { - return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; - } - - public static final int ITEM_FIELD_NUMBER = 9; - private com.kcl.api.Spec.KclType item_; - - /** - *
-         * dict/list item type
-         * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return Whether the item field is set. - */ - @java.lang.Override - public boolean hasItem() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-         * dict/list item type
-         * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return The item. - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getItem() { - return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; - } + @java.lang.Override + public com.kcl.api.Spec.ListDepFiles_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-         * dict/list item type
-         * 
- * - * .com.kcl.api.KclType item = 9; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder() { - return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; - } + } - public static final int LINE_FIELD_NUMBER = 10; - private int line_ = 0; + public interface LoadSettingsFiles_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFiles_Args) + com.google.protobuf.MessageOrBuilder { - /** - * int32 line = 10; - * - * @return The line. - */ - @java.lang.Override - public int getLine() { - return line_; - } + /** + * string work_dir = 1; + * @return The workDir. + */ + java.lang.String getWorkDir(); + /** + * string work_dir = 1; + * @return The bytes for workDir. + */ + com.google.protobuf.ByteString + getWorkDirBytes(); - public static final int DECORATORS_FIELD_NUMBER = 11; - @SuppressWarnings("serial") - private java.util.List decorators_; + /** + * repeated string files = 2; + * @return A list containing the files. + */ + java.util.List + getFilesList(); + /** + * repeated string files = 2; + * @return The count of files. + */ + int getFilesCount(); + /** + * repeated string files = 2; + * @param index The index of the element to return. + * @return The files at the given index. + */ + java.lang.String getFiles(int index); + /** + * repeated string files = 2; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + com.google.protobuf.ByteString + getFilesBytes(int index); + } + /** + * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Args} + */ + public static final class LoadSettingsFiles_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFiles_Args) + LoadSettingsFiles_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use LoadSettingsFiles_Args.newBuilder() to construct. + private LoadSettingsFiles_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LoadSettingsFiles_Args() { + workDir_ = ""; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - /** - *
-         * schema decorators
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - @java.lang.Override - public java.util.List getDecoratorsList() { - return decorators_; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LoadSettingsFiles_Args(); + } - /** - *
-         * schema decorators
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - @java.lang.Override - public java.util.List getDecoratorsOrBuilderList() { - return decorators_; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; + } - /** - *
-         * schema decorators
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - @java.lang.Override - public int getDecoratorsCount() { - return decorators_.size(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadSettingsFiles_Args.class, com.kcl.api.Spec.LoadSettingsFiles_Args.Builder.class); + } - /** - *
-         * schema decorators
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - @java.lang.Override - public com.kcl.api.Spec.Decorator getDecorators(int index) { - return decorators_.get(index); - } + public static final int WORK_DIR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object workDir_ = ""; + /** + * string work_dir = 1; + * @return The workDir. + */ + @java.lang.Override + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } + } + /** + * string work_dir = 1; + * @return The bytes for workDir. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-         * schema decorators
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - @java.lang.Override - public com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder(int index) { - return decorators_.get(index); - } - - public static final int FILENAME_FIELD_NUMBER = 12; - @SuppressWarnings("serial") - private volatile java.lang.Object filename_ = ""; - - /** - *
-         * `filename` represents the absolute path of the file name where the attribute is located.
-         * 
- * - * string filename = 12; - * - * @return The filename. - */ - @java.lang.Override - public java.lang.String getFilename() { - java.lang.Object ref = filename_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filename_ = s; - return s; - } - } + public static final int FILES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string files = 2; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + return files_; + } + /** + * repeated string files = 2; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + * repeated string files = 2; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + * repeated string files = 2; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } - /** - *
-         * `filename` represents the absolute path of the file name where the attribute is located.
-         * 
- * - * string filename = 12; - * - * @return The bytes for filename. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFilenameBytes() { - java.lang.Object ref = filename_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - filename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static final int PKG_PATH_FIELD_NUMBER = 13; - @SuppressWarnings("serial") - private volatile java.lang.Object pkgPath_ = ""; + memoizedIsInitialized = 1; + return true; + } - /** - *
-         * `pkg_path` represents the path name of the package where the attribute is located.
-         * 
- * - * string pkg_path = 13; - * - * @return The pkgPath. - */ - @java.lang.Override - public java.lang.String getPkgPath() { - java.lang.Object ref = pkgPath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgPath_ = s; - return s; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workDir_); + } + for (int i = 0; i < files_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, files_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - /** - *
-         * `pkg_path` represents the path name of the package where the attribute is located.
-         * 
- * - * string pkg_path = 13; - * - * @return The bytes for pkgPath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPkgPathBytes() { - java.lang.Object ref = pkgPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pkgPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workDir_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workDir_); + } + { + int dataSize = 0; + for (int i = 0; i < files_.size(); i++) { + dataSize += computeStringSizeNoTag(files_.getRaw(i)); + } + size += dataSize; + size += 1 * getFilesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static final int DESCRIPTION_FIELD_NUMBER = 14; - @SuppressWarnings("serial") - private volatile java.lang.Object description_ = ""; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFiles_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.LoadSettingsFiles_Args other = (com.kcl.api.Spec.LoadSettingsFiles_Args) obj; + + if (!getWorkDir() + .equals(other.getWorkDir())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-         * `description` represents the document of the attribute.
-         * 
- * - * string description = 14; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; + hash = (53 * hash) + getWorkDir().hashCode(); + if (getFilesCount() > 0) { + hash = (37 * hash) + FILES_FIELD_NUMBER; + hash = (53 * hash) + getFilesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-         * `description` represents the document of the attribute.
-         * 
- * - * string description = 14; - * - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Args 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 final int EXAMPLES_FIELD_NUMBER = 15; + public static com.kcl.api.Spec.LoadSettingsFiles_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private static final class ExamplesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.Example.getDefaultInstance()); - } + public static com.kcl.api.Spec.LoadSettingsFiles_Args 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 com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFiles_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @SuppressWarnings("serial") - private com.google.protobuf.MapField examples_; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFiles_Args) + com.kcl.api.Spec.LoadSettingsFiles_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadSettingsFiles_Args.class, com.kcl.api.Spec.LoadSettingsFiles_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.LoadSettingsFiles_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + workDir_ = ""; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadSettingsFiles_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFiles_Args build() { + com.kcl.api.Spec.LoadSettingsFiles_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFiles_Args buildPartial() { + com.kcl.api.Spec.LoadSettingsFiles_Args result = new com.kcl.api.Spec.LoadSettingsFiles_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.LoadSettingsFiles_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.workDir_ = workDir_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + files_.makeImmutable(); + result.files_ = files_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LoadSettingsFiles_Args) { + return mergeFrom((com.kcl.api.Spec.LoadSettingsFiles_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFiles_Args other) { + if (other == com.kcl.api.Spec.LoadSettingsFiles_Args.getDefaultInstance()) return this; + if (!other.getWorkDir().isEmpty()) { + workDir_ = other.workDir_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.files_.isEmpty()) { + if (files_.isEmpty()) { + files_ = other.files_; + bitField0_ |= 0x00000002; + } else { + ensureFilesIsMutable(); + files_.addAll(other.files_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + workDir_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilesIsMutable(); + files_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object workDir_ = ""; + /** + * string work_dir = 1; + * @return The workDir. + */ + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string work_dir = 1; + * @return The bytes for workDir. + */ + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string work_dir = 1; + * @param value The workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDir( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string work_dir = 1; + * @return This builder for chaining. + */ + public Builder clearWorkDir() { + workDir_ = getDefaultInstance().getWorkDir(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string work_dir = 1; + * @param value The bytes for workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDirBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilesIsMutable() { + if (!files_.isModifiable()) { + files_ = new com.google.protobuf.LazyStringArrayList(files_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string files = 2; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + files_.makeImmutable(); + return files_; + } + /** + * repeated string files = 2; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + * repeated string files = 2; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + * repeated string files = 2; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } + /** + * repeated string files = 2; + * @param index The index to set the value at. + * @param value The files to set. + * @return This builder for chaining. + */ + public Builder setFiles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string files = 2; + * @param value The files to add. + * @return This builder for chaining. + */ + public Builder addFiles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string files = 2; + * @param values The files to add. + * @return This builder for chaining. + */ + public Builder addAllFiles( + java.lang.Iterable values) { + ensureFilesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string files = 2; + * @return This builder for chaining. + */ + public Builder clearFiles() { + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string files = 2; + * @param value The bytes of the files to add. + * @return This builder for chaining. + */ + public Builder addFilesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFiles_Args) + } - private com.google.protobuf.MapField internalGetExamples() { - if (examples_ == null) { - return com.google.protobuf.MapField.emptyMapField(ExamplesDefaultEntryHolder.defaultEntry); - } - return examples_; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFiles_Args) + private static final com.kcl.api.Spec.LoadSettingsFiles_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFiles_Args(); + } - public int getExamplesCount() { - return internalGetExamples().getMap().size(); - } + public static com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-         * A map object to hold examples, the key is the example name.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public boolean containsExamples(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetExamples().getMap().containsKey(key); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoadSettingsFiles_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * Use {@link #getExamplesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getExamples() { - return getExamplesMap(); - } - - /** - *
-         * A map object to hold examples, the key is the example name.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public java.util.Map getExamplesMap() { - return internalGetExamples().getMap(); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-         * A map object to hold examples, the key is the example name.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Example getExamplesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Example defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetExamples().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-         * A map object to hold examples, the key is the example name.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public com.kcl.api.Spec.Example getExamplesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetExamples().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + } - public static final int BASE_SCHEMA_FIELD_NUMBER = 16; - private com.kcl.api.Spec.KclType baseSchema_; + public interface LoadSettingsFiles_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFiles_Result) + com.google.protobuf.MessageOrBuilder { - /** - * .com.kcl.api.KclType base_schema = 16; - * - * @return Whether the baseSchema field is set. - */ - @java.lang.Override - public boolean hasBaseSchema() { - return ((bitField0_ & 0x00000004) != 0); - } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return Whether the kclCliConfigs field is set. + */ + boolean hasKclCliConfigs(); + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return The kclCliConfigs. + */ + com.kcl.api.Spec.CliConfig getKclCliConfigs(); + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder(); - /** - * .com.kcl.api.KclType base_schema = 16; - * - * @return The baseSchema. - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getBaseSchema() { - return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; - } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + java.util.List + getKclOptionsList(); + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + com.kcl.api.Spec.KeyValuePair getKclOptions(int index); + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + int getKclOptionsCount(); + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + java.util.List + getKclOptionsOrBuilderList(); + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Result} + */ + public static final class LoadSettingsFiles_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFiles_Result) + LoadSettingsFiles_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use LoadSettingsFiles_Result.newBuilder() to construct. + private LoadSettingsFiles_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LoadSettingsFiles_Result() { + kclOptions_ = java.util.Collections.emptyList(); + } - /** - * .com.kcl.api.KclType base_schema = 16; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder() { - return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LoadSettingsFiles_Result(); + } - private byte memoizedIsInitialized = -1; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadSettingsFiles_Result.class, com.kcl.api.Spec.LoadSettingsFiles_Result.Builder.class); + } - memoizedIsInitialized = 1; - return true; - } + private int bitField0_; + public static final int KCL_CLI_CONFIGS_FIELD_NUMBER = 1; + private com.kcl.api.Spec.CliConfig kclCliConfigs_; + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return Whether the kclCliConfigs field is set. + */ + @java.lang.Override + public boolean hasKclCliConfigs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return The kclCliConfigs. + */ + @java.lang.Override + public com.kcl.api.Spec.CliConfig getKclCliConfigs() { + return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; + } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder() { + return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); - } - for (int i = 0; i < unionTypes_.size(); i++) { - output.writeMessage(2, unionTypes_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(default_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, default_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, schemaName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaDoc_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, schemaDoc_); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetProperties(), - PropertiesDefaultEntryHolder.defaultEntry, 6); - for (int i = 0; i < required_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, required_.getRaw(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(8, getKey()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(9, getItem()); - } - if (line_ != 0) { - output.writeInt32(10, line_); - } - for (int i = 0; i < decorators_.size(); i++) { - output.writeMessage(11, decorators_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filename_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, filename_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgPath_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, pkgPath_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 14, description_); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetExamples(), - ExamplesDefaultEntryHolder.defaultEntry, 15); - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(16, getBaseSchema()); - } - getUnknownFields().writeTo(output); - } + public static final int KCL_OPTIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List kclOptions_; + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + @java.lang.Override + public java.util.List getKclOptionsList() { + return kclOptions_; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + @java.lang.Override + public java.util.List + getKclOptionsOrBuilderList() { + return kclOptions_; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + @java.lang.Override + public int getKclOptionsCount() { + return kclOptions_.size(); + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.KeyValuePair getKclOptions(int index) { + return kclOptions_.get(index); + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder( + int index) { + return kclOptions_.get(index); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); - } - for (int i = 0; i < unionTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, unionTypes_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(default_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, default_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, schemaName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaDoc_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, schemaDoc_); - } - for (java.util.Map.Entry entry : internalGetProperties() - .getMap().entrySet()) { - com.google.protobuf.MapEntry properties__ = PropertiesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, properties__); - } - { - int dataSize = 0; - for (int i = 0; i < required_.size(); i++) { - dataSize += computeStringSizeNoTag(required_.getRaw(i)); - } - size += dataSize; - size += 1 * getRequiredList().size(); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getKey()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getItem()); - } - if (line_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, line_); - } - for (int i = 0; i < decorators_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, decorators_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filename_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, filename_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgPath_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, pkgPath_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, description_); - } - for (java.util.Map.Entry entry : internalGetExamples().getMap() - .entrySet()) { - com.google.protobuf.MapEntry examples__ = ExamplesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, examples__); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getBaseSchema()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.KclType)) { - return super.equals(obj); - } - com.kcl.api.Spec.KclType other = (com.kcl.api.Spec.KclType) obj; - - if (!getType().equals(other.getType())) - return false; - if (!getUnionTypesList().equals(other.getUnionTypesList())) - return false; - if (!getDefault().equals(other.getDefault())) - return false; - if (!getSchemaName().equals(other.getSchemaName())) - return false; - if (!getSchemaDoc().equals(other.getSchemaDoc())) - return false; - if (!internalGetProperties().equals(other.internalGetProperties())) - return false; - if (!getRequiredList().equals(other.getRequiredList())) - return false; - if (hasKey() != other.hasKey()) - return false; - if (hasKey()) { - if (!getKey().equals(other.getKey())) - return false; - } - if (hasItem() != other.hasItem()) - return false; - if (hasItem()) { - if (!getItem().equals(other.getItem())) - return false; - } - if (getLine() != other.getLine()) - return false; - if (!getDecoratorsList().equals(other.getDecoratorsList())) - return false; - if (!getFilename().equals(other.getFilename())) - return false; - if (!getPkgPath().equals(other.getPkgPath())) - return false; - if (!getDescription().equals(other.getDescription())) - return false; - if (!internalGetExamples().equals(other.internalGetExamples())) - return false; - if (hasBaseSchema() != other.hasBaseSchema()) - return false; - if (hasBaseSchema()) { - if (!getBaseSchema().equals(other.getBaseSchema())) - return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - if (getUnionTypesCount() > 0) { - hash = (37 * hash) + UNION_TYPES_FIELD_NUMBER; - hash = (53 * hash) + getUnionTypesList().hashCode(); - } - hash = (37 * hash) + DEFAULT_FIELD_NUMBER; - hash = (53 * hash) + getDefault().hashCode(); - hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; - hash = (53 * hash) + getSchemaName().hashCode(); - hash = (37 * hash) + SCHEMA_DOC_FIELD_NUMBER; - hash = (53 * hash) + getSchemaDoc().hashCode(); - if (!internalGetProperties().getMap().isEmpty()) { - hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + internalGetProperties().hashCode(); - } - if (getRequiredCount() > 0) { - hash = (37 * hash) + REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + getRequiredList().hashCode(); - } - if (hasKey()) { - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - } - if (hasItem()) { - hash = (37 * hash) + ITEM_FIELD_NUMBER; - hash = (53 * hash) + getItem().hashCode(); - } - hash = (37 * hash) + LINE_FIELD_NUMBER; - hash = (53 * hash) + getLine(); - if (getDecoratorsCount() > 0) { - hash = (37 * hash) + DECORATORS_FIELD_NUMBER; - hash = (53 * hash) + getDecoratorsList().hashCode(); - } - hash = (37 * hash) + FILENAME_FIELD_NUMBER; - hash = (53 * hash) + getFilename().hashCode(); - hash = (37 * hash) + PKG_PATH_FIELD_NUMBER; - hash = (53 * hash) + getPkgPath().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - if (!internalGetExamples().getMap().isEmpty()) { - hash = (37 * hash) + EXAMPLES_FIELD_NUMBER; - hash = (53 * hash) + internalGetExamples().hashCode(); - } - if (hasBaseSchema()) { - hash = (37 * hash) + BASE_SCHEMA_FIELD_NUMBER; - hash = (53 * hash) + getBaseSchema().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getKclCliConfigs()); + } + for (int i = 0; i < kclOptions_.size(); i++) { + output.writeMessage(2, kclOptions_.get(i)); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.KclType parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getKclCliConfigs()); + } + for (int i = 0; i < kclOptions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, kclOptions_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.KclType parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFiles_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.LoadSettingsFiles_Result other = (com.kcl.api.Spec.LoadSettingsFiles_Result) obj; + + if (hasKclCliConfigs() != other.hasKclCliConfigs()) return false; + if (hasKclCliConfigs()) { + if (!getKclCliConfigs() + .equals(other.getKclCliConfigs())) return false; + } + if (!getKclOptionsList() + .equals(other.getKclOptionsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.KclType parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasKclCliConfigs()) { + hash = (37 * hash) + KCL_CLI_CONFIGS_FIELD_NUMBER; + hash = (53 * hash) + getKclCliConfigs().hashCode(); + } + if (getKclOptionsCount() > 0) { + hash = (37 * hash) + KCL_OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getKclOptionsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.KclType parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Result 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 com.kcl.api.Spec.KclType parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.LoadSettingsFiles_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.KclType parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.LoadSettingsFiles_Result 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 com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.KclType parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFiles_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.KclType parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFiles_Result) + com.kcl.api.Spec.LoadSettingsFiles_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadSettingsFiles_Result.class, com.kcl.api.Spec.LoadSettingsFiles_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.LoadSettingsFiles_Result.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getKclCliConfigsFieldBuilder(); + getKclOptionsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + kclCliConfigs_ = null; + if (kclCliConfigsBuilder_ != null) { + kclCliConfigsBuilder_.dispose(); + kclCliConfigsBuilder_ = null; + } + if (kclOptionsBuilder_ == null) { + kclOptions_ = java.util.Collections.emptyList(); + } else { + kclOptions_ = null; + kclOptionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadSettingsFiles_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFiles_Result build() { + com.kcl.api.Spec.LoadSettingsFiles_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFiles_Result buildPartial() { + com.kcl.api.Spec.LoadSettingsFiles_Result result = new com.kcl.api.Spec.LoadSettingsFiles_Result(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadSettingsFiles_Result result) { + if (kclOptionsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + kclOptions_ = java.util.Collections.unmodifiableList(kclOptions_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.kclOptions_ = kclOptions_; + } else { + result.kclOptions_ = kclOptionsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.LoadSettingsFiles_Result result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.kclCliConfigs_ = kclCliConfigsBuilder_ == null + ? kclCliConfigs_ + : kclCliConfigsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LoadSettingsFiles_Result) { + return mergeFrom((com.kcl.api.Spec.LoadSettingsFiles_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFiles_Result other) { + if (other == com.kcl.api.Spec.LoadSettingsFiles_Result.getDefaultInstance()) return this; + if (other.hasKclCliConfigs()) { + mergeKclCliConfigs(other.getKclCliConfigs()); + } + if (kclOptionsBuilder_ == null) { + if (!other.kclOptions_.isEmpty()) { + if (kclOptions_.isEmpty()) { + kclOptions_ = other.kclOptions_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureKclOptionsIsMutable(); + kclOptions_.addAll(other.kclOptions_); + } + onChanged(); + } + } else { + if (!other.kclOptions_.isEmpty()) { + if (kclOptionsBuilder_.isEmpty()) { + kclOptionsBuilder_.dispose(); + kclOptionsBuilder_ = null; + kclOptions_ = other.kclOptions_; + bitField0_ = (bitField0_ & ~0x00000002); + kclOptionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getKclOptionsFieldBuilder() : null; + } else { + kclOptionsBuilder_.addAllMessages(other.kclOptions_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getKclCliConfigsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.kcl.api.Spec.KeyValuePair m = + input.readMessage( + com.kcl.api.Spec.KeyValuePair.parser(), + extensionRegistry); + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + kclOptions_.add(m); + } else { + kclOptionsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.CliConfig kclCliConfigs_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.CliConfig, com.kcl.api.Spec.CliConfig.Builder, com.kcl.api.Spec.CliConfigOrBuilder> kclCliConfigsBuilder_; + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return Whether the kclCliConfigs field is set. + */ + public boolean hasKclCliConfigs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return The kclCliConfigs. + */ + public com.kcl.api.Spec.CliConfig getKclCliConfigs() { + if (kclCliConfigsBuilder_ == null) { + return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; + } else { + return kclCliConfigsBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public Builder setKclCliConfigs(com.kcl.api.Spec.CliConfig value) { + if (kclCliConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kclCliConfigs_ = value; + } else { + kclCliConfigsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public Builder setKclCliConfigs( + com.kcl.api.Spec.CliConfig.Builder builderForValue) { + if (kclCliConfigsBuilder_ == null) { + kclCliConfigs_ = builderForValue.build(); + } else { + kclCliConfigsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public Builder mergeKclCliConfigs(com.kcl.api.Spec.CliConfig value) { + if (kclCliConfigsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + kclCliConfigs_ != null && + kclCliConfigs_ != com.kcl.api.Spec.CliConfig.getDefaultInstance()) { + getKclCliConfigsBuilder().mergeFrom(value); + } else { + kclCliConfigs_ = value; + } + } else { + kclCliConfigsBuilder_.mergeFrom(value); + } + if (kclCliConfigs_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public Builder clearKclCliConfigs() { + bitField0_ = (bitField0_ & ~0x00000001); + kclCliConfigs_ = null; + if (kclCliConfigsBuilder_ != null) { + kclCliConfigsBuilder_.dispose(); + kclCliConfigsBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public com.kcl.api.Spec.CliConfig.Builder getKclCliConfigsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getKclCliConfigsFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder() { + if (kclCliConfigsBuilder_ != null) { + return kclCliConfigsBuilder_.getMessageOrBuilder(); + } else { + return kclCliConfigs_ == null ? + com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; + } + } + /** + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.CliConfig, com.kcl.api.Spec.CliConfig.Builder, com.kcl.api.Spec.CliConfigOrBuilder> + getKclCliConfigsFieldBuilder() { + if (kclCliConfigsBuilder_ == null) { + kclCliConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.CliConfig, com.kcl.api.Spec.CliConfig.Builder, com.kcl.api.Spec.CliConfigOrBuilder>( + getKclCliConfigs(), + getParentForChildren(), + isClean()); + kclCliConfigs_ = null; + } + return kclCliConfigsBuilder_; + } + + private java.util.List kclOptions_ = + java.util.Collections.emptyList(); + private void ensureKclOptionsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + kclOptions_ = new java.util.ArrayList(kclOptions_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.KeyValuePair, com.kcl.api.Spec.KeyValuePair.Builder, com.kcl.api.Spec.KeyValuePairOrBuilder> kclOptionsBuilder_; + + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public java.util.List getKclOptionsList() { + if (kclOptionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(kclOptions_); + } else { + return kclOptionsBuilder_.getMessageList(); + } + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public int getKclOptionsCount() { + if (kclOptionsBuilder_ == null) { + return kclOptions_.size(); + } else { + return kclOptionsBuilder_.getCount(); + } + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public com.kcl.api.Spec.KeyValuePair getKclOptions(int index) { + if (kclOptionsBuilder_ == null) { + return kclOptions_.get(index); + } else { + return kclOptionsBuilder_.getMessage(index); + } + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder setKclOptions( + int index, com.kcl.api.Spec.KeyValuePair value) { + if (kclOptionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKclOptionsIsMutable(); + kclOptions_.set(index, value); + onChanged(); + } else { + kclOptionsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder setKclOptions( + int index, com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + kclOptions_.set(index, builderForValue.build()); + onChanged(); + } else { + kclOptionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder addKclOptions(com.kcl.api.Spec.KeyValuePair value) { + if (kclOptionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKclOptionsIsMutable(); + kclOptions_.add(value); + onChanged(); + } else { + kclOptionsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder addKclOptions( + int index, com.kcl.api.Spec.KeyValuePair value) { + if (kclOptionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKclOptionsIsMutable(); + kclOptions_.add(index, value); + onChanged(); + } else { + kclOptionsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder addKclOptions( + com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + kclOptions_.add(builderForValue.build()); + onChanged(); + } else { + kclOptionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder addKclOptions( + int index, com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + kclOptions_.add(index, builderForValue.build()); + onChanged(); + } else { + kclOptionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder addAllKclOptions( + java.lang.Iterable values) { + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kclOptions_); + onChanged(); + } else { + kclOptionsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder clearKclOptions() { + if (kclOptionsBuilder_ == null) { + kclOptions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + kclOptionsBuilder_.clear(); + } + return this; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder removeKclOptions(int index) { + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + kclOptions_.remove(index); + onChanged(); + } else { + kclOptionsBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public com.kcl.api.Spec.KeyValuePair.Builder getKclOptionsBuilder( + int index) { + return getKclOptionsFieldBuilder().getBuilder(index); + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder( + int index) { + if (kclOptionsBuilder_ == null) { + return kclOptions_.get(index); } else { + return kclOptionsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public java.util.List + getKclOptionsOrBuilderList() { + if (kclOptionsBuilder_ != null) { + return kclOptionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(kclOptions_); + } + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder() { + return getKclOptionsFieldBuilder().addBuilder( + com.kcl.api.Spec.KeyValuePair.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder( + int index) { + return getKclOptionsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.KeyValuePair.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public java.util.List + getKclOptionsBuilderList() { + return getKclOptionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.KeyValuePair, com.kcl.api.Spec.KeyValuePair.Builder, com.kcl.api.Spec.KeyValuePairOrBuilder> + getKclOptionsFieldBuilder() { + if (kclOptionsBuilder_ == null) { + kclOptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.KeyValuePair, com.kcl.api.Spec.KeyValuePair.Builder, com.kcl.api.Spec.KeyValuePairOrBuilder>( + kclOptions_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + kclOptions_ = null; + } + return kclOptionsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFiles_Result) + } - public static com.kcl.api.Spec.KclType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFiles_Result) + private static final com.kcl.api.Spec.LoadSettingsFiles_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFiles_Result(); + } - public static com.kcl.api.Spec.KclType 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 com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.KclType parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoadSettingsFiles_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.KclType parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + } - public static Builder newBuilder(com.kcl.api.Spec.KclType prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public interface CliConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.CliConfig) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + /** + * repeated string files = 1; + * @return A list containing the files. + */ + java.util.List + getFilesList(); + /** + * repeated string files = 1; + * @return The count of files. + */ + int getFilesCount(); + /** + * repeated string files = 1; + * @param index The index of the element to return. + * @return The files at the given index. + */ + java.lang.String getFiles(int index); + /** + * repeated string files = 1; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + com.google.protobuf.ByteString + getFilesBytes(int index); - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.KclType} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.KclType) - com.kcl.api.Spec.KclTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; - } + /** + * string output = 2; + * @return The output. + */ + java.lang.String getOutput(); + /** + * string output = 2; + * @return The bytes for output. + */ + com.google.protobuf.ByteString + getOutputBytes(); - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 6: - return internalGetProperties(); - case 15: - return internalGetExamples(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + /** + * repeated string overrides = 3; + * @return A list containing the overrides. + */ + java.util.List + getOverridesList(); + /** + * repeated string overrides = 3; + * @return The count of overrides. + */ + int getOverridesCount(); + /** + * repeated string overrides = 3; + * @param index The index of the element to return. + * @return The overrides at the given index. + */ + java.lang.String getOverrides(int index); + /** + * repeated string overrides = 3; + * @param index The index of the value to return. + * @return The bytes of the overrides at the given index. + */ + com.google.protobuf.ByteString + getOverridesBytes(int index); - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 6: - return internalGetMutableProperties(); - case 15: - return internalGetMutableExamples(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + /** + * repeated string path_selector = 4; + * @return A list containing the pathSelector. + */ + java.util.List + getPathSelectorList(); + /** + * repeated string path_selector = 4; + * @return The count of pathSelector. + */ + int getPathSelectorCount(); + /** + * repeated string path_selector = 4; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + java.lang.String getPathSelector(int index); + /** + * repeated string path_selector = 4; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + com.google.protobuf.ByteString + getPathSelectorBytes(int index); - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.KclType.class, - com.kcl.api.Spec.KclType.Builder.class); - } + /** + * bool strict_range_check = 5; + * @return The strictRangeCheck. + */ + boolean getStrictRangeCheck(); - // Construct using com.kcl.api.Spec.KclType.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + /** + * bool disable_none = 6; + * @return The disableNone. + */ + boolean getDisableNone(); - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + /** + * int64 verbose = 7; + * @return The verbose. + */ + long getVerbose(); - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getUnionTypesFieldBuilder(); - getKeyFieldBuilder(); - getItemFieldBuilder(); - getDecoratorsFieldBuilder(); - getBaseSchemaFieldBuilder(); - } - } + /** + * bool debug = 8; + * @return The debug. + */ + boolean getDebug(); - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - type_ = ""; - if (unionTypesBuilder_ == null) { - unionTypes_ = java.util.Collections.emptyList(); - } else { - unionTypes_ = null; - unionTypesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - default_ = ""; - schemaName_ = ""; - schemaDoc_ = ""; - internalGetMutableProperties().clear(); - required_ = com.google.protobuf.LazyStringArrayList.emptyList(); - key_ = null; - if (keyBuilder_ != null) { - keyBuilder_.dispose(); - keyBuilder_ = null; - } - item_ = null; - if (itemBuilder_ != null) { - itemBuilder_.dispose(); - itemBuilder_ = null; - } - line_ = 0; - if (decoratorsBuilder_ == null) { - decorators_ = java.util.Collections.emptyList(); - } else { - decorators_ = null; - decoratorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000400); - filename_ = ""; - pkgPath_ = ""; - description_ = ""; - internalGetMutableExamples().clear(); - baseSchema_ = null; - if (baseSchemaBuilder_ != null) { - baseSchemaBuilder_.dispose(); - baseSchemaBuilder_ = null; - } - return this; - } + /** + * bool sort_keys = 9; + * @return The sortKeys. + */ + boolean getSortKeys(); - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; - } + /** + * bool show_hidden = 10; + * @return The showHidden. + */ + boolean getShowHidden(); - @java.lang.Override - public com.kcl.api.Spec.KclType getDefaultInstanceForType() { - return com.kcl.api.Spec.KclType.getDefaultInstance(); - } + /** + * bool include_schema_type_path = 11; + * @return The includeSchemaTypePath. + */ + boolean getIncludeSchemaTypePath(); - @java.lang.Override - public com.kcl.api.Spec.KclType build() { - com.kcl.api.Spec.KclType result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + /** + * bool fast_eval = 12; + * @return The fastEval. + */ + boolean getFastEval(); + } + /** + * Protobuf type {@code com.kcl.api.CliConfig} + */ + public static final class CliConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.CliConfig) + CliConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use CliConfig.newBuilder() to construct. + private CliConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CliConfig() { + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + output_ = ""; + overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - @java.lang.Override - public com.kcl.api.Spec.KclType buildPartial() { - com.kcl.api.Spec.KclType result = new com.kcl.api.Spec.KclType(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CliConfig(); + } - private void buildPartialRepeatedFields(com.kcl.api.Spec.KclType result) { - if (unionTypesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - unionTypes_ = java.util.Collections.unmodifiableList(unionTypes_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.unionTypes_ = unionTypes_; - } else { - result.unionTypes_ = unionTypesBuilder_.build(); - } - if (decoratorsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0)) { - decorators_ = java.util.Collections.unmodifiableList(decorators_); - bitField0_ = (bitField0_ & ~0x00000400); - } - result.decorators_ = decorators_; - } else { - result.decorators_ = decoratorsBuilder_.build(); - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; + } - private void buildPartial0(com.kcl.api.Spec.KclType result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.type_ = type_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.default_ = default_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.schemaName_ = schemaName_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.schemaDoc_ = schemaDoc_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.properties_ = internalGetProperties().build(PropertiesDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000040) != 0)) { - required_.makeImmutable(); - result.required_ = required_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000080) != 0)) { - result.key_ = keyBuilder_ == null ? key_ : keyBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.item_ = itemBuilder_ == null ? item_ : itemBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.line_ = line_; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.filename_ = filename_; - } - if (((from_bitField0_ & 0x00001000) != 0)) { - result.pkgPath_ = pkgPath_; - } - if (((from_bitField0_ & 0x00002000) != 0)) { - result.description_ = description_; - } - if (((from_bitField0_ & 0x00004000) != 0)) { - result.examples_ = internalGetExamples().build(ExamplesDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00008000) != 0)) { - result.baseSchema_ = baseSchemaBuilder_ == null ? baseSchema_ : baseSchemaBuilder_.build(); - to_bitField0_ |= 0x00000004; - } - result.bitField0_ |= to_bitField0_; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.CliConfig.class, com.kcl.api.Spec.CliConfig.Builder.class); + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + public static final int FILES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string files = 1; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + return files_; + } + /** + * repeated string files = 1; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + * repeated string files = 1; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + * repeated string files = 1; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + public static final int OUTPUT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object output_ = ""; + /** + * string output = 2; + * @return The output. + */ + @java.lang.Override + public java.lang.String getOutput() { + java.lang.Object ref = output_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + output_ = s; + return s; + } + } + /** + * string output = 2; + * @return The bytes for output. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOutputBytes() { + java.lang.Object ref = output_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + output_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + public static final int OVERRIDES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string overrides = 3; + * @return A list containing the overrides. + */ + public com.google.protobuf.ProtocolStringList + getOverridesList() { + return overrides_; + } + /** + * repeated string overrides = 3; + * @return The count of overrides. + */ + public int getOverridesCount() { + return overrides_.size(); + } + /** + * repeated string overrides = 3; + * @param index The index of the element to return. + * @return The overrides at the given index. + */ + public java.lang.String getOverrides(int index) { + return overrides_.get(index); + } + /** + * repeated string overrides = 3; + * @param index The index of the value to return. + * @return The bytes of the overrides at the given index. + */ + public com.google.protobuf.ByteString + getOverridesBytes(int index) { + return overrides_.getByteString(index); + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + public static final int PATH_SELECTOR_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string path_selector = 4; + * @return A list containing the pathSelector. + */ + public com.google.protobuf.ProtocolStringList + getPathSelectorList() { + return pathSelector_; + } + /** + * repeated string path_selector = 4; + * @return The count of pathSelector. + */ + public int getPathSelectorCount() { + return pathSelector_.size(); + } + /** + * repeated string path_selector = 4; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + public java.lang.String getPathSelector(int index) { + return pathSelector_.get(index); + } + /** + * repeated string path_selector = 4; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + public com.google.protobuf.ByteString + getPathSelectorBytes(int index) { + return pathSelector_.getByteString(index); + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + public static final int STRICT_RANGE_CHECK_FIELD_NUMBER = 5; + private boolean strictRangeCheck_ = false; + /** + * bool strict_range_check = 5; + * @return The strictRangeCheck. + */ + @java.lang.Override + public boolean getStrictRangeCheck() { + return strictRangeCheck_; + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + public static final int DISABLE_NONE_FIELD_NUMBER = 6; + private boolean disableNone_ = false; + /** + * bool disable_none = 6; + * @return The disableNone. + */ + @java.lang.Override + public boolean getDisableNone() { + return disableNone_; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.KclType) { - return mergeFrom((com.kcl.api.Spec.KclType) other); - } else { - super.mergeFrom(other); - return this; - } - } + public static final int VERBOSE_FIELD_NUMBER = 7; + private long verbose_ = 0L; + /** + * int64 verbose = 7; + * @return The verbose. + */ + @java.lang.Override + public long getVerbose() { + return verbose_; + } - public Builder mergeFrom(com.kcl.api.Spec.KclType other) { - if (other == com.kcl.api.Spec.KclType.getDefaultInstance()) - return this; - if (!other.getType().isEmpty()) { - type_ = other.type_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (unionTypesBuilder_ == null) { - if (!other.unionTypes_.isEmpty()) { - if (unionTypes_.isEmpty()) { - unionTypes_ = other.unionTypes_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureUnionTypesIsMutable(); - unionTypes_.addAll(other.unionTypes_); - } - onChanged(); - } - } else { - if (!other.unionTypes_.isEmpty()) { - if (unionTypesBuilder_.isEmpty()) { - unionTypesBuilder_.dispose(); - unionTypesBuilder_ = null; - unionTypes_ = other.unionTypes_; - bitField0_ = (bitField0_ & ~0x00000002); - unionTypesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUnionTypesFieldBuilder() : null; - } else { - unionTypesBuilder_.addAllMessages(other.unionTypes_); - } - } - } - if (!other.getDefault().isEmpty()) { - default_ = other.default_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.getSchemaName().isEmpty()) { - schemaName_ = other.schemaName_; - bitField0_ |= 0x00000008; - onChanged(); - } - if (!other.getSchemaDoc().isEmpty()) { - schemaDoc_ = other.schemaDoc_; - bitField0_ |= 0x00000010; - onChanged(); - } - internalGetMutableProperties().mergeFrom(other.internalGetProperties()); - bitField0_ |= 0x00000020; - if (!other.required_.isEmpty()) { - if (required_.isEmpty()) { - required_ = other.required_; - bitField0_ |= 0x00000040; - } else { - ensureRequiredIsMutable(); - required_.addAll(other.required_); - } - onChanged(); - } - if (other.hasKey()) { - mergeKey(other.getKey()); - } - if (other.hasItem()) { - mergeItem(other.getItem()); - } - if (other.getLine() != 0) { - setLine(other.getLine()); - } - if (decoratorsBuilder_ == null) { - if (!other.decorators_.isEmpty()) { - if (decorators_.isEmpty()) { - decorators_ = other.decorators_; - bitField0_ = (bitField0_ & ~0x00000400); - } else { - ensureDecoratorsIsMutable(); - decorators_.addAll(other.decorators_); - } - onChanged(); - } - } else { - if (!other.decorators_.isEmpty()) { - if (decoratorsBuilder_.isEmpty()) { - decoratorsBuilder_.dispose(); - decoratorsBuilder_ = null; - decorators_ = other.decorators_; - bitField0_ = (bitField0_ & ~0x00000400); - decoratorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDecoratorsFieldBuilder() : null; - } else { - decoratorsBuilder_.addAllMessages(other.decorators_); - } - } - } - if (!other.getFilename().isEmpty()) { - filename_ = other.filename_; - bitField0_ |= 0x00000800; - onChanged(); - } - if (!other.getPkgPath().isEmpty()) { - pkgPath_ = other.pkgPath_; - bitField0_ |= 0x00001000; - onChanged(); - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - bitField0_ |= 0x00002000; - onChanged(); - } - internalGetMutableExamples().mergeFrom(other.internalGetExamples()); - bitField0_ |= 0x00004000; - if (other.hasBaseSchema()) { - mergeBaseSchema(other.getBaseSchema()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + public static final int DEBUG_FIELD_NUMBER = 8; + private boolean debug_ = false; + /** + * bool debug = 8; + * @return The debug. + */ + @java.lang.Override + public boolean getDebug() { + return debug_; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static final int SORT_KEYS_FIELD_NUMBER = 9; + private boolean sortKeys_ = false; + /** + * bool sort_keys = 9; + * @return The sortKeys. + */ + @java.lang.Override + public boolean getSortKeys() { + return sortKeys_; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.kcl.api.Spec.KclType m = input.readMessage(com.kcl.api.Spec.KclType.parser(), - extensionRegistry); - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - unionTypes_.add(m); - } else { - unionTypesBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - default_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - schemaName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - schemaDoc_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry properties__ = input - .readMessage(PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableProperties().ensureBuilderMap().put(properties__.getKey(), - properties__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRequiredIsMutable(); - required_.add(s); - break; - } // case 58 - case 66: { - input.readMessage(getKeyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - input.readMessage(getItemFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: { - line_ = input.readInt32(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - com.kcl.api.Spec.Decorator m = input.readMessage(com.kcl.api.Spec.Decorator.parser(), - extensionRegistry); - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - decorators_.add(m); - } else { - decoratorsBuilder_.addMessage(m); - } - break; - } // case 90 - case 98: { - filename_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - pkgPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 114: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 114 - case 122: { - com.google.protobuf.MapEntry examples__ = input - .readMessage(ExamplesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableExamples().ensureBuilderMap().put(examples__.getKey(), - examples__.getValue()); - bitField0_ |= 0x00004000; - break; - } // case 122 - case 130: { - input.readMessage(getBaseSchemaFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 130 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + public static final int SHOW_HIDDEN_FIELD_NUMBER = 10; + private boolean showHidden_ = false; + /** + * bool show_hidden = 10; + * @return The showHidden. + */ + @java.lang.Override + public boolean getShowHidden() { + return showHidden_; + } - private int bitField0_; - - private java.lang.Object type_ = ""; - - /** - *
-             * schema, dict, list, str, int, float, bool, any, union, number_multiplier
-             * 
- * - * string type = 1; - * - * @return The type. - */ - public java.lang.String getType() { - java.lang.Object ref = type_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static final int INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER = 11; + private boolean includeSchemaTypePath_ = false; + /** + * bool include_schema_type_path = 11; + * @return The includeSchemaTypePath. + */ + @java.lang.Override + public boolean getIncludeSchemaTypePath() { + return includeSchemaTypePath_; + } - /** - *
-             * schema, dict, list, str, int, float, bool, any, union, number_multiplier
-             * 
- * - * string type = 1; - * - * @return The bytes for type. - */ - public com.google.protobuf.ByteString getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int FAST_EVAL_FIELD_NUMBER = 12; + private boolean fastEval_ = false; + /** + * bool fast_eval = 12; + * @return The fastEval. + */ + @java.lang.Override + public boolean getFastEval() { + return fastEval_; + } - /** - *
-             * schema, dict, list, str, int, float, bool, any, union, number_multiplier
-             * 
- * - * string type = 1; - * - * @param value - * The type to set. - * - * @return This builder for chaining. - */ - public Builder setType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * schema, dict, list, str, int, float, bool, any, union, number_multiplier
-             * 
- * - * string type = 1; - * - * @return This builder for chaining. - */ - public Builder clearType() { - type_ = getDefaultInstance().getType(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * schema, dict, list, str, int, float, bool, any, union, number_multiplier
-             * 
- * - * string type = 1; - * - * @param value - * The bytes for type to set. - * - * @return This builder for chaining. - */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - type_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < files_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, files_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(output_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, output_); + } + for (int i = 0; i < overrides_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, overrides_.getRaw(i)); + } + for (int i = 0; i < pathSelector_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pathSelector_.getRaw(i)); + } + if (strictRangeCheck_ != false) { + output.writeBool(5, strictRangeCheck_); + } + if (disableNone_ != false) { + output.writeBool(6, disableNone_); + } + if (verbose_ != 0L) { + output.writeInt64(7, verbose_); + } + if (debug_ != false) { + output.writeBool(8, debug_); + } + if (sortKeys_ != false) { + output.writeBool(9, sortKeys_); + } + if (showHidden_ != false) { + output.writeBool(10, showHidden_); + } + if (includeSchemaTypePath_ != false) { + output.writeBool(11, includeSchemaTypePath_); + } + if (fastEval_ != false) { + output.writeBool(12, fastEval_); + } + getUnknownFields().writeTo(output); + } - private java.util.List unionTypes_ = java.util.Collections.emptyList(); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < files_.size(); i++) { + dataSize += computeStringSizeNoTag(files_.getRaw(i)); + } + size += dataSize; + size += 1 * getFilesList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(output_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, output_); + } + { + int dataSize = 0; + for (int i = 0; i < overrides_.size(); i++) { + dataSize += computeStringSizeNoTag(overrides_.getRaw(i)); + } + size += dataSize; + size += 1 * getOverridesList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < pathSelector_.size(); i++) { + dataSize += computeStringSizeNoTag(pathSelector_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathSelectorList().size(); + } + if (strictRangeCheck_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, strictRangeCheck_); + } + if (disableNone_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, disableNone_); + } + if (verbose_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, verbose_); + } + if (debug_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, debug_); + } + if (sortKeys_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, sortKeys_); + } + if (showHidden_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, showHidden_); + } + if (includeSchemaTypePath_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, includeSchemaTypePath_); + } + if (fastEval_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, fastEval_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private void ensureUnionTypesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - unionTypes_ = new java.util.ArrayList(unionTypes_); - bitField0_ |= 0x00000002; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.CliConfig)) { + return super.equals(obj); + } + com.kcl.api.Spec.CliConfig other = (com.kcl.api.Spec.CliConfig) obj; + + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getOutput() + .equals(other.getOutput())) return false; + if (!getOverridesList() + .equals(other.getOverridesList())) return false; + if (!getPathSelectorList() + .equals(other.getPathSelectorList())) return false; + if (getStrictRangeCheck() + != other.getStrictRangeCheck()) return false; + if (getDisableNone() + != other.getDisableNone()) return false; + if (getVerbose() + != other.getVerbose()) return false; + if (getDebug() + != other.getDebug()) return false; + if (getSortKeys() + != other.getSortKeys()) return false; + if (getShowHidden() + != other.getShowHidden()) return false; + if (getIncludeSchemaTypePath() + != other.getIncludeSchemaTypePath()) return false; + if (getFastEval() + != other.getFastEval()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private com.google.protobuf.RepeatedFieldBuilderV3 unionTypesBuilder_; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getFilesCount() > 0) { + hash = (37 * hash) + FILES_FIELD_NUMBER; + hash = (53 * hash) + getFilesList().hashCode(); + } + hash = (37 * hash) + OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getOutput().hashCode(); + if (getOverridesCount() > 0) { + hash = (37 * hash) + OVERRIDES_FIELD_NUMBER; + hash = (53 * hash) + getOverridesList().hashCode(); + } + if (getPathSelectorCount() > 0) { + hash = (37 * hash) + PATH_SELECTOR_FIELD_NUMBER; + hash = (53 * hash) + getPathSelectorList().hashCode(); + } + hash = (37 * hash) + STRICT_RANGE_CHECK_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrictRangeCheck()); + hash = (37 * hash) + DISABLE_NONE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableNone()); + hash = (37 * hash) + VERBOSE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getVerbose()); + hash = (37 * hash) + DEBUG_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDebug()); + hash = (37 * hash) + SORT_KEYS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSortKeys()); + hash = (37 * hash) + SHOW_HIDDEN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowHidden()); + hash = (37 * hash) + INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeSchemaTypePath()); + hash = (37 * hash) + FAST_EVAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFastEval()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public java.util.List getUnionTypesList() { - if (unionTypesBuilder_ == null) { - return java.util.Collections.unmodifiableList(unionTypes_); - } else { - return unionTypesBuilder_.getMessageList(); - } - } + public static com.kcl.api.Spec.CliConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CliConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CliConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public int getUnionTypesCount() { - if (unionTypesBuilder_ == null) { - return unionTypes_.size(); - } else { - return unionTypesBuilder_.getCount(); - } - } + public static com.kcl.api.Spec.CliConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public com.kcl.api.Spec.KclType getUnionTypes(int index) { - if (unionTypesBuilder_ == null) { - return unionTypes_.get(index); - } else { - return unionTypesBuilder_.getMessage(index); - } - } + public static com.kcl.api.Spec.CliConfig 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 com.kcl.api.Spec.CliConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder setUnionTypes(int index, com.kcl.api.Spec.KclType value) { - if (unionTypesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureUnionTypesIsMutable(); - unionTypes_.set(index, value); - onChanged(); - } else { - unionTypesBuilder_.setMessage(index, value); - } - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.CliConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder setUnionTypes(int index, com.kcl.api.Spec.KclType.Builder builderForValue) { - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - unionTypes_.set(index, builderForValue.build()); - onChanged(); - } else { - unionTypesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.CliConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.CliConfig) + com.kcl.api.Spec.CliConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.CliConfig.class, com.kcl.api.Spec.CliConfig.Builder.class); + } + + // Construct using com.kcl.api.Spec.CliConfig.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + output_ = ""; + overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + strictRangeCheck_ = false; + disableNone_ = false; + verbose_ = 0L; + debug_ = false; + sortKeys_ = false; + showHidden_ = false; + includeSchemaTypePath_ = false; + fastEval_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.CliConfig getDefaultInstanceForType() { + return com.kcl.api.Spec.CliConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.CliConfig build() { + com.kcl.api.Spec.CliConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.CliConfig buildPartial() { + com.kcl.api.Spec.CliConfig result = new com.kcl.api.Spec.CliConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.CliConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + files_.makeImmutable(); + result.files_ = files_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.output_ = output_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + overrides_.makeImmutable(); + result.overrides_ = overrides_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + pathSelector_.makeImmutable(); + result.pathSelector_ = pathSelector_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.strictRangeCheck_ = strictRangeCheck_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.disableNone_ = disableNone_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.verbose_ = verbose_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.debug_ = debug_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.sortKeys_ = sortKeys_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.showHidden_ = showHidden_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.includeSchemaTypePath_ = includeSchemaTypePath_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.fastEval_ = fastEval_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.CliConfig) { + return mergeFrom((com.kcl.api.Spec.CliConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.CliConfig other) { + if (other == com.kcl.api.Spec.CliConfig.getDefaultInstance()) return this; + if (!other.files_.isEmpty()) { + if (files_.isEmpty()) { + files_ = other.files_; + bitField0_ |= 0x00000001; + } else { + ensureFilesIsMutable(); + files_.addAll(other.files_); + } + onChanged(); + } + if (!other.getOutput().isEmpty()) { + output_ = other.output_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.overrides_.isEmpty()) { + if (overrides_.isEmpty()) { + overrides_ = other.overrides_; + bitField0_ |= 0x00000004; + } else { + ensureOverridesIsMutable(); + overrides_.addAll(other.overrides_); + } + onChanged(); + } + if (!other.pathSelector_.isEmpty()) { + if (pathSelector_.isEmpty()) { + pathSelector_ = other.pathSelector_; + bitField0_ |= 0x00000008; + } else { + ensurePathSelectorIsMutable(); + pathSelector_.addAll(other.pathSelector_); + } + onChanged(); + } + if (other.getStrictRangeCheck() != false) { + setStrictRangeCheck(other.getStrictRangeCheck()); + } + if (other.getDisableNone() != false) { + setDisableNone(other.getDisableNone()); + } + if (other.getVerbose() != 0L) { + setVerbose(other.getVerbose()); + } + if (other.getDebug() != false) { + setDebug(other.getDebug()); + } + if (other.getSortKeys() != false) { + setSortKeys(other.getSortKeys()); + } + if (other.getShowHidden() != false) { + setShowHidden(other.getShowHidden()); + } + if (other.getIncludeSchemaTypePath() != false) { + setIncludeSchemaTypePath(other.getIncludeSchemaTypePath()); + } + if (other.getFastEval() != false) { + setFastEval(other.getFastEval()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilesIsMutable(); + files_.add(s); + break; + } // case 10 + case 18: { + output_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureOverridesIsMutable(); + overrides_.add(s); + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathSelectorIsMutable(); + pathSelector_.add(s); + break; + } // case 34 + case 40: { + strictRangeCheck_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + disableNone_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + verbose_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + debug_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + sortKeys_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + showHidden_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + includeSchemaTypePath_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: { + fastEval_ = input.readBool(); + bitField0_ |= 0x00000800; + break; + } // case 96 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilesIsMutable() { + if (!files_.isModifiable()) { + files_ = new com.google.protobuf.LazyStringArrayList(files_); + } + bitField0_ |= 0x00000001; + } + /** + * repeated string files = 1; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + files_.makeImmutable(); + return files_; + } + /** + * repeated string files = 1; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + * repeated string files = 1; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + * repeated string files = 1; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } + /** + * repeated string files = 1; + * @param index The index to set the value at. + * @param value The files to set. + * @return This builder for chaining. + */ + public Builder setFiles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string files = 1; + * @param value The files to add. + * @return This builder for chaining. + */ + public Builder addFiles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string files = 1; + * @param values The files to add. + * @return This builder for chaining. + */ + public Builder addAllFiles( + java.lang.Iterable values) { + ensureFilesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string files = 1; + * @return This builder for chaining. + */ + public Builder clearFiles() { + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + * repeated string files = 1; + * @param value The bytes of the files to add. + * @return This builder for chaining. + */ + public Builder addFilesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object output_ = ""; + /** + * string output = 2; + * @return The output. + */ + public java.lang.String getOutput() { + java.lang.Object ref = output_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + output_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string output = 2; + * @return The bytes for output. + */ + public com.google.protobuf.ByteString + getOutputBytes() { + java.lang.Object ref = output_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + output_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string output = 2; + * @param value The output to set. + * @return This builder for chaining. + */ + public Builder setOutput( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + output_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string output = 2; + * @return This builder for chaining. + */ + public Builder clearOutput() { + output_ = getDefaultInstance().getOutput(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string output = 2; + * @param value The bytes for output to set. + * @return This builder for chaining. + */ + public Builder setOutputBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + output_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureOverridesIsMutable() { + if (!overrides_.isModifiable()) { + overrides_ = new com.google.protobuf.LazyStringArrayList(overrides_); + } + bitField0_ |= 0x00000004; + } + /** + * repeated string overrides = 3; + * @return A list containing the overrides. + */ + public com.google.protobuf.ProtocolStringList + getOverridesList() { + overrides_.makeImmutable(); + return overrides_; + } + /** + * repeated string overrides = 3; + * @return The count of overrides. + */ + public int getOverridesCount() { + return overrides_.size(); + } + /** + * repeated string overrides = 3; + * @param index The index of the element to return. + * @return The overrides at the given index. + */ + public java.lang.String getOverrides(int index) { + return overrides_.get(index); + } + /** + * repeated string overrides = 3; + * @param index The index of the value to return. + * @return The bytes of the overrides at the given index. + */ + public com.google.protobuf.ByteString + getOverridesBytes(int index) { + return overrides_.getByteString(index); + } + /** + * repeated string overrides = 3; + * @param index The index to set the value at. + * @param value The overrides to set. + * @return This builder for chaining. + */ + public Builder setOverrides( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureOverridesIsMutable(); + overrides_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string overrides = 3; + * @param value The overrides to add. + * @return This builder for chaining. + */ + public Builder addOverrides( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureOverridesIsMutable(); + overrides_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string overrides = 3; + * @param values The overrides to add. + * @return This builder for chaining. + */ + public Builder addAllOverrides( + java.lang.Iterable values) { + ensureOverridesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, overrides_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string overrides = 3; + * @return This builder for chaining. + */ + public Builder clearOverrides() { + overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + * repeated string overrides = 3; + * @param value The bytes of the overrides to add. + * @return This builder for chaining. + */ + public Builder addOverridesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureOverridesIsMutable(); + overrides_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathSelectorIsMutable() { + if (!pathSelector_.isModifiable()) { + pathSelector_ = new com.google.protobuf.LazyStringArrayList(pathSelector_); + } + bitField0_ |= 0x00000008; + } + /** + * repeated string path_selector = 4; + * @return A list containing the pathSelector. + */ + public com.google.protobuf.ProtocolStringList + getPathSelectorList() { + pathSelector_.makeImmutable(); + return pathSelector_; + } + /** + * repeated string path_selector = 4; + * @return The count of pathSelector. + */ + public int getPathSelectorCount() { + return pathSelector_.size(); + } + /** + * repeated string path_selector = 4; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + public java.lang.String getPathSelector(int index) { + return pathSelector_.get(index); + } + /** + * repeated string path_selector = 4; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + public com.google.protobuf.ByteString + getPathSelectorBytes(int index) { + return pathSelector_.getByteString(index); + } + /** + * repeated string path_selector = 4; + * @param index The index to set the value at. + * @param value The pathSelector to set. + * @return This builder for chaining. + */ + public Builder setPathSelector( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathSelectorIsMutable(); + pathSelector_.set(index, value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * repeated string path_selector = 4; + * @param value The pathSelector to add. + * @return This builder for chaining. + */ + public Builder addPathSelector( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathSelectorIsMutable(); + pathSelector_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * repeated string path_selector = 4; + * @param values The pathSelector to add. + * @return This builder for chaining. + */ + public Builder addAllPathSelector( + java.lang.Iterable values) { + ensurePathSelectorIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pathSelector_); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * repeated string path_selector = 4; + * @return This builder for chaining. + */ + public Builder clearPathSelector() { + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; + onChanged(); + return this; + } + /** + * repeated string path_selector = 4; + * @param value The bytes of the pathSelector to add. + * @return This builder for chaining. + */ + public Builder addPathSelectorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathSelectorIsMutable(); + pathSelector_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private boolean strictRangeCheck_ ; + /** + * bool strict_range_check = 5; + * @return The strictRangeCheck. + */ + @java.lang.Override + public boolean getStrictRangeCheck() { + return strictRangeCheck_; + } + /** + * bool strict_range_check = 5; + * @param value The strictRangeCheck to set. + * @return This builder for chaining. + */ + public Builder setStrictRangeCheck(boolean value) { + + strictRangeCheck_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * bool strict_range_check = 5; + * @return This builder for chaining. + */ + public Builder clearStrictRangeCheck() { + bitField0_ = (bitField0_ & ~0x00000010); + strictRangeCheck_ = false; + onChanged(); + return this; + } + + private boolean disableNone_ ; + /** + * bool disable_none = 6; + * @return The disableNone. + */ + @java.lang.Override + public boolean getDisableNone() { + return disableNone_; + } + /** + * bool disable_none = 6; + * @param value The disableNone to set. + * @return This builder for chaining. + */ + public Builder setDisableNone(boolean value) { + + disableNone_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * bool disable_none = 6; + * @return This builder for chaining. + */ + public Builder clearDisableNone() { + bitField0_ = (bitField0_ & ~0x00000020); + disableNone_ = false; + onChanged(); + return this; + } + + private long verbose_ ; + /** + * int64 verbose = 7; + * @return The verbose. + */ + @java.lang.Override + public long getVerbose() { + return verbose_; + } + /** + * int64 verbose = 7; + * @param value The verbose to set. + * @return This builder for chaining. + */ + public Builder setVerbose(long value) { + + verbose_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * int64 verbose = 7; + * @return This builder for chaining. + */ + public Builder clearVerbose() { + bitField0_ = (bitField0_ & ~0x00000040); + verbose_ = 0L; + onChanged(); + return this; + } + + private boolean debug_ ; + /** + * bool debug = 8; + * @return The debug. + */ + @java.lang.Override + public boolean getDebug() { + return debug_; + } + /** + * bool debug = 8; + * @param value The debug to set. + * @return This builder for chaining. + */ + public Builder setDebug(boolean value) { + + debug_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * bool debug = 8; + * @return This builder for chaining. + */ + public Builder clearDebug() { + bitField0_ = (bitField0_ & ~0x00000080); + debug_ = false; + onChanged(); + return this; + } + + private boolean sortKeys_ ; + /** + * bool sort_keys = 9; + * @return The sortKeys. + */ + @java.lang.Override + public boolean getSortKeys() { + return sortKeys_; + } + /** + * bool sort_keys = 9; + * @param value The sortKeys to set. + * @return This builder for chaining. + */ + public Builder setSortKeys(boolean value) { + + sortKeys_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * bool sort_keys = 9; + * @return This builder for chaining. + */ + public Builder clearSortKeys() { + bitField0_ = (bitField0_ & ~0x00000100); + sortKeys_ = false; + onChanged(); + return this; + } + + private boolean showHidden_ ; + /** + * bool show_hidden = 10; + * @return The showHidden. + */ + @java.lang.Override + public boolean getShowHidden() { + return showHidden_; + } + /** + * bool show_hidden = 10; + * @param value The showHidden to set. + * @return This builder for chaining. + */ + public Builder setShowHidden(boolean value) { + + showHidden_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * bool show_hidden = 10; + * @return This builder for chaining. + */ + public Builder clearShowHidden() { + bitField0_ = (bitField0_ & ~0x00000200); + showHidden_ = false; + onChanged(); + return this; + } + + private boolean includeSchemaTypePath_ ; + /** + * bool include_schema_type_path = 11; + * @return The includeSchemaTypePath. + */ + @java.lang.Override + public boolean getIncludeSchemaTypePath() { + return includeSchemaTypePath_; + } + /** + * bool include_schema_type_path = 11; + * @param value The includeSchemaTypePath to set. + * @return This builder for chaining. + */ + public Builder setIncludeSchemaTypePath(boolean value) { + + includeSchemaTypePath_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * bool include_schema_type_path = 11; + * @return This builder for chaining. + */ + public Builder clearIncludeSchemaTypePath() { + bitField0_ = (bitField0_ & ~0x00000400); + includeSchemaTypePath_ = false; + onChanged(); + return this; + } + + private boolean fastEval_ ; + /** + * bool fast_eval = 12; + * @return The fastEval. + */ + @java.lang.Override + public boolean getFastEval() { + return fastEval_; + } + /** + * bool fast_eval = 12; + * @param value The fastEval to set. + * @return This builder for chaining. + */ + public Builder setFastEval(boolean value) { + + fastEval_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * bool fast_eval = 12; + * @return This builder for chaining. + */ + public Builder clearFastEval() { + bitField0_ = (bitField0_ & ~0x00000800); + fastEval_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.CliConfig) + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder addUnionTypes(com.kcl.api.Spec.KclType value) { - if (unionTypesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureUnionTypesIsMutable(); - unionTypes_.add(value); - onChanged(); - } else { - unionTypesBuilder_.addMessage(value); - } - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.CliConfig) + private static final com.kcl.api.Spec.CliConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.CliConfig(); + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder addUnionTypes(int index, com.kcl.api.Spec.KclType value) { - if (unionTypesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureUnionTypesIsMutable(); - unionTypes_.add(index, value); - onChanged(); - } else { - unionTypesBuilder_.addMessage(index, value); - } - return this; - } + public static com.kcl.api.Spec.CliConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder addUnionTypes(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - unionTypes_.add(builderForValue.build()); - onChanged(); - } else { - unionTypesBuilder_.addMessage(builderForValue.build()); - } - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CliConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder addUnionTypes(int index, com.kcl.api.Spec.KclType.Builder builderForValue) { - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - unionTypes_.add(index, builderForValue.build()); - onChanged(); - } else { - unionTypesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder addAllUnionTypes(java.lang.Iterable values) { - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unionTypes_); - onChanged(); - } else { - unionTypesBuilder_.addAllMessages(values); - } - return this; - } + @java.lang.Override + public com.kcl.api.Spec.CliConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder clearUnionTypes() { - if (unionTypesBuilder_ == null) { - unionTypes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - unionTypesBuilder_.clear(); - } - return this; - } + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder removeUnionTypes(int index) { - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - unionTypes_.remove(index); - onChanged(); - } else { - unionTypesBuilder_.remove(index); - } - return this; - } + public interface KeyValuePairOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.KeyValuePair) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public com.kcl.api.Spec.KclType.Builder getUnionTypesBuilder(int index) { - return getUnionTypesFieldBuilder().getBuilder(index); - } + /** + * string key = 1; + * @return The key. + */ + java.lang.String getKey(); + /** + * string key = 1; + * @return The bytes for key. + */ + com.google.protobuf.ByteString + getKeyBytes(); - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder(int index) { - if (unionTypesBuilder_ == null) { - return unionTypes_.get(index); - } else { - return unionTypesBuilder_.getMessageOrBuilder(index); - } - } + /** + * string value = 2; + * @return The value. + */ + java.lang.String getValue(); + /** + * string value = 2; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); + } + /** + * Protobuf type {@code com.kcl.api.KeyValuePair} + */ + public static final class KeyValuePair extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.KeyValuePair) + KeyValuePairOrBuilder { + private static final long serialVersionUID = 0L; + // Use KeyValuePair.newBuilder() to construct. + private KeyValuePair(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private KeyValuePair() { + key_ = ""; + value_ = ""; + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public java.util.List getUnionTypesOrBuilderList() { - if (unionTypesBuilder_ != null) { - return unionTypesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(unionTypes_); - } - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new KeyValuePair(); + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder() { - return getUnionTypesFieldBuilder().addBuilder(com.kcl.api.Spec.KclType.getDefaultInstance()); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder(int index) { - return getUnionTypesFieldBuilder().addBuilder(index, com.kcl.api.Spec.KclType.getDefaultInstance()); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.KeyValuePair.class, com.kcl.api.Spec.KeyValuePair.Builder.class); + } - /** - *
-             * union types
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public java.util.List getUnionTypesBuilderList() { - return getUnionTypesFieldBuilder().getBuilderList(); - } + public static final int KEY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object key_ = ""; + /** + * string key = 1; + * @return The key. + */ + @java.lang.Override + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } + } + /** + * string key = 1; + * @return The bytes for key. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private com.google.protobuf.RepeatedFieldBuilderV3 getUnionTypesFieldBuilder() { - if (unionTypesBuilder_ == null) { - unionTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - unionTypes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - unionTypes_ = null; - } - return unionTypesBuilder_; - } + public static final int VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + * string value = 2; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + * string value = 2; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private java.lang.Object default_ = ""; - - /** - *
-             * default value
-             * 
- * - * string default = 3; - * - * @return The default. - */ - public java.lang.String getDefault() { - java.lang.Object ref = default_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - default_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * default value
-             * 
- * - * string default = 3; - * - * @return The bytes for default. - */ - public com.google.protobuf.ByteString getDefaultBytes() { - java.lang.Object ref = default_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - default_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * default value
-             * 
- * - * string default = 3; - * - * @param value - * The default to set. - * - * @return This builder for chaining. - */ - public Builder setDefault(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - default_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * default value
-             * 
- * - * string default = 3; - * - * @return This builder for chaining. - */ - public Builder clearDefault() { - default_ = getDefaultInstance().getDefault(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } + @java.lang.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * default value
-             * 
- * - * string default = 3; - * - * @param value - * The bytes for default to set. - * - * @return This builder for chaining. - */ - public Builder setDefaultBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - default_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.KeyValuePair)) { + return super.equals(obj); + } + com.kcl.api.Spec.KeyValuePair other = (com.kcl.api.Spec.KeyValuePair) obj; + + if (!getKey() + .equals(other.getKey())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private java.lang.Object schemaName_ = ""; - - /** - *
-             * schema name
-             * 
- * - * string schema_name = 4; - * - * @return The schemaName. - */ - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.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) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * schema name
-             * 
- * - * string schema_name = 4; - * - * @return The bytes for schemaName. - */ - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * schema name
-             * 
- * - * string schema_name = 4; - * - * @param value - * The schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - schemaName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + public static com.kcl.api.Spec.KeyValuePair parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * schema name
-             * 
- * - * string schema_name = 4; - * - * @return This builder for chaining. - */ - public Builder clearSchemaName() { - schemaName_ = getDefaultInstance().getSchemaName(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } + public static com.kcl.api.Spec.KeyValuePair 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 com.kcl.api.Spec.KeyValuePair parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * schema name
-             * 
- * - * string schema_name = 4; - * - * @param value - * The bytes for schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - schemaName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.KeyValuePair prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private java.lang.Object schemaDoc_ = ""; - - /** - *
-             * schema doc
-             * 
- * - * string schema_doc = 5; - * - * @return The schemaDoc. - */ - public java.lang.String getSchemaDoc() { - java.lang.Object ref = schemaDoc_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaDoc_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.KeyValuePair} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.KeyValuePair) + com.kcl.api.Spec.KeyValuePairOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.KeyValuePair.class, com.kcl.api.Spec.KeyValuePair.Builder.class); + } + + // Construct using com.kcl.api.Spec.KeyValuePair.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + key_ = ""; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.KeyValuePair getDefaultInstanceForType() { + return com.kcl.api.Spec.KeyValuePair.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.KeyValuePair build() { + com.kcl.api.Spec.KeyValuePair result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.KeyValuePair buildPartial() { + com.kcl.api.Spec.KeyValuePair result = new com.kcl.api.Spec.KeyValuePair(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.KeyValuePair result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.key_ = key_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.KeyValuePair) { + return mergeFrom((com.kcl.api.Spec.KeyValuePair)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.KeyValuePair other) { + if (other == com.kcl.api.Spec.KeyValuePair.getDefaultInstance()) return this; + if (!other.getKey().isEmpty()) { + key_ = other.key_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + key_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object key_ = ""; + /** + * string key = 1; + * @return The key. + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string key = 1; + * @return The bytes for key. + */ + public com.google.protobuf.ByteString + getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.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( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string key = 1; + * @return This builder for chaining. + */ + public Builder clearKey() { + key_ = getDefaultInstance().getKey(); + bitField0_ = (bitField0_ & ~0x00000001); + 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; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + /** + * string value = 2; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string value = 2; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string value = 2; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string value = 2; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string value = 2; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.KeyValuePair) + } - /** - *
-             * schema doc
-             * 
- * - * string schema_doc = 5; - * - * @return The bytes for schemaDoc. - */ - public com.google.protobuf.ByteString getSchemaDocBytes() { - java.lang.Object ref = schemaDoc_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - schemaDoc_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.KeyValuePair) + private static final com.kcl.api.Spec.KeyValuePair DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.KeyValuePair(); + } - /** - *
-             * schema doc
-             * 
- * - * string schema_doc = 5; - * - * @param value - * The schemaDoc to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaDoc(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - schemaDoc_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } + public static com.kcl.api.Spec.KeyValuePair getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * schema doc
-             * 
- * - * string schema_doc = 5; - * - * @return This builder for chaining. - */ - public Builder clearSchemaDoc() { - schemaDoc_ = getDefaultInstance().getSchemaDoc(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KeyValuePair parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * schema doc
-             * 
- * - * string schema_doc = 5; - * - * @param value - * The bytes for schemaDoc to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaDocBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - schemaDoc_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - private static final class PropertiesConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.KclType build(com.kcl.api.Spec.KclTypeOrBuilder val) { - if (val instanceof com.kcl.api.Spec.KclType) { - return (com.kcl.api.Spec.KclType) val; - } - return ((com.kcl.api.Spec.KclType.Builder) val).build(); - } + @java.lang.Override + public com.kcl.api.Spec.KeyValuePair getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return PropertiesDefaultEntryHolder.defaultEntry; - } - }; + } - private static final PropertiesConverter propertiesConverter = new PropertiesConverter(); + public interface Rename_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Rename_Args) + com.google.protobuf.MessageOrBuilder { - private com.google.protobuf.MapFieldBuilder properties_; + /** + *
+     * the file path to the package root
+     * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + java.lang.String getPackageRoot(); + /** + *
+     * the file path to the package root
+     * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + com.google.protobuf.ByteString + getPackageRootBytes(); - private com.google.protobuf.MapFieldBuilder internalGetProperties() { - if (properties_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); - } - return properties_; - } + /** + *
+     * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+     * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + java.lang.String getSymbolPath(); + /** + *
+     * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+     * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + com.google.protobuf.ByteString + getSymbolPathBytes(); - private com.google.protobuf.MapFieldBuilder internalGetMutableProperties() { - if (properties_ == null) { - properties_ = new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); - } - bitField0_ |= 0x00000020; - onChanged(); - return properties_; - } + /** + *
+     * the paths to the source code files
+     * 
+ * + * repeated string file_paths = 3; + * @return A list containing the filePaths. + */ + java.util.List + getFilePathsList(); + /** + *
+     * the paths to the source code files
+     * 
+ * + * repeated string file_paths = 3; + * @return The count of filePaths. + */ + int getFilePathsCount(); + /** + *
+     * the paths to the source code files
+     * 
+ * + * repeated string file_paths = 3; + * @param index The index of the element to return. + * @return The filePaths at the given index. + */ + java.lang.String getFilePaths(int index); + /** + *
+     * the paths to the source code files
+     * 
+ * + * repeated string file_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the filePaths at the given index. + */ + com.google.protobuf.ByteString + getFilePathsBytes(int index); - public int getPropertiesCount() { - return internalGetProperties().ensureBuilderMap().size(); - } + /** + *
+     * the new name of the symbol
+     * 
+ * + * string new_name = 4; + * @return The newName. + */ + java.lang.String getNewName(); + /** + *
+     * the new name of the symbol
+     * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + com.google.protobuf.ByteString + getNewNameBytes(); + } + /** + * Protobuf type {@code com.kcl.api.Rename_Args} + */ + public static final class Rename_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Rename_Args) + Rename_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use Rename_Args.newBuilder() to construct. + private Rename_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Rename_Args() { + packageRoot_ = ""; + symbolPath_ = ""; + filePaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + newName_ = ""; + } - /** - *
-             * schema properties
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetProperties().ensureBuilderMap().containsKey(key); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Rename_Args(); + } - /** - * Use {@link #getPropertiesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getProperties() { - return getPropertiesMap(); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; + } - /** - *
-             * schema properties
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public java.util.Map getPropertiesMap() { - return internalGetProperties().getImmutableMap(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Rename_Args.class, com.kcl.api.Spec.Rename_Args.Builder.class); + } - /** - *
-             * schema properties
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.KclType getPropertiesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableProperties() - .ensureBuilderMap(); - return map.containsKey(key) ? propertiesConverter.build(map.get(key)) : defaultValue; - } + public static final int PACKAGE_ROOT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object packageRoot_ = ""; + /** + *
+     * the file path to the package root
+     * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + @java.lang.Override + public java.lang.String getPackageRoot() { + java.lang.Object ref = packageRoot_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageRoot_ = s; + return s; + } + } + /** + *
+     * the file path to the package root
+     * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPackageRootBytes() { + java.lang.Object ref = packageRoot_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * schema properties
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableProperties() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return propertiesConverter.build(map.get(key)); - } + public static final int SYMBOL_PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object symbolPath_ = ""; + /** + *
+     * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+     * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + @java.lang.Override + public java.lang.String getSymbolPath() { + java.lang.Object ref = symbolPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbolPath_ = s; + return s; + } + } + /** + *
+     * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+     * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSymbolPathBytes() { + java.lang.Object ref = symbolPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbolPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public Builder clearProperties() { - bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableProperties().clear(); - return this; - } + public static final int FILE_PATHS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList filePaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * the paths to the source code files
+     * 
+ * + * repeated string file_paths = 3; + * @return A list containing the filePaths. + */ + public com.google.protobuf.ProtocolStringList + getFilePathsList() { + return filePaths_; + } + /** + *
+     * the paths to the source code files
+     * 
+ * + * repeated string file_paths = 3; + * @return The count of filePaths. + */ + public int getFilePathsCount() { + return filePaths_.size(); + } + /** + *
+     * the paths to the source code files
+     * 
+ * + * repeated string file_paths = 3; + * @param index The index of the element to return. + * @return The filePaths at the given index. + */ + public java.lang.String getFilePaths(int index) { + return filePaths_.get(index); + } + /** + *
+     * the paths to the source code files
+     * 
+ * + * repeated string file_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the filePaths at the given index. + */ + public com.google.protobuf.ByteString + getFilePathsBytes(int index) { + return filePaths_.getByteString(index); + } - /** - *
-             * schema properties
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - public Builder removeProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableProperties().ensureBuilderMap().remove(key); - return this; - } + public static final int NEW_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object newName_ = ""; + /** + *
+     * the new name of the symbol
+     * 
+ * + * string new_name = 4; + * @return The newName. + */ + @java.lang.Override + public java.lang.String getNewName() { + java.lang.Object ref = newName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newName_ = s; + return s; + } + } + /** + *
+     * the new name of the symbol
+     * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNewNameBytes() { + java.lang.Object ref = newName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableProperties() { - bitField0_ |= 0x00000020; - return internalGetMutableProperties().ensureMessageMap(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * schema properties
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - public Builder putProperties(java.lang.String key, com.kcl.api.Spec.KclType value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableProperties().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000020; - return this; - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * schema properties
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - public Builder putAllProperties(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableProperties().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000020; - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageRoot_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, packageRoot_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(symbolPath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbolPath_); + } + for (int i = 0; i < filePaths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filePaths_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, newName_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * schema properties
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - public com.kcl.api.Spec.KclType.Builder putPropertiesBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableProperties() - .ensureBuilderMap(); - com.kcl.api.Spec.KclTypeOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.KclType.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.KclType) { - entry = ((com.kcl.api.Spec.KclType) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.KclType.Builder) entry; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageRoot_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, packageRoot_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(symbolPath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbolPath_); + } + { + int dataSize = 0; + for (int i = 0; i < filePaths_.size(); i++) { + dataSize += computeStringSizeNoTag(filePaths_.getRaw(i)); + } + size += dataSize; + size += 1 * getFilePathsList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, newName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private com.google.protobuf.LazyStringArrayList required_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Rename_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.Rename_Args other = (com.kcl.api.Spec.Rename_Args) obj; + + if (!getPackageRoot() + .equals(other.getPackageRoot())) return false; + if (!getSymbolPath() + .equals(other.getSymbolPath())) return false; + if (!getFilePathsList() + .equals(other.getFilePathsList())) return false; + if (!getNewName() + .equals(other.getNewName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private void ensureRequiredIsMutable() { - if (!required_.isModifiable()) { - required_ = new com.google.protobuf.LazyStringArrayList(required_); - } - bitField0_ |= 0x00000040; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PACKAGE_ROOT_FIELD_NUMBER; + hash = (53 * hash) + getPackageRoot().hashCode(); + hash = (37 * hash) + SYMBOL_PATH_FIELD_NUMBER; + hash = (53 * hash) + getSymbolPath().hashCode(); + if (getFilePathsCount() > 0) { + hash = (37 * hash) + FILE_PATHS_FIELD_NUMBER; + hash = (53 * hash) + getFilePathsList().hashCode(); + } + hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; + hash = (53 * hash) + getNewName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.kcl.api.Spec.Rename_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Rename_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Rename_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Rename_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Rename_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Rename_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Rename_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Rename_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * required schema properties, [property_name1, property_name2]
-             * 
- * - * repeated string required = 7; - * - * @return A list containing the required. - */ - public com.google.protobuf.ProtocolStringList getRequiredList() { - required_.makeImmutable(); - return required_; - } + public static com.kcl.api.Spec.Rename_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * required schema properties, [property_name1, property_name2]
-             * 
- * - * repeated string required = 7; - * - * @return The count of required. - */ - public int getRequiredCount() { - return required_.size(); - } + public static com.kcl.api.Spec.Rename_Args 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 com.kcl.api.Spec.Rename_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Rename_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * required schema properties, [property_name1, property_name2]
-             * 
- * - * repeated string required = 7; - * - * @param index - * The index of the element to return. - * - * @return The required at the given index. - */ - public java.lang.String getRequired(int index) { - return required_.get(index); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Rename_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * required schema properties, [property_name1, property_name2]
-             * 
- * - * repeated string required = 7; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the required at the given index. - */ - public com.google.protobuf.ByteString getRequiredBytes(int index) { - return required_.getByteString(index); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Rename_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Rename_Args) + com.kcl.api.Spec.Rename_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Rename_Args.class, com.kcl.api.Spec.Rename_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.Rename_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + packageRoot_ = ""; + symbolPath_ = ""; + filePaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + newName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Rename_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.Rename_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Rename_Args build() { + com.kcl.api.Spec.Rename_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Rename_Args buildPartial() { + com.kcl.api.Spec.Rename_Args result = new com.kcl.api.Spec.Rename_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Rename_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.packageRoot_ = packageRoot_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.symbolPath_ = symbolPath_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + filePaths_.makeImmutable(); + result.filePaths_ = filePaths_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.newName_ = newName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Rename_Args) { + return mergeFrom((com.kcl.api.Spec.Rename_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Rename_Args other) { + if (other == com.kcl.api.Spec.Rename_Args.getDefaultInstance()) return this; + if (!other.getPackageRoot().isEmpty()) { + packageRoot_ = other.packageRoot_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSymbolPath().isEmpty()) { + symbolPath_ = other.symbolPath_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.filePaths_.isEmpty()) { + if (filePaths_.isEmpty()) { + filePaths_ = other.filePaths_; + bitField0_ |= 0x00000004; + } else { + ensureFilePathsIsMutable(); + filePaths_.addAll(other.filePaths_); + } + onChanged(); + } + if (!other.getNewName().isEmpty()) { + newName_ = other.newName_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + packageRoot_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + symbolPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilePathsIsMutable(); + filePaths_.add(s); + break; + } // case 26 + case 34: { + newName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object packageRoot_ = ""; + /** + *
+       * the file path to the package root
+       * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + public java.lang.String getPackageRoot() { + java.lang.Object ref = packageRoot_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageRoot_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * the file path to the package root
+       * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + public com.google.protobuf.ByteString + getPackageRootBytes() { + java.lang.Object ref = packageRoot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * the file path to the package root
+       * 
+ * + * string package_root = 1; + * @param value The packageRoot to set. + * @return This builder for chaining. + */ + public Builder setPackageRoot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + packageRoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * the file path to the package root
+       * 
+ * + * string package_root = 1; + * @return This builder for chaining. + */ + public Builder clearPackageRoot() { + packageRoot_ = getDefaultInstance().getPackageRoot(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * the file path to the package root
+       * 
+ * + * string package_root = 1; + * @param value The bytes for packageRoot to set. + * @return This builder for chaining. + */ + public Builder setPackageRootBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + packageRoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object symbolPath_ = ""; + /** + *
+       * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+       * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + public java.lang.String getSymbolPath() { + java.lang.Object ref = symbolPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbolPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+       * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + public com.google.protobuf.ByteString + getSymbolPathBytes() { + java.lang.Object ref = symbolPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbolPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+       * 
+ * + * string symbol_path = 2; + * @param value The symbolPath to set. + * @return This builder for chaining. + */ + public Builder setSymbolPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + symbolPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+       * 
+ * + * string symbol_path = 2; + * @return This builder for chaining. + */ + public Builder clearSymbolPath() { + symbolPath_ = getDefaultInstance().getSymbolPath(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+       * 
+ * + * string symbol_path = 2; + * @param value The bytes for symbolPath to set. + * @return This builder for chaining. + */ + public Builder setSymbolPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + symbolPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList filePaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilePathsIsMutable() { + if (!filePaths_.isModifiable()) { + filePaths_ = new com.google.protobuf.LazyStringArrayList(filePaths_); + } + bitField0_ |= 0x00000004; + } + /** + *
+       * the paths to the source code files
+       * 
+ * + * repeated string file_paths = 3; + * @return A list containing the filePaths. + */ + public com.google.protobuf.ProtocolStringList + getFilePathsList() { + filePaths_.makeImmutable(); + return filePaths_; + } + /** + *
+       * the paths to the source code files
+       * 
+ * + * repeated string file_paths = 3; + * @return The count of filePaths. + */ + public int getFilePathsCount() { + return filePaths_.size(); + } + /** + *
+       * the paths to the source code files
+       * 
+ * + * repeated string file_paths = 3; + * @param index The index of the element to return. + * @return The filePaths at the given index. + */ + public java.lang.String getFilePaths(int index) { + return filePaths_.get(index); + } + /** + *
+       * the paths to the source code files
+       * 
+ * + * repeated string file_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the filePaths at the given index. + */ + public com.google.protobuf.ByteString + getFilePathsBytes(int index) { + return filePaths_.getByteString(index); + } + /** + *
+       * the paths to the source code files
+       * 
+ * + * repeated string file_paths = 3; + * @param index The index to set the value at. + * @param value The filePaths to set. + * @return This builder for chaining. + */ + public Builder setFilePaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilePathsIsMutable(); + filePaths_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * the paths to the source code files
+       * 
+ * + * repeated string file_paths = 3; + * @param value The filePaths to add. + * @return This builder for chaining. + */ + public Builder addFilePaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilePathsIsMutable(); + filePaths_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * the paths to the source code files
+       * 
+ * + * repeated string file_paths = 3; + * @param values The filePaths to add. + * @return This builder for chaining. + */ + public Builder addAllFilePaths( + java.lang.Iterable values) { + ensureFilePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, filePaths_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * the paths to the source code files
+       * 
+ * + * repeated string file_paths = 3; + * @return This builder for chaining. + */ + public Builder clearFilePaths() { + filePaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + *
+       * the paths to the source code files
+       * 
+ * + * repeated string file_paths = 3; + * @param value The bytes of the filePaths to add. + * @return This builder for chaining. + */ + public Builder addFilePathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFilePathsIsMutable(); + filePaths_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object newName_ = ""; + /** + *
+       * the new name of the symbol
+       * 
+ * + * string new_name = 4; + * @return The newName. + */ + public java.lang.String getNewName() { + java.lang.Object ref = newName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * the new name of the symbol
+       * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + public com.google.protobuf.ByteString + getNewNameBytes() { + java.lang.Object ref = newName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * the new name of the symbol
+       * 
+ * + * string new_name = 4; + * @param value The newName to set. + * @return This builder for chaining. + */ + public Builder setNewName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + newName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * the new name of the symbol
+       * 
+ * + * string new_name = 4; + * @return This builder for chaining. + */ + public Builder clearNewName() { + newName_ = getDefaultInstance().getNewName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * the new name of the symbol
+       * 
+ * + * string new_name = 4; + * @param value The bytes for newName to set. + * @return This builder for chaining. + */ + public Builder setNewNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + newName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Rename_Args) + } - /** - *
-             * required schema properties, [property_name1, property_name2]
-             * 
- * - * repeated string required = 7; - * - * @param index - * The index to set the value at. - * @param value - * The required to set. - * - * @return This builder for chaining. - */ - public Builder setRequired(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequiredIsMutable(); - required_.set(index, value); - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Rename_Args) + private static final com.kcl.api.Spec.Rename_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Rename_Args(); + } - /** - *
-             * required schema properties, [property_name1, property_name2]
-             * 
- * - * repeated string required = 7; - * - * @param value - * The required to add. - * - * @return This builder for chaining. - */ - public Builder addRequired(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequiredIsMutable(); - required_.add(value); - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + public static com.kcl.api.Spec.Rename_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * required schema properties, [property_name1, property_name2]
-             * 
- * - * repeated string required = 7; - * - * @param values - * The required to add. - * - * @return This builder for chaining. - */ - public Builder addAllRequired(java.lang.Iterable values) { - ensureRequiredIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, required_); - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rename_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * required schema properties, [property_name1, property_name2]
-             * 
- * - * repeated string required = 7; - * - * @return This builder for chaining. - */ - public Builder clearRequired() { - required_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - ; - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * required schema properties, [property_name1, property_name2]
-             * 
- * - * repeated string required = 7; - * - * @param value - * The bytes of the required to add. - * - * @return This builder for chaining. - */ - public Builder addRequiredBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureRequiredIsMutable(); - required_.add(value); - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.Rename_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - private com.kcl.api.Spec.KclType key_; - private com.google.protobuf.SingleFieldBuilderV3 keyBuilder_; - - /** - *
-             * dict key type
-             * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return Whether the key field is set. - */ - public boolean hasKey() { - return ((bitField0_ & 0x00000080) != 0); - } + } - /** - *
-             * dict key type
-             * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return The key. - */ - public com.kcl.api.Spec.KclType getKey() { - if (keyBuilder_ == null) { - return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; - } else { - return keyBuilder_.getMessage(); - } - } + public interface Rename_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Rename_Result) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * dict key type
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public Builder setKey(com.kcl.api.Spec.KclType value) { - if (keyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - key_ = value; - } else { - keyBuilder_.setMessage(value); - } - bitField0_ |= 0x00000080; - onChanged(); - return this; - } + /** + *
+     * the file paths got changed
+     * 
+ * + * repeated string changed_files = 1; + * @return A list containing the changedFiles. + */ + java.util.List + getChangedFilesList(); + /** + *
+     * the file paths got changed
+     * 
+ * + * repeated string changed_files = 1; + * @return The count of changedFiles. + */ + int getChangedFilesCount(); + /** + *
+     * the file paths got changed
+     * 
+ * + * repeated string changed_files = 1; + * @param index The index of the element to return. + * @return The changedFiles at the given index. + */ + java.lang.String getChangedFiles(int index); + /** + *
+     * the file paths got changed
+     * 
+ * + * repeated string changed_files = 1; + * @param index The index of the value to return. + * @return The bytes of the changedFiles at the given index. + */ + com.google.protobuf.ByteString + getChangedFilesBytes(int index); + } + /** + * Protobuf type {@code com.kcl.api.Rename_Result} + */ + public static final class Rename_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Rename_Result) + Rename_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use Rename_Result.newBuilder() to construct. + private Rename_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Rename_Result() { + changedFiles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - /** - *
-             * dict key type
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public Builder setKey(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (keyBuilder_ == null) { - key_ = builderForValue.build(); - } else { - keyBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000080; - onChanged(); - return this; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Rename_Result(); + } - /** - *
-             * dict key type
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public Builder mergeKey(com.kcl.api.Spec.KclType value) { - if (keyBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && key_ != null - && key_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { - getKeyBuilder().mergeFrom(value); - } else { - key_ = value; - } - } else { - keyBuilder_.mergeFrom(value); - } - if (key_ != null) { - bitField0_ |= 0x00000080; - onChanged(); - } - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; + } - /** - *
-             * dict key type
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public Builder clearKey() { - bitField0_ = (bitField0_ & ~0x00000080); - key_ = null; - if (keyBuilder_ != null) { - keyBuilder_.dispose(); - keyBuilder_ = null; - } - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Rename_Result.class, com.kcl.api.Spec.Rename_Result.Builder.class); + } - /** - *
-             * dict key type
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public com.kcl.api.Spec.KclType.Builder getKeyBuilder() { - bitField0_ |= 0x00000080; - onChanged(); - return getKeyFieldBuilder().getBuilder(); - } + public static final int CHANGED_FILES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList changedFiles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * the file paths got changed
+     * 
+ * + * repeated string changed_files = 1; + * @return A list containing the changedFiles. + */ + public com.google.protobuf.ProtocolStringList + getChangedFilesList() { + return changedFiles_; + } + /** + *
+     * the file paths got changed
+     * 
+ * + * repeated string changed_files = 1; + * @return The count of changedFiles. + */ + public int getChangedFilesCount() { + return changedFiles_.size(); + } + /** + *
+     * the file paths got changed
+     * 
+ * + * repeated string changed_files = 1; + * @param index The index of the element to return. + * @return The changedFiles at the given index. + */ + public java.lang.String getChangedFiles(int index) { + return changedFiles_.get(index); + } + /** + *
+     * the file paths got changed
+     * 
+ * + * repeated string changed_files = 1; + * @param index The index of the value to return. + * @return The bytes of the changedFiles at the given index. + */ + public com.google.protobuf.ByteString + getChangedFilesBytes(int index) { + return changedFiles_.getByteString(index); + } - /** - *
-             * dict key type
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder() { - if (keyBuilder_ != null) { - return keyBuilder_.getMessageOrBuilder(); - } else { - return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * dict key type
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3 getKeyFieldBuilder() { - if (keyBuilder_ == null) { - keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getKey(), getParentForChildren(), isClean()); - key_ = null; - } - return keyBuilder_; - } + memoizedIsInitialized = 1; + return true; + } - private com.kcl.api.Spec.KclType item_; - private com.google.protobuf.SingleFieldBuilderV3 itemBuilder_; - - /** - *
-             * dict/list item type
-             * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return Whether the item field is set. - */ - public boolean hasItem() { - return ((bitField0_ & 0x00000100) != 0); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < changedFiles_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, changedFiles_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * dict/list item type
-             * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return The item. - */ - public com.kcl.api.Spec.KclType getItem() { - if (itemBuilder_ == null) { - return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; - } else { - return itemBuilder_.getMessage(); - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < changedFiles_.size(); i++) { + dataSize += computeStringSizeNoTag(changedFiles_.getRaw(i)); + } + size += dataSize; + size += 1 * getChangedFilesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * dict/list item type
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public Builder setItem(com.kcl.api.Spec.KclType value) { - if (itemBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - item_ = value; - } else { - itemBuilder_.setMessage(value); - } - bitField0_ |= 0x00000100; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Rename_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.Rename_Result other = (com.kcl.api.Spec.Rename_Result) obj; + + if (!getChangedFilesList() + .equals(other.getChangedFilesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * dict/list item type
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public Builder setItem(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (itemBuilder_ == null) { - item_ = builderForValue.build(); - } else { - itemBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000100; - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getChangedFilesCount() > 0) { + hash = (37 * hash) + CHANGED_FILES_FIELD_NUMBER; + hash = (53 * hash) + getChangedFilesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * dict/list item type
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public Builder mergeItem(com.kcl.api.Spec.KclType value) { - if (itemBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && item_ != null - && item_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { - getItemBuilder().mergeFrom(value); - } else { - item_ = value; - } - } else { - itemBuilder_.mergeFrom(value); - } - if (item_ != null) { - bitField0_ |= 0x00000100; - onChanged(); - } - return this; - } + public static com.kcl.api.Spec.Rename_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Rename_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Rename_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Rename_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Rename_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Rename_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Rename_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Rename_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * dict/list item type
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public Builder clearItem() { - bitField0_ = (bitField0_ & ~0x00000100); - item_ = null; - if (itemBuilder_ != null) { - itemBuilder_.dispose(); - itemBuilder_ = null; - } - onChanged(); - return this; - } + public static com.kcl.api.Spec.Rename_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * dict/list item type
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public com.kcl.api.Spec.KclType.Builder getItemBuilder() { - bitField0_ |= 0x00000100; - onChanged(); - return getItemFieldBuilder().getBuilder(); - } + public static com.kcl.api.Spec.Rename_Result 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 com.kcl.api.Spec.Rename_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Rename_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * dict/list item type
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder() { - if (itemBuilder_ != null) { - return itemBuilder_.getMessageOrBuilder(); - } else { - return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Rename_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * dict/list item type
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3 getItemFieldBuilder() { - if (itemBuilder_ == null) { - itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getItem(), getParentForChildren(), isClean()); - item_ = null; - } - return itemBuilder_; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Rename_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Rename_Result) + com.kcl.api.Spec.Rename_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Rename_Result.class, com.kcl.api.Spec.Rename_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.Rename_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + changedFiles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Rename_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.Rename_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Rename_Result build() { + com.kcl.api.Spec.Rename_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Rename_Result buildPartial() { + com.kcl.api.Spec.Rename_Result result = new com.kcl.api.Spec.Rename_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Rename_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + changedFiles_.makeImmutable(); + result.changedFiles_ = changedFiles_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Rename_Result) { + return mergeFrom((com.kcl.api.Spec.Rename_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Rename_Result other) { + if (other == com.kcl.api.Spec.Rename_Result.getDefaultInstance()) return this; + if (!other.changedFiles_.isEmpty()) { + if (changedFiles_.isEmpty()) { + changedFiles_ = other.changedFiles_; + bitField0_ |= 0x00000001; + } else { + ensureChangedFilesIsMutable(); + changedFiles_.addAll(other.changedFiles_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureChangedFilesIsMutable(); + changedFiles_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList changedFiles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureChangedFilesIsMutable() { + if (!changedFiles_.isModifiable()) { + changedFiles_ = new com.google.protobuf.LazyStringArrayList(changedFiles_); + } + bitField0_ |= 0x00000001; + } + /** + *
+       * the file paths got changed
+       * 
+ * + * repeated string changed_files = 1; + * @return A list containing the changedFiles. + */ + public com.google.protobuf.ProtocolStringList + getChangedFilesList() { + changedFiles_.makeImmutable(); + return changedFiles_; + } + /** + *
+       * the file paths got changed
+       * 
+ * + * repeated string changed_files = 1; + * @return The count of changedFiles. + */ + public int getChangedFilesCount() { + return changedFiles_.size(); + } + /** + *
+       * the file paths got changed
+       * 
+ * + * repeated string changed_files = 1; + * @param index The index of the element to return. + * @return The changedFiles at the given index. + */ + public java.lang.String getChangedFiles(int index) { + return changedFiles_.get(index); + } + /** + *
+       * the file paths got changed
+       * 
+ * + * repeated string changed_files = 1; + * @param index The index of the value to return. + * @return The bytes of the changedFiles at the given index. + */ + public com.google.protobuf.ByteString + getChangedFilesBytes(int index) { + return changedFiles_.getByteString(index); + } + /** + *
+       * the file paths got changed
+       * 
+ * + * repeated string changed_files = 1; + * @param index The index to set the value at. + * @param value The changedFiles to set. + * @return This builder for chaining. + */ + public Builder setChangedFiles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureChangedFilesIsMutable(); + changedFiles_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * the file paths got changed
+       * 
+ * + * repeated string changed_files = 1; + * @param value The changedFiles to add. + * @return This builder for chaining. + */ + public Builder addChangedFiles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureChangedFilesIsMutable(); + changedFiles_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * the file paths got changed
+       * 
+ * + * repeated string changed_files = 1; + * @param values The changedFiles to add. + * @return This builder for chaining. + */ + public Builder addAllChangedFiles( + java.lang.Iterable values) { + ensureChangedFilesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, changedFiles_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * the file paths got changed
+       * 
+ * + * repeated string changed_files = 1; + * @return This builder for chaining. + */ + public Builder clearChangedFiles() { + changedFiles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + *
+       * the file paths got changed
+       * 
+ * + * repeated string changed_files = 1; + * @param value The bytes of the changedFiles to add. + * @return This builder for chaining. + */ + public Builder addChangedFilesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureChangedFilesIsMutable(); + changedFiles_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Rename_Result) + } - private int line_; + // @@protoc_insertion_point(class_scope:com.kcl.api.Rename_Result) + private static final com.kcl.api.Spec.Rename_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Rename_Result(); + } - /** - * int32 line = 10; - * - * @return The line. - */ - @java.lang.Override - public int getLine() { - return line_; - } + public static com.kcl.api.Spec.Rename_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * int32 line = 10; - * - * @param value - * The line to set. - * - * @return This builder for chaining. - */ - public Builder setLine(int value) { - - line_ = value; - bitField0_ |= 0x00000200; - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rename_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * int32 line = 10; - * - * @return This builder for chaining. - */ - public Builder clearLine() { - bitField0_ = (bitField0_ & ~0x00000200); - line_ = 0; - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - private java.util.List decorators_ = java.util.Collections.emptyList(); + @java.lang.Override + public com.kcl.api.Spec.Rename_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - private void ensureDecoratorsIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { - decorators_ = new java.util.ArrayList(decorators_); - bitField0_ |= 0x00000400; - } - } + } - private com.google.protobuf.RepeatedFieldBuilderV3 decoratorsBuilder_; + public interface RenameCode_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCode_Args) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public java.util.List getDecoratorsList() { - if (decoratorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(decorators_); - } else { - return decoratorsBuilder_.getMessageList(); - } - } + /** + *
+     * the file path to the package root
+     * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + java.lang.String getPackageRoot(); + /** + *
+     * the file path to the package root
+     * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + com.google.protobuf.ByteString + getPackageRootBytes(); - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public int getDecoratorsCount() { - if (decoratorsBuilder_ == null) { - return decorators_.size(); - } else { - return decoratorsBuilder_.getCount(); - } - } + /** + *
+     * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+     * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + java.lang.String getSymbolPath(); + /** + *
+     * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+     * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + com.google.protobuf.ByteString + getSymbolPathBytes(); - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public com.kcl.api.Spec.Decorator getDecorators(int index) { - if (decoratorsBuilder_ == null) { - return decorators_.get(index); - } else { - return decoratorsBuilder_.getMessage(index); - } - } + /** + *
+     * the source code. a <filename>:<code> map
+     * 
+ * + * map<string, string> source_codes = 3; + */ + int getSourceCodesCount(); + /** + *
+     * the source code. a <filename>:<code> map
+     * 
+ * + * map<string, string> source_codes = 3; + */ + boolean containsSourceCodes( + java.lang.String key); + /** + * Use {@link #getSourceCodesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSourceCodes(); + /** + *
+     * the source code. a <filename>:<code> map
+     * 
+ * + * map<string, string> source_codes = 3; + */ + java.util.Map + getSourceCodesMap(); + /** + *
+     * the source code. a <filename>:<code> map
+     * 
+ * + * map<string, string> source_codes = 3; + */ + /* nullable */ +java.lang.String getSourceCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+     * the source code. a <filename>:<code> map
+     * 
+ * + * map<string, string> source_codes = 3; + */ + java.lang.String getSourceCodesOrThrow( + java.lang.String key); - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder setDecorators(int index, com.kcl.api.Spec.Decorator value) { - if (decoratorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDecoratorsIsMutable(); - decorators_.set(index, value); - onChanged(); - } else { - decoratorsBuilder_.setMessage(index, value); - } - return this; - } + /** + *
+     * the new name of the symbol
+     * 
+ * + * string new_name = 4; + * @return The newName. + */ + java.lang.String getNewName(); + /** + *
+     * the new name of the symbol
+     * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + com.google.protobuf.ByteString + getNewNameBytes(); + } + /** + * Protobuf type {@code com.kcl.api.RenameCode_Args} + */ + public static final class RenameCode_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCode_Args) + RenameCode_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use RenameCode_Args.newBuilder() to construct. + private RenameCode_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RenameCode_Args() { + packageRoot_ = ""; + symbolPath_ = ""; + newName_ = ""; + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder setDecorators(int index, com.kcl.api.Spec.Decorator.Builder builderForValue) { - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - decorators_.set(index, builderForValue.build()); - onChanged(); - } else { - decoratorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RenameCode_Args(); + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder addDecorators(com.kcl.api.Spec.Decorator value) { - if (decoratorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDecoratorsIsMutable(); - decorators_.add(value); - onChanged(); - } else { - decoratorsBuilder_.addMessage(value); - } - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder addDecorators(int index, com.kcl.api.Spec.Decorator value) { - if (decoratorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDecoratorsIsMutable(); - decorators_.add(index, value); - onChanged(); - } else { - decoratorsBuilder_.addMessage(index, value); - } - return this; - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetSourceCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameCode_Args.class, com.kcl.api.Spec.RenameCode_Args.Builder.class); + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder addDecorators(com.kcl.api.Spec.Decorator.Builder builderForValue) { - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - decorators_.add(builderForValue.build()); - onChanged(); - } else { - decoratorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } + public static final int PACKAGE_ROOT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object packageRoot_ = ""; + /** + *
+     * the file path to the package root
+     * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + @java.lang.Override + public java.lang.String getPackageRoot() { + java.lang.Object ref = packageRoot_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageRoot_ = s; + return s; + } + } + /** + *
+     * the file path to the package root
+     * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPackageRootBytes() { + java.lang.Object ref = packageRoot_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder addDecorators(int index, com.kcl.api.Spec.Decorator.Builder builderForValue) { - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - decorators_.add(index, builderForValue.build()); - onChanged(); - } else { - decoratorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + public static final int SYMBOL_PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object symbolPath_ = ""; + /** + *
+     * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+     * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + @java.lang.Override + public java.lang.String getSymbolPath() { + java.lang.Object ref = symbolPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbolPath_ = s; + return s; + } + } + /** + *
+     * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+     * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSymbolPathBytes() { + java.lang.Object ref = symbolPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbolPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder addAllDecorators(java.lang.Iterable values) { - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, decorators_); - onChanged(); - } else { - decoratorsBuilder_.addAllMessages(values); - } - return this; - } + public static final int SOURCE_CODES_FIELD_NUMBER = 3; + private static final class SourceCodesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> sourceCodes_; + private com.google.protobuf.MapField + internalGetSourceCodes() { + if (sourceCodes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SourceCodesDefaultEntryHolder.defaultEntry); + } + return sourceCodes_; + } + public int getSourceCodesCount() { + return internalGetSourceCodes().getMap().size(); + } + /** + *
+     * the source code. a <filename>:<code> map
+     * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public boolean containsSourceCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSourceCodes().getMap().containsKey(key); + } + /** + * Use {@link #getSourceCodesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSourceCodes() { + return getSourceCodesMap(); + } + /** + *
+     * the source code. a <filename>:<code> map
+     * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public java.util.Map getSourceCodesMap() { + return internalGetSourceCodes().getMap(); + } + /** + *
+     * the source code. a <filename>:<code> map
+     * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getSourceCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSourceCodes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * the source code. a <filename>:<code> map
+     * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public java.lang.String getSourceCodesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSourceCodes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder clearDecorators() { - if (decoratorsBuilder_ == null) { - decorators_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); - onChanged(); - } else { - decoratorsBuilder_.clear(); - } - return this; - } + public static final int NEW_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object newName_ = ""; + /** + *
+     * the new name of the symbol
+     * 
+ * + * string new_name = 4; + * @return The newName. + */ + @java.lang.Override + public java.lang.String getNewName() { + java.lang.Object ref = newName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newName_ = s; + return s; + } + } + /** + *
+     * the new name of the symbol
+     * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNewNameBytes() { + java.lang.Object ref = newName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder removeDecorators(int index) { - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - decorators_.remove(index); - onChanged(); - } else { - decoratorsBuilder_.remove(index); - } - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public com.kcl.api.Spec.Decorator.Builder getDecoratorsBuilder(int index) { - return getDecoratorsFieldBuilder().getBuilder(index); - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder(int index) { - if (decoratorsBuilder_ == null) { - return decorators_.get(index); - } else { - return decoratorsBuilder_.getMessageOrBuilder(index); - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageRoot_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, packageRoot_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(symbolPath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbolPath_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetSourceCodes(), + SourceCodesDefaultEntryHolder.defaultEntry, + 3); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, newName_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public java.util.List getDecoratorsOrBuilderList() { - if (decoratorsBuilder_ != null) { - return decoratorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(decorators_); - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageRoot_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, packageRoot_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(symbolPath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbolPath_); + } + for (java.util.Map.Entry entry + : internalGetSourceCodes().getMap().entrySet()) { + com.google.protobuf.MapEntry + sourceCodes__ = SourceCodesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, sourceCodes__); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, newName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder() { - return getDecoratorsFieldBuilder().addBuilder(com.kcl.api.Spec.Decorator.getDefaultInstance()); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.RenameCode_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.RenameCode_Args other = (com.kcl.api.Spec.RenameCode_Args) obj; + + if (!getPackageRoot() + .equals(other.getPackageRoot())) return false; + if (!getSymbolPath() + .equals(other.getSymbolPath())) return false; + if (!internalGetSourceCodes().equals( + other.internalGetSourceCodes())) return false; + if (!getNewName() + .equals(other.getNewName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder(int index) { - return getDecoratorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Decorator.getDefaultInstance()); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PACKAGE_ROOT_FIELD_NUMBER; + hash = (53 * hash) + getPackageRoot().hashCode(); + hash = (37 * hash) + SYMBOL_PATH_FIELD_NUMBER; + hash = (53 * hash) + getSymbolPath().hashCode(); + if (!internalGetSourceCodes().getMap().isEmpty()) { + hash = (37 * hash) + SOURCE_CODES_FIELD_NUMBER; + hash = (53 * hash) + internalGetSourceCodes().hashCode(); + } + hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; + hash = (53 * hash) + getNewName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * schema decorators
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public java.util.List getDecoratorsBuilderList() { - return getDecoratorsFieldBuilder().getBuilderList(); - } + public static com.kcl.api.Spec.RenameCode_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCode_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCode_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCode_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCode_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCode_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCode_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameCode_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private com.google.protobuf.RepeatedFieldBuilderV3 getDecoratorsFieldBuilder() { - if (decoratorsBuilder_ == null) { - decoratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - decorators_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); - decorators_ = null; - } - return decoratorsBuilder_; - } + public static com.kcl.api.Spec.RenameCode_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private java.lang.Object filename_ = ""; - - /** - *
-             * `filename` represents the absolute path of the file name where the attribute is located.
-             * 
- * - * string filename = 12; - * - * @return The filename. - */ - public java.lang.String getFilename() { - java.lang.Object ref = filename_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filename_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.RenameCode_Args 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 com.kcl.api.Spec.RenameCode_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameCode_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * `filename` represents the absolute path of the file name where the attribute is located.
-             * 
- * - * string filename = 12; - * - * @return The bytes for filename. - */ - public com.google.protobuf.ByteString getFilenameBytes() { - java.lang.Object ref = filename_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - filename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.RenameCode_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * `filename` represents the absolute path of the file name where the attribute is located.
-             * 
- * - * string filename = 12; - * - * @param value - * The filename to set. - * - * @return This builder for chaining. - */ - public Builder setFilename(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - filename_ = value; - bitField0_ |= 0x00000800; - onChanged(); - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.RenameCode_Args} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCode_Args) + com.kcl.api.Spec.RenameCode_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetSourceCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetMutableSourceCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameCode_Args.class, com.kcl.api.Spec.RenameCode_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.RenameCode_Args.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + packageRoot_ = ""; + symbolPath_ = ""; + internalGetMutableSourceCodes().clear(); + newName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCode_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.RenameCode_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCode_Args build() { + com.kcl.api.Spec.RenameCode_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCode_Args buildPartial() { + com.kcl.api.Spec.RenameCode_Args result = new com.kcl.api.Spec.RenameCode_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.RenameCode_Args result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.packageRoot_ = packageRoot_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.symbolPath_ = symbolPath_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sourceCodes_ = internalGetSourceCodes(); + result.sourceCodes_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.newName_ = newName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.RenameCode_Args) { + return mergeFrom((com.kcl.api.Spec.RenameCode_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.RenameCode_Args other) { + if (other == com.kcl.api.Spec.RenameCode_Args.getDefaultInstance()) return this; + if (!other.getPackageRoot().isEmpty()) { + packageRoot_ = other.packageRoot_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSymbolPath().isEmpty()) { + symbolPath_ = other.symbolPath_; + bitField0_ |= 0x00000002; + onChanged(); + } + internalGetMutableSourceCodes().mergeFrom( + other.internalGetSourceCodes()); + bitField0_ |= 0x00000004; + if (!other.getNewName().isEmpty()) { + newName_ = other.newName_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + packageRoot_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + symbolPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.protobuf.MapEntry + sourceCodes__ = input.readMessage( + SourceCodesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSourceCodes().getMutableMap().put( + sourceCodes__.getKey(), sourceCodes__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + newName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object packageRoot_ = ""; + /** + *
+       * the file path to the package root
+       * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + public java.lang.String getPackageRoot() { + java.lang.Object ref = packageRoot_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageRoot_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * the file path to the package root
+       * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + public com.google.protobuf.ByteString + getPackageRootBytes() { + java.lang.Object ref = packageRoot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * the file path to the package root
+       * 
+ * + * string package_root = 1; + * @param value The packageRoot to set. + * @return This builder for chaining. + */ + public Builder setPackageRoot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + packageRoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * the file path to the package root
+       * 
+ * + * string package_root = 1; + * @return This builder for chaining. + */ + public Builder clearPackageRoot() { + packageRoot_ = getDefaultInstance().getPackageRoot(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * the file path to the package root
+       * 
+ * + * string package_root = 1; + * @param value The bytes for packageRoot to set. + * @return This builder for chaining. + */ + public Builder setPackageRootBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + packageRoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object symbolPath_ = ""; + /** + *
+       * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+       * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + public java.lang.String getSymbolPath() { + java.lang.Object ref = symbolPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbolPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+       * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + public com.google.protobuf.ByteString + getSymbolPathBytes() { + java.lang.Object ref = symbolPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbolPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+       * 
+ * + * string symbol_path = 2; + * @param value The symbolPath to set. + * @return This builder for chaining. + */ + public Builder setSymbolPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + symbolPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+       * 
+ * + * string symbol_path = 2; + * @return This builder for chaining. + */ + public Builder clearSymbolPath() { + symbolPath_ = getDefaultInstance().getSymbolPath(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
+       * 
+ * + * string symbol_path = 2; + * @param value The bytes for symbolPath to set. + * @return This builder for chaining. + */ + public Builder setSymbolPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + symbolPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> sourceCodes_; + private com.google.protobuf.MapField + internalGetSourceCodes() { + if (sourceCodes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SourceCodesDefaultEntryHolder.defaultEntry); + } + return sourceCodes_; + } + private com.google.protobuf.MapField + internalGetMutableSourceCodes() { + if (sourceCodes_ == null) { + sourceCodes_ = com.google.protobuf.MapField.newMapField( + SourceCodesDefaultEntryHolder.defaultEntry); + } + if (!sourceCodes_.isMutable()) { + sourceCodes_ = sourceCodes_.copy(); + } + bitField0_ |= 0x00000004; + onChanged(); + return sourceCodes_; + } + public int getSourceCodesCount() { + return internalGetSourceCodes().getMap().size(); + } + /** + *
+       * the source code. a <filename>:<code> map
+       * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public boolean containsSourceCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSourceCodes().getMap().containsKey(key); + } + /** + * Use {@link #getSourceCodesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSourceCodes() { + return getSourceCodesMap(); + } + /** + *
+       * the source code. a <filename>:<code> map
+       * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public java.util.Map getSourceCodesMap() { + return internalGetSourceCodes().getMap(); + } + /** + *
+       * the source code. a <filename>:<code> map
+       * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getSourceCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSourceCodes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * the source code. a <filename>:<code> map
+       * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public java.lang.String getSourceCodesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSourceCodes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearSourceCodes() { + bitField0_ = (bitField0_ & ~0x00000004); + internalGetMutableSourceCodes().getMutableMap() + .clear(); + return this; + } + /** + *
+       * the source code. a <filename>:<code> map
+       * 
+ * + * map<string, string> source_codes = 3; + */ + public Builder removeSourceCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSourceCodes().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSourceCodes() { + bitField0_ |= 0x00000004; + return internalGetMutableSourceCodes().getMutableMap(); + } + /** + *
+       * the source code. a <filename>:<code> map
+       * 
+ * + * map<string, string> source_codes = 3; + */ + public Builder putSourceCodes( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSourceCodes().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000004; + return this; + } + /** + *
+       * the source code. a <filename>:<code> map
+       * 
+ * + * map<string, string> source_codes = 3; + */ + public Builder putAllSourceCodes( + java.util.Map values) { + internalGetMutableSourceCodes().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000004; + return this; + } + + private java.lang.Object newName_ = ""; + /** + *
+       * the new name of the symbol
+       * 
+ * + * string new_name = 4; + * @return The newName. + */ + public java.lang.String getNewName() { + java.lang.Object ref = newName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * the new name of the symbol
+       * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + public com.google.protobuf.ByteString + getNewNameBytes() { + java.lang.Object ref = newName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * the new name of the symbol
+       * 
+ * + * string new_name = 4; + * @param value The newName to set. + * @return This builder for chaining. + */ + public Builder setNewName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + newName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * the new name of the symbol
+       * 
+ * + * string new_name = 4; + * @return This builder for chaining. + */ + public Builder clearNewName() { + newName_ = getDefaultInstance().getNewName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * the new name of the symbol
+       * 
+ * + * string new_name = 4; + * @param value The bytes for newName to set. + * @return This builder for chaining. + */ + public Builder setNewNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + newName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCode_Args) + } - /** - *
-             * `filename` represents the absolute path of the file name where the attribute is located.
-             * 
- * - * string filename = 12; - * - * @return This builder for chaining. - */ - public Builder clearFilename() { - filename_ = getDefaultInstance().getFilename(); - bitField0_ = (bitField0_ & ~0x00000800); - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCode_Args) + private static final com.kcl.api.Spec.RenameCode_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCode_Args(); + } - /** - *
-             * `filename` represents the absolute path of the file name where the attribute is located.
-             * 
- * - * string filename = 12; - * - * @param value - * The bytes for filename to set. - * - * @return This builder for chaining. - */ - public Builder setFilenameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - filename_ = value; - bitField0_ |= 0x00000800; - onChanged(); - return this; - } + public static com.kcl.api.Spec.RenameCode_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private java.lang.Object pkgPath_ = ""; - - /** - *
-             * `pkg_path` represents the path name of the package where the attribute is located.
-             * 
- * - * string pkg_path = 13; - * - * @return The pkgPath. - */ - public java.lang.String getPkgPath() { - java.lang.Object ref = pkgPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameCode_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * `pkg_path` represents the path name of the package where the attribute is located.
-             * 
- * - * string pkg_path = 13; - * - * @return The bytes for pkgPath. - */ - public com.google.protobuf.ByteString getPkgPathBytes() { - java.lang.Object ref = pkgPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * `pkg_path` represents the path name of the package where the attribute is located.
-             * 
- * - * string pkg_path = 13; - * - * @param value - * The pkgPath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgPath_ = value; - bitField0_ |= 0x00001000; - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.RenameCode_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * `pkg_path` represents the path name of the package where the attribute is located.
-             * 
- * - * string pkg_path = 13; - * - * @return This builder for chaining. - */ - public Builder clearPkgPath() { - pkgPath_ = getDefaultInstance().getPkgPath(); - bitField0_ = (bitField0_ & ~0x00001000); - onChanged(); - return this; - } + } - /** - *
-             * `pkg_path` represents the path name of the package where the attribute is located.
-             * 
- * - * string pkg_path = 13; - * - * @param value - * The bytes for pkgPath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgPath_ = value; - bitField0_ |= 0x00001000; - onChanged(); - return this; - } + public interface RenameCode_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCode_Result) + com.google.protobuf.MessageOrBuilder { - private java.lang.Object description_ = ""; - - /** - *
-             * `description` represents the document of the attribute.
-             * 
- * - * string description = 14; - * - * @return The description. - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + /** + *
+     * the changed code. a <filename>:<code> map
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + int getChangedCodesCount(); + /** + *
+     * the changed code. a <filename>:<code> map
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + boolean containsChangedCodes( + java.lang.String key); + /** + * Use {@link #getChangedCodesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getChangedCodes(); + /** + *
+     * the changed code. a <filename>:<code> map
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + java.util.Map + getChangedCodesMap(); + /** + *
+     * the changed code. a <filename>:<code> map
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + /* nullable */ +java.lang.String getChangedCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+     * the changed code. a <filename>:<code> map
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + java.lang.String getChangedCodesOrThrow( + java.lang.String key); + } + /** + * Protobuf type {@code com.kcl.api.RenameCode_Result} + */ + public static final class RenameCode_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCode_Result) + RenameCode_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use RenameCode_Result.newBuilder() to construct. + private RenameCode_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RenameCode_Result() { + } - /** - *
-             * `description` represents the document of the attribute.
-             * 
- * - * string description = 14; - * - * @return The bytes for description. - */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RenameCode_Result(); + } - /** - *
-             * `description` represents the document of the attribute.
-             * 
- * - * string description = 14; - * - * @param value - * The description to set. - * - * @return This builder for chaining. - */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - description_ = value; - bitField0_ |= 0x00002000; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; + } - /** - *
-             * `description` represents the document of the attribute.
-             * 
- * - * string description = 14; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00002000); - onChanged(); - return this; - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetChangedCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameCode_Result.class, com.kcl.api.Spec.RenameCode_Result.Builder.class); + } - /** - *
-             * `description` represents the document of the attribute.
-             * 
- * - * string description = 14; - * - * @param value - * The bytes for description to set. - * - * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - description_ = value; - bitField0_ |= 0x00002000; - onChanged(); - return this; - } + public static final int CHANGED_CODES_FIELD_NUMBER = 1; + private static final class ChangedCodesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> changedCodes_; + private com.google.protobuf.MapField + internalGetChangedCodes() { + if (changedCodes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ChangedCodesDefaultEntryHolder.defaultEntry); + } + return changedCodes_; + } + public int getChangedCodesCount() { + return internalGetChangedCodes().getMap().size(); + } + /** + *
+     * the changed code. a <filename>:<code> map
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public boolean containsChangedCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetChangedCodes().getMap().containsKey(key); + } + /** + * Use {@link #getChangedCodesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getChangedCodes() { + return getChangedCodesMap(); + } + /** + *
+     * the changed code. a <filename>:<code> map
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public java.util.Map getChangedCodesMap() { + return internalGetChangedCodes().getMap(); + } + /** + *
+     * the changed code. a <filename>:<code> map
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getChangedCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetChangedCodes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * the changed code. a <filename>:<code> map
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public java.lang.String getChangedCodesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetChangedCodes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - private static final class ExamplesConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.Example build(com.kcl.api.Spec.ExampleOrBuilder val) { - if (val instanceof com.kcl.api.Spec.Example) { - return (com.kcl.api.Spec.Example) val; - } - return ((com.kcl.api.Spec.Example.Builder) val).build(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return ExamplesDefaultEntryHolder.defaultEntry; - } - }; + memoizedIsInitialized = 1; + return true; + } - private static final ExamplesConverter examplesConverter = new ExamplesConverter(); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetChangedCodes(), + ChangedCodesDefaultEntryHolder.defaultEntry, + 1); + getUnknownFields().writeTo(output); + } - private com.google.protobuf.MapFieldBuilder examples_; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetChangedCodes().getMap().entrySet()) { + com.google.protobuf.MapEntry + changedCodes__ = ChangedCodesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, changedCodes__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private com.google.protobuf.MapFieldBuilder internalGetExamples() { - if (examples_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(examplesConverter); - } - return examples_; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.RenameCode_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.RenameCode_Result other = (com.kcl.api.Spec.RenameCode_Result) obj; + + if (!internalGetChangedCodes().equals( + other.internalGetChangedCodes())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private com.google.protobuf.MapFieldBuilder internalGetMutableExamples() { - if (examples_ == null) { - examples_ = new com.google.protobuf.MapFieldBuilder<>(examplesConverter); - } - bitField0_ |= 0x00004000; - onChanged(); - return examples_; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetChangedCodes().getMap().isEmpty()) { + hash = (37 * hash) + CHANGED_CODES_FIELD_NUMBER; + hash = (53 * hash) + internalGetChangedCodes().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public int getExamplesCount() { - return internalGetExamples().ensureBuilderMap().size(); - } + public static com.kcl.api.Spec.RenameCode_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCode_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCode_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCode_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCode_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCode_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCode_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameCode_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * A map object to hold examples, the key is the example name.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public boolean containsExamples(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetExamples().ensureBuilderMap().containsKey(key); - } + public static com.kcl.api.Spec.RenameCode_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * Use {@link #getExamplesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getExamples() { - return getExamplesMap(); - } + public static com.kcl.api.Spec.RenameCode_Result 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 com.kcl.api.Spec.RenameCode_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameCode_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * A map object to hold examples, the key is the example name.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public java.util.Map getExamplesMap() { - return internalGetExamples().getImmutableMap(); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.RenameCode_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * A map object to hold examples, the key is the example name.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Example getExamplesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Example defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableExamples() - .ensureBuilderMap(); - return map.containsKey(key) ? examplesConverter.build(map.get(key)) : defaultValue; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.RenameCode_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCode_Result) + com.kcl.api.Spec.RenameCode_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetChangedCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableChangedCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameCode_Result.class, com.kcl.api.Spec.RenameCode_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.RenameCode_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableChangedCodes().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCode_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.RenameCode_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCode_Result build() { + com.kcl.api.Spec.RenameCode_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCode_Result buildPartial() { + com.kcl.api.Spec.RenameCode_Result result = new com.kcl.api.Spec.RenameCode_Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.RenameCode_Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.changedCodes_ = internalGetChangedCodes(); + result.changedCodes_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.RenameCode_Result) { + return mergeFrom((com.kcl.api.Spec.RenameCode_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.RenameCode_Result other) { + if (other == com.kcl.api.Spec.RenameCode_Result.getDefaultInstance()) return this; + internalGetMutableChangedCodes().mergeFrom( + other.internalGetChangedCodes()); + bitField0_ |= 0x00000001; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + changedCodes__ = input.readMessage( + ChangedCodesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableChangedCodes().getMutableMap().put( + changedCodes__.getKey(), changedCodes__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> changedCodes_; + private com.google.protobuf.MapField + internalGetChangedCodes() { + if (changedCodes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ChangedCodesDefaultEntryHolder.defaultEntry); + } + return changedCodes_; + } + private com.google.protobuf.MapField + internalGetMutableChangedCodes() { + if (changedCodes_ == null) { + changedCodes_ = com.google.protobuf.MapField.newMapField( + ChangedCodesDefaultEntryHolder.defaultEntry); + } + if (!changedCodes_.isMutable()) { + changedCodes_ = changedCodes_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return changedCodes_; + } + public int getChangedCodesCount() { + return internalGetChangedCodes().getMap().size(); + } + /** + *
+       * the changed code. a <filename>:<code> map
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public boolean containsChangedCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetChangedCodes().getMap().containsKey(key); + } + /** + * Use {@link #getChangedCodesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getChangedCodes() { + return getChangedCodesMap(); + } + /** + *
+       * the changed code. a <filename>:<code> map
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public java.util.Map getChangedCodesMap() { + return internalGetChangedCodes().getMap(); + } + /** + *
+       * the changed code. a <filename>:<code> map
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getChangedCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetChangedCodes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * the changed code. a <filename>:<code> map
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public java.lang.String getChangedCodesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetChangedCodes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearChangedCodes() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableChangedCodes().getMutableMap() + .clear(); + return this; + } + /** + *
+       * the changed code. a <filename>:<code> map
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + public Builder removeChangedCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableChangedCodes().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableChangedCodes() { + bitField0_ |= 0x00000001; + return internalGetMutableChangedCodes().getMutableMap(); + } + /** + *
+       * the changed code. a <filename>:<code> map
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + public Builder putChangedCodes( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableChangedCodes().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+       * the changed code. a <filename>:<code> map
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + public Builder putAllChangedCodes( + java.util.Map values) { + internalGetMutableChangedCodes().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCode_Result) + } - /** - *
-             * A map object to hold examples, the key is the example name.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public com.kcl.api.Spec.Example getExamplesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableExamples() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return examplesConverter.build(map.get(key)); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCode_Result) + private static final com.kcl.api.Spec.RenameCode_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCode_Result(); + } - public Builder clearExamples() { - bitField0_ = (bitField0_ & ~0x00004000); - internalGetMutableExamples().clear(); - return this; - } + public static com.kcl.api.Spec.RenameCode_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * A map object to hold examples, the key is the example name.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - public Builder removeExamples(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableExamples().ensureBuilderMap().remove(key); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameCode_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableExamples() { - bitField0_ |= 0x00004000; - return internalGetMutableExamples().ensureMessageMap(); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * A map object to hold examples, the key is the example name.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - public Builder putExamples(java.lang.String key, com.kcl.api.Spec.Example value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableExamples().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00004000; - return this; - } + @java.lang.Override + public com.kcl.api.Spec.RenameCode_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * A map object to hold examples, the key is the example name.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - public Builder putAllExamples(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableExamples().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00004000; - return this; - } + } - /** - *
-             * A map object to hold examples, the key is the example name.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - public com.kcl.api.Spec.Example.Builder putExamplesBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableExamples() - .ensureBuilderMap(); - com.kcl.api.Spec.ExampleOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.Example.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.Example) { - entry = ((com.kcl.api.Spec.Example) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.Example.Builder) entry; - } + public interface Test_ArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Test_Args) + com.google.protobuf.MessageOrBuilder { - private com.kcl.api.Spec.KclType baseSchema_; - private com.google.protobuf.SingleFieldBuilderV3 baseSchemaBuilder_; + /** + *
+     * This field stores the execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return Whether the execArgs field is set. + */ + boolean hasExecArgs(); + /** + *
+     * This field stores the execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return The execArgs. + */ + com.kcl.api.Spec.ExecProgram_Args getExecArgs(); + /** + *
+     * This field stores the execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - /** - * .com.kcl.api.KclType base_schema = 16; - * - * @return Whether the baseSchema field is set. - */ - public boolean hasBaseSchema() { - return ((bitField0_ & 0x00008000) != 0); - } + /** + *
+     * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+     * 
+ * + * repeated string pkg_list = 2; + * @return A list containing the pkgList. + */ + java.util.List + getPkgListList(); + /** + *
+     * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+     * 
+ * + * repeated string pkg_list = 2; + * @return The count of pkgList. + */ + int getPkgListCount(); + /** + *
+     * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+     * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the element to return. + * @return The pkgList at the given index. + */ + java.lang.String getPkgList(int index); + /** + *
+     * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+     * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the value to return. + * @return The bytes of the pkgList at the given index. + */ + com.google.protobuf.ByteString + getPkgListBytes(int index); - /** - * .com.kcl.api.KclType base_schema = 16; - * - * @return The baseSchema. - */ - public com.kcl.api.Spec.KclType getBaseSchema() { - if (baseSchemaBuilder_ == null) { - return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; - } else { - return baseSchemaBuilder_.getMessage(); - } - } + /** + *
+     * This field stores a regular expression for filtering tests to run.
+     * 
+ * + * string run_regexp = 3; + * @return The runRegexp. + */ + java.lang.String getRunRegexp(); + /** + *
+     * This field stores a regular expression for filtering tests to run.
+     * 
+ * + * string run_regexp = 3; + * @return The bytes for runRegexp. + */ + com.google.protobuf.ByteString + getRunRegexpBytes(); - /** - * .com.kcl.api.KclType base_schema = 16; - */ - public Builder setBaseSchema(com.kcl.api.Spec.KclType value) { - if (baseSchemaBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - baseSchema_ = value; - } else { - baseSchemaBuilder_.setMessage(value); - } - bitField0_ |= 0x00008000; - onChanged(); - return this; - } + /** + *
+     * This field determines whether the test run should stop on the first failure.
+     * 
+ * + * bool fail_fast = 4; + * @return The failFast. + */ + boolean getFailFast(); + } + /** + * Protobuf type {@code com.kcl.api.Test_Args} + */ + public static final class Test_Args extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Test_Args) + Test_ArgsOrBuilder { + private static final long serialVersionUID = 0L; + // Use Test_Args.newBuilder() to construct. + private Test_Args(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Test_Args() { + pkgList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + runRegexp_ = ""; + } - /** - * .com.kcl.api.KclType base_schema = 16; - */ - public Builder setBaseSchema(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (baseSchemaBuilder_ == null) { - baseSchema_ = builderForValue.build(); - } else { - baseSchemaBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00008000; - onChanged(); - return this; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Test_Args(); + } - /** - * .com.kcl.api.KclType base_schema = 16; - */ - public Builder mergeBaseSchema(com.kcl.api.Spec.KclType value) { - if (baseSchemaBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && baseSchema_ != null - && baseSchema_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { - getBaseSchemaBuilder().mergeFrom(value); - } else { - baseSchema_ = value; - } - } else { - baseSchemaBuilder_.mergeFrom(value); - } - if (baseSchema_ != null) { - bitField0_ |= 0x00008000; - onChanged(); - } - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; + } - /** - * .com.kcl.api.KclType base_schema = 16; - */ - public Builder clearBaseSchema() { - bitField0_ = (bitField0_ & ~0x00008000); - baseSchema_ = null; - if (baseSchemaBuilder_ != null) { - baseSchemaBuilder_.dispose(); - baseSchemaBuilder_ = null; - } - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Test_Args.class, com.kcl.api.Spec.Test_Args.Builder.class); + } - /** - * .com.kcl.api.KclType base_schema = 16; - */ - public com.kcl.api.Spec.KclType.Builder getBaseSchemaBuilder() { - bitField0_ |= 0x00008000; - onChanged(); - return getBaseSchemaFieldBuilder().getBuilder(); - } + private int bitField0_; + public static final int EXEC_ARGS_FIELD_NUMBER = 1; + private com.kcl.api.Spec.ExecProgram_Args execArgs_; + /** + *
+     * This field stores the execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return Whether the execArgs field is set. + */ + @java.lang.Override + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * This field stores the execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return The execArgs. + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } + /** + *
+     * This field stores the execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } - /** - * .com.kcl.api.KclType base_schema = 16; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder() { - if (baseSchemaBuilder_ != null) { - return baseSchemaBuilder_.getMessageOrBuilder(); - } else { - return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; - } - } + public static final int PKG_LIST_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList pkgList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+     * 
+ * + * repeated string pkg_list = 2; + * @return A list containing the pkgList. + */ + public com.google.protobuf.ProtocolStringList + getPkgListList() { + return pkgList_; + } + /** + *
+     * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+     * 
+ * + * repeated string pkg_list = 2; + * @return The count of pkgList. + */ + public int getPkgListCount() { + return pkgList_.size(); + } + /** + *
+     * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+     * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the element to return. + * @return The pkgList at the given index. + */ + public java.lang.String getPkgList(int index) { + return pkgList_.get(index); + } + /** + *
+     * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+     * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the value to return. + * @return The bytes of the pkgList at the given index. + */ + public com.google.protobuf.ByteString + getPkgListBytes(int index) { + return pkgList_.getByteString(index); + } - /** - * .com.kcl.api.KclType base_schema = 16; - */ - private com.google.protobuf.SingleFieldBuilderV3 getBaseSchemaFieldBuilder() { - if (baseSchemaBuilder_ == null) { - baseSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getBaseSchema(), getParentForChildren(), isClean()); - baseSchema_ = null; - } - return baseSchemaBuilder_; - } + public static final int RUN_REGEXP_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object runRegexp_ = ""; + /** + *
+     * This field stores a regular expression for filtering tests to run.
+     * 
+ * + * string run_regexp = 3; + * @return The runRegexp. + */ + @java.lang.Override + public java.lang.String getRunRegexp() { + java.lang.Object ref = runRegexp_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + runRegexp_ = s; + return s; + } + } + /** + *
+     * This field stores a regular expression for filtering tests to run.
+     * 
+ * + * string run_regexp = 3; + * @return The bytes for runRegexp. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRunRegexpBytes() { + java.lang.Object ref = runRegexp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + runRegexp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + public static final int FAIL_FAST_FIELD_NUMBER = 4; + private boolean failFast_ = false; + /** + *
+     * This field determines whether the test run should stop on the first failure.
+     * 
+ * + * bool fail_fast = 4; + * @return The failFast. + */ + @java.lang.Override + public boolean getFailFast() { + return failFast_; + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - // @@protoc_insertion_point(builder_scope:com.kcl.api.KclType) - } + memoizedIsInitialized = 1; + return true; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.KclType) - private static final com.kcl.api.Spec.KclType DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.KclType(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExecArgs()); + } + for (int i = 0; i < pkgList_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pkgList_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runRegexp_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, runRegexp_); + } + if (failFast_ != false) { + output.writeBool(4, failFast_); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.KclType getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExecArgs()); + } + { + int dataSize = 0; + for (int i = 0; i < pkgList_.size(); i++) { + dataSize += computeStringSizeNoTag(pkgList_.getRaw(i)); + } + size += dataSize; + size += 1 * getPkgListList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runRegexp_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, runRegexp_); + } + if (failFast_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, failFast_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KclType parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Test_Args)) { + return super.equals(obj); + } + com.kcl.api.Spec.Test_Args other = (com.kcl.api.Spec.Test_Args) obj; + + if (hasExecArgs() != other.hasExecArgs()) return false; + if (hasExecArgs()) { + if (!getExecArgs() + .equals(other.getExecArgs())) return false; + } + if (!getPkgListList() + .equals(other.getPkgListList())) return false; + if (!getRunRegexp() + .equals(other.getRunRegexp())) return false; + if (getFailFast() + != other.getFailFast()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExecArgs()) { + hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getExecArgs().hashCode(); + } + if (getPkgListCount() > 0) { + hash = (37 * hash) + PKG_LIST_FIELD_NUMBER; + hash = (53 * hash) + getPkgListList().hashCode(); + } + hash = (37 * hash) + RUN_REGEXP_FIELD_NUMBER; + hash = (53 * hash) + getRunRegexp().hashCode(); + hash = (37 * hash) + FAIL_FAST_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFailFast()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.Test_Args parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Test_Args parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Test_Args parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Test_Args parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Test_Args parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Test_Args parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Test_Args parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Test_Args parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.KclType getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DecoratorOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Decorator) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * repeated string arguments = 2; - * - * @return A list containing the arguments. - */ - java.util.List getArgumentsList(); - - /** - * repeated string arguments = 2; - * - * @return The count of arguments. - */ - int getArgumentsCount(); - - /** - * repeated string arguments = 2; - * - * @param index - * The index of the element to return. - * - * @return The arguments at the given index. - */ - java.lang.String getArguments(int index); - - /** - * repeated string arguments = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the arguments at the given index. - */ - com.google.protobuf.ByteString getArgumentsBytes(int index); - - /** - * map<string, string> keywords = 3; - */ - int getKeywordsCount(); - - /** - * map<string, string> keywords = 3; - */ - boolean containsKeywords(java.lang.String key); - - /** - * Use {@link #getKeywordsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getKeywords(); - - /** - * map<string, string> keywords = 3; - */ - java.util.Map getKeywordsMap(); - - /** - * map<string, string> keywords = 3; - */ - /* nullable */ - java.lang.String getKeywordsOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue); + public static com.kcl.api.Spec.Test_Args parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.kcl.api.Spec.Test_Args 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 com.kcl.api.Spec.Test_Args parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Test_Args parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * map<string, string> keywords = 3; - */ - java.lang.String getKeywordsOrThrow(java.lang.String key); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Test_Args prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** - * Protobuf type {@code com.kcl.api.Decorator} + * Protobuf type {@code com.kcl.api.Test_Args} */ - public static final class Decorator extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Decorator) - DecoratorOrBuilder { - private static final long serialVersionUID = 0L; + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Test_Args) + com.kcl.api.Spec.Test_ArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Test_Args.class, com.kcl.api.Spec.Test_Args.Builder.class); + } + + // Construct using com.kcl.api.Spec.Test_Args.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getExecArgsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + pkgList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + runRegexp_ = ""; + failFast_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Test_Args getDefaultInstanceForType() { + return com.kcl.api.Spec.Test_Args.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Test_Args build() { + com.kcl.api.Spec.Test_Args result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Test_Args buildPartial() { + com.kcl.api.Spec.Test_Args result = new com.kcl.api.Spec.Test_Args(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Test_Args result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.execArgs_ = execArgsBuilder_ == null + ? execArgs_ + : execArgsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + pkgList_.makeImmutable(); + result.pkgList_ = pkgList_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.runRegexp_ = runRegexp_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.failFast_ = failFast_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Test_Args) { + return mergeFrom((com.kcl.api.Spec.Test_Args)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Test_Args other) { + if (other == com.kcl.api.Spec.Test_Args.getDefaultInstance()) return this; + if (other.hasExecArgs()) { + mergeExecArgs(other.getExecArgs()); + } + if (!other.pkgList_.isEmpty()) { + if (pkgList_.isEmpty()) { + pkgList_ = other.pkgList_; + bitField0_ |= 0x00000002; + } else { + ensurePkgListIsMutable(); + pkgList_.addAll(other.pkgList_); + } + onChanged(); + } + if (!other.getRunRegexp().isEmpty()) { + runRegexp_ = other.runRegexp_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getFailFast() != false) { + setFailFast(other.getFailFast()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getExecArgsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePkgListIsMutable(); + pkgList_.add(s); + break; + } // case 18 + case 26: { + runRegexp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + failFast_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> execArgsBuilder_; + /** + *
+       * This field stores the execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return Whether the execArgs field is set. + */ + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+       * This field stores the execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + * @return The execArgs. + */ + public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + if (execArgsBuilder_ == null) { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } else { + return execArgsBuilder_.getMessage(); + } + } + /** + *
+       * This field stores the execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + if (execArgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + execArgs_ = value; + } else { + execArgsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * This field stores the execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder setExecArgs( + com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { + if (execArgsBuilder_ == null) { + execArgs_ = builderForValue.build(); + } else { + execArgsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * This field stores the execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + if (execArgsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + execArgs_ != null && + execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { + getExecArgsBuilder().mergeFrom(value); + } else { + execArgs_ = value; + } + } else { + execArgsBuilder_.mergeFrom(value); + } + if (execArgs_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + *
+       * This field stores the execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public Builder clearExecArgs() { + bitField0_ = (bitField0_ & ~0x00000001); + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * This field stores the execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExecArgsFieldBuilder().getBuilder(); + } + /** + *
+       * This field stores the execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + if (execArgsBuilder_ != null) { + return execArgsBuilder_.getMessageOrBuilder(); + } else { + return execArgs_ == null ? + com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + } + } + /** + *
+       * This field stores the execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgram_Args exec_args = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> + getExecArgsFieldBuilder() { + if (execArgsBuilder_ == null) { + execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder>( + getExecArgs(), + getParentForChildren(), + isClean()); + execArgs_ = null; + } + return execArgsBuilder_; + } + + private com.google.protobuf.LazyStringArrayList pkgList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePkgListIsMutable() { + if (!pkgList_.isModifiable()) { + pkgList_ = new com.google.protobuf.LazyStringArrayList(pkgList_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+       * 
+ * + * repeated string pkg_list = 2; + * @return A list containing the pkgList. + */ + public com.google.protobuf.ProtocolStringList + getPkgListList() { + pkgList_.makeImmutable(); + return pkgList_; + } + /** + *
+       * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+       * 
+ * + * repeated string pkg_list = 2; + * @return The count of pkgList. + */ + public int getPkgListCount() { + return pkgList_.size(); + } + /** + *
+       * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+       * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the element to return. + * @return The pkgList at the given index. + */ + public java.lang.String getPkgList(int index) { + return pkgList_.get(index); + } + /** + *
+       * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+       * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the value to return. + * @return The bytes of the pkgList at the given index. + */ + public com.google.protobuf.ByteString + getPkgListBytes(int index) { + return pkgList_.getByteString(index); + } + /** + *
+       * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+       * 
+ * + * repeated string pkg_list = 2; + * @param index The index to set the value at. + * @param value The pkgList to set. + * @return This builder for chaining. + */ + public Builder setPkgList( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePkgListIsMutable(); + pkgList_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+       * 
+ * + * repeated string pkg_list = 2; + * @param value The pkgList to add. + * @return This builder for chaining. + */ + public Builder addPkgList( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePkgListIsMutable(); + pkgList_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+       * 
+ * + * repeated string pkg_list = 2; + * @param values The pkgList to add. + * @return This builder for chaining. + */ + public Builder addAllPkgList( + java.lang.Iterable values) { + ensurePkgListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pkgList_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+       * 
+ * + * repeated string pkg_list = 2; + * @return This builder for chaining. + */ + public Builder clearPkgList() { + pkgList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
+       * 
+ * + * repeated string pkg_list = 2; + * @param value The bytes of the pkgList to add. + * @return This builder for chaining. + */ + public Builder addPkgListBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePkgListIsMutable(); + pkgList_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object runRegexp_ = ""; + /** + *
+       * This field stores a regular expression for filtering tests to run.
+       * 
+ * + * string run_regexp = 3; + * @return The runRegexp. + */ + public java.lang.String getRunRegexp() { + java.lang.Object ref = runRegexp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + runRegexp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * This field stores a regular expression for filtering tests to run.
+       * 
+ * + * string run_regexp = 3; + * @return The bytes for runRegexp. + */ + public com.google.protobuf.ByteString + getRunRegexpBytes() { + java.lang.Object ref = runRegexp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + runRegexp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * This field stores a regular expression for filtering tests to run.
+       * 
+ * + * string run_regexp = 3; + * @param value The runRegexp to set. + * @return This builder for chaining. + */ + public Builder setRunRegexp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + runRegexp_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * This field stores a regular expression for filtering tests to run.
+       * 
+ * + * string run_regexp = 3; + * @return This builder for chaining. + */ + public Builder clearRunRegexp() { + runRegexp_ = getDefaultInstance().getRunRegexp(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * This field stores a regular expression for filtering tests to run.
+       * 
+ * + * string run_regexp = 3; + * @param value The bytes for runRegexp to set. + * @return This builder for chaining. + */ + public Builder setRunRegexpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + runRegexp_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private boolean failFast_ ; + /** + *
+       * This field determines whether the test run should stop on the first failure.
+       * 
+ * + * bool fail_fast = 4; + * @return The failFast. + */ + @java.lang.Override + public boolean getFailFast() { + return failFast_; + } + /** + *
+       * This field determines whether the test run should stop on the first failure.
+       * 
+ * + * bool fail_fast = 4; + * @param value The failFast to set. + * @return This builder for chaining. + */ + public Builder setFailFast(boolean value) { + + failFast_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * This field determines whether the test run should stop on the first failure.
+       * 
+ * + * bool fail_fast = 4; + * @return This builder for chaining. + */ + public Builder clearFailFast() { + bitField0_ = (bitField0_ & ~0x00000008); + failFast_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Test_Args) + } - // Use Decorator.newBuilder() to construct. - private Decorator(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Test_Args) + private static final com.kcl.api.Spec.Test_Args DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Test_Args(); + } - private Decorator() { - name_ = ""; - arguments_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } + public static com.kcl.api.Spec.Test_Args getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Decorator(); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Test_Args parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.kcl.api.Spec.Test_Args getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetKeywords(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Decorator.class, - com.kcl.api.Spec.Decorator.Builder.class); - } + public interface Test_ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Test_Result) + com.google.protobuf.MessageOrBuilder { - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + java.util.List + getInfoList(); + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + com.kcl.api.Spec.TestCaseInfo getInfo(int index); + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + int getInfoCount(); + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + java.util.List + getInfoOrBuilderList(); + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.Test_Result} + */ + public static final class Test_Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Test_Result) + Test_ResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use Test_Result.newBuilder() to construct. + private Test_Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Test_Result() { + info_ = java.util.Collections.emptyList(); + } - /** - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Test_Result(); + } - /** - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; + } - public static final int ARGUMENTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList arguments_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - * repeated string arguments = 2; - * - * @return A list containing the arguments. - */ - public com.google.protobuf.ProtocolStringList getArgumentsList() { - return arguments_; - } - - /** - * repeated string arguments = 2; - * - * @return The count of arguments. - */ - public int getArgumentsCount() { - return arguments_.size(); - } - - /** - * repeated string arguments = 2; - * - * @param index - * The index of the element to return. - * - * @return The arguments at the given index. - */ - public java.lang.String getArguments(int index) { - return arguments_.get(index); - } - - /** - * repeated string arguments = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the arguments at the given index. - */ - public com.google.protobuf.ByteString getArgumentsBytes(int index) { - return arguments_.getByteString(index); - } - - public static final int KEYWORDS_FIELD_NUMBER = 3; - - private static final class KeywordsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.STRING, ""); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField keywords_; - - private com.google.protobuf.MapField internalGetKeywords() { - if (keywords_ == null) { - return com.google.protobuf.MapField.emptyMapField(KeywordsDefaultEntryHolder.defaultEntry); - } - return keywords_; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Test_Result.class, com.kcl.api.Spec.Test_Result.Builder.class); + } - public int getKeywordsCount() { - return internalGetKeywords().getMap().size(); - } + public static final int INFO_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List info_; + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + @java.lang.Override + public java.util.List getInfoList() { + return info_; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + @java.lang.Override + public java.util.List + getInfoOrBuilderList() { + return info_; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + @java.lang.Override + public int getInfoCount() { + return info_.size(); + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfo getInfo(int index) { + return info_.get(index); + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder( + int index) { + return info_.get(index); + } - /** - * map<string, string> keywords = 3; - */ - @java.lang.Override - public boolean containsKeywords(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetKeywords().getMap().containsKey(key); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - * Use {@link #getKeywordsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getKeywords() { - return getKeywordsMap(); - } + memoizedIsInitialized = 1; + return true; + } - /** - * map<string, string> keywords = 3; - */ - @java.lang.Override - public java.util.Map getKeywordsMap() { - return internalGetKeywords().getMap(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < info_.size(); i++) { + output.writeMessage(2, info_.get(i)); + } + getUnknownFields().writeTo(output); + } - /** - * map<string, string> keywords = 3; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getKeywordsOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetKeywords().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < info_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, info_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - * map<string, string> keywords = 3; - */ - @java.lang.Override - public java.lang.String getKeywordsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetKeywords().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Test_Result)) { + return super.equals(obj); + } + com.kcl.api.Spec.Test_Result other = (com.kcl.api.Spec.Test_Result) obj; + + if (!getInfoList() + .equals(other.getInfoList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private byte memoizedIsInitialized = -1; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getInfoCount() > 0) { + hash = (37 * hash) + INFO_FIELD_NUMBER; + hash = (53 * hash) + getInfoList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.Test_Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Test_Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Test_Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Test_Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Test_Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Test_Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Test_Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Test_Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - memoizedIsInitialized = 1; - return true; - } + public static com.kcl.api.Spec.Test_Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - for (int i = 0; i < arguments_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, arguments_.getRaw(i)); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(output, internalGetKeywords(), - KeywordsDefaultEntryHolder.defaultEntry, 3); - getUnknownFields().writeTo(output); - } + public static com.kcl.api.Spec.Test_Result 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 com.kcl.api.Spec.Test_Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Test_Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - { - int dataSize = 0; - for (int i = 0; i < arguments_.size(); i++) { - dataSize += computeStringSizeNoTag(arguments_.getRaw(i)); - } - size += dataSize; - size += 1 * getArgumentsList().size(); - } - for (java.util.Map.Entry entry : internalGetKeywords().getMap() - .entrySet()) { - com.google.protobuf.MapEntry keywords__ = KeywordsDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, keywords__); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Test_Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Decorator)) { - return super.equals(obj); - } - com.kcl.api.Spec.Decorator other = (com.kcl.api.Spec.Decorator) obj; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Test_Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Test_Result) + com.kcl.api.Spec.Test_ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Test_Result.class, com.kcl.api.Spec.Test_Result.Builder.class); + } + + // Construct using com.kcl.api.Spec.Test_Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (infoBuilder_ == null) { + info_ = java.util.Collections.emptyList(); + } else { + info_ = null; + infoBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Test_Result getDefaultInstanceForType() { + return com.kcl.api.Spec.Test_Result.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Test_Result build() { + com.kcl.api.Spec.Test_Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Test_Result buildPartial() { + com.kcl.api.Spec.Test_Result result = new com.kcl.api.Spec.Test_Result(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.Test_Result result) { + if (infoBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + info_ = java.util.Collections.unmodifiableList(info_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.info_ = info_; + } else { + result.info_ = infoBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.Test_Result result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Test_Result) { + return mergeFrom((com.kcl.api.Spec.Test_Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Test_Result other) { + if (other == com.kcl.api.Spec.Test_Result.getDefaultInstance()) return this; + if (infoBuilder_ == null) { + if (!other.info_.isEmpty()) { + if (info_.isEmpty()) { + info_ = other.info_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureInfoIsMutable(); + info_.addAll(other.info_); + } + onChanged(); + } + } else { + if (!other.info_.isEmpty()) { + if (infoBuilder_.isEmpty()) { + infoBuilder_.dispose(); + infoBuilder_ = null; + info_ = other.info_; + bitField0_ = (bitField0_ & ~0x00000001); + infoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInfoFieldBuilder() : null; + } else { + infoBuilder_.addAllMessages(other.info_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + com.kcl.api.Spec.TestCaseInfo m = + input.readMessage( + com.kcl.api.Spec.TestCaseInfo.parser(), + extensionRegistry); + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + info_.add(m); + } else { + infoBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List info_ = + java.util.Collections.emptyList(); + private void ensureInfoIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + info_ = new java.util.ArrayList(info_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.TestCaseInfo, com.kcl.api.Spec.TestCaseInfo.Builder, com.kcl.api.Spec.TestCaseInfoOrBuilder> infoBuilder_; + + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public java.util.List getInfoList() { + if (infoBuilder_ == null) { + return java.util.Collections.unmodifiableList(info_); + } else { + return infoBuilder_.getMessageList(); + } + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public int getInfoCount() { + if (infoBuilder_ == null) { + return info_.size(); + } else { + return infoBuilder_.getCount(); + } + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public com.kcl.api.Spec.TestCaseInfo getInfo(int index) { + if (infoBuilder_ == null) { + return info_.get(index); + } else { + return infoBuilder_.getMessage(index); + } + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder setInfo( + int index, com.kcl.api.Spec.TestCaseInfo value) { + if (infoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInfoIsMutable(); + info_.set(index, value); + onChanged(); + } else { + infoBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder setInfo( + int index, com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + info_.set(index, builderForValue.build()); + onChanged(); + } else { + infoBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder addInfo(com.kcl.api.Spec.TestCaseInfo value) { + if (infoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInfoIsMutable(); + info_.add(value); + onChanged(); + } else { + infoBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder addInfo( + int index, com.kcl.api.Spec.TestCaseInfo value) { + if (infoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInfoIsMutable(); + info_.add(index, value); + onChanged(); + } else { + infoBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder addInfo( + com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + info_.add(builderForValue.build()); + onChanged(); + } else { + infoBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder addInfo( + int index, com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + info_.add(index, builderForValue.build()); + onChanged(); + } else { + infoBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder addAllInfo( + java.lang.Iterable values) { + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, info_); + onChanged(); + } else { + infoBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder clearInfo() { + if (infoBuilder_ == null) { + info_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + infoBuilder_.clear(); + } + return this; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder removeInfo(int index) { + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + info_.remove(index); + onChanged(); + } else { + infoBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public com.kcl.api.Spec.TestCaseInfo.Builder getInfoBuilder( + int index) { + return getInfoFieldBuilder().getBuilder(index); + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder( + int index) { + if (infoBuilder_ == null) { + return info_.get(index); } else { + return infoBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public java.util.List + getInfoOrBuilderList() { + if (infoBuilder_ != null) { + return infoBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(info_); + } + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder() { + return getInfoFieldBuilder().addBuilder( + com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder( + int index) { + return getInfoFieldBuilder().addBuilder( + index, com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()); + } + /** + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public java.util.List + getInfoBuilderList() { + return getInfoFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.TestCaseInfo, com.kcl.api.Spec.TestCaseInfo.Builder, com.kcl.api.Spec.TestCaseInfoOrBuilder> + getInfoFieldBuilder() { + if (infoBuilder_ == null) { + infoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.TestCaseInfo, com.kcl.api.Spec.TestCaseInfo.Builder, com.kcl.api.Spec.TestCaseInfoOrBuilder>( + info_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + info_ = null; + } + return infoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Test_Result) + } - if (!getName().equals(other.getName())) - return false; - if (!getArgumentsList().equals(other.getArgumentsList())) - return false; - if (!internalGetKeywords().equals(other.internalGetKeywords())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Test_Result) + private static final com.kcl.api.Spec.Test_Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Test_Result(); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (getArgumentsCount() > 0) { - hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER; - hash = (53 * hash) + getArgumentsList().hashCode(); - } - if (!internalGetKeywords().getMap().isEmpty()) { - hash = (37 * hash) + KEYWORDS_FIELD_NUMBER; - hash = (53 * hash) + internalGetKeywords().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static com.kcl.api.Spec.Test_Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Decorator parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Test_Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.Decorator parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.Decorator parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.kcl.api.Spec.Test_Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Decorator parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + } - public static com.kcl.api.Spec.Decorator parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public interface TestCaseInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.TestCaseInfo) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Decorator parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + *
+     * Test case name
+     * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+     * Test case name
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); - public static com.kcl.api.Spec.Decorator parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + /** + * string error = 2; + * @return The error. + */ + java.lang.String getError(); + /** + * string error = 2; + * @return The bytes for error. + */ + com.google.protobuf.ByteString + getErrorBytes(); - public static com.kcl.api.Spec.Decorator parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Number of whole microseconds in the duration.
+     * 
+ * + * uint64 duration = 3; + * @return The duration. + */ + long getDuration(); - public static com.kcl.api.Spec.Decorator parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + /** + * string log_message = 4; + * @return The logMessage. + */ + java.lang.String getLogMessage(); + /** + * string log_message = 4; + * @return The bytes for logMessage. + */ + com.google.protobuf.ByteString + getLogMessageBytes(); + } + /** + * Protobuf type {@code com.kcl.api.TestCaseInfo} + */ + public static final class TestCaseInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.TestCaseInfo) + TestCaseInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use TestCaseInfo.newBuilder() to construct. + private TestCaseInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TestCaseInfo() { + name_ = ""; + error_ = ""; + logMessage_ = ""; + } - public static com.kcl.api.Spec.Decorator parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TestCaseInfo(); + } - public static com.kcl.api.Spec.Decorator parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; + } - public static com.kcl.api.Spec.Decorator parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.TestCaseInfo.class, com.kcl.api.Spec.TestCaseInfo.Builder.class); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+     * Test case name
+     * 
+ * + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+     * Test case name
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static final int ERROR_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object error_ = ""; + /** + * string error = 2; + * @return The error. + */ + @java.lang.Override + public java.lang.String getError() { + java.lang.Object ref = error_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + error_ = s; + return s; + } + } + /** + * string error = 2; + * @return The bytes for error. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrorBytes() { + java.lang.Object ref = error_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + error_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static Builder newBuilder(com.kcl.api.Spec.Decorator prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static final int DURATION_FIELD_NUMBER = 3; + private long duration_ = 0L; + /** + *
+     * Number of whole microseconds in the duration.
+     * 
+ * + * uint64 duration = 3; + * @return The duration. + */ + @java.lang.Override + public long getDuration() { + return duration_; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static final int LOG_MESSAGE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object logMessage_ = ""; + /** + * string log_message = 4; + * @return The logMessage. + */ + @java.lang.Override + public java.lang.String getLogMessage() { + java.lang.Object ref = logMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logMessage_ = s; + return s; + } + } + /** + * string log_message = 4; + * @return The bytes for logMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLogMessageBytes() { + java.lang.Object ref = logMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + logMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Decorator} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Decorator) - com.kcl.api.Spec.DecoratorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetKeywords(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + memoizedIsInitialized = 1; + return true; + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetMutableKeywords(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, error_); + } + if (duration_ != 0L) { + output.writeUInt64(3, duration_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logMessage_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, logMessage_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Decorator.class, - com.kcl.api.Spec.Decorator.Builder.class); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, error_); + } + if (duration_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(3, duration_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logMessage_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, logMessage_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - // Construct using com.kcl.api.Spec.Decorator.newBuilder() - private Builder() { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.TestCaseInfo)) { + return super.equals(obj); + } + com.kcl.api.Spec.TestCaseInfo other = (com.kcl.api.Spec.TestCaseInfo) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getError() + .equals(other.getError())) return false; + if (getDuration() + != other.getDuration()) return false; + if (!getLogMessage() + .equals(other.getLogMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + hash = (37 * hash) + DURATION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDuration()); + hash = (37 * hash) + LOG_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getLogMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.TestCaseInfo 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 com.kcl.api.Spec.TestCaseInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - arguments_ = com.google.protobuf.LazyStringArrayList.emptyList(); - internalGetMutableKeywords().clear(); - return this; - } + public static com.kcl.api.Spec.TestCaseInfo 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 com.kcl.api.Spec.TestCaseInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.TestCaseInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public com.kcl.api.Spec.Decorator getDefaultInstanceForType() { - return com.kcl.api.Spec.Decorator.getDefaultInstance(); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.TestCaseInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.TestCaseInfo) + com.kcl.api.Spec.TestCaseInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.TestCaseInfo.class, com.kcl.api.Spec.TestCaseInfo.Builder.class); + } + + // Construct using com.kcl.api.Spec.TestCaseInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + error_ = ""; + duration_ = 0L; + logMessage_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfo getDefaultInstanceForType() { + return com.kcl.api.Spec.TestCaseInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfo build() { + com.kcl.api.Spec.TestCaseInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfo buildPartial() { + com.kcl.api.Spec.TestCaseInfo result = new com.kcl.api.Spec.TestCaseInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.TestCaseInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.error_ = error_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.duration_ = duration_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.logMessage_ = logMessage_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.TestCaseInfo) { + return mergeFrom((com.kcl.api.Spec.TestCaseInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.TestCaseInfo other) { + if (other == com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getError().isEmpty()) { + error_ = other.error_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getDuration() != 0L) { + setDuration(other.getDuration()); + } + if (!other.getLogMessage().isEmpty()) { + logMessage_ = other.logMessage_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + error_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + duration_ = input.readUInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + logMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+       * Test case name
+       * 
+ * + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Test case name
+       * 
+ * + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Test case name
+       * 
+ * + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Test case name
+       * 
+ * + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Test case name
+       * 
+ * + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object error_ = ""; + /** + * string error = 2; + * @return The error. + */ + public java.lang.String getError() { + java.lang.Object ref = error_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + error_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string error = 2; + * @return The bytes for error. + */ + public com.google.protobuf.ByteString + getErrorBytes() { + java.lang.Object ref = error_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + error_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string error = 2; + * @param value The error to set. + * @return This builder for chaining. + */ + public Builder setError( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + error_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string error = 2; + * @return This builder for chaining. + */ + public Builder clearError() { + error_ = getDefaultInstance().getError(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string error = 2; + * @param value The bytes for error to set. + * @return This builder for chaining. + */ + public Builder setErrorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + error_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private long duration_ ; + /** + *
+       * Number of whole microseconds in the duration.
+       * 
+ * + * uint64 duration = 3; + * @return The duration. + */ + @java.lang.Override + public long getDuration() { + return duration_; + } + /** + *
+       * Number of whole microseconds in the duration.
+       * 
+ * + * uint64 duration = 3; + * @param value The duration to set. + * @return This builder for chaining. + */ + public Builder setDuration(long value) { + + duration_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Number of whole microseconds in the duration.
+       * 
+ * + * uint64 duration = 3; + * @return This builder for chaining. + */ + public Builder clearDuration() { + bitField0_ = (bitField0_ & ~0x00000004); + duration_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object logMessage_ = ""; + /** + * string log_message = 4; + * @return The logMessage. + */ + public java.lang.String getLogMessage() { + java.lang.Object ref = logMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string log_message = 4; + * @return The bytes for logMessage. + */ + public com.google.protobuf.ByteString + getLogMessageBytes() { + java.lang.Object ref = logMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + logMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string log_message = 4; + * @param value The logMessage to set. + * @return This builder for chaining. + */ + public Builder setLogMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + logMessage_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string log_message = 4; + * @return This builder for chaining. + */ + public Builder clearLogMessage() { + logMessage_ = getDefaultInstance().getLogMessage(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string log_message = 4; + * @param value The bytes for logMessage to set. + * @return This builder for chaining. + */ + public Builder setLogMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + logMessage_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.TestCaseInfo) + } - @java.lang.Override - public com.kcl.api.Spec.Decorator build() { - com.kcl.api.Spec.Decorator result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.TestCaseInfo) + private static final com.kcl.api.Spec.TestCaseInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.TestCaseInfo(); + } - @java.lang.Override - public com.kcl.api.Spec.Decorator buildPartial() { - com.kcl.api.Spec.Decorator result = new com.kcl.api.Spec.Decorator(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static com.kcl.api.Spec.TestCaseInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private void buildPartial0(com.kcl.api.Spec.Decorator result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - arguments_.makeImmutable(); - result.arguments_ = arguments_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.keywords_ = internalGetKeywords(); - result.keywords_.makeImmutable(); - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TestCaseInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + public interface KclTypeOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.KclType) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + /** + *
+     * schema, dict, list, str, int, float, bool, any, union, number_multiplier
+     * 
+ * + * string type = 1; + * @return The type. + */ + java.lang.String getType(); + /** + *
+     * schema, dict, list, str, int, float, bool, any, union, number_multiplier
+     * 
+ * + * string type = 1; + * @return The bytes for type. + */ + com.google.protobuf.ByteString + getTypeBytes(); - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + /** + *
+     * union types
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + java.util.List + getUnionTypesList(); + /** + *
+     * union types
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + com.kcl.api.Spec.KclType getUnionTypes(int index); + /** + *
+     * union types
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + int getUnionTypesCount(); + /** + *
+     * union types
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + java.util.List + getUnionTypesOrBuilderList(); + /** + *
+     * union types
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder( + int index); - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Decorator) { - return mergeFrom((com.kcl.api.Spec.Decorator) other); - } else { - super.mergeFrom(other); - return this; - } - } + /** + *
+     * default value
+     * 
+ * + * string default = 3; + * @return The default. + */ + java.lang.String getDefault(); + /** + *
+     * default value
+     * 
+ * + * string default = 3; + * @return The bytes for default. + */ + com.google.protobuf.ByteString + getDefaultBytes(); - public Builder mergeFrom(com.kcl.api.Spec.Decorator other) { - if (other == com.kcl.api.Spec.Decorator.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.arguments_.isEmpty()) { - if (arguments_.isEmpty()) { - arguments_ = other.arguments_; - bitField0_ |= 0x00000002; - } else { - ensureArgumentsIsMutable(); - arguments_.addAll(other.arguments_); - } - onChanged(); - } - internalGetMutableKeywords().mergeFrom(other.internalGetKeywords()); - bitField0_ |= 0x00000004; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + /** + *
+     * schema name
+     * 
+ * + * string schema_name = 4; + * @return The schemaName. + */ + java.lang.String getSchemaName(); + /** + *
+     * schema name
+     * 
+ * + * string schema_name = 4; + * @return The bytes for schemaName. + */ + com.google.protobuf.ByteString + getSchemaNameBytes(); - @java.lang.Override - public final boolean isInitialized() { - return true; - } + /** + *
+     * schema doc
+     * 
+ * + * string schema_doc = 5; + * @return The schemaDoc. + */ + java.lang.String getSchemaDoc(); + /** + *
+     * schema doc
+     * 
+ * + * string schema_doc = 5; + * @return The bytes for schemaDoc. + */ + com.google.protobuf.ByteString + getSchemaDocBytes(); - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureArgumentsIsMutable(); - arguments_.add(s); - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry keywords__ = input - .readMessage(KeywordsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableKeywords().getMutableMap().put(keywords__.getKey(), - keywords__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + /** + *
+     * schema properties
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + int getPropertiesCount(); + /** + *
+     * schema properties
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + boolean containsProperties( + java.lang.String key); + /** + * Use {@link #getPropertiesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getProperties(); + /** + *
+     * schema properties
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + java.util.Map + getPropertiesMap(); + /** + *
+     * schema properties
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + /* nullable */ +com.kcl.api.Spec.KclType getPropertiesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue); + /** + *
+     * schema properties
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + com.kcl.api.Spec.KclType getPropertiesOrThrow( + java.lang.String key); - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + /** + *
+     * required schema properties, [property_name1, property_name2]
+     * 
+ * + * repeated string required = 7; + * @return A list containing the required. + */ + java.util.List + getRequiredList(); + /** + *
+     * required schema properties, [property_name1, property_name2]
+     * 
+ * + * repeated string required = 7; + * @return The count of required. + */ + int getRequiredCount(); + /** + *
+     * required schema properties, [property_name1, property_name2]
+     * 
+ * + * repeated string required = 7; + * @param index The index of the element to return. + * @return The required at the given index. + */ + java.lang.String getRequired(int index); + /** + *
+     * required schema properties, [property_name1, property_name2]
+     * 
+ * + * repeated string required = 7; + * @param index The index of the value to return. + * @return The bytes of the required at the given index. + */ + com.google.protobuf.ByteString + getRequiredBytes(int index); - /** - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * dict key type
+     * 
+ * + * .com.kcl.api.KclType key = 8; + * @return Whether the key field is set. + */ + boolean hasKey(); + /** + *
+     * dict key type
+     * 
+ * + * .com.kcl.api.KclType key = 8; + * @return The key. + */ + com.kcl.api.Spec.KclType getKey(); + /** + *
+     * dict key type
+     * 
+ * + * .com.kcl.api.KclType key = 8; + */ + com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder(); - /** - * string name = 1; - * - * @param value - * The name to set. - * - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + *
+     * dict/list item type
+     * 
+ * + * .com.kcl.api.KclType item = 9; + * @return Whether the item field is set. + */ + boolean hasItem(); + /** + *
+     * dict/list item type
+     * 
+ * + * .com.kcl.api.KclType item = 9; + * @return The item. + */ + com.kcl.api.Spec.KclType getItem(); + /** + *
+     * dict/list item type
+     * 
+ * + * .com.kcl.api.KclType item = 9; + */ + com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder(); - /** - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + /** + * int32 line = 10; + * @return The line. + */ + int getLine(); - /** - * string name = 1; - * - * @param value - * The bytes for name to set. - * - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + *
+     * schema decorators
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + java.util.List + getDecoratorsList(); + /** + *
+     * schema decorators
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + com.kcl.api.Spec.Decorator getDecorators(int index); + /** + *
+     * schema decorators
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + int getDecoratorsCount(); + /** + *
+     * schema decorators
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + java.util.List + getDecoratorsOrBuilderList(); + /** + *
+     * schema decorators
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder( + int index); - private com.google.protobuf.LazyStringArrayList arguments_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + /** + *
+     * `filename` represents the absolute path of the file name where the attribute is located.
+     * 
+ * + * string filename = 12; + * @return The filename. + */ + java.lang.String getFilename(); + /** + *
+     * `filename` represents the absolute path of the file name where the attribute is located.
+     * 
+ * + * string filename = 12; + * @return The bytes for filename. + */ + com.google.protobuf.ByteString + getFilenameBytes(); - private void ensureArgumentsIsMutable() { - if (!arguments_.isModifiable()) { - arguments_ = new com.google.protobuf.LazyStringArrayList(arguments_); - } - bitField0_ |= 0x00000002; - } + /** + *
+     * `pkg_path` represents the path name of the package where the attribute is located.
+     * 
+ * + * string pkg_path = 13; + * @return The pkgPath. + */ + java.lang.String getPkgPath(); + /** + *
+     * `pkg_path` represents the path name of the package where the attribute is located.
+     * 
+ * + * string pkg_path = 13; + * @return The bytes for pkgPath. + */ + com.google.protobuf.ByteString + getPkgPathBytes(); - /** - * repeated string arguments = 2; - * - * @return A list containing the arguments. - */ - public com.google.protobuf.ProtocolStringList getArgumentsList() { - arguments_.makeImmutable(); - return arguments_; - } + /** + *
+     * `description` represents the document of the attribute.
+     * 
+ * + * string description = 14; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+     * `description` represents the document of the attribute.
+     * 
+ * + * string description = 14; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); - /** - * repeated string arguments = 2; - * - * @return The count of arguments. - */ - public int getArgumentsCount() { - return arguments_.size(); - } + /** + *
+     * A map object to hold examples, the key is the example name.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + int getExamplesCount(); + /** + *
+     * A map object to hold examples, the key is the example name.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + boolean containsExamples( + java.lang.String key); + /** + * Use {@link #getExamplesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getExamples(); + /** + *
+     * A map object to hold examples, the key is the example name.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + java.util.Map + getExamplesMap(); + /** + *
+     * A map object to hold examples, the key is the example name.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + /* nullable */ +com.kcl.api.Spec.Example getExamplesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Example defaultValue); + /** + *
+     * A map object to hold examples, the key is the example name.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + com.kcl.api.Spec.Example getExamplesOrThrow( + java.lang.String key); - /** - * repeated string arguments = 2; - * - * @param index - * The index of the element to return. - * - * @return The arguments at the given index. - */ - public java.lang.String getArguments(int index) { - return arguments_.get(index); - } + /** + * .com.kcl.api.KclType base_schema = 16; + * @return Whether the baseSchema field is set. + */ + boolean hasBaseSchema(); + /** + * .com.kcl.api.KclType base_schema = 16; + * @return The baseSchema. + */ + com.kcl.api.Spec.KclType getBaseSchema(); + /** + * .com.kcl.api.KclType base_schema = 16; + */ + com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder(); + } + /** + * Protobuf type {@code com.kcl.api.KclType} + */ + public static final class KclType extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.KclType) + KclTypeOrBuilder { + private static final long serialVersionUID = 0L; + // Use KclType.newBuilder() to construct. + private KclType(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private KclType() { + type_ = ""; + unionTypes_ = java.util.Collections.emptyList(); + default_ = ""; + schemaName_ = ""; + schemaDoc_ = ""; + required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + decorators_ = java.util.Collections.emptyList(); + filename_ = ""; + pkgPath_ = ""; + description_ = ""; + } - /** - * repeated string arguments = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the arguments at the given index. - */ - public com.google.protobuf.ByteString getArgumentsBytes(int index) { - return arguments_.getByteString(index); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new KclType(); + } - /** - * repeated string arguments = 2; - * - * @param index - * The index to set the value at. - * @param value - * The arguments to set. - * - * @return This builder for chaining. - */ - public Builder setArguments(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgumentsIsMutable(); - arguments_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; + } - /** - * repeated string arguments = 2; - * - * @param value - * The arguments to add. - * - * @return This builder for chaining. - */ - public Builder addArguments(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgumentsIsMutable(); - arguments_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 6: + return internalGetProperties(); + case 15: + return internalGetExamples(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.KclType.class, com.kcl.api.Spec.KclType.Builder.class); + } - /** - * repeated string arguments = 2; - * - * @param values - * The arguments to add. - * - * @return This builder for chaining. - */ - public Builder addAllArguments(java.lang.Iterable values) { - ensureArgumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, arguments_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + private int bitField0_; + public static final int TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object type_ = ""; + /** + *
+     * schema, dict, list, str, int, float, bool, any, union, number_multiplier
+     * 
+ * + * string type = 1; + * @return The type. + */ + @java.lang.Override + public java.lang.String getType() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } + } + /** + *
+     * schema, dict, list, str, int, float, bool, any, union, number_multiplier
+     * 
+ * + * string type = 1; + * @return The bytes for type. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * repeated string arguments = 2; - * - * @return This builder for chaining. - */ - public Builder clearArguments() { - arguments_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } + public static final int UNION_TYPES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List unionTypes_; + /** + *
+     * union types
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + @java.lang.Override + public java.util.List getUnionTypesList() { + return unionTypes_; + } + /** + *
+     * union types
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + @java.lang.Override + public java.util.List + getUnionTypesOrBuilderList() { + return unionTypes_; + } + /** + *
+     * union types
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + @java.lang.Override + public int getUnionTypesCount() { + return unionTypes_.size(); + } + /** + *
+     * union types
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getUnionTypes(int index) { + return unionTypes_.get(index); + } + /** + *
+     * union types
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder( + int index) { + return unionTypes_.get(index); + } - /** - * repeated string arguments = 2; - * - * @param value - * The bytes of the arguments to add. - * - * @return This builder for chaining. - */ - public Builder addArgumentsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureArgumentsIsMutable(); - arguments_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final int DEFAULT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object default_ = ""; + /** + *
+     * default value
+     * 
+ * + * string default = 3; + * @return The default. + */ + @java.lang.Override + public java.lang.String getDefault() { + java.lang.Object ref = default_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + default_ = s; + return s; + } + } + /** + *
+     * default value
+     * 
+ * + * string default = 3; + * @return The bytes for default. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDefaultBytes() { + java.lang.Object ref = default_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + default_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private com.google.protobuf.MapField keywords_; + public static final int SCHEMA_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object schemaName_ = ""; + /** + *
+     * schema name
+     * 
+ * + * string schema_name = 4; + * @return The schemaName. + */ + @java.lang.Override + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } + } + /** + *
+     * schema name
+     * 
+ * + * string schema_name = 4; + * @return The bytes for schemaName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private com.google.protobuf.MapField internalGetKeywords() { - if (keywords_ == null) { - return com.google.protobuf.MapField.emptyMapField(KeywordsDefaultEntryHolder.defaultEntry); - } - return keywords_; - } + public static final int SCHEMA_DOC_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object schemaDoc_ = ""; + /** + *
+     * schema doc
+     * 
+ * + * string schema_doc = 5; + * @return The schemaDoc. + */ + @java.lang.Override + public java.lang.String getSchemaDoc() { + java.lang.Object ref = schemaDoc_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaDoc_ = s; + return s; + } + } + /** + *
+     * schema doc
+     * 
+ * + * string schema_doc = 5; + * @return The bytes for schemaDoc. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaDocBytes() { + java.lang.Object ref = schemaDoc_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaDoc_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private com.google.protobuf.MapField internalGetMutableKeywords() { - if (keywords_ == null) { - keywords_ = com.google.protobuf.MapField.newMapField(KeywordsDefaultEntryHolder.defaultEntry); - } - if (!keywords_.isMutable()) { - keywords_ = keywords_.copy(); - } - bitField0_ |= 0x00000004; - onChanged(); - return keywords_; - } + public static final int PROPERTIES_FIELD_NUMBER = 6; + private static final class PropertiesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.KclType> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.KclType.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.KclType> properties_; + private com.google.protobuf.MapField + internalGetProperties() { + if (properties_ == null) { + return com.google.protobuf.MapField.emptyMapField( + PropertiesDefaultEntryHolder.defaultEntry); + } + return properties_; + } + public int getPropertiesCount() { + return internalGetProperties().getMap().size(); + } + /** + *
+     * schema properties
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public boolean containsProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetProperties().getMap().containsKey(key); + } + /** + * Use {@link #getPropertiesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getProperties() { + return getPropertiesMap(); + } + /** + *
+     * schema properties
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public java.util.Map getPropertiesMap() { + return internalGetProperties().getMap(); + } + /** + *
+     * schema properties
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.KclType getPropertiesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * schema properties
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getPropertiesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - public int getKeywordsCount() { - return internalGetKeywords().getMap().size(); - } + public static final int REQUIRED_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * required schema properties, [property_name1, property_name2]
+     * 
+ * + * repeated string required = 7; + * @return A list containing the required. + */ + public com.google.protobuf.ProtocolStringList + getRequiredList() { + return required_; + } + /** + *
+     * required schema properties, [property_name1, property_name2]
+     * 
+ * + * repeated string required = 7; + * @return The count of required. + */ + public int getRequiredCount() { + return required_.size(); + } + /** + *
+     * required schema properties, [property_name1, property_name2]
+     * 
+ * + * repeated string required = 7; + * @param index The index of the element to return. + * @return The required at the given index. + */ + public java.lang.String getRequired(int index) { + return required_.get(index); + } + /** + *
+     * required schema properties, [property_name1, property_name2]
+     * 
+ * + * repeated string required = 7; + * @param index The index of the value to return. + * @return The bytes of the required at the given index. + */ + public com.google.protobuf.ByteString + getRequiredBytes(int index) { + return required_.getByteString(index); + } - /** - * map<string, string> keywords = 3; - */ - @java.lang.Override - public boolean containsKeywords(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetKeywords().getMap().containsKey(key); - } + public static final int KEY_FIELD_NUMBER = 8; + private com.kcl.api.Spec.KclType key_; + /** + *
+     * dict key type
+     * 
+ * + * .com.kcl.api.KclType key = 8; + * @return Whether the key field is set. + */ + @java.lang.Override + public boolean hasKey() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * dict key type
+     * 
+ * + * .com.kcl.api.KclType key = 8; + * @return The key. + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getKey() { + return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; + } + /** + *
+     * dict key type
+     * 
+ * + * .com.kcl.api.KclType key = 8; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder() { + return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; + } - /** - * Use {@link #getKeywordsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getKeywords() { - return getKeywordsMap(); - } + public static final int ITEM_FIELD_NUMBER = 9; + private com.kcl.api.Spec.KclType item_; + /** + *
+     * dict/list item type
+     * 
+ * + * .com.kcl.api.KclType item = 9; + * @return Whether the item field is set. + */ + @java.lang.Override + public boolean hasItem() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * dict/list item type
+     * 
+ * + * .com.kcl.api.KclType item = 9; + * @return The item. + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getItem() { + return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; + } + /** + *
+     * dict/list item type
+     * 
+ * + * .com.kcl.api.KclType item = 9; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder() { + return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; + } - /** - * map<string, string> keywords = 3; - */ - @java.lang.Override - public java.util.Map getKeywordsMap() { - return internalGetKeywords().getMap(); - } + public static final int LINE_FIELD_NUMBER = 10; + private int line_ = 0; + /** + * int32 line = 10; + * @return The line. + */ + @java.lang.Override + public int getLine() { + return line_; + } - /** - * map<string, string> keywords = 3; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getKeywordsOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetKeywords().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + public static final int DECORATORS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private java.util.List decorators_; + /** + *
+     * schema decorators
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + @java.lang.Override + public java.util.List getDecoratorsList() { + return decorators_; + } + /** + *
+     * schema decorators
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + @java.lang.Override + public java.util.List + getDecoratorsOrBuilderList() { + return decorators_; + } + /** + *
+     * schema decorators
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + @java.lang.Override + public int getDecoratorsCount() { + return decorators_.size(); + } + /** + *
+     * schema decorators
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + @java.lang.Override + public com.kcl.api.Spec.Decorator getDecorators(int index) { + return decorators_.get(index); + } + /** + *
+     * schema decorators
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + @java.lang.Override + public com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder( + int index) { + return decorators_.get(index); + } - /** - * map<string, string> keywords = 3; - */ - @java.lang.Override - public java.lang.String getKeywordsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetKeywords().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + public static final int FILENAME_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private volatile java.lang.Object filename_ = ""; + /** + *
+     * `filename` represents the absolute path of the file name where the attribute is located.
+     * 
+ * + * string filename = 12; + * @return The filename. + */ + @java.lang.Override + public java.lang.String getFilename() { + java.lang.Object ref = filename_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filename_ = s; + return s; + } + } + /** + *
+     * `filename` represents the absolute path of the file name where the attribute is located.
+     * 
+ * + * string filename = 12; + * @return The bytes for filename. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFilenameBytes() { + java.lang.Object ref = filename_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filename_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public Builder clearKeywords() { - bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableKeywords().getMutableMap().clear(); - return this; - } + public static final int PKG_PATH_FIELD_NUMBER = 13; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgPath_ = ""; + /** + *
+     * `pkg_path` represents the path name of the package where the attribute is located.
+     * 
+ * + * string pkg_path = 13; + * @return The pkgPath. + */ + @java.lang.Override + public java.lang.String getPkgPath() { + java.lang.Object ref = pkgPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgPath_ = s; + return s; + } + } + /** + *
+     * `pkg_path` represents the path name of the package where the attribute is located.
+     * 
+ * + * string pkg_path = 13; + * @return The bytes for pkgPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgPathBytes() { + java.lang.Object ref = pkgPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * map<string, string> keywords = 3; - */ - public Builder removeKeywords(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableKeywords().getMutableMap().remove(key); - return this; - } + public static final int DESCRIPTION_FIELD_NUMBER = 14; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + *
+     * `description` represents the document of the attribute.
+     * 
+ * + * string description = 14; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+     * `description` represents the document of the attribute.
+     * 
+ * + * string description = 14; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableKeywords() { - bitField0_ |= 0x00000004; - return internalGetMutableKeywords().getMutableMap(); - } + public static final int EXAMPLES_FIELD_NUMBER = 15; + private static final class ExamplesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.Example> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.Example.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.Example> examples_; + private com.google.protobuf.MapField + internalGetExamples() { + if (examples_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ExamplesDefaultEntryHolder.defaultEntry); + } + return examples_; + } + public int getExamplesCount() { + return internalGetExamples().getMap().size(); + } + /** + *
+     * A map object to hold examples, the key is the example name.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public boolean containsExamples( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetExamples().getMap().containsKey(key); + } + /** + * Use {@link #getExamplesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getExamples() { + return getExamplesMap(); + } + /** + *
+     * A map object to hold examples, the key is the example name.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public java.util.Map getExamplesMap() { + return internalGetExamples().getMap(); + } + /** + *
+     * A map object to hold examples, the key is the example name.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Example getExamplesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Example defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetExamples().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * A map object to hold examples, the key is the example name.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public com.kcl.api.Spec.Example getExamplesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetExamples().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - /** - * map<string, string> keywords = 3; - */ - public Builder putKeywords(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableKeywords().getMutableMap().put(key, value); - bitField0_ |= 0x00000004; - return this; - } + public static final int BASE_SCHEMA_FIELD_NUMBER = 16; + private com.kcl.api.Spec.KclType baseSchema_; + /** + * .com.kcl.api.KclType base_schema = 16; + * @return Whether the baseSchema field is set. + */ + @java.lang.Override + public boolean hasBaseSchema() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .com.kcl.api.KclType base_schema = 16; + * @return The baseSchema. + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getBaseSchema() { + return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; + } + /** + * .com.kcl.api.KclType base_schema = 16; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder() { + return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; + } - /** - * map<string, string> keywords = 3; - */ - public Builder putAllKeywords(java.util.Map values) { - internalGetMutableKeywords().getMutableMap().putAll(values); - bitField0_ |= 0x00000004; - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); + } + for (int i = 0; i < unionTypes_.size(); i++) { + output.writeMessage(2, unionTypes_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(default_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, default_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, schemaName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaDoc_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, schemaDoc_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetProperties(), + PropertiesDefaultEntryHolder.defaultEntry, + 6); + for (int i = 0; i < required_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, required_.getRaw(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(8, getKey()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(9, getItem()); + } + if (line_ != 0) { + output.writeInt32(10, line_); + } + for (int i = 0; i < decorators_.size(); i++) { + output.writeMessage(11, decorators_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filename_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, filename_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgPath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, pkgPath_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, description_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetExamples(), + ExamplesDefaultEntryHolder.defaultEntry, + 15); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(16, getBaseSchema()); + } + getUnknownFields().writeTo(output); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Decorator) - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); + } + for (int i = 0; i < unionTypes_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, unionTypes_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(default_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, default_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, schemaName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaDoc_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, schemaDoc_); + } + for (java.util.Map.Entry entry + : internalGetProperties().getMap().entrySet()) { + com.google.protobuf.MapEntry + properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, properties__); + } + { + int dataSize = 0; + for (int i = 0; i < required_.size(); i++) { + dataSize += computeStringSizeNoTag(required_.getRaw(i)); + } + size += dataSize; + size += 1 * getRequiredList().size(); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getKey()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getItem()); + } + if (line_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, line_); + } + for (int i = 0; i < decorators_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, decorators_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filename_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, filename_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkgPath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, pkgPath_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, description_); + } + for (java.util.Map.Entry entry + : internalGetExamples().getMap().entrySet()) { + com.google.protobuf.MapEntry + examples__ = ExamplesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, examples__); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getBaseSchema()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Decorator) - private static final com.kcl.api.Spec.Decorator DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Decorator(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.KclType)) { + return super.equals(obj); + } + com.kcl.api.Spec.KclType other = (com.kcl.api.Spec.KclType) obj; + + if (!getType() + .equals(other.getType())) return false; + if (!getUnionTypesList() + .equals(other.getUnionTypesList())) return false; + if (!getDefault() + .equals(other.getDefault())) return false; + if (!getSchemaName() + .equals(other.getSchemaName())) return false; + if (!getSchemaDoc() + .equals(other.getSchemaDoc())) return false; + if (!internalGetProperties().equals( + other.internalGetProperties())) return false; + if (!getRequiredList() + .equals(other.getRequiredList())) return false; + if (hasKey() != other.hasKey()) return false; + if (hasKey()) { + if (!getKey() + .equals(other.getKey())) return false; + } + if (hasItem() != other.hasItem()) return false; + if (hasItem()) { + if (!getItem() + .equals(other.getItem())) return false; + } + if (getLine() + != other.getLine()) return false; + if (!getDecoratorsList() + .equals(other.getDecoratorsList())) return false; + if (!getFilename() + .equals(other.getFilename())) return false; + if (!getPkgPath() + .equals(other.getPkgPath())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetExamples().equals( + other.internalGetExamples())) return false; + if (hasBaseSchema() != other.hasBaseSchema()) return false; + if (hasBaseSchema()) { + if (!getBaseSchema() + .equals(other.getBaseSchema())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.Decorator getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + if (getUnionTypesCount() > 0) { + hash = (37 * hash) + UNION_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getUnionTypesList().hashCode(); + } + hash = (37 * hash) + DEFAULT_FIELD_NUMBER; + hash = (53 * hash) + getDefault().hashCode(); + hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; + hash = (53 * hash) + getSchemaName().hashCode(); + hash = (37 * hash) + SCHEMA_DOC_FIELD_NUMBER; + hash = (53 * hash) + getSchemaDoc().hashCode(); + if (!internalGetProperties().getMap().isEmpty()) { + hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + internalGetProperties().hashCode(); + } + if (getRequiredCount() > 0) { + hash = (37 * hash) + REQUIRED_FIELD_NUMBER; + hash = (53 * hash) + getRequiredList().hashCode(); + } + if (hasKey()) { + hash = (37 * hash) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + } + if (hasItem()) { + hash = (37 * hash) + ITEM_FIELD_NUMBER; + hash = (53 * hash) + getItem().hashCode(); + } + hash = (37 * hash) + LINE_FIELD_NUMBER; + hash = (53 * hash) + getLine(); + if (getDecoratorsCount() > 0) { + hash = (37 * hash) + DECORATORS_FIELD_NUMBER; + hash = (53 * hash) + getDecoratorsList().hashCode(); + } + hash = (37 * hash) + FILENAME_FIELD_NUMBER; + hash = (53 * hash) + getFilename().hashCode(); + hash = (37 * hash) + PKG_PATH_FIELD_NUMBER; + hash = (53 * hash) + getPkgPath().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (!internalGetExamples().getMap().isEmpty()) { + hash = (37 * hash) + EXAMPLES_FIELD_NUMBER; + hash = (53 * hash) + internalGetExamples().hashCode(); + } + if (hasBaseSchema()) { + hash = (37 * hash) + BASE_SCHEMA_FIELD_NUMBER; + hash = (53 * hash) + getBaseSchema().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Decorator parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static com.kcl.api.Spec.KclType parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KclType parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KclType parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KclType parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KclType parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KclType parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KclType parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.KclType 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 com.google.protobuf.Parser parser() { - return PARSER; - } + public static com.kcl.api.Spec.KclType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.KclType 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 com.kcl.api.Spec.KclType parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.KclType parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.Decorator getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExampleOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Example) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Short description for the example.
-         * 
- * - * string summary = 1; - * - * @return The summary. - */ - java.lang.String getSummary(); - - /** - *
-         * Short description for the example.
-         * 
- * - * string summary = 1; - * - * @return The bytes for summary. - */ - com.google.protobuf.ByteString getSummaryBytes(); - - /** - *
-         * Long description for the example.
-         * 
- * - * string description = 2; - * - * @return The description. - */ - java.lang.String getDescription(); - - /** - *
-         * Long description for the example.
-         * 
- * - * string description = 2; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - /** - *
-         * Embedded literal example.
-         * 
- * - * string value = 3; - * - * @return The value. - */ - java.lang.String getValue(); - - /** - *
-         * Embedded literal example.
-         * 
- * - * string value = 3; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.KclType prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** - * Protobuf type {@code com.kcl.api.Example} + * Protobuf type {@code com.kcl.api.KclType} */ - public static final class Example extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Example) - ExampleOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Example.newBuilder() to construct. - private Example(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Example() { - summary_ = ""; - description_ = ""; - value_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Example(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Example_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Example.class, - com.kcl.api.Spec.Example.Builder.class); - } - - public static final int SUMMARY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object summary_ = ""; - - /** - *
-         * Short description for the example.
-         * 
- * - * string summary = 1; - * - * @return The summary. - */ - @java.lang.Override - public java.lang.String getSummary() { - java.lang.Object ref = summary_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - summary_ = s; - return s; - } - } - - /** - *
-         * Short description for the example.
-         * 
- * - * string summary = 1; - * - * @return The bytes for summary. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSummaryBytes() { - java.lang.Object ref = summary_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - summary_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object description_ = ""; - - /** - *
-         * Long description for the example.
-         * 
- * - * string description = 2; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.KclType) + com.kcl.api.Spec.KclTypeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 6: + return internalGetProperties(); + case 15: + return internalGetExamples(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 6: + return internalGetMutableProperties(); + case 15: + return internalGetMutableExamples(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.KclType.class, com.kcl.api.Spec.KclType.Builder.class); + } + + // Construct using com.kcl.api.Spec.KclType.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getUnionTypesFieldBuilder(); + getKeyFieldBuilder(); + getItemFieldBuilder(); + getDecoratorsFieldBuilder(); + getBaseSchemaFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + type_ = ""; + if (unionTypesBuilder_ == null) { + unionTypes_ = java.util.Collections.emptyList(); + } else { + unionTypes_ = null; + unionTypesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + default_ = ""; + schemaName_ = ""; + schemaDoc_ = ""; + internalGetMutableProperties().clear(); + required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + key_ = null; + if (keyBuilder_ != null) { + keyBuilder_.dispose(); + keyBuilder_ = null; + } + item_ = null; + if (itemBuilder_ != null) { + itemBuilder_.dispose(); + itemBuilder_ = null; + } + line_ = 0; + if (decoratorsBuilder_ == null) { + decorators_ = java.util.Collections.emptyList(); + } else { + decorators_ = null; + decoratorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000400); + filename_ = ""; + pkgPath_ = ""; + description_ = ""; + internalGetMutableExamples().clear(); + baseSchema_ = null; + if (baseSchemaBuilder_ != null) { + baseSchemaBuilder_.dispose(); + baseSchemaBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.KclType getDefaultInstanceForType() { + return com.kcl.api.Spec.KclType.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.KclType build() { + com.kcl.api.Spec.KclType result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.KclType buildPartial() { + com.kcl.api.Spec.KclType result = new com.kcl.api.Spec.KclType(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.KclType result) { + if (unionTypesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + unionTypes_ = java.util.Collections.unmodifiableList(unionTypes_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.unionTypes_ = unionTypes_; + } else { + result.unionTypes_ = unionTypesBuilder_.build(); + } + if (decoratorsBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0)) { + decorators_ = java.util.Collections.unmodifiableList(decorators_); + bitField0_ = (bitField0_ & ~0x00000400); + } + result.decorators_ = decorators_; + } else { + result.decorators_ = decoratorsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.KclType result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.type_ = type_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.default_ = default_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.schemaName_ = schemaName_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.schemaDoc_ = schemaDoc_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.properties_ = internalGetProperties().build(PropertiesDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + required_.makeImmutable(); + result.required_ = required_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000080) != 0)) { + result.key_ = keyBuilder_ == null + ? key_ + : keyBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.item_ = itemBuilder_ == null + ? item_ + : itemBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.line_ = line_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.filename_ = filename_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.pkgPath_ = pkgPath_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.examples_ = internalGetExamples().build(ExamplesDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.baseSchema_ = baseSchemaBuilder_ == null + ? baseSchema_ + : baseSchemaBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.KclType) { + return mergeFrom((com.kcl.api.Spec.KclType)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.KclType other) { + if (other == com.kcl.api.Spec.KclType.getDefaultInstance()) return this; + if (!other.getType().isEmpty()) { + type_ = other.type_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (unionTypesBuilder_ == null) { + if (!other.unionTypes_.isEmpty()) { + if (unionTypes_.isEmpty()) { + unionTypes_ = other.unionTypes_; + bitField0_ = (bitField0_ & ~0x00000002); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } - } - - /** - *
-         * Long description for the example.
-         * 
- * - * string description = 2; - * - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; + ensureUnionTypesIsMutable(); + unionTypes_.addAll(other.unionTypes_); + } + onChanged(); + } + } else { + if (!other.unionTypes_.isEmpty()) { + if (unionTypesBuilder_.isEmpty()) { + unionTypesBuilder_.dispose(); + unionTypesBuilder_ = null; + unionTypes_ = other.unionTypes_; + bitField0_ = (bitField0_ & ~0x00000002); + unionTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUnionTypesFieldBuilder() : null; } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; - - /** - *
-         * Embedded literal example.
-         * 
- * - * string value = 3; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + unionTypesBuilder_.addAllMessages(other.unionTypes_); + } + } + } + if (!other.getDefault().isEmpty()) { + default_ = other.default_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getSchemaName().isEmpty()) { + schemaName_ = other.schemaName_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getSchemaDoc().isEmpty()) { + schemaDoc_ = other.schemaDoc_; + bitField0_ |= 0x00000010; + onChanged(); + } + internalGetMutableProperties().mergeFrom( + other.internalGetProperties()); + bitField0_ |= 0x00000020; + if (!other.required_.isEmpty()) { + if (required_.isEmpty()) { + required_ = other.required_; + bitField0_ |= 0x00000040; + } else { + ensureRequiredIsMutable(); + required_.addAll(other.required_); + } + onChanged(); + } + if (other.hasKey()) { + mergeKey(other.getKey()); + } + if (other.hasItem()) { + mergeItem(other.getItem()); + } + if (other.getLine() != 0) { + setLine(other.getLine()); + } + if (decoratorsBuilder_ == null) { + if (!other.decorators_.isEmpty()) { + if (decorators_.isEmpty()) { + decorators_ = other.decorators_; + bitField0_ = (bitField0_ & ~0x00000400); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } - - /** - *
-         * Embedded literal example.
-         * 
- * - * string value = 3; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; + ensureDecoratorsIsMutable(); + decorators_.addAll(other.decorators_); + } + onChanged(); + } + } else { + if (!other.decorators_.isEmpty()) { + if (decoratorsBuilder_.isEmpty()) { + decoratorsBuilder_.dispose(); + decoratorsBuilder_ = null; + decorators_ = other.decorators_; + bitField0_ = (bitField0_ & ~0x00000400); + decoratorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDecoratorsFieldBuilder() : null; } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + decoratorsBuilder_.addAllMessages(other.decorators_); + } + } + } + if (!other.getFilename().isEmpty()) { + filename_ = other.filename_; + bitField0_ |= 0x00000800; + onChanged(); + } + if (!other.getPkgPath().isEmpty()) { + pkgPath_ = other.pkgPath_; + bitField0_ |= 0x00001000; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00002000; + onChanged(); + } + internalGetMutableExamples().mergeFrom( + other.internalGetExamples()); + bitField0_ |= 0x00004000; + if (other.hasBaseSchema()) { + mergeBaseSchema(other.getBaseSchema()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.kcl.api.Spec.KclType m = + input.readMessage( + com.kcl.api.Spec.KclType.parser(), + extensionRegistry); + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + unionTypes_.add(m); + } else { + unionTypesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + default_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + schemaName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + schemaDoc_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + properties__ = input.readMessage( + PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableProperties().ensureBuilderMap().put( + properties__.getKey(), properties__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRequiredIsMutable(); + required_.add(s); + break; + } // case 58 + case 66: { + input.readMessage( + getKeyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + input.readMessage( + getItemFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: { + line_ = input.readInt32(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + com.kcl.api.Spec.Decorator m = + input.readMessage( + com.kcl.api.Spec.Decorator.parser(), + extensionRegistry); + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + decorators_.add(m); + } else { + decoratorsBuilder_.addMessage(m); + } + break; + } // case 90 + case 98: { + filename_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + pkgPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 114: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 114 + case 122: { + com.google.protobuf.MapEntry + examples__ = input.readMessage( + ExamplesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableExamples().ensureBuilderMap().put( + examples__.getKey(), examples__.getValue()); + bitField0_ |= 0x00004000; + break; + } // case 122 + case 130: { + input.readMessage( + getBaseSchemaFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 130 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object type_ = ""; + /** + *
+       * schema, dict, list, str, int, float, bool, any, union, number_multiplier
+       * 
+ * + * string type = 1; + * @return The type. + */ + public java.lang.String getType() { + java.lang.Object ref = type_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * schema, dict, list, str, int, float, bool, any, union, number_multiplier
+       * 
+ * + * string type = 1; + * @return The bytes for type. + */ + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * schema, dict, list, str, int, float, bool, any, union, number_multiplier
+       * 
+ * + * string type = 1; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * schema, dict, list, str, int, float, bool, any, union, number_multiplier
+       * 
+ * + * string type = 1; + * @return This builder for chaining. + */ + public Builder clearType() { + type_ = getDefaultInstance().getType(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * schema, dict, list, str, int, float, bool, any, union, number_multiplier
+       * 
+ * + * string type = 1; + * @param value The bytes for type to set. + * @return This builder for chaining. + */ + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.util.List unionTypes_ = + java.util.Collections.emptyList(); + private void ensureUnionTypesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + unionTypes_ = new java.util.ArrayList(unionTypes_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> unionTypesBuilder_; + + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public java.util.List getUnionTypesList() { + if (unionTypesBuilder_ == null) { + return java.util.Collections.unmodifiableList(unionTypes_); + } else { + return unionTypesBuilder_.getMessageList(); + } + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public int getUnionTypesCount() { + if (unionTypesBuilder_ == null) { + return unionTypes_.size(); + } else { + return unionTypesBuilder_.getCount(); + } + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public com.kcl.api.Spec.KclType getUnionTypes(int index) { + if (unionTypesBuilder_ == null) { + return unionTypes_.get(index); + } else { + return unionTypesBuilder_.getMessage(index); + } + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder setUnionTypes( + int index, com.kcl.api.Spec.KclType value) { + if (unionTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnionTypesIsMutable(); + unionTypes_.set(index, value); + onChanged(); + } else { + unionTypesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder setUnionTypes( + int index, com.kcl.api.Spec.KclType.Builder builderForValue) { + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + unionTypes_.set(index, builderForValue.build()); + onChanged(); + } else { + unionTypesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder addUnionTypes(com.kcl.api.Spec.KclType value) { + if (unionTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnionTypesIsMutable(); + unionTypes_.add(value); + onChanged(); + } else { + unionTypesBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder addUnionTypes( + int index, com.kcl.api.Spec.KclType value) { + if (unionTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnionTypesIsMutable(); + unionTypes_.add(index, value); + onChanged(); + } else { + unionTypesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder addUnionTypes( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + unionTypes_.add(builderForValue.build()); + onChanged(); + } else { + unionTypesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder addUnionTypes( + int index, com.kcl.api.Spec.KclType.Builder builderForValue) { + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + unionTypes_.add(index, builderForValue.build()); + onChanged(); + } else { + unionTypesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder addAllUnionTypes( + java.lang.Iterable values) { + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unionTypes_); + onChanged(); + } else { + unionTypesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder clearUnionTypes() { + if (unionTypesBuilder_ == null) { + unionTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + unionTypesBuilder_.clear(); + } + return this; + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder removeUnionTypes(int index) { + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + unionTypes_.remove(index); + onChanged(); + } else { + unionTypesBuilder_.remove(index); + } + return this; + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public com.kcl.api.Spec.KclType.Builder getUnionTypesBuilder( + int index) { + return getUnionTypesFieldBuilder().getBuilder(index); + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder( + int index) { + if (unionTypesBuilder_ == null) { + return unionTypes_.get(index); } else { + return unionTypesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public java.util.List + getUnionTypesOrBuilderList() { + if (unionTypesBuilder_ != null) { + return unionTypesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(unionTypes_); + } + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder() { + return getUnionTypesFieldBuilder().addBuilder( + com.kcl.api.Spec.KclType.getDefaultInstance()); + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder( + int index) { + return getUnionTypesFieldBuilder().addBuilder( + index, com.kcl.api.Spec.KclType.getDefaultInstance()); + } + /** + *
+       * union types
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public java.util.List + getUnionTypesBuilderList() { + return getUnionTypesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + getUnionTypesFieldBuilder() { + if (unionTypesBuilder_ == null) { + unionTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + unionTypes_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + unionTypes_ = null; + } + return unionTypesBuilder_; + } + + private java.lang.Object default_ = ""; + /** + *
+       * default value
+       * 
+ * + * string default = 3; + * @return The default. + */ + public java.lang.String getDefault() { + java.lang.Object ref = default_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + default_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * default value
+       * 
+ * + * string default = 3; + * @return The bytes for default. + */ + public com.google.protobuf.ByteString + getDefaultBytes() { + java.lang.Object ref = default_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + default_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * default value
+       * 
+ * + * string default = 3; + * @param value The default to set. + * @return This builder for chaining. + */ + public Builder setDefault( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + default_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * default value
+       * 
+ * + * string default = 3; + * @return This builder for chaining. + */ + public Builder clearDefault() { + default_ = getDefaultInstance().getDefault(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * default value
+       * 
+ * + * string default = 3; + * @param value The bytes for default to set. + * @return This builder for chaining. + */ + public Builder setDefaultBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + default_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object schemaName_ = ""; + /** + *
+       * schema name
+       * 
+ * + * string schema_name = 4; + * @return The schemaName. + */ + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * schema name
+       * 
+ * + * string schema_name = 4; + * @return The bytes for schemaName. + */ + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * schema name
+       * 
+ * + * string schema_name = 4; + * @param value The schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + schemaName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * schema name
+       * 
+ * + * string schema_name = 4; + * @return This builder for chaining. + */ + public Builder clearSchemaName() { + schemaName_ = getDefaultInstance().getSchemaName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * schema name
+       * 
+ * + * string schema_name = 4; + * @param value The bytes for schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + schemaName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object schemaDoc_ = ""; + /** + *
+       * schema doc
+       * 
+ * + * string schema_doc = 5; + * @return The schemaDoc. + */ + public java.lang.String getSchemaDoc() { + java.lang.Object ref = schemaDoc_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaDoc_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * schema doc
+       * 
+ * + * string schema_doc = 5; + * @return The bytes for schemaDoc. + */ + public com.google.protobuf.ByteString + getSchemaDocBytes() { + java.lang.Object ref = schemaDoc_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaDoc_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * schema doc
+       * 
+ * + * string schema_doc = 5; + * @param value The schemaDoc to set. + * @return This builder for chaining. + */ + public Builder setSchemaDoc( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + schemaDoc_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * schema doc
+       * 
+ * + * string schema_doc = 5; + * @return This builder for chaining. + */ + public Builder clearSchemaDoc() { + schemaDoc_ = getDefaultInstance().getSchemaDoc(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+       * schema doc
+       * 
+ * + * string schema_doc = 5; + * @param value The bytes for schemaDoc to set. + * @return This builder for chaining. + */ + public Builder setSchemaDocBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + schemaDoc_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private static final class PropertiesConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.KclType build(com.kcl.api.Spec.KclTypeOrBuilder val) { + if (val instanceof com.kcl.api.Spec.KclType) { return (com.kcl.api.Spec.KclType) val; } + return ((com.kcl.api.Spec.KclType.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return PropertiesDefaultEntryHolder.defaultEntry; + } + }; + private static final PropertiesConverter propertiesConverter = new PropertiesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.KclTypeOrBuilder, com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder> properties_; + private com.google.protobuf.MapFieldBuilder + internalGetProperties() { + if (properties_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); + } + return properties_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableProperties() { + if (properties_ == null) { + properties_ = new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); + } + bitField0_ |= 0x00000020; + onChanged(); + return properties_; + } + public int getPropertiesCount() { + return internalGetProperties().ensureBuilderMap().size(); + } + /** + *
+       * schema properties
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public boolean containsProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetProperties().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getPropertiesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getProperties() { + return getPropertiesMap(); + } + /** + *
+       * schema properties
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public java.util.Map getPropertiesMap() { + return internalGetProperties().getImmutableMap(); + } + /** + *
+       * schema properties
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.KclType getPropertiesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableProperties().ensureBuilderMap(); + return map.containsKey(key) ? propertiesConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * schema properties
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getPropertiesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableProperties().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return propertiesConverter.build(map.get(key)); + } + public Builder clearProperties() { + bitField0_ = (bitField0_ & ~0x00000020); + internalGetMutableProperties().clear(); + return this; + } + /** + *
+       * schema properties
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + public Builder removeProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableProperties().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableProperties() { + bitField0_ |= 0x00000020; + return internalGetMutableProperties().ensureMessageMap(); + } + /** + *
+       * schema properties
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + public Builder putProperties( + java.lang.String key, + com.kcl.api.Spec.KclType value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableProperties().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000020; + return this; + } + /** + *
+       * schema properties
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + public Builder putAllProperties( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableProperties().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000020; + return this; + } + /** + *
+       * schema properties
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + public com.kcl.api.Spec.KclType.Builder putPropertiesBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableProperties().ensureBuilderMap(); + com.kcl.api.Spec.KclTypeOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.KclType.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.KclType) { + entry = ((com.kcl.api.Spec.KclType) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.KclType.Builder) entry; + } + + private com.google.protobuf.LazyStringArrayList required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRequiredIsMutable() { + if (!required_.isModifiable()) { + required_ = new com.google.protobuf.LazyStringArrayList(required_); + } + bitField0_ |= 0x00000040; + } + /** + *
+       * required schema properties, [property_name1, property_name2]
+       * 
+ * + * repeated string required = 7; + * @return A list containing the required. + */ + public com.google.protobuf.ProtocolStringList + getRequiredList() { + required_.makeImmutable(); + return required_; + } + /** + *
+       * required schema properties, [property_name1, property_name2]
+       * 
+ * + * repeated string required = 7; + * @return The count of required. + */ + public int getRequiredCount() { + return required_.size(); + } + /** + *
+       * required schema properties, [property_name1, property_name2]
+       * 
+ * + * repeated string required = 7; + * @param index The index of the element to return. + * @return The required at the given index. + */ + public java.lang.String getRequired(int index) { + return required_.get(index); + } + /** + *
+       * required schema properties, [property_name1, property_name2]
+       * 
+ * + * repeated string required = 7; + * @param index The index of the value to return. + * @return The bytes of the required at the given index. + */ + public com.google.protobuf.ByteString + getRequiredBytes(int index) { + return required_.getByteString(index); + } + /** + *
+       * required schema properties, [property_name1, property_name2]
+       * 
+ * + * repeated string required = 7; + * @param index The index to set the value at. + * @param value The required to set. + * @return This builder for chaining. + */ + public Builder setRequired( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureRequiredIsMutable(); + required_.set(index, value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * required schema properties, [property_name1, property_name2]
+       * 
+ * + * repeated string required = 7; + * @param value The required to add. + * @return This builder for chaining. + */ + public Builder addRequired( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureRequiredIsMutable(); + required_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * required schema properties, [property_name1, property_name2]
+       * 
+ * + * repeated string required = 7; + * @param values The required to add. + * @return This builder for chaining. + */ + public Builder addAllRequired( + java.lang.Iterable values) { + ensureRequiredIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, required_); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * required schema properties, [property_name1, property_name2]
+       * 
+ * + * repeated string required = 7; + * @return This builder for chaining. + */ + public Builder clearRequired() { + required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040);; + onChanged(); + return this; + } + /** + *
+       * required schema properties, [property_name1, property_name2]
+       * 
+ * + * repeated string required = 7; + * @param value The bytes of the required to add. + * @return This builder for chaining. + */ + public Builder addRequiredBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureRequiredIsMutable(); + required_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private com.kcl.api.Spec.KclType key_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> keyBuilder_; + /** + *
+       * dict key type
+       * 
+ * + * .com.kcl.api.KclType key = 8; + * @return Whether the key field is set. + */ + public boolean hasKey() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + *
+       * dict key type
+       * 
+ * + * .com.kcl.api.KclType key = 8; + * @return The key. + */ + public com.kcl.api.Spec.KclType getKey() { + if (keyBuilder_ == null) { + return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; + } else { + return keyBuilder_.getMessage(); + } + } + /** + *
+       * dict key type
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public Builder setKey(com.kcl.api.Spec.KclType value) { + if (keyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + key_ = value; + } else { + keyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+       * dict key type
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public Builder setKey( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (keyBuilder_ == null) { + key_ = builderForValue.build(); + } else { + keyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+       * dict key type
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public Builder mergeKey(com.kcl.api.Spec.KclType value) { + if (keyBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + key_ != null && + key_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { + getKeyBuilder().mergeFrom(value); + } else { + key_ = value; + } + } else { + keyBuilder_.mergeFrom(value); + } + if (key_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } + return this; + } + /** + *
+       * dict key type
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public Builder clearKey() { + bitField0_ = (bitField0_ & ~0x00000080); + key_ = null; + if (keyBuilder_ != null) { + keyBuilder_.dispose(); + keyBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * dict key type
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public com.kcl.api.Spec.KclType.Builder getKeyBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getKeyFieldBuilder().getBuilder(); + } + /** + *
+       * dict key type
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder() { + if (keyBuilder_ != null) { + return keyBuilder_.getMessageOrBuilder(); + } else { + return key_ == null ? + com.kcl.api.Spec.KclType.getDefaultInstance() : key_; + } + } + /** + *
+       * dict key type
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + getKeyFieldBuilder() { + if (keyBuilder_ == null) { + keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + getKey(), + getParentForChildren(), + isClean()); + key_ = null; + } + return keyBuilder_; + } + + private com.kcl.api.Spec.KclType item_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> itemBuilder_; + /** + *
+       * dict/list item type
+       * 
+ * + * .com.kcl.api.KclType item = 9; + * @return Whether the item field is set. + */ + public boolean hasItem() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + *
+       * dict/list item type
+       * 
+ * + * .com.kcl.api.KclType item = 9; + * @return The item. + */ + public com.kcl.api.Spec.KclType getItem() { + if (itemBuilder_ == null) { + return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; + } else { + return itemBuilder_.getMessage(); + } + } + /** + *
+       * dict/list item type
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public Builder setItem(com.kcl.api.Spec.KclType value) { + if (itemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + item_ = value; + } else { + itemBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+       * dict/list item type
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public Builder setItem( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (itemBuilder_ == null) { + item_ = builderForValue.build(); + } else { + itemBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+       * dict/list item type
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public Builder mergeItem(com.kcl.api.Spec.KclType value) { + if (itemBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) && + item_ != null && + item_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { + getItemBuilder().mergeFrom(value); + } else { + item_ = value; + } + } else { + itemBuilder_.mergeFrom(value); + } + if (item_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } + return this; + } + /** + *
+       * dict/list item type
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public Builder clearItem() { + bitField0_ = (bitField0_ & ~0x00000100); + item_ = null; + if (itemBuilder_ != null) { + itemBuilder_.dispose(); + itemBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * dict/list item type
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public com.kcl.api.Spec.KclType.Builder getItemBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getItemFieldBuilder().getBuilder(); + } + /** + *
+       * dict/list item type
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder() { + if (itemBuilder_ != null) { + return itemBuilder_.getMessageOrBuilder(); + } else { + return item_ == null ? + com.kcl.api.Spec.KclType.getDefaultInstance() : item_; + } + } + /** + *
+       * dict/list item type
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + getItemFieldBuilder() { + if (itemBuilder_ == null) { + itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + getItem(), + getParentForChildren(), + isClean()); + item_ = null; + } + return itemBuilder_; + } + + private int line_ ; + /** + * int32 line = 10; + * @return The line. + */ + @java.lang.Override + public int getLine() { + return line_; + } + /** + * int32 line = 10; + * @param value The line to set. + * @return This builder for chaining. + */ + public Builder setLine(int value) { + + line_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * int32 line = 10; + * @return This builder for chaining. + */ + public Builder clearLine() { + bitField0_ = (bitField0_ & ~0x00000200); + line_ = 0; + onChanged(); + return this; + } + + private java.util.List decorators_ = + java.util.Collections.emptyList(); + private void ensureDecoratorsIsMutable() { + if (!((bitField0_ & 0x00000400) != 0)) { + decorators_ = new java.util.ArrayList(decorators_); + bitField0_ |= 0x00000400; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Decorator, com.kcl.api.Spec.Decorator.Builder, com.kcl.api.Spec.DecoratorOrBuilder> decoratorsBuilder_; + + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public java.util.List getDecoratorsList() { + if (decoratorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(decorators_); + } else { + return decoratorsBuilder_.getMessageList(); + } + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public int getDecoratorsCount() { + if (decoratorsBuilder_ == null) { + return decorators_.size(); + } else { + return decoratorsBuilder_.getCount(); + } + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public com.kcl.api.Spec.Decorator getDecorators(int index) { + if (decoratorsBuilder_ == null) { + return decorators_.get(index); + } else { + return decoratorsBuilder_.getMessage(index); + } + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder setDecorators( + int index, com.kcl.api.Spec.Decorator value) { + if (decoratorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDecoratorsIsMutable(); + decorators_.set(index, value); + onChanged(); + } else { + decoratorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder setDecorators( + int index, com.kcl.api.Spec.Decorator.Builder builderForValue) { + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + decorators_.set(index, builderForValue.build()); + onChanged(); + } else { + decoratorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder addDecorators(com.kcl.api.Spec.Decorator value) { + if (decoratorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDecoratorsIsMutable(); + decorators_.add(value); + onChanged(); + } else { + decoratorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder addDecorators( + int index, com.kcl.api.Spec.Decorator value) { + if (decoratorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDecoratorsIsMutable(); + decorators_.add(index, value); + onChanged(); + } else { + decoratorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder addDecorators( + com.kcl.api.Spec.Decorator.Builder builderForValue) { + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + decorators_.add(builderForValue.build()); + onChanged(); + } else { + decoratorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder addDecorators( + int index, com.kcl.api.Spec.Decorator.Builder builderForValue) { + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + decorators_.add(index, builderForValue.build()); + onChanged(); + } else { + decoratorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder addAllDecorators( + java.lang.Iterable values) { + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, decorators_); + onChanged(); + } else { + decoratorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder clearDecorators() { + if (decoratorsBuilder_ == null) { + decorators_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + } else { + decoratorsBuilder_.clear(); + } + return this; + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder removeDecorators(int index) { + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + decorators_.remove(index); + onChanged(); + } else { + decoratorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public com.kcl.api.Spec.Decorator.Builder getDecoratorsBuilder( + int index) { + return getDecoratorsFieldBuilder().getBuilder(index); + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder( + int index) { + if (decoratorsBuilder_ == null) { + return decorators_.get(index); } else { + return decoratorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public java.util.List + getDecoratorsOrBuilderList() { + if (decoratorsBuilder_ != null) { + return decoratorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(decorators_); + } + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder() { + return getDecoratorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Decorator.getDefaultInstance()); + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder( + int index) { + return getDecoratorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Decorator.getDefaultInstance()); + } + /** + *
+       * schema decorators
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public java.util.List + getDecoratorsBuilderList() { + return getDecoratorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Decorator, com.kcl.api.Spec.Decorator.Builder, com.kcl.api.Spec.DecoratorOrBuilder> + getDecoratorsFieldBuilder() { + if (decoratorsBuilder_ == null) { + decoratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.kcl.api.Spec.Decorator, com.kcl.api.Spec.Decorator.Builder, com.kcl.api.Spec.DecoratorOrBuilder>( + decorators_, + ((bitField0_ & 0x00000400) != 0), + getParentForChildren(), + isClean()); + decorators_ = null; + } + return decoratorsBuilder_; + } + + private java.lang.Object filename_ = ""; + /** + *
+       * `filename` represents the absolute path of the file name where the attribute is located.
+       * 
+ * + * string filename = 12; + * @return The filename. + */ + public java.lang.String getFilename() { + java.lang.Object ref = filename_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filename_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * `filename` represents the absolute path of the file name where the attribute is located.
+       * 
+ * + * string filename = 12; + * @return The bytes for filename. + */ + public com.google.protobuf.ByteString + getFilenameBytes() { + java.lang.Object ref = filename_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filename_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * `filename` represents the absolute path of the file name where the attribute is located.
+       * 
+ * + * string filename = 12; + * @param value The filename to set. + * @return This builder for chaining. + */ + public Builder setFilename( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + filename_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + *
+       * `filename` represents the absolute path of the file name where the attribute is located.
+       * 
+ * + * string filename = 12; + * @return This builder for chaining. + */ + public Builder clearFilename() { + filename_ = getDefaultInstance().getFilename(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + *
+       * `filename` represents the absolute path of the file name where the attribute is located.
+       * 
+ * + * string filename = 12; + * @param value The bytes for filename to set. + * @return This builder for chaining. + */ + public Builder setFilenameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + filename_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + private java.lang.Object pkgPath_ = ""; + /** + *
+       * `pkg_path` represents the path name of the package where the attribute is located.
+       * 
+ * + * string pkg_path = 13; + * @return The pkgPath. + */ + public java.lang.String getPkgPath() { + java.lang.Object ref = pkgPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * `pkg_path` represents the path name of the package where the attribute is located.
+       * 
+ * + * string pkg_path = 13; + * @return The bytes for pkgPath. + */ + public com.google.protobuf.ByteString + getPkgPathBytes() { + java.lang.Object ref = pkgPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * `pkg_path` represents the path name of the package where the attribute is located.
+       * 
+ * + * string pkg_path = 13; + * @param value The pkgPath to set. + * @return This builder for chaining. + */ + public Builder setPkgPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pkgPath_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + *
+       * `pkg_path` represents the path name of the package where the attribute is located.
+       * 
+ * + * string pkg_path = 13; + * @return This builder for chaining. + */ + public Builder clearPkgPath() { + pkgPath_ = getDefaultInstance().getPkgPath(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + return this; + } + /** + *
+       * `pkg_path` represents the path name of the package where the attribute is located.
+       * 
+ * + * string pkg_path = 13; + * @param value The bytes for pkgPath to set. + * @return This builder for chaining. + */ + public Builder setPkgPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pkgPath_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + *
+       * `description` represents the document of the attribute.
+       * 
+ * + * string description = 14; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * `description` represents the document of the attribute.
+       * 
+ * + * string description = 14; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * `description` represents the document of the attribute.
+       * 
+ * + * string description = 14; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + *
+       * `description` represents the document of the attribute.
+       * 
+ * + * string description = 14; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00002000); + onChanged(); + return this; + } + /** + *
+       * `description` represents the document of the attribute.
+       * 
+ * + * string description = 14; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + + private static final class ExamplesConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.Example build(com.kcl.api.Spec.ExampleOrBuilder val) { + if (val instanceof com.kcl.api.Spec.Example) { return (com.kcl.api.Spec.Example) val; } + return ((com.kcl.api.Spec.Example.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return ExamplesDefaultEntryHolder.defaultEntry; + } + }; + private static final ExamplesConverter examplesConverter = new ExamplesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.ExampleOrBuilder, com.kcl.api.Spec.Example, com.kcl.api.Spec.Example.Builder> examples_; + private com.google.protobuf.MapFieldBuilder + internalGetExamples() { + if (examples_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(examplesConverter); + } + return examples_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableExamples() { + if (examples_ == null) { + examples_ = new com.google.protobuf.MapFieldBuilder<>(examplesConverter); + } + bitField0_ |= 0x00004000; + onChanged(); + return examples_; + } + public int getExamplesCount() { + return internalGetExamples().ensureBuilderMap().size(); + } + /** + *
+       * A map object to hold examples, the key is the example name.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public boolean containsExamples( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetExamples().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getExamplesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getExamples() { + return getExamplesMap(); + } + /** + *
+       * A map object to hold examples, the key is the example name.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public java.util.Map getExamplesMap() { + return internalGetExamples().getImmutableMap(); + } + /** + *
+       * A map object to hold examples, the key is the example name.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Example getExamplesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Example defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableExamples().ensureBuilderMap(); + return map.containsKey(key) ? examplesConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * A map object to hold examples, the key is the example name.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public com.kcl.api.Spec.Example getExamplesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableExamples().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return examplesConverter.build(map.get(key)); + } + public Builder clearExamples() { + bitField0_ = (bitField0_ & ~0x00004000); + internalGetMutableExamples().clear(); + return this; + } + /** + *
+       * A map object to hold examples, the key is the example name.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + public Builder removeExamples( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableExamples().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableExamples() { + bitField0_ |= 0x00004000; + return internalGetMutableExamples().ensureMessageMap(); + } + /** + *
+       * A map object to hold examples, the key is the example name.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + public Builder putExamples( + java.lang.String key, + com.kcl.api.Spec.Example value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableExamples().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00004000; + return this; + } + /** + *
+       * A map object to hold examples, the key is the example name.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + public Builder putAllExamples( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableExamples().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00004000; + return this; + } + /** + *
+       * A map object to hold examples, the key is the example name.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + public com.kcl.api.Spec.Example.Builder putExamplesBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableExamples().ensureBuilderMap(); + com.kcl.api.Spec.ExampleOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.Example.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.Example) { + entry = ((com.kcl.api.Spec.Example) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.Example.Builder) entry; + } + + private com.kcl.api.Spec.KclType baseSchema_; + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> baseSchemaBuilder_; + /** + * .com.kcl.api.KclType base_schema = 16; + * @return Whether the baseSchema field is set. + */ + public boolean hasBaseSchema() { + return ((bitField0_ & 0x00008000) != 0); + } + /** + * .com.kcl.api.KclType base_schema = 16; + * @return The baseSchema. + */ + public com.kcl.api.Spec.KclType getBaseSchema() { + if (baseSchemaBuilder_ == null) { + return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; + } else { + return baseSchemaBuilder_.getMessage(); + } + } + /** + * .com.kcl.api.KclType base_schema = 16; + */ + public Builder setBaseSchema(com.kcl.api.Spec.KclType value) { + if (baseSchemaBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + baseSchema_ = value; + } else { + baseSchemaBuilder_.setMessage(value); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + * .com.kcl.api.KclType base_schema = 16; + */ + public Builder setBaseSchema( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (baseSchemaBuilder_ == null) { + baseSchema_ = builderForValue.build(); + } else { + baseSchemaBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + * .com.kcl.api.KclType base_schema = 16; + */ + public Builder mergeBaseSchema(com.kcl.api.Spec.KclType value) { + if (baseSchemaBuilder_ == null) { + if (((bitField0_ & 0x00008000) != 0) && + baseSchema_ != null && + baseSchema_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { + getBaseSchemaBuilder().mergeFrom(value); + } else { + baseSchema_ = value; + } + } else { + baseSchemaBuilder_.mergeFrom(value); + } + if (baseSchema_ != null) { + bitField0_ |= 0x00008000; + onChanged(); + } + return this; + } + /** + * .com.kcl.api.KclType base_schema = 16; + */ + public Builder clearBaseSchema() { + bitField0_ = (bitField0_ & ~0x00008000); + baseSchema_ = null; + if (baseSchemaBuilder_ != null) { + baseSchemaBuilder_.dispose(); + baseSchemaBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .com.kcl.api.KclType base_schema = 16; + */ + public com.kcl.api.Spec.KclType.Builder getBaseSchemaBuilder() { + bitField0_ |= 0x00008000; + onChanged(); + return getBaseSchemaFieldBuilder().getBuilder(); + } + /** + * .com.kcl.api.KclType base_schema = 16; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder() { + if (baseSchemaBuilder_ != null) { + return baseSchemaBuilder_.getMessageOrBuilder(); + } else { + return baseSchema_ == null ? + com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; + } + } + /** + * .com.kcl.api.KclType base_schema = 16; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + getBaseSchemaFieldBuilder() { + if (baseSchemaBuilder_ == null) { + baseSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + getBaseSchema(), + getParentForChildren(), + isClean()); + baseSchema_ = null; + } + return baseSchemaBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.KclType) + } - memoizedIsInitialized = 1; - return true; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.KclType) + private static final com.kcl.api.Spec.KclType DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.KclType(); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summary_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, summary_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, value_); - } - getUnknownFields().writeTo(output); - } + public static com.kcl.api.Spec.KclType getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summary_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, summary_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KclType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Example)) { - return super.equals(obj); - } - com.kcl.api.Spec.Example other = (com.kcl.api.Spec.Example) obj; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - if (!getSummary().equals(other.getSummary())) - return false; - if (!getDescription().equals(other.getDescription())) - return false; - if (!getValue().equals(other.getValue())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + public com.kcl.api.Spec.KclType getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SUMMARY_FIELD_NUMBER; - hash = (53 * hash) + getSummary().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + } - public static com.kcl.api.Spec.Example parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public interface DecoratorOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Decorator) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Example parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); - public static com.kcl.api.Spec.Example parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * repeated string arguments = 2; + * @return A list containing the arguments. + */ + java.util.List + getArgumentsList(); + /** + * repeated string arguments = 2; + * @return The count of arguments. + */ + int getArgumentsCount(); + /** + * repeated string arguments = 2; + * @param index The index of the element to return. + * @return The arguments at the given index. + */ + java.lang.String getArguments(int index); + /** + * repeated string arguments = 2; + * @param index The index of the value to return. + * @return The bytes of the arguments at the given index. + */ + com.google.protobuf.ByteString + getArgumentsBytes(int index); - public static com.kcl.api.Spec.Example parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + * map<string, string> keywords = 3; + */ + int getKeywordsCount(); + /** + * map<string, string> keywords = 3; + */ + boolean containsKeywords( + java.lang.String key); + /** + * Use {@link #getKeywordsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getKeywords(); + /** + * map<string, string> keywords = 3; + */ + java.util.Map + getKeywordsMap(); + /** + * map<string, string> keywords = 3; + */ + /* nullable */ +java.lang.String getKeywordsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + * map<string, string> keywords = 3; + */ + java.lang.String getKeywordsOrThrow( + java.lang.String key); + } + /** + * Protobuf type {@code com.kcl.api.Decorator} + */ + public static final class Decorator extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Decorator) + DecoratorOrBuilder { + private static final long serialVersionUID = 0L; + // Use Decorator.newBuilder() to construct. + private Decorator(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Decorator() { + name_ = ""; + arguments_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - public static com.kcl.api.Spec.Example parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Decorator(); + } - public static com.kcl.api.Spec.Example parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; + } - public static com.kcl.api.Spec.Example parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetKeywords(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Decorator.class, com.kcl.api.Spec.Decorator.Builder.class); + } - public static com.kcl.api.Spec.Example 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 final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Example parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + public static final int ARGUMENTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList arguments_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string arguments = 2; + * @return A list containing the arguments. + */ + public com.google.protobuf.ProtocolStringList + getArgumentsList() { + return arguments_; + } + /** + * repeated string arguments = 2; + * @return The count of arguments. + */ + public int getArgumentsCount() { + return arguments_.size(); + } + /** + * repeated string arguments = 2; + * @param index The index of the element to return. + * @return The arguments at the given index. + */ + public java.lang.String getArguments(int index) { + return arguments_.get(index); + } + /** + * repeated string arguments = 2; + * @param index The index of the value to return. + * @return The bytes of the arguments at the given index. + */ + public com.google.protobuf.ByteString + getArgumentsBytes(int index) { + return arguments_.getByteString(index); + } - public static com.kcl.api.Spec.Example 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 final int KEYWORDS_FIELD_NUMBER = 3; + private static final class KeywordsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> keywords_; + private com.google.protobuf.MapField + internalGetKeywords() { + if (keywords_ == null) { + return com.google.protobuf.MapField.emptyMapField( + KeywordsDefaultEntryHolder.defaultEntry); + } + return keywords_; + } + public int getKeywordsCount() { + return internalGetKeywords().getMap().size(); + } + /** + * map<string, string> keywords = 3; + */ + @java.lang.Override + public boolean containsKeywords( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetKeywords().getMap().containsKey(key); + } + /** + * Use {@link #getKeywordsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getKeywords() { + return getKeywordsMap(); + } + /** + * map<string, string> keywords = 3; + */ + @java.lang.Override + public java.util.Map getKeywordsMap() { + return internalGetKeywords().getMap(); + } + /** + * map<string, string> keywords = 3; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getKeywordsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKeywords().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, string> keywords = 3; + */ + @java.lang.Override + public java.lang.String getKeywordsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKeywords().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - public static com.kcl.api.Spec.Example parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Example parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + for (int i = 0; i < arguments_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, arguments_.getRaw(i)); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetKeywords(), + KeywordsDefaultEntryHolder.defaultEntry, + 3); + getUnknownFields().writeTo(output); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + { + int dataSize = 0; + for (int i = 0; i < arguments_.size(); i++) { + dataSize += computeStringSizeNoTag(arguments_.getRaw(i)); + } + size += dataSize; + size += 1 * getArgumentsList().size(); + } + for (java.util.Map.Entry entry + : internalGetKeywords().getMap().entrySet()) { + com.google.protobuf.MapEntry + keywords__ = KeywordsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, keywords__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static Builder newBuilder(com.kcl.api.Spec.Example prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Decorator)) { + return super.equals(obj); + } + com.kcl.api.Spec.Decorator other = (com.kcl.api.Spec.Decorator) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getArgumentsList() + .equals(other.getArgumentsList())) return false; + if (!internalGetKeywords().equals( + other.internalGetKeywords())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (getArgumentsCount() > 0) { + hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER; + hash = (53 * hash) + getArgumentsList().hashCode(); + } + if (!internalGetKeywords().getMap().isEmpty()) { + hash = (37 * hash) + KEYWORDS_FIELD_NUMBER; + hash = (53 * hash) + internalGetKeywords().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code com.kcl.api.Example} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Example) - com.kcl.api.Spec.ExampleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; - } + public static com.kcl.api.Spec.Decorator parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Decorator parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Decorator parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Decorator parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Decorator parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Decorator parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Decorator parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Decorator parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Example_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Example.class, - com.kcl.api.Spec.Example.Builder.class); - } + public static com.kcl.api.Spec.Decorator parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - // Construct using com.kcl.api.Spec.Example.newBuilder() - private Builder() { + public static com.kcl.api.Spec.Decorator 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 com.kcl.api.Spec.Decorator parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Decorator parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Decorator prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Decorator} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Decorator) + com.kcl.api.Spec.DecoratorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetKeywords(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetMutableKeywords(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Decorator.class, com.kcl.api.Spec.Decorator.Builder.class); + } + + // Construct using com.kcl.api.Spec.Decorator.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + arguments_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + internalGetMutableKeywords().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Decorator getDefaultInstanceForType() { + return com.kcl.api.Spec.Decorator.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Decorator build() { + com.kcl.api.Spec.Decorator result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Decorator buildPartial() { + com.kcl.api.Spec.Decorator result = new com.kcl.api.Spec.Decorator(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Decorator result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + arguments_.makeImmutable(); + result.arguments_ = arguments_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.keywords_ = internalGetKeywords(); + result.keywords_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Decorator) { + return mergeFrom((com.kcl.api.Spec.Decorator)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Decorator other) { + if (other == com.kcl.api.Spec.Decorator.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.arguments_.isEmpty()) { + if (arguments_.isEmpty()) { + arguments_ = other.arguments_; + bitField0_ |= 0x00000002; + } else { + ensureArgumentsIsMutable(); + arguments_.addAll(other.arguments_); + } + onChanged(); + } + internalGetMutableKeywords().mergeFrom( + other.internalGetKeywords()); + bitField0_ |= 0x00000004; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureArgumentsIsMutable(); + arguments_.add(s); + break; + } // case 18 + case 26: { + com.google.protobuf.MapEntry + keywords__ = input.readMessage( + KeywordsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableKeywords().getMutableMap().put( + keywords__.getKey(), keywords__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList arguments_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureArgumentsIsMutable() { + if (!arguments_.isModifiable()) { + arguments_ = new com.google.protobuf.LazyStringArrayList(arguments_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string arguments = 2; + * @return A list containing the arguments. + */ + public com.google.protobuf.ProtocolStringList + getArgumentsList() { + arguments_.makeImmutable(); + return arguments_; + } + /** + * repeated string arguments = 2; + * @return The count of arguments. + */ + public int getArgumentsCount() { + return arguments_.size(); + } + /** + * repeated string arguments = 2; + * @param index The index of the element to return. + * @return The arguments at the given index. + */ + public java.lang.String getArguments(int index) { + return arguments_.get(index); + } + /** + * repeated string arguments = 2; + * @param index The index of the value to return. + * @return The bytes of the arguments at the given index. + */ + public com.google.protobuf.ByteString + getArgumentsBytes(int index) { + return arguments_.getByteString(index); + } + /** + * repeated string arguments = 2; + * @param index The index to set the value at. + * @param value The arguments to set. + * @return This builder for chaining. + */ + public Builder setArguments( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureArgumentsIsMutable(); + arguments_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string arguments = 2; + * @param value The arguments to add. + * @return This builder for chaining. + */ + public Builder addArguments( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureArgumentsIsMutable(); + arguments_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string arguments = 2; + * @param values The arguments to add. + * @return This builder for chaining. + */ + public Builder addAllArguments( + java.lang.Iterable values) { + ensureArgumentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, arguments_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string arguments = 2; + * @return This builder for chaining. + */ + public Builder clearArguments() { + arguments_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string arguments = 2; + * @param value The bytes of the arguments to add. + * @return This builder for chaining. + */ + public Builder addArgumentsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureArgumentsIsMutable(); + arguments_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> keywords_; + private com.google.protobuf.MapField + internalGetKeywords() { + if (keywords_ == null) { + return com.google.protobuf.MapField.emptyMapField( + KeywordsDefaultEntryHolder.defaultEntry); + } + return keywords_; + } + private com.google.protobuf.MapField + internalGetMutableKeywords() { + if (keywords_ == null) { + keywords_ = com.google.protobuf.MapField.newMapField( + KeywordsDefaultEntryHolder.defaultEntry); + } + if (!keywords_.isMutable()) { + keywords_ = keywords_.copy(); + } + bitField0_ |= 0x00000004; + onChanged(); + return keywords_; + } + public int getKeywordsCount() { + return internalGetKeywords().getMap().size(); + } + /** + * map<string, string> keywords = 3; + */ + @java.lang.Override + public boolean containsKeywords( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetKeywords().getMap().containsKey(key); + } + /** + * Use {@link #getKeywordsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getKeywords() { + return getKeywordsMap(); + } + /** + * map<string, string> keywords = 3; + */ + @java.lang.Override + public java.util.Map getKeywordsMap() { + return internalGetKeywords().getMap(); + } + /** + * map<string, string> keywords = 3; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getKeywordsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKeywords().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, string> keywords = 3; + */ + @java.lang.Override + public java.lang.String getKeywordsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKeywords().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearKeywords() { + bitField0_ = (bitField0_ & ~0x00000004); + internalGetMutableKeywords().getMutableMap() + .clear(); + return this; + } + /** + * map<string, string> keywords = 3; + */ + public Builder removeKeywords( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableKeywords().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableKeywords() { + bitField0_ |= 0x00000004; + return internalGetMutableKeywords().getMutableMap(); + } + /** + * map<string, string> keywords = 3; + */ + public Builder putKeywords( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableKeywords().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000004; + return this; + } + /** + * map<string, string> keywords = 3; + */ + public Builder putAllKeywords( + java.util.Map values) { + internalGetMutableKeywords().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000004; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Decorator) + } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Decorator) + private static final com.kcl.api.Spec.Decorator DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Decorator(); + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - summary_ = ""; - description_ = ""; - value_ = ""; - return this; - } + public static com.kcl.api.Spec.Decorator getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Decorator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public com.kcl.api.Spec.Example getDefaultInstanceForType() { - return com.kcl.api.Spec.Example.getDefaultInstance(); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public com.kcl.api.Spec.Example build() { - com.kcl.api.Spec.Example result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + @java.lang.Override + public com.kcl.api.Spec.Decorator getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.Example buildPartial() { - com.kcl.api.Spec.Example result = new com.kcl.api.Spec.Example(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + } - private void buildPartial0(com.kcl.api.Spec.Example result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.summary_ = summary_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.description_ = description_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.value_ = value_; - } - } + public interface ExampleOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Example) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder clone() { - return super.clone(); - } + /** + *
+     * Short description for the example.
+     * 
+ * + * string summary = 1; + * @return The summary. + */ + java.lang.String getSummary(); + /** + *
+     * Short description for the example.
+     * 
+ * + * string summary = 1; + * @return The bytes for summary. + */ + com.google.protobuf.ByteString + getSummaryBytes(); - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + /** + *
+     * Long description for the example.
+     * 
+ * + * string description = 2; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+     * Long description for the example.
+     * 
+ * + * string description = 2; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + /** + *
+     * Embedded literal example.
+     * 
+ * + * string value = 3; + * @return The value. + */ + java.lang.String getValue(); + /** + *
+     * Embedded literal example.
+     * 
+ * + * string value = 3; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); + } + /** + * Protobuf type {@code com.kcl.api.Example} + */ + public static final class Example extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Example) + ExampleOrBuilder { + private static final long serialVersionUID = 0L; + // Use Example.newBuilder() to construct. + private Example(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Example() { + summary_ = ""; + description_ = ""; + value_ = ""; + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Example(); + } - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; + } - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Example_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Example.class, com.kcl.api.Spec.Example.Builder.class); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Example) { - return mergeFrom((com.kcl.api.Spec.Example) other); - } else { - super.mergeFrom(other); - return this; - } - } + public static final int SUMMARY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object summary_ = ""; + /** + *
+     * Short description for the example.
+     * 
+ * + * string summary = 1; + * @return The summary. + */ + @java.lang.Override + public java.lang.String getSummary() { + java.lang.Object ref = summary_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summary_ = s; + return s; + } + } + /** + *
+     * Short description for the example.
+     * 
+ * + * string summary = 1; + * @return The bytes for summary. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSummaryBytes() { + java.lang.Object ref = summary_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summary_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public Builder mergeFrom(com.kcl.api.Spec.Example other) { - if (other == com.kcl.api.Spec.Example.getDefaultInstance()) - return this; - if (!other.getSummary().isEmpty()) { - summary_ = other.summary_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + *
+     * Long description for the example.
+     * 
+ * + * string description = 2; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+     * Long description for the example.
+     * 
+ * + * string description = 2; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static final int VALUE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + *
+     * Embedded literal example.
+     * 
+ * + * string value = 3; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + *
+     * Embedded literal example.
+     * 
+ * + * string value = 3; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - summary_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private int bitField0_; - - private java.lang.Object summary_ = ""; - - /** - *
-             * Short description for the example.
-             * 
- * - * string summary = 1; - * - * @return The summary. - */ - public java.lang.String getSummary() { - java.lang.Object ref = summary_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - summary_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Short description for the example.
-             * 
- * - * string summary = 1; - * - * @return The bytes for summary. - */ - public com.google.protobuf.ByteString getSummaryBytes() { - java.lang.Object ref = summary_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - summary_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summary_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, summary_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, value_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * Short description for the example.
-             * 
- * - * string summary = 1; - * - * @param value - * The summary to set. - * - * @return This builder for chaining. - */ - public Builder setSummary(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - summary_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summary_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, summary_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Short description for the example.
-             * 
- * - * string summary = 1; - * - * @return This builder for chaining. - */ - public Builder clearSummary() { - summary_ = getDefaultInstance().getSummary(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Example)) { + return super.equals(obj); + } + com.kcl.api.Spec.Example other = (com.kcl.api.Spec.Example) obj; + + if (!getSummary() + .equals(other.getSummary())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * Short description for the example.
-             * 
- * - * string summary = 1; - * - * @param value - * The bytes for summary to set. - * - * @return This builder for chaining. - */ - public Builder setSummaryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - summary_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SUMMARY_FIELD_NUMBER; + hash = (53 * hash) + getSummary().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private java.lang.Object description_ = ""; - - /** - *
-             * Long description for the example.
-             * 
- * - * string description = 2; - * - * @return The description. - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.Example parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Example parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Example parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Example parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Example parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Example parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Example parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Example parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Long description for the example.
-             * 
- * - * string description = 2; - * - * @return The bytes for description. - */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.Example parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Long description for the example.
-             * 
- * - * string description = 2; - * - * @param value - * The description to set. - * - * @return This builder for chaining. - */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - description_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static com.kcl.api.Spec.Example 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 com.kcl.api.Spec.Example parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Example parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Long description for the example.
-             * 
- * - * string description = 2; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Example prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Long description for the example.
-             * 
- * - * string description = 2; - * - * @param value - * The bytes for description to set. - * - * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - description_ = value; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.Example} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Example) + com.kcl.api.Spec.ExampleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Example_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Example.class, com.kcl.api.Spec.Example.Builder.class); + } + + // Construct using com.kcl.api.Spec.Example.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + summary_ = ""; + description_ = ""; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Example getDefaultInstanceForType() { + return com.kcl.api.Spec.Example.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Example build() { + com.kcl.api.Spec.Example result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Example buildPartial() { + com.kcl.api.Spec.Example result = new com.kcl.api.Spec.Example(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Example result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.summary_ = summary_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Example) { + return mergeFrom((com.kcl.api.Spec.Example)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Example other) { + if (other == com.kcl.api.Spec.Example.getDefaultInstance()) return this; + if (!other.getSummary().isEmpty()) { + summary_ = other.summary_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + summary_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object value_ = ""; - - /** - *
-             * Embedded literal example.
-             * 
- * - * string value = 3; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Embedded literal example.
-             * 
- * - * string value = 3; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Embedded literal example.
-             * 
- * - * string value = 3; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Embedded literal example.
-             * 
- * - * string value = 3; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - *
-             * Embedded literal example.
-             * 
- * - * string value = 3; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; + break; + } // case 18 + case 26: { + value_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Example) - } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object summary_ = ""; + /** + *
+       * Short description for the example.
+       * 
+ * + * string summary = 1; + * @return The summary. + */ + public java.lang.String getSummary() { + java.lang.Object ref = summary_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summary_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Short description for the example.
+       * 
+ * + * string summary = 1; + * @return The bytes for summary. + */ + public com.google.protobuf.ByteString + getSummaryBytes() { + java.lang.Object ref = summary_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summary_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Short description for the example.
+       * 
+ * + * string summary = 1; + * @param value The summary to set. + * @return This builder for chaining. + */ + public Builder setSummary( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + summary_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Short description for the example.
+       * 
+ * + * string summary = 1; + * @return This builder for chaining. + */ + public Builder clearSummary() { + summary_ = getDefaultInstance().getSummary(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Short description for the example.
+       * 
+ * + * string summary = 1; + * @param value The bytes for summary to set. + * @return This builder for chaining. + */ + public Builder setSummaryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + summary_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + *
+       * Long description for the example.
+       * 
+ * + * string description = 2; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Long description for the example.
+       * 
+ * + * string description = 2; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Long description for the example.
+       * 
+ * + * string description = 2; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Long description for the example.
+       * 
+ * + * string description = 2; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Long description for the example.
+       * 
+ * + * string description = 2; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + /** + *
+       * Embedded literal example.
+       * 
+ * + * string value = 3; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Embedded literal example.
+       * 
+ * + * string value = 3; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Embedded literal example.
+       * 
+ * + * string value = 3; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Embedded literal example.
+       * 
+ * + * string value = 3; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Embedded literal example.
+       * 
+ * + * string value = 3; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Example) + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Example) - private static final com.kcl.api.Spec.Example DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Example(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Example) + private static final com.kcl.api.Spec.Example DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Example(); + } - public static com.kcl.api.Spec.Example getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static com.kcl.api.Spec.Example getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Example parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Example parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public com.kcl.api.Spec.Example getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.Example getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_CmdExternalPkgSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_CmdArgSpec_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_CmdArgSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_CmdOverrideSpec_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_CmdOverrideSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Error_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Error_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Message_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Message_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Ping_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Ping_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Ping_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Ping_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListMethod_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListMethod_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ParseFile_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ParseFile_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ParseProgram_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ParseProgram_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListOptions_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_OptionHelp_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_OptionHelp_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Symbol_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Symbol_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Scope_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Scope_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_SymbolIndex_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ScopeIndex_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ExecProgram_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ExecProgram_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_BuildProgram_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_BuildProgram_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ExecArtifact_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ResetPlugin_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ResetPlugin_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ResetPlugin_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ResetPlugin_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_FormatCode_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_FormatCode_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_FormatPath_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_FormatPath_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LintPath_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LintPath_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_OverrideFile_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_OverrideFile_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListVariables_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListVariables_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Variable_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Variable_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_GetFullSchemaType_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetSchemaType_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_GetSchemaType_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetSchemaType_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_GetSchemaType_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ValidateCode_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ValidateCode_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Position_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Position_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListDepFiles_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListDepFiles_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_CliConfig_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_CliConfig_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_KeyValuePair_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Rename_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Rename_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Rename_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Rename_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_RenameCode_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_RenameCode_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Test_Args_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Test_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Test_Result_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Test_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_TestCaseInfo_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_KclType_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_KclType_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_KclType_PropertiesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_KclType_ExamplesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Decorator_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Decorator_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Decorator_KeywordsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Example_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_kcl_api_Example_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - static { - java.lang.String[] descriptorData = { "\n\nspec.proto\022\013com.kcl.api\"8\n\022CmdExternal" - + "PkgSpec\022\020\n\010pkg_name\030\001 \001(\t\022\020\n\010pkg_path\030\002 " - + "\001(\t\")\n\nCmdArgSpec\022\014\n\004name\030\001 \001(\t\022\r\n\005value" - + "\030\002 \001(\t\"[\n\017CmdOverrideSpec\022\017\n\007pkgpath\030\001 \001" - + "(\t\022\022\n\nfield_path\030\002 \001(\t\022\023\n\013field_value\030\003 " - + "\001(\t\022\016\n\006action\030\004 \001(\t\"L\n\005Error\022\r\n\005level\030\001 " - + "\001(\t\022\014\n\004code\030\002 \001(\t\022&\n\010messages\030\003 \003(\0132\024.co" - + "m.kcl.api.Message\":\n\007Message\022\013\n\003msg\030\001 \001(" - + "\t\022\"\n\003pos\030\002 \001(\0132\025.com.kcl.api.Position\"\032\n" - + "\tPing_Args\022\r\n\005value\030\001 \001(\t\"\034\n\013Ping_Result" - + "\022\r\n\005value\030\001 \001(\t\"\021\n\017ListMethod_Args\"-\n\021Li" - + "stMethod_Result\022\030\n\020method_name_list\030\001 \003(" - + "\t\"f\n\016ParseFile_Args\022\014\n\004path\030\001 \001(\t\022\016\n\006sou" - + "rce\030\002 \001(\t\0226\n\rexternal_pkgs\030\003 \003(\0132\037.com.k" - + "cl.api.CmdExternalPkgSpec\"V\n\020ParseFile_R" - + "esult\022\020\n\010ast_json\030\001 \001(\t\022\014\n\004deps\030\002 \003(\t\022\"\n" - + "\006errors\030\003 \003(\0132\022.com.kcl.api.Error\"k\n\021Par" - + "seProgram_Args\022\r\n\005paths\030\001 \003(\t\022\017\n\007sources" - + "\030\002 \003(\t\0226\n\rexternal_pkgs\030\003 \003(\0132\037.com.kcl." - + "api.CmdExternalPkgSpec\"Z\n\023ParseProgram_R" - + "esult\022\020\n\010ast_json\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022\"" - + "\n\006errors\030\003 \003(\0132\022.com.kcl.api.Error\"\211\001\n\020L" - + "oadPackage_Args\0222\n\nparse_args\030\001 \001(\0132\036.co" - + "m.kcl.api.ParseProgram_Args\022\023\n\013resolve_a" - + "st\030\002 \001(\010\022\024\n\014load_builtin\030\003 \001(\010\022\026\n\016with_a" - + "st_index\030\004 \001(\010\"\367\007\n\022LoadPackage_Result\022\017\n" - + "\007program\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022(\n\014parse_e" - + "rrors\030\003 \003(\0132\022.com.kcl.api.Error\022\'\n\013type_" - + "errors\030\004 \003(\0132\022.com.kcl.api.Error\022;\n\006scop" - + "es\030\005 \003(\0132+.com.kcl.api.LoadPackage_Resul" - + "t.ScopesEntry\022=\n\007symbols\030\006 \003(\0132,.com.kcl" - + ".api.LoadPackage_Result.SymbolsEntry\022K\n\017" - + "node_symbol_map\030\007 \003(\01322.com.kcl.api.Load" - + "Package_Result.NodeSymbolMapEntry\022K\n\017sym" - + "bol_node_map\030\010 \003(\01322.com.kcl.api.LoadPac" - + "kage_Result.SymbolNodeMapEntry\022\\\n\030fully_" - + "qualified_name_map\030\t \003(\0132:.com.kcl.api.L" + "oadPackage_Result.FullyQualifiedNameMapE" - + "ntry\022G\n\rpkg_scope_map\030\n \003(\01320.com.kcl.ap" - + "i.LoadPackage_Result.PkgScopeMapEntry\032A\n" - + "\013ScopesEntry\022\013\n\003key\030\001 \001(\t\022!\n\005value\030\002 \001(\013" - + "2\022.com.kcl.api.Scope:\0028\001\032C\n\014SymbolsEntry" - + "\022\013\n\003key\030\001 \001(\t\022\"\n\005value\030\002 \001(\0132\023.com.kcl.a" - + "pi.Symbol:\0028\001\032N\n\022NodeSymbolMapEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030.com.kcl.api.Sy" - + "mbolIndex:\0028\001\0324\n\022SymbolNodeMapEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032V\n\032FullyQual" - + "ifiedNameMapEntry\022\013\n\003key\030\001 \001(\t\022\'\n\005value\030" - + "\002 \001(\0132\030.com.kcl.api.SymbolIndex:\0028\001\032K\n\020P" - + "kgScopeMapEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 " - + "\001(\0132\027.com.kcl.api.ScopeIndex:\0028\001\">\n\022List" - + "Options_Result\022(\n\007options\030\002 \003(\0132\027.com.kc" - + "l.api.OptionHelp\"_\n\nOptionHelp\022\014\n\004name\030\001" - + " \001(\t\022\014\n\004type\030\002 \001(\t\022\020\n\010required\030\003 \001(\010\022\025\n\r" - + "default_value\030\004 \001(\t\022\014\n\004help\030\005 \001(\t\"\304\001\n\006Sy" - + "mbol\022 \n\002ty\030\001 \001(\0132\024.com.kcl.api.KclType\022\014" - + "\n\004name\030\002 \001(\t\022\'\n\005owner\030\003 \001(\0132\030.com.kcl.ap" - + "i.SymbolIndex\022%\n\003def\030\004 \001(\0132\030.com.kcl.api" - + ".SymbolIndex\022\'\n\005attrs\030\005 \003(\0132\030.com.kcl.ap" - + "i.SymbolIndex\022\021\n\tis_global\030\006 \001(\010\"\272\001\n\005Sco" - + "pe\022\014\n\004kind\030\001 \001(\t\022\'\n\006parent\030\002 \001(\0132\027.com.k" - + "cl.api.ScopeIndex\022\'\n\005owner\030\003 \001(\0132\030.com.k" - + "cl.api.SymbolIndex\022)\n\010children\030\004 \003(\0132\027.c" - + "om.kcl.api.ScopeIndex\022&\n\004defs\030\005 \003(\0132\030.co" - + "m.kcl.api.SymbolIndex\"1\n\013SymbolIndex\022\t\n\001" - + "i\030\001 \001(\004\022\t\n\001g\030\002 \001(\004\022\014\n\004kind\030\003 \001(\t\"0\n\nScop" - + "eIndex\022\t\n\001i\030\001 \001(\004\022\t\n\001g\030\002 \001(\004\022\014\n\004kind\030\003 \001" - + "(\t\"\367\003\n\020ExecProgram_Args\022\020\n\010work_dir\030\001 \001(" - + "\t\022\027\n\017k_filename_list\030\002 \003(\t\022\023\n\013k_code_lis" - + "t\030\003 \003(\t\022%\n\004args\030\004 \003(\0132\027.com.kcl.api.CmdA" - + "rgSpec\022/\n\toverrides\030\005 \003(\0132\034.com.kcl.api." - + "CmdOverrideSpec\022\033\n\023disable_yaml_result\030\006" - + " \001(\010\022\032\n\022print_override_ast\030\007 \001(\010\022\032\n\022stri" - + "ct_range_check\030\010 \001(\010\022\024\n\014disable_none\030\t \001" - + "(\010\022\017\n\007verbose\030\n \001(\005\022\r\n\005debug\030\013 \001(\005\022\021\n\tso" - + "rt_keys\030\014 \001(\010\0226\n\rexternal_pkgs\030\r \003(\0132\037.c" - + "om.kcl.api.CmdExternalPkgSpec\022 \n\030include" - + "_schema_type_path\030\016 \001(\010\022\024\n\014compile_only\030" - + "\017 \001(\010\022\023\n\013show_hidden\030\020 \001(\010\022\025\n\rpath_selec" - + "tor\030\021 \003(\t\022\021\n\tfast_eval\030\022 \001(\010\"h\n\022ExecProg" - + "ram_Result\022\023\n\013json_result\030\001 \001(\t\022\023\n\013yaml_" - + "result\030\002 \001(\t\022\023\n\013log_message\030\003 \001(\t\022\023\n\013err" - + "_message\030\004 \001(\t\"U\n\021BuildProgram_Args\0220\n\te" - + "xec_args\030\001 \001(\0132\035.com.kcl.api.ExecProgram" - + "_Args\022\016\n\006output\030\002 \001(\t\"#\n\023BuildProgram_Re" - + "sult\022\014\n\004path\030\001 \001(\t\"S\n\021ExecArtifact_Args\022" - + "\014\n\004path\030\001 \001(\t\0220\n\texec_args\030\002 \001(\0132\035.com.k" - + "cl.api.ExecProgram_Args\"\'\n\020ResetPlugin_A" - + "rgs\022\023\n\013plugin_root\030\001 \001(\t\"\024\n\022ResetPlugin_" - + "Result\"!\n\017FormatCode_Args\022\016\n\006source\030\001 \001(" - + "\t\"&\n\021FormatCode_Result\022\021\n\tformatted\030\001 \001(" - + "\014\"\037\n\017FormatPath_Args\022\014\n\004path\030\001 \001(\t\"*\n\021Fo" - + "rmatPath_Result\022\025\n\rchanged_paths\030\001 \003(\t\"\036" - + "\n\rLintPath_Args\022\r\n\005paths\030\001 \003(\t\"\"\n\017LintPa" - + "th_Result\022\017\n\007results\030\001 \003(\t\"F\n\021OverrideFi" - + "le_Args\022\014\n\004file\030\001 \001(\t\022\r\n\005specs\030\002 \003(\t\022\024\n\014" - + "import_paths\030\003 \003(\t\"%\n\023OverrideFile_Resul" - + "t\022\016\n\006result\030\001 \001(\010\"1\n\022ListVariables_Args\022" - + "\014\n\004file\030\001 \001(\t\022\r\n\005specs\030\002 \003(\t\"\347\001\n\024ListVar" - + "iables_Result\022C\n\tvariables\030\001 \003(\01320.com.k" - + "cl.api.ListVariables_Result.VariablesEnt" - + "ry\022\031\n\021unsupported_codes\030\002 \003(\t\022&\n\nparse_e" - + "rrs\030\003 \003(\0132\022.com.kcl.api.Error\032G\n\016Variabl" - + "esEntry\022\013\n\003key\030\001 \001(\t\022$\n\005value\030\002 \001(\0132\025.co" - + "m.kcl.api.Variable:\0028\001\"<\n\010Variable\022\r\n\005va" - + "lue\030\001 \001(\t\022\021\n\ttype_name\030\002 \001(\t\022\016\n\006op_sym\030\003" - + " \001(\t\"_\n\026GetFullSchemaType_Args\0220\n\texec_a" - + "rgs\030\001 \001(\0132\035.com.kcl.api.ExecProgram_Args" - + "\022\023\n\013schema_name\030\002 \001(\t\"E\n\022GetSchemaType_A" - + "rgs\022\014\n\004file\030\001 \001(\t\022\014\n\004code\030\002 \001(\t\022\023\n\013schem" - + "a_name\030\003 \001(\t\"F\n\024GetSchemaType_Result\022.\n\020" - + "schema_type_list\030\001 \003(\0132\024.com.kcl.api.Kcl" - + "Type\"L\n\031GetSchemaTypeMapping_Args\022\014\n\004fil" - + "e\030\001 \001(\t\022\014\n\004code\030\002 \001(\t\022\023\n\013schema_name\030\003 \001" - + "(\t\"\313\001\n\033GetSchemaTypeMapping_Result\022\\\n\023sc" - + "hema_type_mapping\030\001 \003(\0132?.com.kcl.api.Ge" + "tSchemaTypeMapping_Result.SchemaTypeMapp" - + "ingEntry\032N\n\026SchemaTypeMappingEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.com.kcl.api.Kcl" - + "Type:\0028\001\"\207\001\n\021ValidateCode_Args\022\020\n\010datafi" - + "le\030\001 \001(\t\022\014\n\004data\030\002 \001(\t\022\014\n\004file\030\003 \001(\t\022\014\n\004" - + "code\030\004 \001(\t\022\016\n\006schema\030\005 \001(\t\022\026\n\016attribute_" - + "name\030\006 \001(\t\022\016\n\006format\030\007 \001(\t\";\n\023ValidateCo" - + "de_Result\022\017\n\007success\030\001 \001(\010\022\023\n\013err_messag" - + "e\030\002 \001(\t\":\n\010Position\022\014\n\004line\030\001 \001(\003\022\016\n\006col" - + "umn\030\002 \001(\003\022\020\n\010filename\030\003 \001(\t\"i\n\021ListDepFi" - + "les_Args\022\020\n\010work_dir\030\001 \001(\t\022\024\n\014use_abs_pa" - + "th\030\002 \001(\010\022\023\n\013include_all\030\003 \001(\010\022\027\n\017use_fas" - + "t_parser\030\004 \001(\010\"F\n\023ListDepFiles_Result\022\017\n" - + "\007pkgroot\030\001 \001(\t\022\017\n\007pkgpath\030\002 \001(\t\022\r\n\005files" - + "\030\003 \003(\t\"9\n\026LoadSettingsFiles_Args\022\020\n\010work" - + "_dir\030\001 \001(\t\022\r\n\005files\030\002 \003(\t\"{\n\030LoadSetting" - + "sFiles_Result\022/\n\017kcl_cli_configs\030\001 \001(\0132\026" - + ".com.kcl.api.CliConfig\022.\n\013kcl_options\030\002 " - + "\003(\0132\031.com.kcl.api.KeyValuePair\"\203\002\n\tCliCo" - + "nfig\022\r\n\005files\030\001 \003(\t\022\016\n\006output\030\002 \001(\t\022\021\n\to" - + "verrides\030\003 \003(\t\022\025\n\rpath_selector\030\004 \003(\t\022\032\n" - + "\022strict_range_check\030\005 \001(\010\022\024\n\014disable_non" - + "e\030\006 \001(\010\022\017\n\007verbose\030\007 \001(\003\022\r\n\005debug\030\010 \001(\010\022" - + "\021\n\tsort_keys\030\t \001(\010\022\023\n\013show_hidden\030\n \001(\010\022" - + " \n\030include_schema_type_path\030\013 \001(\010\022\021\n\tfas" - + "t_eval\030\014 \001(\010\"*\n\014KeyValuePair\022\013\n\003key\030\001 \001(" - + "\t\022\r\n\005value\030\002 \001(\t\"^\n\013Rename_Args\022\024\n\014packa" - + "ge_root\030\001 \001(\t\022\023\n\013symbol_path\030\002 \001(\t\022\022\n\nfi" - + "le_paths\030\003 \003(\t\022\020\n\010new_name\030\004 \001(\t\"&\n\rRena" - + "me_Result\022\025\n\rchanged_files\030\001 \003(\t\"\307\001\n\017Ren" - + "ameCode_Args\022\024\n\014package_root\030\001 \001(\t\022\023\n\013sy" - + "mbol_path\030\002 \001(\t\022C\n\014source_codes\030\003 \003(\0132-." - + "com.kcl.api.RenameCode_Args.SourceCodesE" - + "ntry\022\020\n\010new_name\030\004 \001(\t\0322\n\020SourceCodesEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\021R" - + "enameCode_Result\022G\n\rchanged_codes\030\001 \003(\0132" - + "0.com.kcl.api.RenameCode_Result.ChangedC" - + "odesEntry\0323\n\021ChangedCodesEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"v\n\tTest_Args\0220\n\te" - + "xec_args\030\001 \001(\0132\035.com.kcl.api.ExecProgram" - + "_Args\022\020\n\010pkg_list\030\002 \003(\t\022\022\n\nrun_regexp\030\003 " - + "\001(\t\022\021\n\tfail_fast\030\004 \001(\010\"6\n\013Test_Result\022\'\n" - + "\004info\030\002 \003(\0132\031.com.kcl.api.TestCaseInfo\"R" - + "\n\014TestCaseInfo\022\014\n\004name\030\001 \001(\t\022\r\n\005error\030\002 " - + "\001(\t\022\020\n\010duration\030\003 \001(\004\022\023\n\013log_message\030\004 \001" - + "(\t\"\363\004\n\007KclType\022\014\n\004type\030\001 \001(\t\022)\n\013union_ty" - + "pes\030\002 \003(\0132\024.com.kcl.api.KclType\022\017\n\007defau" - + "lt\030\003 \001(\t\022\023\n\013schema_name\030\004 \001(\t\022\022\n\nschema_" - + "doc\030\005 \001(\t\0228\n\nproperties\030\006 \003(\0132$.com.kcl." - + "api.KclType.PropertiesEntry\022\020\n\010required\030" - + "\007 \003(\t\022!\n\003key\030\010 \001(\0132\024.com.kcl.api.KclType" - + "\022\"\n\004item\030\t \001(\0132\024.com.kcl.api.KclType\022\014\n\004" - + "line\030\n \001(\005\022*\n\ndecorators\030\013 \003(\0132\026.com.kcl" - + ".api.Decorator\022\020\n\010filename\030\014 \001(\t\022\020\n\010pkg_" - + "path\030\r \001(\t\022\023\n\013description\030\016 \001(\t\0224\n\010examp" - + "les\030\017 \003(\0132\".com.kcl.api.KclType.Examples" - + "Entry\022)\n\013base_schema\030\020 \001(\0132\024.com.kcl.api" - + ".KclType\032G\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t" - + "\022#\n\005value\030\002 \001(\0132\024.com.kcl.api.KclType:\0028" - + "\001\032E\n\rExamplesEntry\022\013\n\003key\030\001 \001(\t\022#\n\005value" - + "\030\002 \001(\0132\024.com.kcl.api.Example:\0028\001\"\225\001\n\tDec" - + "orator\022\014\n\004name\030\001 \001(\t\022\021\n\targuments\030\002 \003(\t\022" - + "6\n\010keywords\030\003 \003(\0132$.com.kcl.api.Decorato" - + "r.KeywordsEntry\032/\n\rKeywordsEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\">\n\007Example\022\017\n\007s" - + "ummary\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\r\n\005val" - + "ue\030\003 \001(\t2\226\001\n\016BuiltinService\0228\n\004Ping\022\026.co" - + "m.kcl.api.Ping_Args\032\030.com.kcl.api.Ping_R" - + "esult\022J\n\nListMethod\022\034.com.kcl.api.ListMe" - + "thod_Args\032\036.com.kcl.api.ListMethod_Resul" - + "t2\340\r\n\014KclvmService\0228\n\004Ping\022\026.com.kcl.api" - + ".Ping_Args\032\030.com.kcl.api.Ping_Result\022M\n\013" - + "ExecProgram\022\035.com.kcl.api.ExecProgram_Ar" - + "gs\032\037.com.kcl.api.ExecProgram_Result\022P\n\014B" - + "uildProgram\022\036.com.kcl.api.BuildProgram_A" + "rgs\032 .com.kcl.api.BuildProgram_Result\022O\n" - + "\014ExecArtifact\022\036.com.kcl.api.ExecArtifact" - + "_Args\032\037.com.kcl.api.ExecProgram_Result\022G" - + "\n\tParseFile\022\033.com.kcl.api.ParseFile_Args" - + "\032\035.com.kcl.api.ParseFile_Result\022P\n\014Parse" - + "Program\022\036.com.kcl.api.ParseProgram_Args\032" - + " .com.kcl.api.ParseProgram_Result\022M\n\013Loa" - + "dPackage\022\035.com.kcl.api.LoadPackage_Args\032" - + "\037.com.kcl.api.LoadPackage_Result\022N\n\013List" - + "Options\022\036.com.kcl.api.ParseProgram_Args\032" - + "\037.com.kcl.api.ListOptions_Result\022S\n\rList" + "Variables\022\037.com.kcl.api.ListVariables_Ar" - + "gs\032!.com.kcl.api.ListVariables_Result\022J\n" + "\nFormatCode\022\034.com.kcl.api.FormatCode_Arg" - + "s\032\036.com.kcl.api.FormatCode_Result\022J\n\nFor" - + "matPath\022\034.com.kcl.api.FormatPath_Args\032\036." - + "com.kcl.api.FormatPath_Result\022D\n\010LintPat" - + "h\022\032.com.kcl.api.LintPath_Args\032\034.com.kcl." - + "api.LintPath_Result\022P\n\014OverrideFile\022\036.co" - + "m.kcl.api.OverrideFile_Args\032 .com.kcl.ap" + "i.OverrideFile_Result\022S\n\rGetSchemaType\022\037" - + ".com.kcl.api.GetSchemaType_Args\032!.com.kc" + "l.api.GetSchemaType_Result\022[\n\021GetFullSch" - + "emaType\022#.com.kcl.api.GetFullSchemaType_" + "Args\032!.com.kcl.api.GetSchemaType_Result\022" - + "h\n\024GetSchemaTypeMapping\022&.com.kcl.api.Ge" + "tSchemaTypeMapping_Args\032(.com.kcl.api.Ge" - + "tSchemaTypeMapping_Result\022P\n\014ValidateCod" - + "e\022\036.com.kcl.api.ValidateCode_Args\032 .com." - + "kcl.api.ValidateCode_Result\022P\n\014ListDepFi" - + "les\022\036.com.kcl.api.ListDepFiles_Args\032 .co" - + "m.kcl.api.ListDepFiles_Result\022_\n\021LoadSet" + "tingsFiles\022#.com.kcl.api.LoadSettingsFil" - + "es_Args\032%.com.kcl.api.LoadSettingsFiles_" - + "Result\022>\n\006Rename\022\030.com.kcl.api.Rename_Ar" - + "gs\032\032.com.kcl.api.Rename_Result\022J\n\nRename" - + "Code\022\034.com.kcl.api.RenameCode_Args\032\036.com" - + ".kcl.api.RenameCode_Result\0228\n\004Test\022\026.com" - + ".kcl.api.Test_Args\032\030.com.kcl.api.Test_Re" + "sultb\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_com_kcl_api_CmdExternalPkgSpec_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor, - new java.lang.String[] { "PkgName", "PkgPath", }); - internal_static_com_kcl_api_CmdArgSpec_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_com_kcl_api_CmdArgSpec_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_CmdArgSpec_descriptor, new java.lang.String[] { "Name", "Value", }); - internal_static_com_kcl_api_CmdOverrideSpec_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_com_kcl_api_CmdOverrideSpec_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_CmdOverrideSpec_descriptor, - new java.lang.String[] { "Pkgpath", "FieldPath", "FieldValue", "Action", }); - internal_static_com_kcl_api_Error_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_com_kcl_api_Error_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Error_descriptor, new java.lang.String[] { "Level", "Code", "Messages", }); - internal_static_com_kcl_api_Message_descriptor = getDescriptor().getMessageTypes().get(4); - internal_static_com_kcl_api_Message_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Message_descriptor, new java.lang.String[] { "Msg", "Pos", }); - internal_static_com_kcl_api_Ping_Args_descriptor = getDescriptor().getMessageTypes().get(5); - internal_static_com_kcl_api_Ping_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Ping_Args_descriptor, new java.lang.String[] { "Value", }); - internal_static_com_kcl_api_Ping_Result_descriptor = getDescriptor().getMessageTypes().get(6); - internal_static_com_kcl_api_Ping_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Ping_Result_descriptor, new java.lang.String[] { "Value", }); - internal_static_com_kcl_api_ListMethod_Args_descriptor = getDescriptor().getMessageTypes().get(7); - internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ListMethod_Args_descriptor, new java.lang.String[] {}); - internal_static_com_kcl_api_ListMethod_Result_descriptor = getDescriptor().getMessageTypes().get(8); - internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ListMethod_Result_descriptor, new java.lang.String[] { "MethodNameList", }); - internal_static_com_kcl_api_ParseFile_Args_descriptor = getDescriptor().getMessageTypes().get(9); - internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ParseFile_Args_descriptor, - new java.lang.String[] { "Path", "Source", "ExternalPkgs", }); - internal_static_com_kcl_api_ParseFile_Result_descriptor = getDescriptor().getMessageTypes().get(10); - internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ParseFile_Result_descriptor, - new java.lang.String[] { "AstJson", "Deps", "Errors", }); - internal_static_com_kcl_api_ParseProgram_Args_descriptor = getDescriptor().getMessageTypes().get(11); - internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ParseProgram_Args_descriptor, - new java.lang.String[] { "Paths", "Sources", "ExternalPkgs", }); - internal_static_com_kcl_api_ParseProgram_Result_descriptor = getDescriptor().getMessageTypes().get(12); - internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ParseProgram_Result_descriptor, - new java.lang.String[] { "AstJson", "Paths", "Errors", }); - internal_static_com_kcl_api_LoadPackage_Args_descriptor = getDescriptor().getMessageTypes().get(13); - internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Args_descriptor, - new java.lang.String[] { "ParseArgs", "ResolveAst", "LoadBuiltin", "WithAstIndex", }); - internal_static_com_kcl_api_LoadPackage_Result_descriptor = getDescriptor().getMessageTypes().get(14); - internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_descriptor, - new java.lang.String[] { "Program", "Paths", "ParseErrors", "TypeErrors", "Scopes", "Symbols", - "NodeSymbolMap", "SymbolNodeMap", "FullyQualifiedNameMap", "PkgScopeMap", }); - internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(1); - internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(2); - internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(3); - internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(4); - internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(5); - internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_ListOptions_Result_descriptor = getDescriptor().getMessageTypes().get(15); - internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ListOptions_Result_descriptor, new java.lang.String[] { "Options", }); - internal_static_com_kcl_api_OptionHelp_descriptor = getDescriptor().getMessageTypes().get(16); - internal_static_com_kcl_api_OptionHelp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_OptionHelp_descriptor, - new java.lang.String[] { "Name", "Type", "Required", "DefaultValue", "Help", }); - internal_static_com_kcl_api_Symbol_descriptor = getDescriptor().getMessageTypes().get(17); - internal_static_com_kcl_api_Symbol_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Symbol_descriptor, - new java.lang.String[] { "Ty", "Name", "Owner", "Def", "Attrs", "IsGlobal", }); - internal_static_com_kcl_api_Scope_descriptor = getDescriptor().getMessageTypes().get(18); - internal_static_com_kcl_api_Scope_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Scope_descriptor, - new java.lang.String[] { "Kind", "Parent", "Owner", "Children", "Defs", }); - internal_static_com_kcl_api_SymbolIndex_descriptor = getDescriptor().getMessageTypes().get(19); - internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_SymbolIndex_descriptor, new java.lang.String[] { "I", "G", "Kind", }); - internal_static_com_kcl_api_ScopeIndex_descriptor = getDescriptor().getMessageTypes().get(20); - internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ScopeIndex_descriptor, new java.lang.String[] { "I", "G", "Kind", }); - internal_static_com_kcl_api_ExecProgram_Args_descriptor = getDescriptor().getMessageTypes().get(21); - internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ExecProgram_Args_descriptor, - new java.lang.String[] { "WorkDir", "KFilenameList", "KCodeList", "Args", "Overrides", - "DisableYamlResult", "PrintOverrideAst", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", - "SortKeys", "ExternalPkgs", "IncludeSchemaTypePath", "CompileOnly", "ShowHidden", - "PathSelector", "FastEval", }); - internal_static_com_kcl_api_ExecProgram_Result_descriptor = getDescriptor().getMessageTypes().get(22); - internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ExecProgram_Result_descriptor, - new java.lang.String[] { "JsonResult", "YamlResult", "LogMessage", "ErrMessage", }); - internal_static_com_kcl_api_BuildProgram_Args_descriptor = getDescriptor().getMessageTypes().get(23); - internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_BuildProgram_Args_descriptor, - new java.lang.String[] { "ExecArgs", "Output", }); - internal_static_com_kcl_api_BuildProgram_Result_descriptor = getDescriptor().getMessageTypes().get(24); - internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_BuildProgram_Result_descriptor, new java.lang.String[] { "Path", }); - internal_static_com_kcl_api_ExecArtifact_Args_descriptor = getDescriptor().getMessageTypes().get(25); - internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ExecArtifact_Args_descriptor, - new java.lang.String[] { "Path", "ExecArgs", }); - internal_static_com_kcl_api_ResetPlugin_Args_descriptor = getDescriptor().getMessageTypes().get(26); - internal_static_com_kcl_api_ResetPlugin_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ResetPlugin_Args_descriptor, new java.lang.String[] { "PluginRoot", }); - internal_static_com_kcl_api_ResetPlugin_Result_descriptor = getDescriptor().getMessageTypes().get(27); - internal_static_com_kcl_api_ResetPlugin_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ResetPlugin_Result_descriptor, new java.lang.String[] {}); - internal_static_com_kcl_api_FormatCode_Args_descriptor = getDescriptor().getMessageTypes().get(28); - internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_FormatCode_Args_descriptor, new java.lang.String[] { "Source", }); - internal_static_com_kcl_api_FormatCode_Result_descriptor = getDescriptor().getMessageTypes().get(29); - internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_FormatCode_Result_descriptor, new java.lang.String[] { "Formatted", }); - internal_static_com_kcl_api_FormatPath_Args_descriptor = getDescriptor().getMessageTypes().get(30); - internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_FormatPath_Args_descriptor, new java.lang.String[] { "Path", }); - internal_static_com_kcl_api_FormatPath_Result_descriptor = getDescriptor().getMessageTypes().get(31); - internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_FormatPath_Result_descriptor, new java.lang.String[] { "ChangedPaths", }); - internal_static_com_kcl_api_LintPath_Args_descriptor = getDescriptor().getMessageTypes().get(32); - internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LintPath_Args_descriptor, new java.lang.String[] { "Paths", }); - internal_static_com_kcl_api_LintPath_Result_descriptor = getDescriptor().getMessageTypes().get(33); - internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LintPath_Result_descriptor, new java.lang.String[] { "Results", }); - internal_static_com_kcl_api_OverrideFile_Args_descriptor = getDescriptor().getMessageTypes().get(34); - internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_OverrideFile_Args_descriptor, - new java.lang.String[] { "File", "Specs", "ImportPaths", }); - internal_static_com_kcl_api_OverrideFile_Result_descriptor = getDescriptor().getMessageTypes().get(35); - internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_OverrideFile_Result_descriptor, new java.lang.String[] { "Result", }); - internal_static_com_kcl_api_ListVariables_Args_descriptor = getDescriptor().getMessageTypes().get(36); - internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ListVariables_Args_descriptor, new java.lang.String[] { "File", "Specs", }); - internal_static_com_kcl_api_ListVariables_Result_descriptor = getDescriptor().getMessageTypes().get(37); - internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ListVariables_Result_descriptor, - new java.lang.String[] { "Variables", "UnsupportedCodes", "ParseErrs", }); - internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor = internal_static_com_kcl_api_ListVariables_Result_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_Variable_descriptor = getDescriptor().getMessageTypes().get(38); - internal_static_com_kcl_api_Variable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Variable_descriptor, - new java.lang.String[] { "Value", "TypeName", "OpSym", }); - internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor = getDescriptor().getMessageTypes().get(39); - internal_static_com_kcl_api_GetFullSchemaType_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor, - new java.lang.String[] { "ExecArgs", "SchemaName", }); - internal_static_com_kcl_api_GetSchemaType_Args_descriptor = getDescriptor().getMessageTypes().get(40); - internal_static_com_kcl_api_GetSchemaType_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_GetSchemaType_Args_descriptor, - new java.lang.String[] { "File", "Code", "SchemaName", }); - internal_static_com_kcl_api_GetSchemaType_Result_descriptor = getDescriptor().getMessageTypes().get(41); - internal_static_com_kcl_api_GetSchemaType_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_GetSchemaType_Result_descriptor, - new java.lang.String[] { "SchemaTypeList", }); - internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor = getDescriptor().getMessageTypes().get(42); - internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor, - new java.lang.String[] { "File", "Code", "SchemaName", }); - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor = getDescriptor().getMessageTypes().get(43); - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor, - new java.lang.String[] { "SchemaTypeMapping", }); - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor = internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_ValidateCode_Args_descriptor = getDescriptor().getMessageTypes().get(44); - internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ValidateCode_Args_descriptor, - new java.lang.String[] { "Datafile", "Data", "File", "Code", "Schema", "AttributeName", "Format", }); - internal_static_com_kcl_api_ValidateCode_Result_descriptor = getDescriptor().getMessageTypes().get(45); - internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ValidateCode_Result_descriptor, - new java.lang.String[] { "Success", "ErrMessage", }); - internal_static_com_kcl_api_Position_descriptor = getDescriptor().getMessageTypes().get(46); - internal_static_com_kcl_api_Position_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Position_descriptor, - new java.lang.String[] { "Line", "Column", "Filename", }); - internal_static_com_kcl_api_ListDepFiles_Args_descriptor = getDescriptor().getMessageTypes().get(47); - internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ListDepFiles_Args_descriptor, - new java.lang.String[] { "WorkDir", "UseAbsPath", "IncludeAll", "UseFastParser", }); - internal_static_com_kcl_api_ListDepFiles_Result_descriptor = getDescriptor().getMessageTypes().get(48); - internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_ListDepFiles_Result_descriptor, - new java.lang.String[] { "Pkgroot", "Pkgpath", "Files", }); - internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor = getDescriptor().getMessageTypes().get(49); - internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor, - new java.lang.String[] { "WorkDir", "Files", }); - internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor = getDescriptor().getMessageTypes().get(50); - internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor, - new java.lang.String[] { "KclCliConfigs", "KclOptions", }); - internal_static_com_kcl_api_CliConfig_descriptor = getDescriptor().getMessageTypes().get(51); - internal_static_com_kcl_api_CliConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_CliConfig_descriptor, - new java.lang.String[] { "Files", "Output", "Overrides", "PathSelector", "StrictRangeCheck", - "DisableNone", "Verbose", "Debug", "SortKeys", "ShowHidden", "IncludeSchemaTypePath", - "FastEval", }); - internal_static_com_kcl_api_KeyValuePair_descriptor = getDescriptor().getMessageTypes().get(52); - internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_KeyValuePair_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_Rename_Args_descriptor = getDescriptor().getMessageTypes().get(53); - internal_static_com_kcl_api_Rename_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Rename_Args_descriptor, - new java.lang.String[] { "PackageRoot", "SymbolPath", "FilePaths", "NewName", }); - internal_static_com_kcl_api_Rename_Result_descriptor = getDescriptor().getMessageTypes().get(54); - internal_static_com_kcl_api_Rename_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Rename_Result_descriptor, new java.lang.String[] { "ChangedFiles", }); - internal_static_com_kcl_api_RenameCode_Args_descriptor = getDescriptor().getMessageTypes().get(55); - internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_RenameCode_Args_descriptor, - new java.lang.String[] { "PackageRoot", "SymbolPath", "SourceCodes", "NewName", }); - internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor = internal_static_com_kcl_api_RenameCode_Args_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_RenameCode_Result_descriptor = getDescriptor().getMessageTypes().get(56); - internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_RenameCode_Result_descriptor, new java.lang.String[] { "ChangedCodes", }); - internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor = internal_static_com_kcl_api_RenameCode_Result_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_Test_Args_descriptor = getDescriptor().getMessageTypes().get(57); - internal_static_com_kcl_api_Test_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Test_Args_descriptor, - new java.lang.String[] { "ExecArgs", "PkgList", "RunRegexp", "FailFast", }); - internal_static_com_kcl_api_Test_Result_descriptor = getDescriptor().getMessageTypes().get(58); - internal_static_com_kcl_api_Test_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Test_Result_descriptor, new java.lang.String[] { "Info", }); - internal_static_com_kcl_api_TestCaseInfo_descriptor = getDescriptor().getMessageTypes().get(59); - internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_TestCaseInfo_descriptor, - new java.lang.String[] { "Name", "Error", "Duration", "LogMessage", }); - internal_static_com_kcl_api_KclType_descriptor = getDescriptor().getMessageTypes().get(60); - internal_static_com_kcl_api_KclType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_KclType_descriptor, - new java.lang.String[] { "Type", "UnionTypes", "Default", "SchemaName", "SchemaDoc", "Properties", - "Required", "Key", "Item", "Line", "Decorators", "Filename", "PkgPath", "Description", - "Examples", "BaseSchema", }); - internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor = internal_static_com_kcl_api_KclType_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_KclType_PropertiesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor = internal_static_com_kcl_api_KclType_descriptor - .getNestedTypes().get(1); - internal_static_com_kcl_api_KclType_ExamplesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_Decorator_descriptor = getDescriptor().getMessageTypes().get(61); - internal_static_com_kcl_api_Decorator_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Decorator_descriptor, - new java.lang.String[] { "Name", "Arguments", "Keywords", }); - internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor = internal_static_com_kcl_api_Decorator_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_Decorator_KeywordsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_Example_descriptor = getDescriptor().getMessageTypes().get(62); - internal_static_com_kcl_api_Example_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_kcl_api_Example_descriptor, - new java.lang.String[] { "Summary", "Description", "Value", }); - } - - // @@protoc_insertion_point(outer_class_scope) + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_CmdExternalPkgSpec_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_CmdArgSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_CmdArgSpec_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_CmdOverrideSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_CmdOverrideSpec_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Error_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Error_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Message_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Message_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Ping_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Ping_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Ping_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Ping_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListMethod_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListMethod_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ParseFile_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ParseFile_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ParseProgram_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ParseProgram_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackage_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackage_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListOptions_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_OptionHelp_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_OptionHelp_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Symbol_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Symbol_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Scope_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Scope_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_SymbolIndex_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ScopeIndex_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ExecProgram_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ExecProgram_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_BuildProgram_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_BuildProgram_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ExecArtifact_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ResetPlugin_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ResetPlugin_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ResetPlugin_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ResetPlugin_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_FormatCode_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_FormatCode_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_FormatPath_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_FormatPath_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LintPath_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LintPath_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_OverrideFile_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_OverrideFile_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListVariables_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListVariables_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Variable_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Variable_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_GetFullSchemaType_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetSchemaType_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_GetSchemaType_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetSchemaType_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_GetSchemaType_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ValidateCode_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ValidateCode_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Position_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Position_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListDepFiles_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListDepFiles_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_CliConfig_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_CliConfig_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_KeyValuePair_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Rename_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Rename_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Rename_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Rename_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_RenameCode_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_RenameCode_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Test_Args_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Test_Args_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Test_Result_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Test_Result_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_TestCaseInfo_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_KclType_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_KclType_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_KclType_PropertiesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_KclType_ExamplesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Decorator_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Decorator_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Decorator_KeywordsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Example_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_com_kcl_api_Example_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\nspec.proto\022\013com.kcl.api\"8\n\022CmdExternal" + + "PkgSpec\022\020\n\010pkg_name\030\001 \001(\t\022\020\n\010pkg_path\030\002 " + + "\001(\t\")\n\nCmdArgSpec\022\014\n\004name\030\001 \001(\t\022\r\n\005value" + + "\030\002 \001(\t\"[\n\017CmdOverrideSpec\022\017\n\007pkgpath\030\001 \001" + + "(\t\022\022\n\nfield_path\030\002 \001(\t\022\023\n\013field_value\030\003 " + + "\001(\t\022\016\n\006action\030\004 \001(\t\"L\n\005Error\022\r\n\005level\030\001 " + + "\001(\t\022\014\n\004code\030\002 \001(\t\022&\n\010messages\030\003 \003(\0132\024.co" + + "m.kcl.api.Message\":\n\007Message\022\013\n\003msg\030\001 \001(" + + "\t\022\"\n\003pos\030\002 \001(\0132\025.com.kcl.api.Position\"\032\n" + + "\tPing_Args\022\r\n\005value\030\001 \001(\t\"\034\n\013Ping_Result" + + "\022\r\n\005value\030\001 \001(\t\"\021\n\017ListMethod_Args\"-\n\021Li" + + "stMethod_Result\022\030\n\020method_name_list\030\001 \003(" + + "\t\"f\n\016ParseFile_Args\022\014\n\004path\030\001 \001(\t\022\016\n\006sou" + + "rce\030\002 \001(\t\0226\n\rexternal_pkgs\030\003 \003(\0132\037.com.k" + + "cl.api.CmdExternalPkgSpec\"V\n\020ParseFile_R" + + "esult\022\020\n\010ast_json\030\001 \001(\t\022\014\n\004deps\030\002 \003(\t\022\"\n" + + "\006errors\030\003 \003(\0132\022.com.kcl.api.Error\"k\n\021Par" + + "seProgram_Args\022\r\n\005paths\030\001 \003(\t\022\017\n\007sources" + + "\030\002 \003(\t\0226\n\rexternal_pkgs\030\003 \003(\0132\037.com.kcl." + + "api.CmdExternalPkgSpec\"Z\n\023ParseProgram_R" + + "esult\022\020\n\010ast_json\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022\"" + + "\n\006errors\030\003 \003(\0132\022.com.kcl.api.Error\"\211\001\n\020L" + + "oadPackage_Args\0222\n\nparse_args\030\001 \001(\0132\036.co" + + "m.kcl.api.ParseProgram_Args\022\023\n\013resolve_a" + + "st\030\002 \001(\010\022\024\n\014load_builtin\030\003 \001(\010\022\026\n\016with_a" + + "st_index\030\004 \001(\010\"\367\007\n\022LoadPackage_Result\022\017\n" + + "\007program\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022(\n\014parse_e" + + "rrors\030\003 \003(\0132\022.com.kcl.api.Error\022\'\n\013type_" + + "errors\030\004 \003(\0132\022.com.kcl.api.Error\022;\n\006scop" + + "es\030\005 \003(\0132+.com.kcl.api.LoadPackage_Resul" + + "t.ScopesEntry\022=\n\007symbols\030\006 \003(\0132,.com.kcl" + + ".api.LoadPackage_Result.SymbolsEntry\022K\n\017" + + "node_symbol_map\030\007 \003(\01322.com.kcl.api.Load" + + "Package_Result.NodeSymbolMapEntry\022K\n\017sym" + + "bol_node_map\030\010 \003(\01322.com.kcl.api.LoadPac" + + "kage_Result.SymbolNodeMapEntry\022\\\n\030fully_" + + "qualified_name_map\030\t \003(\0132:.com.kcl.api.L" + + "oadPackage_Result.FullyQualifiedNameMapE" + + "ntry\022G\n\rpkg_scope_map\030\n \003(\01320.com.kcl.ap" + + "i.LoadPackage_Result.PkgScopeMapEntry\032A\n" + + "\013ScopesEntry\022\013\n\003key\030\001 \001(\t\022!\n\005value\030\002 \001(\013" + + "2\022.com.kcl.api.Scope:\0028\001\032C\n\014SymbolsEntry" + + "\022\013\n\003key\030\001 \001(\t\022\"\n\005value\030\002 \001(\0132\023.com.kcl.a" + + "pi.Symbol:\0028\001\032N\n\022NodeSymbolMapEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030.com.kcl.api.Sy" + + "mbolIndex:\0028\001\0324\n\022SymbolNodeMapEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032V\n\032FullyQual" + + "ifiedNameMapEntry\022\013\n\003key\030\001 \001(\t\022\'\n\005value\030" + + "\002 \001(\0132\030.com.kcl.api.SymbolIndex:\0028\001\032K\n\020P" + + "kgScopeMapEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 " + + "\001(\0132\027.com.kcl.api.ScopeIndex:\0028\001\">\n\022List" + + "Options_Result\022(\n\007options\030\002 \003(\0132\027.com.kc" + + "l.api.OptionHelp\"_\n\nOptionHelp\022\014\n\004name\030\001" + + " \001(\t\022\014\n\004type\030\002 \001(\t\022\020\n\010required\030\003 \001(\010\022\025\n\r" + + "default_value\030\004 \001(\t\022\014\n\004help\030\005 \001(\t\"\304\001\n\006Sy" + + "mbol\022 \n\002ty\030\001 \001(\0132\024.com.kcl.api.KclType\022\014" + + "\n\004name\030\002 \001(\t\022\'\n\005owner\030\003 \001(\0132\030.com.kcl.ap" + + "i.SymbolIndex\022%\n\003def\030\004 \001(\0132\030.com.kcl.api" + + ".SymbolIndex\022\'\n\005attrs\030\005 \003(\0132\030.com.kcl.ap" + + "i.SymbolIndex\022\021\n\tis_global\030\006 \001(\010\"\272\001\n\005Sco" + + "pe\022\014\n\004kind\030\001 \001(\t\022\'\n\006parent\030\002 \001(\0132\027.com.k" + + "cl.api.ScopeIndex\022\'\n\005owner\030\003 \001(\0132\030.com.k" + + "cl.api.SymbolIndex\022)\n\010children\030\004 \003(\0132\027.c" + + "om.kcl.api.ScopeIndex\022&\n\004defs\030\005 \003(\0132\030.co" + + "m.kcl.api.SymbolIndex\"1\n\013SymbolIndex\022\t\n\001" + + "i\030\001 \001(\004\022\t\n\001g\030\002 \001(\004\022\014\n\004kind\030\003 \001(\t\"0\n\nScop" + + "eIndex\022\t\n\001i\030\001 \001(\004\022\t\n\001g\030\002 \001(\004\022\014\n\004kind\030\003 \001" + + "(\t\"\367\003\n\020ExecProgram_Args\022\020\n\010work_dir\030\001 \001(" + + "\t\022\027\n\017k_filename_list\030\002 \003(\t\022\023\n\013k_code_lis" + + "t\030\003 \003(\t\022%\n\004args\030\004 \003(\0132\027.com.kcl.api.CmdA" + + "rgSpec\022/\n\toverrides\030\005 \003(\0132\034.com.kcl.api." + + "CmdOverrideSpec\022\033\n\023disable_yaml_result\030\006" + + " \001(\010\022\032\n\022print_override_ast\030\007 \001(\010\022\032\n\022stri" + + "ct_range_check\030\010 \001(\010\022\024\n\014disable_none\030\t \001" + + "(\010\022\017\n\007verbose\030\n \001(\005\022\r\n\005debug\030\013 \001(\005\022\021\n\tso" + + "rt_keys\030\014 \001(\010\0226\n\rexternal_pkgs\030\r \003(\0132\037.c" + + "om.kcl.api.CmdExternalPkgSpec\022 \n\030include" + + "_schema_type_path\030\016 \001(\010\022\024\n\014compile_only\030" + + "\017 \001(\010\022\023\n\013show_hidden\030\020 \001(\010\022\025\n\rpath_selec" + + "tor\030\021 \003(\t\022\021\n\tfast_eval\030\022 \001(\010\"h\n\022ExecProg" + + "ram_Result\022\023\n\013json_result\030\001 \001(\t\022\023\n\013yaml_" + + "result\030\002 \001(\t\022\023\n\013log_message\030\003 \001(\t\022\023\n\013err" + + "_message\030\004 \001(\t\"U\n\021BuildProgram_Args\0220\n\te" + + "xec_args\030\001 \001(\0132\035.com.kcl.api.ExecProgram" + + "_Args\022\016\n\006output\030\002 \001(\t\"#\n\023BuildProgram_Re" + + "sult\022\014\n\004path\030\001 \001(\t\"S\n\021ExecArtifact_Args\022" + + "\014\n\004path\030\001 \001(\t\0220\n\texec_args\030\002 \001(\0132\035.com.k" + + "cl.api.ExecProgram_Args\"\'\n\020ResetPlugin_A" + + "rgs\022\023\n\013plugin_root\030\001 \001(\t\"\024\n\022ResetPlugin_" + + "Result\"!\n\017FormatCode_Args\022\016\n\006source\030\001 \001(" + + "\t\"&\n\021FormatCode_Result\022\021\n\tformatted\030\001 \001(" + + "\014\"\037\n\017FormatPath_Args\022\014\n\004path\030\001 \001(\t\"*\n\021Fo" + + "rmatPath_Result\022\025\n\rchanged_paths\030\001 \003(\t\"\036" + + "\n\rLintPath_Args\022\r\n\005paths\030\001 \003(\t\"\"\n\017LintPa" + + "th_Result\022\017\n\007results\030\001 \003(\t\"F\n\021OverrideFi" + + "le_Args\022\014\n\004file\030\001 \001(\t\022\r\n\005specs\030\002 \003(\t\022\024\n\014" + + "import_paths\030\003 \003(\t\"%\n\023OverrideFile_Resul" + + "t\022\016\n\006result\030\001 \001(\010\"1\n\022ListVariables_Args\022" + + "\014\n\004file\030\001 \001(\t\022\r\n\005specs\030\002 \003(\t\"\347\001\n\024ListVar" + + "iables_Result\022C\n\tvariables\030\001 \003(\01320.com.k" + + "cl.api.ListVariables_Result.VariablesEnt" + + "ry\022\031\n\021unsupported_codes\030\002 \003(\t\022&\n\nparse_e" + + "rrs\030\003 \003(\0132\022.com.kcl.api.Error\032G\n\016Variabl" + + "esEntry\022\013\n\003key\030\001 \001(\t\022$\n\005value\030\002 \001(\0132\025.co" + + "m.kcl.api.Variable:\0028\001\"<\n\010Variable\022\r\n\005va" + + "lue\030\001 \001(\t\022\021\n\ttype_name\030\002 \001(\t\022\016\n\006op_sym\030\003" + + " \001(\t\"_\n\026GetFullSchemaType_Args\0220\n\texec_a" + + "rgs\030\001 \001(\0132\035.com.kcl.api.ExecProgram_Args" + + "\022\023\n\013schema_name\030\002 \001(\t\"E\n\022GetSchemaType_A" + + "rgs\022\014\n\004file\030\001 \001(\t\022\014\n\004code\030\002 \001(\t\022\023\n\013schem" + + "a_name\030\003 \001(\t\"F\n\024GetSchemaType_Result\022.\n\020" + + "schema_type_list\030\001 \003(\0132\024.com.kcl.api.Kcl" + + "Type\"L\n\031GetSchemaTypeMapping_Args\022\014\n\004fil" + + "e\030\001 \001(\t\022\014\n\004code\030\002 \001(\t\022\023\n\013schema_name\030\003 \001" + + "(\t\"\313\001\n\033GetSchemaTypeMapping_Result\022\\\n\023sc" + + "hema_type_mapping\030\001 \003(\0132?.com.kcl.api.Ge" + + "tSchemaTypeMapping_Result.SchemaTypeMapp" + + "ingEntry\032N\n\026SchemaTypeMappingEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.com.kcl.api.Kcl" + + "Type:\0028\001\"\207\001\n\021ValidateCode_Args\022\020\n\010datafi" + + "le\030\001 \001(\t\022\014\n\004data\030\002 \001(\t\022\014\n\004file\030\003 \001(\t\022\014\n\004" + + "code\030\004 \001(\t\022\016\n\006schema\030\005 \001(\t\022\026\n\016attribute_" + + "name\030\006 \001(\t\022\016\n\006format\030\007 \001(\t\";\n\023ValidateCo" + + "de_Result\022\017\n\007success\030\001 \001(\010\022\023\n\013err_messag" + + "e\030\002 \001(\t\":\n\010Position\022\014\n\004line\030\001 \001(\003\022\016\n\006col" + + "umn\030\002 \001(\003\022\020\n\010filename\030\003 \001(\t\"i\n\021ListDepFi" + + "les_Args\022\020\n\010work_dir\030\001 \001(\t\022\024\n\014use_abs_pa" + + "th\030\002 \001(\010\022\023\n\013include_all\030\003 \001(\010\022\027\n\017use_fas" + + "t_parser\030\004 \001(\010\"F\n\023ListDepFiles_Result\022\017\n" + + "\007pkgroot\030\001 \001(\t\022\017\n\007pkgpath\030\002 \001(\t\022\r\n\005files" + + "\030\003 \003(\t\"9\n\026LoadSettingsFiles_Args\022\020\n\010work" + + "_dir\030\001 \001(\t\022\r\n\005files\030\002 \003(\t\"{\n\030LoadSetting" + + "sFiles_Result\022/\n\017kcl_cli_configs\030\001 \001(\0132\026" + + ".com.kcl.api.CliConfig\022.\n\013kcl_options\030\002 " + + "\003(\0132\031.com.kcl.api.KeyValuePair\"\203\002\n\tCliCo" + + "nfig\022\r\n\005files\030\001 \003(\t\022\016\n\006output\030\002 \001(\t\022\021\n\to" + + "verrides\030\003 \003(\t\022\025\n\rpath_selector\030\004 \003(\t\022\032\n" + + "\022strict_range_check\030\005 \001(\010\022\024\n\014disable_non" + + "e\030\006 \001(\010\022\017\n\007verbose\030\007 \001(\003\022\r\n\005debug\030\010 \001(\010\022" + + "\021\n\tsort_keys\030\t \001(\010\022\023\n\013show_hidden\030\n \001(\010\022" + + " \n\030include_schema_type_path\030\013 \001(\010\022\021\n\tfas" + + "t_eval\030\014 \001(\010\"*\n\014KeyValuePair\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\t\"^\n\013Rename_Args\022\024\n\014packa" + + "ge_root\030\001 \001(\t\022\023\n\013symbol_path\030\002 \001(\t\022\022\n\nfi" + + "le_paths\030\003 \003(\t\022\020\n\010new_name\030\004 \001(\t\"&\n\rRena" + + "me_Result\022\025\n\rchanged_files\030\001 \003(\t\"\307\001\n\017Ren" + + "ameCode_Args\022\024\n\014package_root\030\001 \001(\t\022\023\n\013sy" + + "mbol_path\030\002 \001(\t\022C\n\014source_codes\030\003 \003(\0132-." + + "com.kcl.api.RenameCode_Args.SourceCodesE" + + "ntry\022\020\n\010new_name\030\004 \001(\t\0322\n\020SourceCodesEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\021R" + + "enameCode_Result\022G\n\rchanged_codes\030\001 \003(\0132" + + "0.com.kcl.api.RenameCode_Result.ChangedC" + + "odesEntry\0323\n\021ChangedCodesEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"v\n\tTest_Args\0220\n\te" + + "xec_args\030\001 \001(\0132\035.com.kcl.api.ExecProgram" + + "_Args\022\020\n\010pkg_list\030\002 \003(\t\022\022\n\nrun_regexp\030\003 " + + "\001(\t\022\021\n\tfail_fast\030\004 \001(\010\"6\n\013Test_Result\022\'\n" + + "\004info\030\002 \003(\0132\031.com.kcl.api.TestCaseInfo\"R" + + "\n\014TestCaseInfo\022\014\n\004name\030\001 \001(\t\022\r\n\005error\030\002 " + + "\001(\t\022\020\n\010duration\030\003 \001(\004\022\023\n\013log_message\030\004 \001" + + "(\t\"\363\004\n\007KclType\022\014\n\004type\030\001 \001(\t\022)\n\013union_ty" + + "pes\030\002 \003(\0132\024.com.kcl.api.KclType\022\017\n\007defau" + + "lt\030\003 \001(\t\022\023\n\013schema_name\030\004 \001(\t\022\022\n\nschema_" + + "doc\030\005 \001(\t\0228\n\nproperties\030\006 \003(\0132$.com.kcl." + + "api.KclType.PropertiesEntry\022\020\n\010required\030" + + "\007 \003(\t\022!\n\003key\030\010 \001(\0132\024.com.kcl.api.KclType" + + "\022\"\n\004item\030\t \001(\0132\024.com.kcl.api.KclType\022\014\n\004" + + "line\030\n \001(\005\022*\n\ndecorators\030\013 \003(\0132\026.com.kcl" + + ".api.Decorator\022\020\n\010filename\030\014 \001(\t\022\020\n\010pkg_" + + "path\030\r \001(\t\022\023\n\013description\030\016 \001(\t\0224\n\010examp" + + "les\030\017 \003(\0132\".com.kcl.api.KclType.Examples" + + "Entry\022)\n\013base_schema\030\020 \001(\0132\024.com.kcl.api" + + ".KclType\032G\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t" + + "\022#\n\005value\030\002 \001(\0132\024.com.kcl.api.KclType:\0028" + + "\001\032E\n\rExamplesEntry\022\013\n\003key\030\001 \001(\t\022#\n\005value" + + "\030\002 \001(\0132\024.com.kcl.api.Example:\0028\001\"\225\001\n\tDec" + + "orator\022\014\n\004name\030\001 \001(\t\022\021\n\targuments\030\002 \003(\t\022" + + "6\n\010keywords\030\003 \003(\0132$.com.kcl.api.Decorato" + + "r.KeywordsEntry\032/\n\rKeywordsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\">\n\007Example\022\017\n\007s" + + "ummary\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\r\n\005val" + + "ue\030\003 \001(\t2\226\001\n\016BuiltinService\0228\n\004Ping\022\026.co" + + "m.kcl.api.Ping_Args\032\030.com.kcl.api.Ping_R" + + "esult\022J\n\nListMethod\022\034.com.kcl.api.ListMe" + + "thod_Args\032\036.com.kcl.api.ListMethod_Resul" + + "t2\340\r\n\014KclvmService\0228\n\004Ping\022\026.com.kcl.api" + + ".Ping_Args\032\030.com.kcl.api.Ping_Result\022M\n\013" + + "ExecProgram\022\035.com.kcl.api.ExecProgram_Ar" + + "gs\032\037.com.kcl.api.ExecProgram_Result\022P\n\014B" + + "uildProgram\022\036.com.kcl.api.BuildProgram_A" + + "rgs\032 .com.kcl.api.BuildProgram_Result\022O\n" + + "\014ExecArtifact\022\036.com.kcl.api.ExecArtifact" + + "_Args\032\037.com.kcl.api.ExecProgram_Result\022G" + + "\n\tParseFile\022\033.com.kcl.api.ParseFile_Args" + + "\032\035.com.kcl.api.ParseFile_Result\022P\n\014Parse" + + "Program\022\036.com.kcl.api.ParseProgram_Args\032" + + " .com.kcl.api.ParseProgram_Result\022M\n\013Loa" + + "dPackage\022\035.com.kcl.api.LoadPackage_Args\032" + + "\037.com.kcl.api.LoadPackage_Result\022N\n\013List" + + "Options\022\036.com.kcl.api.ParseProgram_Args\032" + + "\037.com.kcl.api.ListOptions_Result\022S\n\rList" + + "Variables\022\037.com.kcl.api.ListVariables_Ar" + + "gs\032!.com.kcl.api.ListVariables_Result\022J\n" + + "\nFormatCode\022\034.com.kcl.api.FormatCode_Arg" + + "s\032\036.com.kcl.api.FormatCode_Result\022J\n\nFor" + + "matPath\022\034.com.kcl.api.FormatPath_Args\032\036." + + "com.kcl.api.FormatPath_Result\022D\n\010LintPat" + + "h\022\032.com.kcl.api.LintPath_Args\032\034.com.kcl." + + "api.LintPath_Result\022P\n\014OverrideFile\022\036.co" + + "m.kcl.api.OverrideFile_Args\032 .com.kcl.ap" + + "i.OverrideFile_Result\022S\n\rGetSchemaType\022\037" + + ".com.kcl.api.GetSchemaType_Args\032!.com.kc" + + "l.api.GetSchemaType_Result\022[\n\021GetFullSch" + + "emaType\022#.com.kcl.api.GetFullSchemaType_" + + "Args\032!.com.kcl.api.GetSchemaType_Result\022" + + "h\n\024GetSchemaTypeMapping\022&.com.kcl.api.Ge" + + "tSchemaTypeMapping_Args\032(.com.kcl.api.Ge" + + "tSchemaTypeMapping_Result\022P\n\014ValidateCod" + + "e\022\036.com.kcl.api.ValidateCode_Args\032 .com." + + "kcl.api.ValidateCode_Result\022P\n\014ListDepFi" + + "les\022\036.com.kcl.api.ListDepFiles_Args\032 .co" + + "m.kcl.api.ListDepFiles_Result\022_\n\021LoadSet" + + "tingsFiles\022#.com.kcl.api.LoadSettingsFil" + + "es_Args\032%.com.kcl.api.LoadSettingsFiles_" + + "Result\022>\n\006Rename\022\030.com.kcl.api.Rename_Ar" + + "gs\032\032.com.kcl.api.Rename_Result\022J\n\nRename" + + "Code\022\034.com.kcl.api.RenameCode_Args\032\036.com" + + ".kcl.api.RenameCode_Result\0228\n\004Test\022\026.com" + + ".kcl.api.Test_Args\032\030.com.kcl.api.Test_Re" + + "sultb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_com_kcl_api_CmdExternalPkgSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_CmdExternalPkgSpec_descriptor, + new java.lang.String[] { "PkgName", "PkgPath", }); + internal_static_com_kcl_api_CmdArgSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_com_kcl_api_CmdArgSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_CmdArgSpec_descriptor, + new java.lang.String[] { "Name", "Value", }); + internal_static_com_kcl_api_CmdOverrideSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_com_kcl_api_CmdOverrideSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_CmdOverrideSpec_descriptor, + new java.lang.String[] { "Pkgpath", "FieldPath", "FieldValue", "Action", }); + internal_static_com_kcl_api_Error_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_com_kcl_api_Error_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Error_descriptor, + new java.lang.String[] { "Level", "Code", "Messages", }); + internal_static_com_kcl_api_Message_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_com_kcl_api_Message_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Message_descriptor, + new java.lang.String[] { "Msg", "Pos", }); + internal_static_com_kcl_api_Ping_Args_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_com_kcl_api_Ping_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Ping_Args_descriptor, + new java.lang.String[] { "Value", }); + internal_static_com_kcl_api_Ping_Result_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_com_kcl_api_Ping_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Ping_Result_descriptor, + new java.lang.String[] { "Value", }); + internal_static_com_kcl_api_ListMethod_Args_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ListMethod_Args_descriptor, + new java.lang.String[] { }); + internal_static_com_kcl_api_ListMethod_Result_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ListMethod_Result_descriptor, + new java.lang.String[] { "MethodNameList", }); + internal_static_com_kcl_api_ParseFile_Args_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ParseFile_Args_descriptor, + new java.lang.String[] { "Path", "Source", "ExternalPkgs", }); + internal_static_com_kcl_api_ParseFile_Result_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ParseFile_Result_descriptor, + new java.lang.String[] { "AstJson", "Deps", "Errors", }); + internal_static_com_kcl_api_ParseProgram_Args_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ParseProgram_Args_descriptor, + new java.lang.String[] { "Paths", "Sources", "ExternalPkgs", }); + internal_static_com_kcl_api_ParseProgram_Result_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ParseProgram_Result_descriptor, + new java.lang.String[] { "AstJson", "Paths", "Errors", }); + internal_static_com_kcl_api_LoadPackage_Args_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackage_Args_descriptor, + new java.lang.String[] { "ParseArgs", "ResolveAst", "LoadBuiltin", "WithAstIndex", }); + internal_static_com_kcl_api_LoadPackage_Result_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackage_Result_descriptor, + new java.lang.String[] { "Program", "Paths", "ParseErrors", "TypeErrors", "Scopes", "Symbols", "NodeSymbolMap", "SymbolNodeMap", "FullyQualifiedNameMap", "PkgScopeMap", }); + internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor = + internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(0); + internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor = + internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(1); + internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor = + internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(2); + internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor = + internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(3); + internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor = + internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(4); + internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor = + internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(5); + internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_ListOptions_Result_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ListOptions_Result_descriptor, + new java.lang.String[] { "Options", }); + internal_static_com_kcl_api_OptionHelp_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_com_kcl_api_OptionHelp_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_OptionHelp_descriptor, + new java.lang.String[] { "Name", "Type", "Required", "DefaultValue", "Help", }); + internal_static_com_kcl_api_Symbol_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_com_kcl_api_Symbol_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Symbol_descriptor, + new java.lang.String[] { "Ty", "Name", "Owner", "Def", "Attrs", "IsGlobal", }); + internal_static_com_kcl_api_Scope_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_com_kcl_api_Scope_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Scope_descriptor, + new java.lang.String[] { "Kind", "Parent", "Owner", "Children", "Defs", }); + internal_static_com_kcl_api_SymbolIndex_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_SymbolIndex_descriptor, + new java.lang.String[] { "I", "G", "Kind", }); + internal_static_com_kcl_api_ScopeIndex_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ScopeIndex_descriptor, + new java.lang.String[] { "I", "G", "Kind", }); + internal_static_com_kcl_api_ExecProgram_Args_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ExecProgram_Args_descriptor, + new java.lang.String[] { "WorkDir", "KFilenameList", "KCodeList", "Args", "Overrides", "DisableYamlResult", "PrintOverrideAst", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", "SortKeys", "ExternalPkgs", "IncludeSchemaTypePath", "CompileOnly", "ShowHidden", "PathSelector", "FastEval", }); + internal_static_com_kcl_api_ExecProgram_Result_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ExecProgram_Result_descriptor, + new java.lang.String[] { "JsonResult", "YamlResult", "LogMessage", "ErrMessage", }); + internal_static_com_kcl_api_BuildProgram_Args_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_BuildProgram_Args_descriptor, + new java.lang.String[] { "ExecArgs", "Output", }); + internal_static_com_kcl_api_BuildProgram_Result_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_BuildProgram_Result_descriptor, + new java.lang.String[] { "Path", }); + internal_static_com_kcl_api_ExecArtifact_Args_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ExecArtifact_Args_descriptor, + new java.lang.String[] { "Path", "ExecArgs", }); + internal_static_com_kcl_api_ResetPlugin_Args_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_com_kcl_api_ResetPlugin_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ResetPlugin_Args_descriptor, + new java.lang.String[] { "PluginRoot", }); + internal_static_com_kcl_api_ResetPlugin_Result_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_com_kcl_api_ResetPlugin_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ResetPlugin_Result_descriptor, + new java.lang.String[] { }); + internal_static_com_kcl_api_FormatCode_Args_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_FormatCode_Args_descriptor, + new java.lang.String[] { "Source", }); + internal_static_com_kcl_api_FormatCode_Result_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_FormatCode_Result_descriptor, + new java.lang.String[] { "Formatted", }); + internal_static_com_kcl_api_FormatPath_Args_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_FormatPath_Args_descriptor, + new java.lang.String[] { "Path", }); + internal_static_com_kcl_api_FormatPath_Result_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_FormatPath_Result_descriptor, + new java.lang.String[] { "ChangedPaths", }); + internal_static_com_kcl_api_LintPath_Args_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LintPath_Args_descriptor, + new java.lang.String[] { "Paths", }); + internal_static_com_kcl_api_LintPath_Result_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LintPath_Result_descriptor, + new java.lang.String[] { "Results", }); + internal_static_com_kcl_api_OverrideFile_Args_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_OverrideFile_Args_descriptor, + new java.lang.String[] { "File", "Specs", "ImportPaths", }); + internal_static_com_kcl_api_OverrideFile_Result_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_OverrideFile_Result_descriptor, + new java.lang.String[] { "Result", }); + internal_static_com_kcl_api_ListVariables_Args_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ListVariables_Args_descriptor, + new java.lang.String[] { "File", "Specs", }); + internal_static_com_kcl_api_ListVariables_Result_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ListVariables_Result_descriptor, + new java.lang.String[] { "Variables", "UnsupportedCodes", "ParseErrs", }); + internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor = + internal_static_com_kcl_api_ListVariables_Result_descriptor.getNestedTypes().get(0); + internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_Variable_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_com_kcl_api_Variable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Variable_descriptor, + new java.lang.String[] { "Value", "TypeName", "OpSym", }); + internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_com_kcl_api_GetFullSchemaType_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_GetFullSchemaType_Args_descriptor, + new java.lang.String[] { "ExecArgs", "SchemaName", }); + internal_static_com_kcl_api_GetSchemaType_Args_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_com_kcl_api_GetSchemaType_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_GetSchemaType_Args_descriptor, + new java.lang.String[] { "File", "Code", "SchemaName", }); + internal_static_com_kcl_api_GetSchemaType_Result_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_com_kcl_api_GetSchemaType_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_GetSchemaType_Result_descriptor, + new java.lang.String[] { "SchemaTypeList", }); + internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor, + new java.lang.String[] { "File", "Code", "SchemaName", }); + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor, + new java.lang.String[] { "SchemaTypeMapping", }); + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor = + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor.getNestedTypes().get(0); + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_ValidateCode_Args_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ValidateCode_Args_descriptor, + new java.lang.String[] { "Datafile", "Data", "File", "Code", "Schema", "AttributeName", "Format", }); + internal_static_com_kcl_api_ValidateCode_Result_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ValidateCode_Result_descriptor, + new java.lang.String[] { "Success", "ErrMessage", }); + internal_static_com_kcl_api_Position_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_com_kcl_api_Position_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Position_descriptor, + new java.lang.String[] { "Line", "Column", "Filename", }); + internal_static_com_kcl_api_ListDepFiles_Args_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ListDepFiles_Args_descriptor, + new java.lang.String[] { "WorkDir", "UseAbsPath", "IncludeAll", "UseFastParser", }); + internal_static_com_kcl_api_ListDepFiles_Result_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_ListDepFiles_Result_descriptor, + new java.lang.String[] { "Pkgroot", "Pkgpath", "Files", }); + internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor, + new java.lang.String[] { "WorkDir", "Files", }); + internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor, + new java.lang.String[] { "KclCliConfigs", "KclOptions", }); + internal_static_com_kcl_api_CliConfig_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_com_kcl_api_CliConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_CliConfig_descriptor, + new java.lang.String[] { "Files", "Output", "Overrides", "PathSelector", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", "SortKeys", "ShowHidden", "IncludeSchemaTypePath", "FastEval", }); + internal_static_com_kcl_api_KeyValuePair_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_KeyValuePair_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_Rename_Args_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_com_kcl_api_Rename_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Rename_Args_descriptor, + new java.lang.String[] { "PackageRoot", "SymbolPath", "FilePaths", "NewName", }); + internal_static_com_kcl_api_Rename_Result_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_com_kcl_api_Rename_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Rename_Result_descriptor, + new java.lang.String[] { "ChangedFiles", }); + internal_static_com_kcl_api_RenameCode_Args_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_RenameCode_Args_descriptor, + new java.lang.String[] { "PackageRoot", "SymbolPath", "SourceCodes", "NewName", }); + internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor = + internal_static_com_kcl_api_RenameCode_Args_descriptor.getNestedTypes().get(0); + internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_RenameCode_Result_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_RenameCode_Result_descriptor, + new java.lang.String[] { "ChangedCodes", }); + internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor = + internal_static_com_kcl_api_RenameCode_Result_descriptor.getNestedTypes().get(0); + internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_Test_Args_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_com_kcl_api_Test_Args_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Test_Args_descriptor, + new java.lang.String[] { "ExecArgs", "PkgList", "RunRegexp", "FailFast", }); + internal_static_com_kcl_api_Test_Result_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_com_kcl_api_Test_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Test_Result_descriptor, + new java.lang.String[] { "Info", }); + internal_static_com_kcl_api_TestCaseInfo_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_TestCaseInfo_descriptor, + new java.lang.String[] { "Name", "Error", "Duration", "LogMessage", }); + internal_static_com_kcl_api_KclType_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_com_kcl_api_KclType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_KclType_descriptor, + new java.lang.String[] { "Type", "UnionTypes", "Default", "SchemaName", "SchemaDoc", "Properties", "Required", "Key", "Item", "Line", "Decorators", "Filename", "PkgPath", "Description", "Examples", "BaseSchema", }); + internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor = + internal_static_com_kcl_api_KclType_descriptor.getNestedTypes().get(0); + internal_static_com_kcl_api_KclType_PropertiesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor = + internal_static_com_kcl_api_KclType_descriptor.getNestedTypes().get(1); + internal_static_com_kcl_api_KclType_ExamplesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_Decorator_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_com_kcl_api_Decorator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Decorator_descriptor, + new java.lang.String[] { "Name", "Arguments", "Keywords", }); + internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor = + internal_static_com_kcl_api_Decorator_descriptor.getNestedTypes().get(0); + internal_static_com_kcl_api_Decorator_KeywordsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_Example_descriptor = + getDescriptor().getMessageTypes().get(62); + internal_static_com_kcl_api_Example_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_com_kcl_api_Example_descriptor, + new java.lang.String[] { "Summary", "Description", "Value", }); + } + + // @@protoc_insertion_point(outer_class_scope) } diff --git a/python/kcl_lib/api/service.py b/python/kcl_lib/api/service.py index 2d9ec470..bf9ae1d4 100644 --- a/python/kcl_lib/api/service.py +++ b/python/kcl_lib/api/service.py @@ -1,10 +1,5 @@ -import ctypes -import tempfile -import threading -import os import kcl_lib from .spec_pb2 import * -from ctypes import c_char_p, c_void_p from google.protobuf import message as _message @@ -24,6 +19,9 @@ class API: ``` """ + def __init__(self, plugin_agent: int = 0): + self.plugin_agent = plugin_agent + def ping(self, args: Ping_Args) -> Ping_Result: return self.call("KclvmService.Ping", args) @@ -50,7 +48,7 @@ def load_package(self, args: LoadPackage_Args) -> LoadPackage_Result: def list_options(self, args: ParseProgram_Args) -> ListOptions_Result: return self.call("KclvmService.ListOptions", args) - + def list_variables(self, args: ListVariables_Args) -> ListVariables_Result: return self.call("KclvmService.ListVariables", args) @@ -96,7 +94,9 @@ def call(self, name: str, args): args_serialized = args.SerializeToString() # Call the service function and get the result - result = kcl_lib.call(name.encode("utf-8"), args_serialized) + result = kcl_lib.call_with_plugin_agent( + name.encode("utf-8"), args_serialized, self.plugin_agent + ) if result.startswith(b"ERROR"): raise Exception(str(result)) msg = self.create_method_resp_message(name) diff --git a/python/kcl_lib/api/spec_pb2.py b/python/kcl_lib/api/spec_pb2.py index 1ea61fa7..c5604f67 100644 --- a/python/kcl_lib/api/spec_pb2.py +++ b/python/kcl_lib/api/spec_pb2.py @@ -7,200 +7,209 @@ from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nspec.proto\x12\x0b\x63om.kcl.api\"8\n\x12\x43mdExternalPkgSpec\x12\x10\n\x08pkg_name\x18\x01 \x01(\t\x12\x10\n\x08pkg_path\x18\x02 \x01(\t\")\n\nCmdArgSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"[\n\x0f\x43mdOverrideSpec\x12\x0f\n\x07pkgpath\x18\x01 \x01(\t\x12\x12\n\nfield_path\x18\x02 \x01(\t\x12\x13\n\x0b\x66ield_value\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x04 \x01(\t\"L\n\x05\x45rror\x12\r\n\x05level\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12&\n\x08messages\x18\x03 \x03(\x0b\x32\x14.com.kcl.api.Message\":\n\x07Message\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12\"\n\x03pos\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Position\"\x1a\n\tPing_Args\x12\r\n\x05value\x18\x01 \x01(\t\"\x1c\n\x0bPing_Result\x12\r\n\x05value\x18\x01 \x01(\t\"\x11\n\x0fListMethod_Args\"-\n\x11ListMethod_Result\x12\x18\n\x10method_name_list\x18\x01 \x03(\t\"f\n\x0eParseFile_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x36\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec\"V\n\x10ParseFile_Result\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65ps\x18\x02 \x03(\t\x12\"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\"k\n\x11ParseProgram_Args\x12\r\n\x05paths\x18\x01 \x03(\t\x12\x0f\n\x07sources\x18\x02 \x03(\t\x12\x36\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec\"Z\n\x13ParseProgram_Result\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12\"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\"\x89\x01\n\x10LoadPackage_Args\x12\x32\n\nparse_args\x18\x01 \x01(\x0b\x32\x1e.com.kcl.api.ParseProgram_Args\x12\x13\n\x0bresolve_ast\x18\x02 \x01(\x08\x12\x14\n\x0cload_builtin\x18\x03 \x01(\x08\x12\x16\n\x0ewith_ast_index\x18\x04 \x01(\x08\"\xf7\x07\n\x12LoadPackage_Result\x12\x0f\n\x07program\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12(\n\x0cparse_errors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\x12\'\n\x0btype_errors\x18\x04 \x03(\x0b\x32\x12.com.kcl.api.Error\x12;\n\x06scopes\x18\x05 \x03(\x0b\x32+.com.kcl.api.LoadPackage_Result.ScopesEntry\x12=\n\x07symbols\x18\x06 \x03(\x0b\x32,.com.kcl.api.LoadPackage_Result.SymbolsEntry\x12K\n\x0fnode_symbol_map\x18\x07 \x03(\x0b\x32\x32.com.kcl.api.LoadPackage_Result.NodeSymbolMapEntry\x12K\n\x0fsymbol_node_map\x18\x08 \x03(\x0b\x32\x32.com.kcl.api.LoadPackage_Result.SymbolNodeMapEntry\x12\\\n\x18\x66ully_qualified_name_map\x18\t \x03(\x0b\x32:.com.kcl.api.LoadPackage_Result.FullyQualifiedNameMapEntry\x12G\n\rpkg_scope_map\x18\n \x03(\x0b\x32\x30.com.kcl.api.LoadPackage_Result.PkgScopeMapEntry\x1a\x41\n\x0bScopesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.com.kcl.api.Scope:\x02\x38\x01\x1a\x43\n\x0cSymbolsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.com.kcl.api.Symbol:\x02\x38\x01\x1aN\n\x12NodeSymbolMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1a\x34\n\x12SymbolNodeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aV\n\x1a\x46ullyQualifiedNameMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1aK\n\x10PkgScopeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex:\x02\x38\x01\">\n\x12ListOptions_Result\x12(\n\x07options\x18\x02 \x03(\x0b\x32\x17.com.kcl.api.OptionHelp\"_\n\nOptionHelp\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x10\n\x08required\x18\x03 \x01(\x08\x12\x15\n\rdefault_value\x18\x04 \x01(\t\x12\x0c\n\x04help\x18\x05 \x01(\t\"\xc4\x01\n\x06Symbol\x12 \n\x02ty\x18\x01 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12%\n\x03\x64\x65\x66\x18\x04 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\'\n\x05\x61ttrs\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\x11\n\tis_global\x18\x06 \x01(\x08\"\xba\x01\n\x05Scope\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\'\n\x06parent\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12)\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12&\n\x04\x64\x65\x66s\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex\"1\n\x0bSymbolIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t\"0\n\nScopeIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t\"\xf7\x03\n\x10\x45xecProgram_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x17\n\x0fk_filename_list\x18\x02 \x03(\t\x12\x13\n\x0bk_code_list\x18\x03 \x03(\t\x12%\n\x04\x61rgs\x18\x04 \x03(\x0b\x32\x17.com.kcl.api.CmdArgSpec\x12/\n\toverrides\x18\x05 \x03(\x0b\x32\x1c.com.kcl.api.CmdOverrideSpec\x12\x1b\n\x13\x64isable_yaml_result\x18\x06 \x01(\x08\x12\x1a\n\x12print_override_ast\x18\x07 \x01(\x08\x12\x1a\n\x12strict_range_check\x18\x08 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\t \x01(\x08\x12\x0f\n\x07verbose\x18\n \x01(\x05\x12\r\n\x05\x64\x65\x62ug\x18\x0b \x01(\x05\x12\x11\n\tsort_keys\x18\x0c \x01(\x08\x12\x36\n\rexternal_pkgs\x18\r \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec\x12 \n\x18include_schema_type_path\x18\x0e \x01(\x08\x12\x14\n\x0c\x63ompile_only\x18\x0f \x01(\x08\x12\x13\n\x0bshow_hidden\x18\x10 \x01(\x08\x12\x15\n\rpath_selector\x18\x11 \x03(\t\x12\x11\n\tfast_eval\x18\x12 \x01(\x08\"h\n\x12\x45xecProgram_Result\x12\x13\n\x0bjson_result\x18\x01 \x01(\t\x12\x13\n\x0byaml_result\x18\x02 \x01(\t\x12\x13\n\x0blog_message\x18\x03 \x01(\t\x12\x13\n\x0b\x65rr_message\x18\x04 \x01(\t\"U\n\x11\x42uildProgram_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x0e\n\x06output\x18\x02 \x01(\t\"#\n\x13\x42uildProgram_Result\x12\x0c\n\x04path\x18\x01 \x01(\t\"S\n\x11\x45xecArtifact_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x30\n\texec_args\x18\x02 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\"\'\n\x10ResetPlugin_Args\x12\x13\n\x0bplugin_root\x18\x01 \x01(\t\"\x14\n\x12ResetPlugin_Result\"!\n\x0f\x46ormatCode_Args\x12\x0e\n\x06source\x18\x01 \x01(\t\"&\n\x11\x46ormatCode_Result\x12\x11\n\tformatted\x18\x01 \x01(\x0c\"\x1f\n\x0f\x46ormatPath_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\"*\n\x11\x46ormatPath_Result\x12\x15\n\rchanged_paths\x18\x01 \x03(\t\"\x1e\n\rLintPath_Args\x12\r\n\x05paths\x18\x01 \x03(\t\"\"\n\x0fLintPath_Result\x12\x0f\n\x07results\x18\x01 \x03(\t\"F\n\x11OverrideFile_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\r\n\x05specs\x18\x02 \x03(\t\x12\x14\n\x0cimport_paths\x18\x03 \x03(\t\"%\n\x13OverrideFile_Result\x12\x0e\n\x06result\x18\x01 \x01(\x08\"1\n\x12ListVariables_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\r\n\x05specs\x18\x02 \x03(\t\"\xbf\x01\n\x14ListVariables_Result\x12\x43\n\tvariables\x18\x01 \x03(\x0b\x32\x30.com.kcl.api.ListVariables_Result.VariablesEntry\x12\x19\n\x11unsupported_codes\x18\x02 \x03(\t\x1aG\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Variable:\x02\x38\x01\"<\n\x08Variable\x12\r\n\x05value\x18\x01 \x01(\t\x12\x11\n\ttype_name\x18\x02 \x01(\t\x12\x0e\n\x06op_sym\x18\x03 \x01(\t\"_\n\x16GetFullSchemaType_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x13\n\x0bschema_name\x18\x02 \x01(\t\"E\n\x12GetSchemaType_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x13\n\x0bschema_name\x18\x03 \x01(\t\"F\n\x14GetSchemaType_Result\x12.\n\x10schema_type_list\x18\x01 \x03(\x0b\x32\x14.com.kcl.api.KclType\"L\n\x19GetSchemaTypeMapping_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x13\n\x0bschema_name\x18\x03 \x01(\t\"\xcb\x01\n\x1bGetSchemaTypeMapping_Result\x12\\\n\x13schema_type_mapping\x18\x01 \x03(\x0b\x32?.com.kcl.api.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry\x1aN\n\x16SchemaTypeMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01\"\x87\x01\n\x11ValidateCode_Args\x12\x10\n\x08\x64\x61tafile\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\t\x12\x0c\n\x04\x66ile\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\t\x12\x0e\n\x06schema\x18\x05 \x01(\t\x12\x16\n\x0e\x61ttribute_name\x18\x06 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x07 \x01(\t\";\n\x13ValidateCode_Result\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\":\n\x08Position\x12\x0c\n\x04line\x18\x01 \x01(\x03\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\x03\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\"i\n\x11ListDepFiles_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x14\n\x0cuse_abs_path\x18\x02 \x01(\x08\x12\x13\n\x0binclude_all\x18\x03 \x01(\x08\x12\x17\n\x0fuse_fast_parser\x18\x04 \x01(\x08\"F\n\x13ListDepFiles_Result\x12\x0f\n\x07pkgroot\x18\x01 \x01(\t\x12\x0f\n\x07pkgpath\x18\x02 \x01(\t\x12\r\n\x05\x66iles\x18\x03 \x03(\t\"9\n\x16LoadSettingsFiles_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\r\n\x05\x66iles\x18\x02 \x03(\t\"{\n\x18LoadSettingsFiles_Result\x12/\n\x0fkcl_cli_configs\x18\x01 \x01(\x0b\x32\x16.com.kcl.api.CliConfig\x12.\n\x0bkcl_options\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.KeyValuePair\"\x83\x02\n\tCliConfig\x12\r\n\x05\x66iles\x18\x01 \x03(\t\x12\x0e\n\x06output\x18\x02 \x01(\t\x12\x11\n\toverrides\x18\x03 \x03(\t\x12\x15\n\rpath_selector\x18\x04 \x03(\t\x12\x1a\n\x12strict_range_check\x18\x05 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\x06 \x01(\x08\x12\x0f\n\x07verbose\x18\x07 \x01(\x03\x12\r\n\x05\x64\x65\x62ug\x18\x08 \x01(\x08\x12\x11\n\tsort_keys\x18\t \x01(\x08\x12\x13\n\x0bshow_hidden\x18\n \x01(\x08\x12 \n\x18include_schema_type_path\x18\x0b \x01(\x08\x12\x11\n\tfast_eval\x18\x0c \x01(\x08\"*\n\x0cKeyValuePair\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"^\n\x0bRename_Args\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x12\n\nfile_paths\x18\x03 \x03(\t\x12\x10\n\x08new_name\x18\x04 \x01(\t\"&\n\rRename_Result\x12\x15\n\rchanged_files\x18\x01 \x03(\t\"\xc7\x01\n\x0fRenameCode_Args\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x43\n\x0csource_codes\x18\x03 \x03(\x0b\x32-.com.kcl.api.RenameCode_Args.SourceCodesEntry\x12\x10\n\x08new_name\x18\x04 \x01(\t\x1a\x32\n\x10SourceCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x11RenameCode_Result\x12G\n\rchanged_codes\x18\x01 \x03(\x0b\x32\x30.com.kcl.api.RenameCode_Result.ChangedCodesEntry\x1a\x33\n\x11\x43hangedCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"v\n\tTest_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x10\n\x08pkg_list\x18\x02 \x03(\t\x12\x12\n\nrun_regexp\x18\x03 \x01(\t\x12\x11\n\tfail_fast\x18\x04 \x01(\x08\"6\n\x0bTest_Result\x12\'\n\x04info\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.TestCaseInfo\"R\n\x0cTestCaseInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x10\n\x08\x64uration\x18\x03 \x01(\x04\x12\x13\n\x0blog_message\x18\x04 \x01(\t\"\xf3\x04\n\x07KclType\x12\x0c\n\x04type\x18\x01 \x01(\t\x12)\n\x0bunion_types\x18\x02 \x03(\x0b\x32\x14.com.kcl.api.KclType\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\t\x12\x13\n\x0bschema_name\x18\x04 \x01(\t\x12\x12\n\nschema_doc\x18\x05 \x01(\t\x12\x38\n\nproperties\x18\x06 \x03(\x0b\x32$.com.kcl.api.KclType.PropertiesEntry\x12\x10\n\x08required\x18\x07 \x03(\t\x12!\n\x03key\x18\x08 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\"\n\x04item\x18\t \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04line\x18\n \x01(\x05\x12*\n\ndecorators\x18\x0b \x03(\x0b\x32\x16.com.kcl.api.Decorator\x12\x10\n\x08\x66ilename\x18\x0c \x01(\t\x12\x10\n\x08pkg_path\x18\r \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0e \x01(\t\x12\x34\n\x08\x65xamples\x18\x0f \x03(\x0b\x32\".com.kcl.api.KclType.ExamplesEntry\x12)\n\x0b\x62\x61se_schema\x18\x10 \x01(\x0b\x32\x14.com.kcl.api.KclType\x1aG\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01\x1a\x45\n\rExamplesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.Example:\x02\x38\x01\"\x95\x01\n\tDecorator\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\targuments\x18\x02 \x03(\t\x12\x36\n\x08keywords\x18\x03 \x03(\x0b\x32$.com.kcl.api.Decorator.KeywordsEntry\x1a/\n\rKeywordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x07\x45xample\x12\x0f\n\x07summary\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t2\x96\x01\n\x0e\x42uiltinService\x12\x38\n\x04Ping\x12\x16.com.kcl.api.Ping_Args\x1a\x18.com.kcl.api.Ping_Result\x12J\n\nListMethod\x12\x1c.com.kcl.api.ListMethod_Args\x1a\x1e.com.kcl.api.ListMethod_Result2\xe0\r\n\x0cKclvmService\x12\x38\n\x04Ping\x12\x16.com.kcl.api.Ping_Args\x1a\x18.com.kcl.api.Ping_Result\x12M\n\x0b\x45xecProgram\x12\x1d.com.kcl.api.ExecProgram_Args\x1a\x1f.com.kcl.api.ExecProgram_Result\x12P\n\x0c\x42uildProgram\x12\x1e.com.kcl.api.BuildProgram_Args\x1a .com.kcl.api.BuildProgram_Result\x12O\n\x0c\x45xecArtifact\x12\x1e.com.kcl.api.ExecArtifact_Args\x1a\x1f.com.kcl.api.ExecProgram_Result\x12G\n\tParseFile\x12\x1b.com.kcl.api.ParseFile_Args\x1a\x1d.com.kcl.api.ParseFile_Result\x12P\n\x0cParseProgram\x12\x1e.com.kcl.api.ParseProgram_Args\x1a .com.kcl.api.ParseProgram_Result\x12M\n\x0bLoadPackage\x12\x1d.com.kcl.api.LoadPackage_Args\x1a\x1f.com.kcl.api.LoadPackage_Result\x12N\n\x0bListOptions\x12\x1e.com.kcl.api.ParseProgram_Args\x1a\x1f.com.kcl.api.ListOptions_Result\x12S\n\rListVariables\x12\x1f.com.kcl.api.ListVariables_Args\x1a!.com.kcl.api.ListVariables_Result\x12J\n\nFormatCode\x12\x1c.com.kcl.api.FormatCode_Args\x1a\x1e.com.kcl.api.FormatCode_Result\x12J\n\nFormatPath\x12\x1c.com.kcl.api.FormatPath_Args\x1a\x1e.com.kcl.api.FormatPath_Result\x12\x44\n\x08LintPath\x12\x1a.com.kcl.api.LintPath_Args\x1a\x1c.com.kcl.api.LintPath_Result\x12P\n\x0cOverrideFile\x12\x1e.com.kcl.api.OverrideFile_Args\x1a .com.kcl.api.OverrideFile_Result\x12S\n\rGetSchemaType\x12\x1f.com.kcl.api.GetSchemaType_Args\x1a!.com.kcl.api.GetSchemaType_Result\x12[\n\x11GetFullSchemaType\x12#.com.kcl.api.GetFullSchemaType_Args\x1a!.com.kcl.api.GetSchemaType_Result\x12h\n\x14GetSchemaTypeMapping\x12&.com.kcl.api.GetSchemaTypeMapping_Args\x1a(.com.kcl.api.GetSchemaTypeMapping_Result\x12P\n\x0cValidateCode\x12\x1e.com.kcl.api.ValidateCode_Args\x1a .com.kcl.api.ValidateCode_Result\x12P\n\x0cListDepFiles\x12\x1e.com.kcl.api.ListDepFiles_Args\x1a .com.kcl.api.ListDepFiles_Result\x12_\n\x11LoadSettingsFiles\x12#.com.kcl.api.LoadSettingsFiles_Args\x1a%.com.kcl.api.LoadSettingsFiles_Result\x12>\n\x06Rename\x12\x18.com.kcl.api.Rename_Args\x1a\x1a.com.kcl.api.Rename_Result\x12J\n\nRenameCode\x12\x1c.com.kcl.api.RenameCode_Args\x1a\x1e.com.kcl.api.RenameCode_Result\x12\x38\n\x04Test\x12\x16.com.kcl.api.Test_Args\x1a\x18.com.kcl.api.Test_Resultb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\nspec.proto\x12\x0b\x63om.kcl.api"8\n\x12\x43mdExternalPkgSpec\x12\x10\n\x08pkg_name\x18\x01 \x01(\t\x12\x10\n\x08pkg_path\x18\x02 \x01(\t")\n\nCmdArgSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"[\n\x0f\x43mdOverrideSpec\x12\x0f\n\x07pkgpath\x18\x01 \x01(\t\x12\x12\n\nfield_path\x18\x02 \x01(\t\x12\x13\n\x0b\x66ield_value\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x04 \x01(\t"L\n\x05\x45rror\x12\r\n\x05level\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12&\n\x08messages\x18\x03 \x03(\x0b\x32\x14.com.kcl.api.Message":\n\x07Message\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12"\n\x03pos\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Position"\x1a\n\tPing_Args\x12\r\n\x05value\x18\x01 \x01(\t"\x1c\n\x0bPing_Result\x12\r\n\x05value\x18\x01 \x01(\t"\x11\n\x0fListMethod_Args"-\n\x11ListMethod_Result\x12\x18\n\x10method_name_list\x18\x01 \x03(\t"f\n\x0eParseFile_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x36\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec"V\n\x10ParseFile_Result\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65ps\x18\x02 \x03(\t\x12"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error"k\n\x11ParseProgram_Args\x12\r\n\x05paths\x18\x01 \x03(\t\x12\x0f\n\x07sources\x18\x02 \x03(\t\x12\x36\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec"Z\n\x13ParseProgram_Result\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error"\x89\x01\n\x10LoadPackage_Args\x12\x32\n\nparse_args\x18\x01 \x01(\x0b\x32\x1e.com.kcl.api.ParseProgram_Args\x12\x13\n\x0bresolve_ast\x18\x02 \x01(\x08\x12\x14\n\x0cload_builtin\x18\x03 \x01(\x08\x12\x16\n\x0ewith_ast_index\x18\x04 \x01(\x08"\xf7\x07\n\x12LoadPackage_Result\x12\x0f\n\x07program\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12(\n\x0cparse_errors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\x12\'\n\x0btype_errors\x18\x04 \x03(\x0b\x32\x12.com.kcl.api.Error\x12;\n\x06scopes\x18\x05 \x03(\x0b\x32+.com.kcl.api.LoadPackage_Result.ScopesEntry\x12=\n\x07symbols\x18\x06 \x03(\x0b\x32,.com.kcl.api.LoadPackage_Result.SymbolsEntry\x12K\n\x0fnode_symbol_map\x18\x07 \x03(\x0b\x32\x32.com.kcl.api.LoadPackage_Result.NodeSymbolMapEntry\x12K\n\x0fsymbol_node_map\x18\x08 \x03(\x0b\x32\x32.com.kcl.api.LoadPackage_Result.SymbolNodeMapEntry\x12\\\n\x18\x66ully_qualified_name_map\x18\t \x03(\x0b\x32:.com.kcl.api.LoadPackage_Result.FullyQualifiedNameMapEntry\x12G\n\rpkg_scope_map\x18\n \x03(\x0b\x32\x30.com.kcl.api.LoadPackage_Result.PkgScopeMapEntry\x1a\x41\n\x0bScopesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.com.kcl.api.Scope:\x02\x38\x01\x1a\x43\n\x0cSymbolsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12"\n\x05value\x18\x02 \x01(\x0b\x32\x13.com.kcl.api.Symbol:\x02\x38\x01\x1aN\n\x12NodeSymbolMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1a\x34\n\x12SymbolNodeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aV\n\x1a\x46ullyQualifiedNameMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1aK\n\x10PkgScopeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex:\x02\x38\x01">\n\x12ListOptions_Result\x12(\n\x07options\x18\x02 \x03(\x0b\x32\x17.com.kcl.api.OptionHelp"_\n\nOptionHelp\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x10\n\x08required\x18\x03 \x01(\x08\x12\x15\n\rdefault_value\x18\x04 \x01(\t\x12\x0c\n\x04help\x18\x05 \x01(\t"\xc4\x01\n\x06Symbol\x12 \n\x02ty\x18\x01 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12%\n\x03\x64\x65\x66\x18\x04 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\'\n\x05\x61ttrs\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\x11\n\tis_global\x18\x06 \x01(\x08"\xba\x01\n\x05Scope\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\'\n\x06parent\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12)\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12&\n\x04\x64\x65\x66s\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex"1\n\x0bSymbolIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t"0\n\nScopeIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t"\xf7\x03\n\x10\x45xecProgram_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x17\n\x0fk_filename_list\x18\x02 \x03(\t\x12\x13\n\x0bk_code_list\x18\x03 \x03(\t\x12%\n\x04\x61rgs\x18\x04 \x03(\x0b\x32\x17.com.kcl.api.CmdArgSpec\x12/\n\toverrides\x18\x05 \x03(\x0b\x32\x1c.com.kcl.api.CmdOverrideSpec\x12\x1b\n\x13\x64isable_yaml_result\x18\x06 \x01(\x08\x12\x1a\n\x12print_override_ast\x18\x07 \x01(\x08\x12\x1a\n\x12strict_range_check\x18\x08 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\t \x01(\x08\x12\x0f\n\x07verbose\x18\n \x01(\x05\x12\r\n\x05\x64\x65\x62ug\x18\x0b \x01(\x05\x12\x11\n\tsort_keys\x18\x0c \x01(\x08\x12\x36\n\rexternal_pkgs\x18\r \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec\x12 \n\x18include_schema_type_path\x18\x0e \x01(\x08\x12\x14\n\x0c\x63ompile_only\x18\x0f \x01(\x08\x12\x13\n\x0bshow_hidden\x18\x10 \x01(\x08\x12\x15\n\rpath_selector\x18\x11 \x03(\t\x12\x11\n\tfast_eval\x18\x12 \x01(\x08"h\n\x12\x45xecProgram_Result\x12\x13\n\x0bjson_result\x18\x01 \x01(\t\x12\x13\n\x0byaml_result\x18\x02 \x01(\t\x12\x13\n\x0blog_message\x18\x03 \x01(\t\x12\x13\n\x0b\x65rr_message\x18\x04 \x01(\t"U\n\x11\x42uildProgram_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x0e\n\x06output\x18\x02 \x01(\t"#\n\x13\x42uildProgram_Result\x12\x0c\n\x04path\x18\x01 \x01(\t"S\n\x11\x45xecArtifact_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x30\n\texec_args\x18\x02 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args"\'\n\x10ResetPlugin_Args\x12\x13\n\x0bplugin_root\x18\x01 \x01(\t"\x14\n\x12ResetPlugin_Result"!\n\x0f\x46ormatCode_Args\x12\x0e\n\x06source\x18\x01 \x01(\t"&\n\x11\x46ormatCode_Result\x12\x11\n\tformatted\x18\x01 \x01(\x0c"\x1f\n\x0f\x46ormatPath_Args\x12\x0c\n\x04path\x18\x01 \x01(\t"*\n\x11\x46ormatPath_Result\x12\x15\n\rchanged_paths\x18\x01 \x03(\t"\x1e\n\rLintPath_Args\x12\r\n\x05paths\x18\x01 \x03(\t""\n\x0fLintPath_Result\x12\x0f\n\x07results\x18\x01 \x03(\t"F\n\x11OverrideFile_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\r\n\x05specs\x18\x02 \x03(\t\x12\x14\n\x0cimport_paths\x18\x03 \x03(\t"%\n\x13OverrideFile_Result\x12\x0e\n\x06result\x18\x01 \x01(\x08"1\n\x12ListVariables_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\r\n\x05specs\x18\x02 \x03(\t"\xe7\x01\n\x14ListVariables_Result\x12\x43\n\tvariables\x18\x01 \x03(\x0b\x32\x30.com.kcl.api.ListVariables_Result.VariablesEntry\x12\x19\n\x11unsupported_codes\x18\x02 \x03(\t\x12&\n\nparse_errs\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\x1aG\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Variable:\x02\x38\x01"<\n\x08Variable\x12\r\n\x05value\x18\x01 \x01(\t\x12\x11\n\ttype_name\x18\x02 \x01(\t\x12\x0e\n\x06op_sym\x18\x03 \x01(\t"_\n\x16GetFullSchemaType_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x13\n\x0bschema_name\x18\x02 \x01(\t"E\n\x12GetSchemaType_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x13\n\x0bschema_name\x18\x03 \x01(\t"F\n\x14GetSchemaType_Result\x12.\n\x10schema_type_list\x18\x01 \x03(\x0b\x32\x14.com.kcl.api.KclType"L\n\x19GetSchemaTypeMapping_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x13\n\x0bschema_name\x18\x03 \x01(\t"\xcb\x01\n\x1bGetSchemaTypeMapping_Result\x12\\\n\x13schema_type_mapping\x18\x01 \x03(\x0b\x32?.com.kcl.api.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry\x1aN\n\x16SchemaTypeMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01"\x87\x01\n\x11ValidateCode_Args\x12\x10\n\x08\x64\x61tafile\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\t\x12\x0c\n\x04\x66ile\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\t\x12\x0e\n\x06schema\x18\x05 \x01(\t\x12\x16\n\x0e\x61ttribute_name\x18\x06 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x07 \x01(\t";\n\x13ValidateCode_Result\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t":\n\x08Position\x12\x0c\n\x04line\x18\x01 \x01(\x03\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\x03\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t"i\n\x11ListDepFiles_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x14\n\x0cuse_abs_path\x18\x02 \x01(\x08\x12\x13\n\x0binclude_all\x18\x03 \x01(\x08\x12\x17\n\x0fuse_fast_parser\x18\x04 \x01(\x08"F\n\x13ListDepFiles_Result\x12\x0f\n\x07pkgroot\x18\x01 \x01(\t\x12\x0f\n\x07pkgpath\x18\x02 \x01(\t\x12\r\n\x05\x66iles\x18\x03 \x03(\t"9\n\x16LoadSettingsFiles_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\r\n\x05\x66iles\x18\x02 \x03(\t"{\n\x18LoadSettingsFiles_Result\x12/\n\x0fkcl_cli_configs\x18\x01 \x01(\x0b\x32\x16.com.kcl.api.CliConfig\x12.\n\x0bkcl_options\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.KeyValuePair"\x83\x02\n\tCliConfig\x12\r\n\x05\x66iles\x18\x01 \x03(\t\x12\x0e\n\x06output\x18\x02 \x01(\t\x12\x11\n\toverrides\x18\x03 \x03(\t\x12\x15\n\rpath_selector\x18\x04 \x03(\t\x12\x1a\n\x12strict_range_check\x18\x05 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\x06 \x01(\x08\x12\x0f\n\x07verbose\x18\x07 \x01(\x03\x12\r\n\x05\x64\x65\x62ug\x18\x08 \x01(\x08\x12\x11\n\tsort_keys\x18\t \x01(\x08\x12\x13\n\x0bshow_hidden\x18\n \x01(\x08\x12 \n\x18include_schema_type_path\x18\x0b \x01(\x08\x12\x11\n\tfast_eval\x18\x0c \x01(\x08"*\n\x0cKeyValuePair\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"^\n\x0bRename_Args\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x12\n\nfile_paths\x18\x03 \x03(\t\x12\x10\n\x08new_name\x18\x04 \x01(\t"&\n\rRename_Result\x12\x15\n\rchanged_files\x18\x01 \x03(\t"\xc7\x01\n\x0fRenameCode_Args\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x43\n\x0csource_codes\x18\x03 \x03(\x0b\x32-.com.kcl.api.RenameCode_Args.SourceCodesEntry\x12\x10\n\x08new_name\x18\x04 \x01(\t\x1a\x32\n\x10SourceCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x91\x01\n\x11RenameCode_Result\x12G\n\rchanged_codes\x18\x01 \x03(\x0b\x32\x30.com.kcl.api.RenameCode_Result.ChangedCodesEntry\x1a\x33\n\x11\x43hangedCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"v\n\tTest_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x10\n\x08pkg_list\x18\x02 \x03(\t\x12\x12\n\nrun_regexp\x18\x03 \x01(\t\x12\x11\n\tfail_fast\x18\x04 \x01(\x08"6\n\x0bTest_Result\x12\'\n\x04info\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.TestCaseInfo"R\n\x0cTestCaseInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x10\n\x08\x64uration\x18\x03 \x01(\x04\x12\x13\n\x0blog_message\x18\x04 \x01(\t"\xf3\x04\n\x07KclType\x12\x0c\n\x04type\x18\x01 \x01(\t\x12)\n\x0bunion_types\x18\x02 \x03(\x0b\x32\x14.com.kcl.api.KclType\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\t\x12\x13\n\x0bschema_name\x18\x04 \x01(\t\x12\x12\n\nschema_doc\x18\x05 \x01(\t\x12\x38\n\nproperties\x18\x06 \x03(\x0b\x32$.com.kcl.api.KclType.PropertiesEntry\x12\x10\n\x08required\x18\x07 \x03(\t\x12!\n\x03key\x18\x08 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12"\n\x04item\x18\t \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04line\x18\n \x01(\x05\x12*\n\ndecorators\x18\x0b \x03(\x0b\x32\x16.com.kcl.api.Decorator\x12\x10\n\x08\x66ilename\x18\x0c \x01(\t\x12\x10\n\x08pkg_path\x18\r \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0e \x01(\t\x12\x34\n\x08\x65xamples\x18\x0f \x03(\x0b\x32".com.kcl.api.KclType.ExamplesEntry\x12)\n\x0b\x62\x61se_schema\x18\x10 \x01(\x0b\x32\x14.com.kcl.api.KclType\x1aG\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01\x1a\x45\n\rExamplesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.Example:\x02\x38\x01"\x95\x01\n\tDecorator\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\targuments\x18\x02 \x03(\t\x12\x36\n\x08keywords\x18\x03 \x03(\x0b\x32$.com.kcl.api.Decorator.KeywordsEntry\x1a/\n\rKeywordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01">\n\x07\x45xample\x12\x0f\n\x07summary\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t2\x96\x01\n\x0e\x42uiltinService\x12\x38\n\x04Ping\x12\x16.com.kcl.api.Ping_Args\x1a\x18.com.kcl.api.Ping_Result\x12J\n\nListMethod\x12\x1c.com.kcl.api.ListMethod_Args\x1a\x1e.com.kcl.api.ListMethod_Result2\xe0\r\n\x0cKclvmService\x12\x38\n\x04Ping\x12\x16.com.kcl.api.Ping_Args\x1a\x18.com.kcl.api.Ping_Result\x12M\n\x0b\x45xecProgram\x12\x1d.com.kcl.api.ExecProgram_Args\x1a\x1f.com.kcl.api.ExecProgram_Result\x12P\n\x0c\x42uildProgram\x12\x1e.com.kcl.api.BuildProgram_Args\x1a .com.kcl.api.BuildProgram_Result\x12O\n\x0c\x45xecArtifact\x12\x1e.com.kcl.api.ExecArtifact_Args\x1a\x1f.com.kcl.api.ExecProgram_Result\x12G\n\tParseFile\x12\x1b.com.kcl.api.ParseFile_Args\x1a\x1d.com.kcl.api.ParseFile_Result\x12P\n\x0cParseProgram\x12\x1e.com.kcl.api.ParseProgram_Args\x1a .com.kcl.api.ParseProgram_Result\x12M\n\x0bLoadPackage\x12\x1d.com.kcl.api.LoadPackage_Args\x1a\x1f.com.kcl.api.LoadPackage_Result\x12N\n\x0bListOptions\x12\x1e.com.kcl.api.ParseProgram_Args\x1a\x1f.com.kcl.api.ListOptions_Result\x12S\n\rListVariables\x12\x1f.com.kcl.api.ListVariables_Args\x1a!.com.kcl.api.ListVariables_Result\x12J\n\nFormatCode\x12\x1c.com.kcl.api.FormatCode_Args\x1a\x1e.com.kcl.api.FormatCode_Result\x12J\n\nFormatPath\x12\x1c.com.kcl.api.FormatPath_Args\x1a\x1e.com.kcl.api.FormatPath_Result\x12\x44\n\x08LintPath\x12\x1a.com.kcl.api.LintPath_Args\x1a\x1c.com.kcl.api.LintPath_Result\x12P\n\x0cOverrideFile\x12\x1e.com.kcl.api.OverrideFile_Args\x1a .com.kcl.api.OverrideFile_Result\x12S\n\rGetSchemaType\x12\x1f.com.kcl.api.GetSchemaType_Args\x1a!.com.kcl.api.GetSchemaType_Result\x12[\n\x11GetFullSchemaType\x12#.com.kcl.api.GetFullSchemaType_Args\x1a!.com.kcl.api.GetSchemaType_Result\x12h\n\x14GetSchemaTypeMapping\x12&.com.kcl.api.GetSchemaTypeMapping_Args\x1a(.com.kcl.api.GetSchemaTypeMapping_Result\x12P\n\x0cValidateCode\x12\x1e.com.kcl.api.ValidateCode_Args\x1a .com.kcl.api.ValidateCode_Result\x12P\n\x0cListDepFiles\x12\x1e.com.kcl.api.ListDepFiles_Args\x1a .com.kcl.api.ListDepFiles_Result\x12_\n\x11LoadSettingsFiles\x12#.com.kcl.api.LoadSettingsFiles_Args\x1a%.com.kcl.api.LoadSettingsFiles_Result\x12>\n\x06Rename\x12\x18.com.kcl.api.Rename_Args\x1a\x1a.com.kcl.api.Rename_Result\x12J\n\nRenameCode\x12\x1c.com.kcl.api.RenameCode_Args\x1a\x1e.com.kcl.api.RenameCode_Result\x12\x38\n\x04Test\x12\x16.com.kcl.api.Test_Args\x1a\x18.com.kcl.api.Test_Resultb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'spec_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "spec_pb2", _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - _globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._options = None - _globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._serialized_options = b'8\001' - _globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._options = None - _globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._serialized_options = b'8\001' - _globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._options = None - _globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._serialized_options = b'8\001' - _globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._options = None - _globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._serialized_options = b'8\001' - _globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._options = None - _globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._serialized_options = b'8\001' - _globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._options = None - _globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._serialized_options = b'8\001' - _globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._options = None - _globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._serialized_options = b'8\001' - _globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._options = None - _globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._serialized_options = b'8\001' - _globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._options = None - _globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._serialized_options = b'8\001' - _globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._options = None - _globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._serialized_options = b'8\001' - _globals['_KCLTYPE_PROPERTIESENTRY']._options = None - _globals['_KCLTYPE_PROPERTIESENTRY']._serialized_options = b'8\001' - _globals['_KCLTYPE_EXAMPLESENTRY']._options = None - _globals['_KCLTYPE_EXAMPLESENTRY']._serialized_options = b'8\001' - _globals['_DECORATOR_KEYWORDSENTRY']._options = None - _globals['_DECORATOR_KEYWORDSENTRY']._serialized_options = b'8\001' - _globals['_CMDEXTERNALPKGSPEC']._serialized_start=27 - _globals['_CMDEXTERNALPKGSPEC']._serialized_end=83 - _globals['_CMDARGSPEC']._serialized_start=85 - _globals['_CMDARGSPEC']._serialized_end=126 - _globals['_CMDOVERRIDESPEC']._serialized_start=128 - _globals['_CMDOVERRIDESPEC']._serialized_end=219 - _globals['_ERROR']._serialized_start=221 - _globals['_ERROR']._serialized_end=297 - _globals['_MESSAGE']._serialized_start=299 - _globals['_MESSAGE']._serialized_end=357 - _globals['_PING_ARGS']._serialized_start=359 - _globals['_PING_ARGS']._serialized_end=385 - _globals['_PING_RESULT']._serialized_start=387 - _globals['_PING_RESULT']._serialized_end=415 - _globals['_LISTMETHOD_ARGS']._serialized_start=417 - _globals['_LISTMETHOD_ARGS']._serialized_end=434 - _globals['_LISTMETHOD_RESULT']._serialized_start=436 - _globals['_LISTMETHOD_RESULT']._serialized_end=481 - _globals['_PARSEFILE_ARGS']._serialized_start=483 - _globals['_PARSEFILE_ARGS']._serialized_end=585 - _globals['_PARSEFILE_RESULT']._serialized_start=587 - _globals['_PARSEFILE_RESULT']._serialized_end=673 - _globals['_PARSEPROGRAM_ARGS']._serialized_start=675 - _globals['_PARSEPROGRAM_ARGS']._serialized_end=782 - _globals['_PARSEPROGRAM_RESULT']._serialized_start=784 - _globals['_PARSEPROGRAM_RESULT']._serialized_end=874 - _globals['_LOADPACKAGE_ARGS']._serialized_start=877 - _globals['_LOADPACKAGE_ARGS']._serialized_end=1014 - _globals['_LOADPACKAGE_RESULT']._serialized_start=1017 - _globals['_LOADPACKAGE_RESULT']._serialized_end=2032 - _globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._serialized_start=1599 - _globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._serialized_end=1664 - _globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._serialized_start=1666 - _globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._serialized_end=1733 - _globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._serialized_start=1735 - _globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._serialized_end=1813 - _globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._serialized_start=1815 - _globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._serialized_end=1867 - _globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._serialized_start=1869 - _globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._serialized_end=1955 - _globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._serialized_start=1957 - _globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._serialized_end=2032 - _globals['_LISTOPTIONS_RESULT']._serialized_start=2034 - _globals['_LISTOPTIONS_RESULT']._serialized_end=2096 - _globals['_OPTIONHELP']._serialized_start=2098 - _globals['_OPTIONHELP']._serialized_end=2193 - _globals['_SYMBOL']._serialized_start=2196 - _globals['_SYMBOL']._serialized_end=2392 - _globals['_SCOPE']._serialized_start=2395 - _globals['_SCOPE']._serialized_end=2581 - _globals['_SYMBOLINDEX']._serialized_start=2583 - _globals['_SYMBOLINDEX']._serialized_end=2632 - _globals['_SCOPEINDEX']._serialized_start=2634 - _globals['_SCOPEINDEX']._serialized_end=2682 - _globals['_EXECPROGRAM_ARGS']._serialized_start=2685 - _globals['_EXECPROGRAM_ARGS']._serialized_end=3188 - _globals['_EXECPROGRAM_RESULT']._serialized_start=3190 - _globals['_EXECPROGRAM_RESULT']._serialized_end=3294 - _globals['_BUILDPROGRAM_ARGS']._serialized_start=3296 - _globals['_BUILDPROGRAM_ARGS']._serialized_end=3381 - _globals['_BUILDPROGRAM_RESULT']._serialized_start=3383 - _globals['_BUILDPROGRAM_RESULT']._serialized_end=3418 - _globals['_EXECARTIFACT_ARGS']._serialized_start=3420 - _globals['_EXECARTIFACT_ARGS']._serialized_end=3503 - _globals['_RESETPLUGIN_ARGS']._serialized_start=3505 - _globals['_RESETPLUGIN_ARGS']._serialized_end=3544 - _globals['_RESETPLUGIN_RESULT']._serialized_start=3546 - _globals['_RESETPLUGIN_RESULT']._serialized_end=3566 - _globals['_FORMATCODE_ARGS']._serialized_start=3568 - _globals['_FORMATCODE_ARGS']._serialized_end=3601 - _globals['_FORMATCODE_RESULT']._serialized_start=3603 - _globals['_FORMATCODE_RESULT']._serialized_end=3641 - _globals['_FORMATPATH_ARGS']._serialized_start=3643 - _globals['_FORMATPATH_ARGS']._serialized_end=3674 - _globals['_FORMATPATH_RESULT']._serialized_start=3676 - _globals['_FORMATPATH_RESULT']._serialized_end=3718 - _globals['_LINTPATH_ARGS']._serialized_start=3720 - _globals['_LINTPATH_ARGS']._serialized_end=3750 - _globals['_LINTPATH_RESULT']._serialized_start=3752 - _globals['_LINTPATH_RESULT']._serialized_end=3786 - _globals['_OVERRIDEFILE_ARGS']._serialized_start=3788 - _globals['_OVERRIDEFILE_ARGS']._serialized_end=3858 - _globals['_OVERRIDEFILE_RESULT']._serialized_start=3860 - _globals['_OVERRIDEFILE_RESULT']._serialized_end=3897 - _globals['_LISTVARIABLES_ARGS']._serialized_start=3899 - _globals['_LISTVARIABLES_ARGS']._serialized_end=3948 - _globals['_LISTVARIABLES_RESULT']._serialized_start=3951 - _globals['_LISTVARIABLES_RESULT']._serialized_end=4142 - _globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._serialized_start=4071 - _globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._serialized_end=4142 - _globals['_VARIABLE']._serialized_start=4144 - _globals['_VARIABLE']._serialized_end=4204 - _globals['_GETFULLSCHEMATYPE_ARGS']._serialized_start=4206 - _globals['_GETFULLSCHEMATYPE_ARGS']._serialized_end=4301 - _globals['_GETSCHEMATYPE_ARGS']._serialized_start=4303 - _globals['_GETSCHEMATYPE_ARGS']._serialized_end=4372 - _globals['_GETSCHEMATYPE_RESULT']._serialized_start=4374 - _globals['_GETSCHEMATYPE_RESULT']._serialized_end=4444 - _globals['_GETSCHEMATYPEMAPPING_ARGS']._serialized_start=4446 - _globals['_GETSCHEMATYPEMAPPING_ARGS']._serialized_end=4522 - _globals['_GETSCHEMATYPEMAPPING_RESULT']._serialized_start=4525 - _globals['_GETSCHEMATYPEMAPPING_RESULT']._serialized_end=4728 - _globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._serialized_start=4650 - _globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._serialized_end=4728 - _globals['_VALIDATECODE_ARGS']._serialized_start=4731 - _globals['_VALIDATECODE_ARGS']._serialized_end=4866 - _globals['_VALIDATECODE_RESULT']._serialized_start=4868 - _globals['_VALIDATECODE_RESULT']._serialized_end=4927 - _globals['_POSITION']._serialized_start=4929 - _globals['_POSITION']._serialized_end=4987 - _globals['_LISTDEPFILES_ARGS']._serialized_start=4989 - _globals['_LISTDEPFILES_ARGS']._serialized_end=5094 - _globals['_LISTDEPFILES_RESULT']._serialized_start=5096 - _globals['_LISTDEPFILES_RESULT']._serialized_end=5166 - _globals['_LOADSETTINGSFILES_ARGS']._serialized_start=5168 - _globals['_LOADSETTINGSFILES_ARGS']._serialized_end=5225 - _globals['_LOADSETTINGSFILES_RESULT']._serialized_start=5227 - _globals['_LOADSETTINGSFILES_RESULT']._serialized_end=5350 - _globals['_CLICONFIG']._serialized_start=5353 - _globals['_CLICONFIG']._serialized_end=5612 - _globals['_KEYVALUEPAIR']._serialized_start=5614 - _globals['_KEYVALUEPAIR']._serialized_end=5656 - _globals['_RENAME_ARGS']._serialized_start=5658 - _globals['_RENAME_ARGS']._serialized_end=5752 - _globals['_RENAME_RESULT']._serialized_start=5754 - _globals['_RENAME_RESULT']._serialized_end=5792 - _globals['_RENAMECODE_ARGS']._serialized_start=5795 - _globals['_RENAMECODE_ARGS']._serialized_end=5994 - _globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._serialized_start=5944 - _globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._serialized_end=5994 - _globals['_RENAMECODE_RESULT']._serialized_start=5997 - _globals['_RENAMECODE_RESULT']._serialized_end=6142 - _globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._serialized_start=6091 - _globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._serialized_end=6142 - _globals['_TEST_ARGS']._serialized_start=6144 - _globals['_TEST_ARGS']._serialized_end=6262 - _globals['_TEST_RESULT']._serialized_start=6264 - _globals['_TEST_RESULT']._serialized_end=6318 - _globals['_TESTCASEINFO']._serialized_start=6320 - _globals['_TESTCASEINFO']._serialized_end=6402 - _globals['_KCLTYPE']._serialized_start=6405 - _globals['_KCLTYPE']._serialized_end=7032 - _globals['_KCLTYPE_PROPERTIESENTRY']._serialized_start=6890 - _globals['_KCLTYPE_PROPERTIESENTRY']._serialized_end=6961 - _globals['_KCLTYPE_EXAMPLESENTRY']._serialized_start=6963 - _globals['_KCLTYPE_EXAMPLESENTRY']._serialized_end=7032 - _globals['_DECORATOR']._serialized_start=7035 - _globals['_DECORATOR']._serialized_end=7184 - _globals['_DECORATOR_KEYWORDSENTRY']._serialized_start=7137 - _globals['_DECORATOR_KEYWORDSENTRY']._serialized_end=7184 - _globals['_EXAMPLE']._serialized_start=7186 - _globals['_EXAMPLE']._serialized_end=7248 - _globals['_BUILTINSERVICE']._serialized_start=7251 - _globals['_BUILTINSERVICE']._serialized_end=7401 - _globals['_KCLVMSERVICE']._serialized_start=7404 - _globals['_KCLVMSERVICE']._serialized_end=9164 + DESCRIPTOR._options = None + _globals["_LOADPACKAGE_RESULT_SCOPESENTRY"]._options = None + _globals["_LOADPACKAGE_RESULT_SCOPESENTRY"]._serialized_options = b"8\001" + _globals["_LOADPACKAGE_RESULT_SYMBOLSENTRY"]._options = None + _globals["_LOADPACKAGE_RESULT_SYMBOLSENTRY"]._serialized_options = b"8\001" + _globals["_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY"]._options = None + _globals["_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY"]._serialized_options = b"8\001" + _globals["_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY"]._options = None + _globals["_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY"]._serialized_options = b"8\001" + _globals["_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY"]._options = None + _globals["_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY"]._serialized_options = ( + b"8\001" + ) + _globals["_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY"]._options = None + _globals["_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY"]._serialized_options = b"8\001" + _globals["_LISTVARIABLES_RESULT_VARIABLESENTRY"]._options = None + _globals["_LISTVARIABLES_RESULT_VARIABLESENTRY"]._serialized_options = b"8\001" + _globals["_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY"]._options = None + _globals[ + "_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY" + ]._serialized_options = b"8\001" + _globals["_RENAMECODE_ARGS_SOURCECODESENTRY"]._options = None + _globals["_RENAMECODE_ARGS_SOURCECODESENTRY"]._serialized_options = b"8\001" + _globals["_RENAMECODE_RESULT_CHANGEDCODESENTRY"]._options = None + _globals["_RENAMECODE_RESULT_CHANGEDCODESENTRY"]._serialized_options = b"8\001" + _globals["_KCLTYPE_PROPERTIESENTRY"]._options = None + _globals["_KCLTYPE_PROPERTIESENTRY"]._serialized_options = b"8\001" + _globals["_KCLTYPE_EXAMPLESENTRY"]._options = None + _globals["_KCLTYPE_EXAMPLESENTRY"]._serialized_options = b"8\001" + _globals["_DECORATOR_KEYWORDSENTRY"]._options = None + _globals["_DECORATOR_KEYWORDSENTRY"]._serialized_options = b"8\001" + _globals["_CMDEXTERNALPKGSPEC"]._serialized_start = 27 + _globals["_CMDEXTERNALPKGSPEC"]._serialized_end = 83 + _globals["_CMDARGSPEC"]._serialized_start = 85 + _globals["_CMDARGSPEC"]._serialized_end = 126 + _globals["_CMDOVERRIDESPEC"]._serialized_start = 128 + _globals["_CMDOVERRIDESPEC"]._serialized_end = 219 + _globals["_ERROR"]._serialized_start = 221 + _globals["_ERROR"]._serialized_end = 297 + _globals["_MESSAGE"]._serialized_start = 299 + _globals["_MESSAGE"]._serialized_end = 357 + _globals["_PING_ARGS"]._serialized_start = 359 + _globals["_PING_ARGS"]._serialized_end = 385 + _globals["_PING_RESULT"]._serialized_start = 387 + _globals["_PING_RESULT"]._serialized_end = 415 + _globals["_LISTMETHOD_ARGS"]._serialized_start = 417 + _globals["_LISTMETHOD_ARGS"]._serialized_end = 434 + _globals["_LISTMETHOD_RESULT"]._serialized_start = 436 + _globals["_LISTMETHOD_RESULT"]._serialized_end = 481 + _globals["_PARSEFILE_ARGS"]._serialized_start = 483 + _globals["_PARSEFILE_ARGS"]._serialized_end = 585 + _globals["_PARSEFILE_RESULT"]._serialized_start = 587 + _globals["_PARSEFILE_RESULT"]._serialized_end = 673 + _globals["_PARSEPROGRAM_ARGS"]._serialized_start = 675 + _globals["_PARSEPROGRAM_ARGS"]._serialized_end = 782 + _globals["_PARSEPROGRAM_RESULT"]._serialized_start = 784 + _globals["_PARSEPROGRAM_RESULT"]._serialized_end = 874 + _globals["_LOADPACKAGE_ARGS"]._serialized_start = 877 + _globals["_LOADPACKAGE_ARGS"]._serialized_end = 1014 + _globals["_LOADPACKAGE_RESULT"]._serialized_start = 1017 + _globals["_LOADPACKAGE_RESULT"]._serialized_end = 2032 + _globals["_LOADPACKAGE_RESULT_SCOPESENTRY"]._serialized_start = 1599 + _globals["_LOADPACKAGE_RESULT_SCOPESENTRY"]._serialized_end = 1664 + _globals["_LOADPACKAGE_RESULT_SYMBOLSENTRY"]._serialized_start = 1666 + _globals["_LOADPACKAGE_RESULT_SYMBOLSENTRY"]._serialized_end = 1733 + _globals["_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY"]._serialized_start = 1735 + _globals["_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY"]._serialized_end = 1813 + _globals["_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY"]._serialized_start = 1815 + _globals["_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY"]._serialized_end = 1867 + _globals["_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY"]._serialized_start = 1869 + _globals["_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY"]._serialized_end = 1955 + _globals["_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY"]._serialized_start = 1957 + _globals["_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY"]._serialized_end = 2032 + _globals["_LISTOPTIONS_RESULT"]._serialized_start = 2034 + _globals["_LISTOPTIONS_RESULT"]._serialized_end = 2096 + _globals["_OPTIONHELP"]._serialized_start = 2098 + _globals["_OPTIONHELP"]._serialized_end = 2193 + _globals["_SYMBOL"]._serialized_start = 2196 + _globals["_SYMBOL"]._serialized_end = 2392 + _globals["_SCOPE"]._serialized_start = 2395 + _globals["_SCOPE"]._serialized_end = 2581 + _globals["_SYMBOLINDEX"]._serialized_start = 2583 + _globals["_SYMBOLINDEX"]._serialized_end = 2632 + _globals["_SCOPEINDEX"]._serialized_start = 2634 + _globals["_SCOPEINDEX"]._serialized_end = 2682 + _globals["_EXECPROGRAM_ARGS"]._serialized_start = 2685 + _globals["_EXECPROGRAM_ARGS"]._serialized_end = 3188 + _globals["_EXECPROGRAM_RESULT"]._serialized_start = 3190 + _globals["_EXECPROGRAM_RESULT"]._serialized_end = 3294 + _globals["_BUILDPROGRAM_ARGS"]._serialized_start = 3296 + _globals["_BUILDPROGRAM_ARGS"]._serialized_end = 3381 + _globals["_BUILDPROGRAM_RESULT"]._serialized_start = 3383 + _globals["_BUILDPROGRAM_RESULT"]._serialized_end = 3418 + _globals["_EXECARTIFACT_ARGS"]._serialized_start = 3420 + _globals["_EXECARTIFACT_ARGS"]._serialized_end = 3503 + _globals["_RESETPLUGIN_ARGS"]._serialized_start = 3505 + _globals["_RESETPLUGIN_ARGS"]._serialized_end = 3544 + _globals["_RESETPLUGIN_RESULT"]._serialized_start = 3546 + _globals["_RESETPLUGIN_RESULT"]._serialized_end = 3566 + _globals["_FORMATCODE_ARGS"]._serialized_start = 3568 + _globals["_FORMATCODE_ARGS"]._serialized_end = 3601 + _globals["_FORMATCODE_RESULT"]._serialized_start = 3603 + _globals["_FORMATCODE_RESULT"]._serialized_end = 3641 + _globals["_FORMATPATH_ARGS"]._serialized_start = 3643 + _globals["_FORMATPATH_ARGS"]._serialized_end = 3674 + _globals["_FORMATPATH_RESULT"]._serialized_start = 3676 + _globals["_FORMATPATH_RESULT"]._serialized_end = 3718 + _globals["_LINTPATH_ARGS"]._serialized_start = 3720 + _globals["_LINTPATH_ARGS"]._serialized_end = 3750 + _globals["_LINTPATH_RESULT"]._serialized_start = 3752 + _globals["_LINTPATH_RESULT"]._serialized_end = 3786 + _globals["_OVERRIDEFILE_ARGS"]._serialized_start = 3788 + _globals["_OVERRIDEFILE_ARGS"]._serialized_end = 3858 + _globals["_OVERRIDEFILE_RESULT"]._serialized_start = 3860 + _globals["_OVERRIDEFILE_RESULT"]._serialized_end = 3897 + _globals["_LISTVARIABLES_ARGS"]._serialized_start = 3899 + _globals["_LISTVARIABLES_ARGS"]._serialized_end = 3948 + _globals["_LISTVARIABLES_RESULT"]._serialized_start = 3951 + _globals["_LISTVARIABLES_RESULT"]._serialized_end = 4182 + _globals["_LISTVARIABLES_RESULT_VARIABLESENTRY"]._serialized_start = 4111 + _globals["_LISTVARIABLES_RESULT_VARIABLESENTRY"]._serialized_end = 4182 + _globals["_VARIABLE"]._serialized_start = 4184 + _globals["_VARIABLE"]._serialized_end = 4244 + _globals["_GETFULLSCHEMATYPE_ARGS"]._serialized_start = 4246 + _globals["_GETFULLSCHEMATYPE_ARGS"]._serialized_end = 4341 + _globals["_GETSCHEMATYPE_ARGS"]._serialized_start = 4343 + _globals["_GETSCHEMATYPE_ARGS"]._serialized_end = 4412 + _globals["_GETSCHEMATYPE_RESULT"]._serialized_start = 4414 + _globals["_GETSCHEMATYPE_RESULT"]._serialized_end = 4484 + _globals["_GETSCHEMATYPEMAPPING_ARGS"]._serialized_start = 4486 + _globals["_GETSCHEMATYPEMAPPING_ARGS"]._serialized_end = 4562 + _globals["_GETSCHEMATYPEMAPPING_RESULT"]._serialized_start = 4565 + _globals["_GETSCHEMATYPEMAPPING_RESULT"]._serialized_end = 4768 + _globals[ + "_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY" + ]._serialized_start = 4690 + _globals["_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY"]._serialized_end = ( + 4768 + ) + _globals["_VALIDATECODE_ARGS"]._serialized_start = 4771 + _globals["_VALIDATECODE_ARGS"]._serialized_end = 4906 + _globals["_VALIDATECODE_RESULT"]._serialized_start = 4908 + _globals["_VALIDATECODE_RESULT"]._serialized_end = 4967 + _globals["_POSITION"]._serialized_start = 4969 + _globals["_POSITION"]._serialized_end = 5027 + _globals["_LISTDEPFILES_ARGS"]._serialized_start = 5029 + _globals["_LISTDEPFILES_ARGS"]._serialized_end = 5134 + _globals["_LISTDEPFILES_RESULT"]._serialized_start = 5136 + _globals["_LISTDEPFILES_RESULT"]._serialized_end = 5206 + _globals["_LOADSETTINGSFILES_ARGS"]._serialized_start = 5208 + _globals["_LOADSETTINGSFILES_ARGS"]._serialized_end = 5265 + _globals["_LOADSETTINGSFILES_RESULT"]._serialized_start = 5267 + _globals["_LOADSETTINGSFILES_RESULT"]._serialized_end = 5390 + _globals["_CLICONFIG"]._serialized_start = 5393 + _globals["_CLICONFIG"]._serialized_end = 5652 + _globals["_KEYVALUEPAIR"]._serialized_start = 5654 + _globals["_KEYVALUEPAIR"]._serialized_end = 5696 + _globals["_RENAME_ARGS"]._serialized_start = 5698 + _globals["_RENAME_ARGS"]._serialized_end = 5792 + _globals["_RENAME_RESULT"]._serialized_start = 5794 + _globals["_RENAME_RESULT"]._serialized_end = 5832 + _globals["_RENAMECODE_ARGS"]._serialized_start = 5835 + _globals["_RENAMECODE_ARGS"]._serialized_end = 6034 + _globals["_RENAMECODE_ARGS_SOURCECODESENTRY"]._serialized_start = 5984 + _globals["_RENAMECODE_ARGS_SOURCECODESENTRY"]._serialized_end = 6034 + _globals["_RENAMECODE_RESULT"]._serialized_start = 6037 + _globals["_RENAMECODE_RESULT"]._serialized_end = 6182 + _globals["_RENAMECODE_RESULT_CHANGEDCODESENTRY"]._serialized_start = 6131 + _globals["_RENAMECODE_RESULT_CHANGEDCODESENTRY"]._serialized_end = 6182 + _globals["_TEST_ARGS"]._serialized_start = 6184 + _globals["_TEST_ARGS"]._serialized_end = 6302 + _globals["_TEST_RESULT"]._serialized_start = 6304 + _globals["_TEST_RESULT"]._serialized_end = 6358 + _globals["_TESTCASEINFO"]._serialized_start = 6360 + _globals["_TESTCASEINFO"]._serialized_end = 6442 + _globals["_KCLTYPE"]._serialized_start = 6445 + _globals["_KCLTYPE"]._serialized_end = 7072 + _globals["_KCLTYPE_PROPERTIESENTRY"]._serialized_start = 6930 + _globals["_KCLTYPE_PROPERTIESENTRY"]._serialized_end = 7001 + _globals["_KCLTYPE_EXAMPLESENTRY"]._serialized_start = 7003 + _globals["_KCLTYPE_EXAMPLESENTRY"]._serialized_end = 7072 + _globals["_DECORATOR"]._serialized_start = 7075 + _globals["_DECORATOR"]._serialized_end = 7224 + _globals["_DECORATOR_KEYWORDSENTRY"]._serialized_start = 7177 + _globals["_DECORATOR_KEYWORDSENTRY"]._serialized_end = 7224 + _globals["_EXAMPLE"]._serialized_start = 7226 + _globals["_EXAMPLE"]._serialized_end = 7288 + _globals["_BUILTINSERVICE"]._serialized_start = 7291 + _globals["_BUILTINSERVICE"]._serialized_end = 7441 + _globals["_KCLVMSERVICE"]._serialized_start = 7444 + _globals["_KCLVMSERVICE"]._serialized_end = 9204 # @@protoc_insertion_point(module_scope) diff --git a/python/src/lib.rs b/python/src/lib.rs index 6a1b9252..fb2c3c88 100644 --- a/python/src/lib.rs +++ b/python/src/lib.rs @@ -1,15 +1,27 @@ use pyo3::exceptions::PyException; use pyo3::prelude::*; -/// Formats the sum of two numbers as string. +/// Call KCL API with the API name and argument protobuf bytes. #[pyfunction] fn call<'a>(name: &'a [u8], args: &'a [u8]) -> PyResult> { kcl_lang::call(name, args).map_err(|e| PyErr::new::(e.to_string())) } +/// Call KCL API with the API name and argument protobuf bytes. +#[pyfunction] +fn call_with_plugin_agent<'a>( + name: &'a [u8], + args: &'a [u8], + plugin_agent: u64, +) -> PyResult> { + kcl_lang::call_with_plugin_agent(name, args, plugin_agent) + .map_err(|e| PyErr::new::(e.to_string())) +} + /// A Python module implemented in Rust. #[pymodule] fn _kcl_lib(_py: Python, m: &PyModule) -> PyResult<()> { m.add_function(wrap_pyfunction!(call, m)?)?; + m.add_function(wrap_pyfunction!(call_with_plugin_agent, m)?)?; Ok(()) } diff --git a/python/tests/exec_test.py b/python/tests/exec_test.py index 0dc58788..aafdac80 100644 --- a/python/tests/exec_test.py +++ b/python/tests/exec_test.py @@ -1,4 +1,5 @@ import kcl_lib.api as api + TEST_FILE = "./tests/test_data/schema.k" @@ -17,7 +18,9 @@ def test_load_package_api(): import kcl_lib.api as api # Call the `exec_program` method with appropriate arguments - args = api.LoadPackage_Args(parse_args=api.ParseProgram_Args(paths=[TEST_FILE]), resolve_ast=True) + args = api.LoadPackage_Args( + parse_args=api.ParseProgram_Args(paths=[TEST_FILE]), resolve_ast=True + ) # Usage api = api.API() result = api.load_package(args) diff --git a/src/lib.rs b/src/lib.rs index f7c78498..4970788f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -36,21 +36,32 @@ use anyhow::Result; pub type API = KclvmServiceImpl; +/// Call KCL API with the API name and argument protobuf bytes. +#[inline] pub fn call<'a>(name: &'a [u8], args: &'a [u8]) -> Result> { + call_with_plugin_agent(name, args, 0) +} + +/// Call KCL API with the API name, argument protobuf bytes and the plugin agent pointer address. +pub fn call_with_plugin_agent<'a>( + name: &'a [u8], + args: &'a [u8], + plugin_agent: u64, +) -> Result> { let mut result_len: usize = 0; let result_ptr = { let args = CString::new(args)?; let call = CString::new(name)?; - let serv = kclvm_service_new(0); + let serv = kclvm_service_new(plugin_agent); kclvm_service_call_with_length(serv, call.as_ptr(), args.as_ptr(), &mut result_len) }; - let result = unsafe { + let result = unsafe { let mut dest_data: Vec = Vec::with_capacity(result_len); let dest_ptr: *mut u8 = dest_data.as_mut_ptr(); std::ptr::copy_nonoverlapping(result_ptr as *const u8, dest_ptr, result_len); dest_data.set_len(result_len); dest_data - }; + }; Ok(result) }